@mgamadeus/ddd-web 0.11.0 → 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude/skills/ddd-web-specialist/references/consumer.md +1 -1
- package/CHANGELOG.md +12 -0
- package/dist/{chunk-XXMTSCOZ.js → chunk-J2RLNVKK.js} +32 -19
- package/dist/chunk-J2RLNVKK.js.map +1 -0
- package/dist/codegen/cli.js +1 -1
- package/dist/codegen/index.d.ts +6 -0
- package/dist/codegen/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-XXMTSCOZ.js.map +0 -1
package/dist/codegen/cli.js
CHANGED
package/dist/codegen/index.d.ts
CHANGED
|
@@ -208,6 +208,12 @@ interface ModelOptions {
|
|
|
208
208
|
* RTK codegen's names, placed by the namespace registry.
|
|
209
209
|
*/
|
|
210
210
|
naming?: 'rtk' | 'document';
|
|
211
|
+
/**
|
|
212
|
+
* `all`: every schema an operation of the document reaches is written, also when `filterEndpoints` leaves its
|
|
213
|
+
* operations out of the api file (a models-only pass over all operations; their argument types are not written).
|
|
214
|
+
* `reachable` (default): the schemas of the generated endpoints.
|
|
215
|
+
*/
|
|
216
|
+
scope?: 'reachable' | 'all';
|
|
211
217
|
/**
|
|
212
218
|
* `false`: no barrel `index.ts` in the models folder — the api file and the models import every model by its path.
|
|
213
219
|
* Default `true`. With `naming: 'document'` the barrel leaves out a model whose name another folder holds too.
|
package/dist/codegen/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mgamadeus/ddd-web",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.12.0",
|
|
4
4
|
"description": "TypeScript web client for backends built with mgamadeus/ddd, the DDD entity framework for Symfony and Doctrine (Composer/Packagist). Generates a typed RTK Query SDK from the backend's OpenAPI document, builds DDD QueryOptions (filters, orderBy, expand, select, paging) and handles JWT auth with token refresh.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ddd",
|