u
This commit is contained in:
10
README.md
10
README.md
@@ -31,6 +31,16 @@ npm run docs:api
|
||||
|
||||
That writes `docs/api/routes.md`, `docs/api/routes-all.md`, and per-route Markdown under `docs/api/routes/`. There is no generated `openapi.json` on disk — the interactive Swagger UI at `/docs/` builds the spec from the same `@openapi` JSDoc at runtime (`src/api/openapiSpec.js`).
|
||||
|
||||
### Function review files
|
||||
|
||||
Create one JavaScript file per function in the project:
|
||||
|
||||
```bash
|
||||
npm run review:functions
|
||||
```
|
||||
|
||||
The generated files are written to `output/` and include each function's source filename and line numbers. The same directory also contains `functions.txt`, an index of source filenames, line numbers, and function signatures. Existing generated function files and the index are replaced each time the command runs. Dependencies, runtime data, and the output directory itself are excluded from the scan.
|
||||
|
||||
### Brands (company-scoped, `selectedCompanyId` aus der Session)
|
||||
|
||||
| Methode | Route | Store-Methode |
|
||||
|
||||
Reference in New Issue
Block a user