@dereekb/dbx-components-mcp 13.11.10 → 13.11.12
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.
|
@@ -618,6 +618,7 @@
|
|
|
618
618
|
"file": "src/lib/layout/style/_style.scss",
|
|
619
619
|
"line": 175,
|
|
620
620
|
"declarations": [],
|
|
621
|
+
"role": "color",
|
|
621
622
|
"intent": "generic themed-background class — pair with `[dbxColor]=\"config\"` to drive `--dbx-bg-color-current` / `--dbx-color-current` from arbitrary CSS color values"
|
|
622
623
|
},
|
|
623
624
|
{
|
|
@@ -628,6 +629,7 @@
|
|
|
628
629
|
"file": "src/lib/layout/style/_style.scss",
|
|
629
630
|
"line": 182,
|
|
630
631
|
"declarations": [],
|
|
632
|
+
"role": "color",
|
|
631
633
|
"intent": "generic themed-text class — pair with `[dbxTextColor]=\"config\"` to drive `--dbx-color-current` from an arbitrary CSS color value"
|
|
632
634
|
},
|
|
633
635
|
{
|
|
@@ -11127,7 +11127,8 @@
|
|
|
11127
11127
|
"sortbystringfunction"
|
|
11128
11128
|
],
|
|
11129
11129
|
"relatedSlugs": [
|
|
11130
|
-
"sort-by-label-function"
|
|
11130
|
+
"sort-by-label-function",
|
|
11131
|
+
"compare-strings"
|
|
11131
11132
|
]
|
|
11132
11133
|
},
|
|
11133
11134
|
{
|
|
@@ -183,6 +183,52 @@
|
|
|
183
183
|
}
|
|
184
184
|
]
|
|
185
185
|
},
|
|
186
|
+
{
|
|
187
|
+
"code": "HANDLER_NAMING_MISMATCH",
|
|
188
|
+
"source": "dbx_model_api_validate_app",
|
|
189
|
+
"severity": "error",
|
|
190
|
+
"title": "A handler name does not follow the canonical",
|
|
191
|
+
"whatItFlags": "A handler name does not follow the canonical\n`<model><Verb>[<Specifier>]` form, so the verb-map cell and the\nhandler symbol drift apart.",
|
|
192
|
+
"whenItApplies": "Every wired handler whose identifier does not match either the full form (`guestbookEntryUpdateInsert`) or the verb-omitted shorthand (`guestbookEntryInsert`) for its cell.",
|
|
193
|
+
"whenItDoesNotApply": "Handlers intentionally aliased to satisfy backwards-compatibility on a public re-export — colocate the alias in the verb-map by name to keep the cell aligned.",
|
|
194
|
+
"canonicalFix": "Rename the handler (or its verb-map binding) to one of the accepted names so the model/verb/specifier triplet is recoverable from the identifier alone."
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"code": "MISSING_HANDLER",
|
|
198
|
+
"source": "dbx_model_api_validate_app",
|
|
199
|
+
"severity": "error",
|
|
200
|
+
"title": "A CRUD entry is declared in the component's `<model>.api.ts` but the",
|
|
201
|
+
"whatItFlags": "A CRUD entry is declared in the component's `<model>.api.ts` but the\nAPI app's verb-map has no matching handler wired in.",
|
|
202
|
+
"whenItApplies": "Every declared `<model>.<verb>.<specifier>` cell that lacks a `<handlerName>:` entry under the corresponding verb in the app's `*FunctionMap`.",
|
|
203
|
+
"whenItDoesNotApply": "When the handler is intentionally not yet wired — declare the api entry inside a `// @ts-expect-error TODO` block, or remove the declaration until the handler lands.",
|
|
204
|
+
"canonicalFix": "Add a handler whose name follows `<model><Verb>[<Specifier>]` (e.g. `guestbookEntryUpdateInsert`) to the app's verb-map and assign it to the matching cell.",
|
|
205
|
+
"seeAlso": [
|
|
206
|
+
{
|
|
207
|
+
"kind": "tool",
|
|
208
|
+
"target": "dbx_model_api_list_app"
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"kind": "tool",
|
|
212
|
+
"target": "dbx_model_api_lookup"
|
|
213
|
+
}
|
|
214
|
+
]
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
"code": "ORPHAN_HANDLER",
|
|
218
|
+
"source": "dbx_model_api_validate_app",
|
|
219
|
+
"severity": "error",
|
|
220
|
+
"title": "A handler is wired in the API app's verb-map but no",
|
|
221
|
+
"whatItFlags": "A handler is wired in the API app's verb-map but no\n`<model>.api.ts` in any component declares this CRUD entry.",
|
|
222
|
+
"whenItApplies": "Every cell of the app's verb-map that is not declared by an upstream `*ModelCrudFunctionsConfig`.",
|
|
223
|
+
"whenItDoesNotApply": "Handlers exposed by an upstream `@dereekb/*` package whose api file lives outside the scanned component dirs.",
|
|
224
|
+
"canonicalFix": "Either remove the orphan handler entry, or add the missing CRUD declaration to the matching `<model>.api.ts` so the surface is documented.",
|
|
225
|
+
"seeAlso": [
|
|
226
|
+
{
|
|
227
|
+
"kind": "tool",
|
|
228
|
+
"target": "dbx_model_api_list_app"
|
|
229
|
+
}
|
|
230
|
+
]
|
|
231
|
+
},
|
|
186
232
|
{
|
|
187
233
|
"code": "archetype-inconsistent",
|
|
188
234
|
"source": "dbx_model_fixture_validate_app",
|
|
@@ -539,6 +585,38 @@
|
|
|
539
585
|
"whenItDoesNotApply": "When the args come from a const (uncommon — the validator can't follow non-literal references).",
|
|
540
586
|
"canonicalFix": "Pass `(parentIdentity?, '<modelType>', '<prefix>')` as inline string literals."
|
|
541
587
|
},
|
|
588
|
+
{
|
|
589
|
+
"code": "MODEL_IDENTITY_COLLECTION_NAME_DUPLICATE",
|
|
590
|
+
"source": "dbx_model_validate",
|
|
591
|
+
"severity": "error",
|
|
592
|
+
"title": "Two `firestoreModelIdentity(...)` declarations share the same `collectionName` (the lowercase Firestore collection segment passed as the `collectionName` arg, surfaced in the manifest as `collectionPrefix`). Collection names must be globally unique across the merged model manifest — `@dereekb/firebase` upstream plus every discovered `*-firebase` component — because Firestore collection-group queries match by collection name regardless of where the collection sits in the document hierarchy, so two collections sharing a name silently bleed into each other's results",
|
|
593
|
+
"whatItFlags": "Two `firestoreModelIdentity(...)` declarations share the same `collectionName` (the lowercase Firestore collection segment passed as the `collectionName` arg, surfaced in the manifest as `collectionPrefix`). Collection names must be globally unique across the merged model manifest — `@dereekb/firebase` upstream plus every discovered `*-firebase` component — because Firestore collection-group queries match by collection name regardless of where the collection sits in the document hierarchy, so two collections sharing a name silently bleed into each other's results.",
|
|
594
|
+
"whenItApplies": "Every `firestoreModelIdentity(...)` declaration discovered by the manifest scan. Anchored at each duplicate occurrence after the first (the first-seen identity is treated as the incumbent). Applies regardless of root vs. subcollection variant — two subcollections under different parents that share a `collectionName` still collide because CollectionGroup queries do not respect parent paths.",
|
|
595
|
+
"whenItDoesNotApply": "Identities declared outside the merged manifest scan (e.g. packages the discovery layer does not pick up).",
|
|
596
|
+
"canonicalFix": "Rename one of the conflicting identities so the `collectionName` arg of `firestoreModelIdentity(modelName, collectionName)` is globally unique. Update every Firestore document path / collection-group query that referenced the renamed segment.",
|
|
597
|
+
"seeAlso": [
|
|
598
|
+
{
|
|
599
|
+
"kind": "artifact",
|
|
600
|
+
"target": "firestore-model"
|
|
601
|
+
}
|
|
602
|
+
]
|
|
603
|
+
},
|
|
604
|
+
{
|
|
605
|
+
"code": "MODEL_IDENTITY_MODEL_TYPE_DUPLICATE",
|
|
606
|
+
"source": "dbx_model_validate",
|
|
607
|
+
"severity": "error",
|
|
608
|
+
"title": "Two `firestoreModelIdentity(...)` declarations share the same `modelType` (the camelCase model identifier passed as the first string arg). Model types must be globally unique across the merged model manifest — `@dereekb/firebase` upstream plus every discovered `*-firebase` component — because the model registry, fixture lookup, and key-to-identity decoding all resolve by `modelType`, so a duplicate silently masks one of the two models",
|
|
609
|
+
"whatItFlags": "Two `firestoreModelIdentity(...)` declarations share the same `modelType` (the camelCase model identifier passed as the first string arg). Model types must be globally unique across the merged model manifest — `@dereekb/firebase` upstream plus every discovered `*-firebase` component — because the model registry, fixture lookup, and key-to-identity decoding all resolve by `modelType`, so a duplicate silently masks one of the two models.",
|
|
610
|
+
"whenItApplies": "Every `firestoreModelIdentity(...)` declaration discovered by the manifest scan. Anchored at each duplicate occurrence after the first (the first-seen identity is treated as the incumbent). Applies regardless of root vs. subcollection variant.",
|
|
611
|
+
"whenItDoesNotApply": "Identities declared outside the merged manifest scan.",
|
|
612
|
+
"canonicalFix": "Rename one of the conflicting identities so the `modelName` arg of `firestoreModelIdentity(modelName, collectionName)` is globally unique. Update every downstream reference to the renamed `modelType`.",
|
|
613
|
+
"seeAlso": [
|
|
614
|
+
{
|
|
615
|
+
"kind": "artifact",
|
|
616
|
+
"target": "firestore-model"
|
|
617
|
+
}
|
|
618
|
+
]
|
|
619
|
+
},
|
|
542
620
|
{
|
|
543
621
|
"code": "MODEL_IDENTITY_NOT_EXPORTED",
|
|
544
622
|
"source": "dbx_model_validate",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dereekb/dbx-components-mcp",
|
|
3
|
-
"version": "13.11.
|
|
3
|
+
"version": "13.11.12",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": {
|
|
6
6
|
"dbx-components-mcp": "dbx-components-mcp.js"
|
|
@@ -15,19 +15,19 @@
|
|
|
15
15
|
"@angular/core": "21.2.11",
|
|
16
16
|
"@angular/forms": "21.2.11",
|
|
17
17
|
"@angular/material": "^21.2.9",
|
|
18
|
-
"@dereekb/dbx-cli": "13.11.
|
|
19
|
-
"@dereekb/dbx-core": "13.11.
|
|
20
|
-
"@dereekb/dbx-firebase": "13.11.
|
|
21
|
-
"@dereekb/dbx-form": "13.11.
|
|
22
|
-
"@dereekb/dbx-web": "13.11.
|
|
23
|
-
"@dereekb/firebase": "13.11.
|
|
24
|
-
"@dereekb/firebase-server": "13.11.
|
|
25
|
-
"@dereekb/rxjs": "13.11.
|
|
26
|
-
"@dereekb/util": "13.11.
|
|
18
|
+
"@dereekb/dbx-cli": "13.11.12",
|
|
19
|
+
"@dereekb/dbx-core": "13.11.12",
|
|
20
|
+
"@dereekb/dbx-firebase": "13.11.12",
|
|
21
|
+
"@dereekb/dbx-form": "13.11.12",
|
|
22
|
+
"@dereekb/dbx-web": "13.11.12",
|
|
23
|
+
"@dereekb/firebase": "13.11.12",
|
|
24
|
+
"@dereekb/firebase-server": "13.11.12",
|
|
25
|
+
"@dereekb/rxjs": "13.11.12",
|
|
26
|
+
"@dereekb/util": "13.11.12",
|
|
27
27
|
"@uirouter/angular": "21.0.0",
|
|
28
28
|
"rxjs": "^7.8.2"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@dereekb/model": "13.11.
|
|
31
|
+
"@dereekb/model": "13.11.12"
|
|
32
32
|
}
|
|
33
33
|
}
|