@dereekb/dbx-components-mcp 13.11.9 → 13.11.11
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.
|
@@ -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
|
{
|
|
@@ -539,6 +539,38 @@
|
|
|
539
539
|
"whenItDoesNotApply": "When the args come from a const (uncommon — the validator can't follow non-literal references).",
|
|
540
540
|
"canonicalFix": "Pass `(parentIdentity?, '<modelType>', '<prefix>')` as inline string literals."
|
|
541
541
|
},
|
|
542
|
+
{
|
|
543
|
+
"code": "MODEL_IDENTITY_COLLECTION_NAME_DUPLICATE",
|
|
544
|
+
"source": "dbx_model_validate",
|
|
545
|
+
"severity": "error",
|
|
546
|
+
"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",
|
|
547
|
+
"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.",
|
|
548
|
+
"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.",
|
|
549
|
+
"whenItDoesNotApply": "Identities declared outside the merged manifest scan (e.g. packages the discovery layer does not pick up).",
|
|
550
|
+
"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.",
|
|
551
|
+
"seeAlso": [
|
|
552
|
+
{
|
|
553
|
+
"kind": "artifact",
|
|
554
|
+
"target": "firestore-model"
|
|
555
|
+
}
|
|
556
|
+
]
|
|
557
|
+
},
|
|
558
|
+
{
|
|
559
|
+
"code": "MODEL_IDENTITY_MODEL_TYPE_DUPLICATE",
|
|
560
|
+
"source": "dbx_model_validate",
|
|
561
|
+
"severity": "error",
|
|
562
|
+
"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",
|
|
563
|
+
"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.",
|
|
564
|
+
"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.",
|
|
565
|
+
"whenItDoesNotApply": "Identities declared outside the merged manifest scan.",
|
|
566
|
+
"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`.",
|
|
567
|
+
"seeAlso": [
|
|
568
|
+
{
|
|
569
|
+
"kind": "artifact",
|
|
570
|
+
"target": "firestore-model"
|
|
571
|
+
}
|
|
572
|
+
]
|
|
573
|
+
},
|
|
542
574
|
{
|
|
543
575
|
"code": "MODEL_IDENTITY_NOT_EXPORTED",
|
|
544
576
|
"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.11",
|
|
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.11",
|
|
19
|
+
"@dereekb/dbx-core": "13.11.11",
|
|
20
|
+
"@dereekb/dbx-firebase": "13.11.11",
|
|
21
|
+
"@dereekb/dbx-form": "13.11.11",
|
|
22
|
+
"@dereekb/dbx-web": "13.11.11",
|
|
23
|
+
"@dereekb/firebase": "13.11.11",
|
|
24
|
+
"@dereekb/firebase-server": "13.11.11",
|
|
25
|
+
"@dereekb/rxjs": "13.11.11",
|
|
26
|
+
"@dereekb/util": "13.11.11",
|
|
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.11"
|
|
32
32
|
}
|
|
33
33
|
}
|