@dereekb/dbx-components-mcp 13.11.7 → 13.11.8

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.
@@ -703,6 +703,22 @@
703
703
  }
704
704
  ]
705
705
  },
706
+ {
707
+ "code": "MODEL_SUBOBJECT_PARENT_NOT_TAGGED",
708
+ "source": "dbx_model_validate",
709
+ "severity": "warning",
710
+ "title": "A `@dbxModelSubObject` interface extends a parent interface that is not itself tagged with `@dbxModel` or `@dbxModelSubObject`. The parent's persisted fields flow through the sub-object's converter but never reach the workspace's `@dbxModelVariable` long-name checks. Whether the agent acts depends on whether the parent is owned by this package, but the validator surfaces both classifications so the consuming agent (or developer) can make an informed call",
711
+ "whatItFlags": "A `@dbxModelSubObject` interface extends a parent interface that is not itself tagged with `@dbxModel` or `@dbxModelSubObject`. The parent's persisted fields flow through the sub-object's converter but never reach the workspace's `@dbxModelVariable` long-name checks. Whether the agent acts depends on whether the parent is owned by this package, but the validator surfaces both classifications so the consuming agent (or developer) can make an informed call.",
712
+ "whenItApplies": "Every `@dbxModelSubObject` interface whose `extends` heritage names an untagged parent. The parent is classified `in-package` when its declaration is found in the validated source set, otherwise `external`. Anchored at the sub-object interface line so the caller sees both the child and the parent in one place.",
713
+ "whenItDoesNotApply": "Parents already tagged with `@dbxModel` or `@dbxModelSubObject`; parents whose names appear in `modelValidate.ignoredExternalParents` (suppresses external-only warnings — in-package parents are never suppressed). Generic parameters, inline types, and TS utility wrappers (`Partial<T>`, `Pick<T, K>`, `Omit<T, K>`, `Readonly<T>`, `MaybeMap<T>`) are unwrapped to the underlying parent name before resolution.",
714
+ "canonicalFix": "In-package parent: add `@dbxModelSubObject` to the parent interface's JSDoc and tag each persisted field with `@dbxModelVariable <longName>`. Alternative: redeclare the inherited fields directly on the child with their own JSDoc + tag (useful when the parent is a shared shape that shouldn't commit to a single longName). External parent: redeclare the inherited fields on the child with `@dbxModelVariable <longName>` tags when surface long-names are needed, or add the parent name to `modelValidate.ignoredExternalParents` in `dbx-mcp.config.json` when the inherited fields are framework plumbing (e.g. `IndexRef.i`, `DateRange.start/end`).",
715
+ "seeAlso": [
716
+ {
717
+ "kind": "artifact",
718
+ "target": "firestore-model"
719
+ }
720
+ ]
721
+ },
706
722
  {
707
723
  "code": "MODEL_SUBOBJECT_TAG_CONFLICT",
708
724
  "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.7",
3
+ "version": "13.11.8",
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.7",
19
- "@dereekb/dbx-core": "13.11.7",
20
- "@dereekb/dbx-firebase": "13.11.7",
21
- "@dereekb/dbx-form": "13.11.7",
22
- "@dereekb/dbx-web": "13.11.7",
23
- "@dereekb/firebase": "13.11.7",
24
- "@dereekb/firebase-server": "13.11.7",
25
- "@dereekb/rxjs": "13.11.7",
26
- "@dereekb/util": "13.11.7",
18
+ "@dereekb/dbx-cli": "13.11.8",
19
+ "@dereekb/dbx-core": "13.11.8",
20
+ "@dereekb/dbx-firebase": "13.11.8",
21
+ "@dereekb/dbx-form": "13.11.8",
22
+ "@dereekb/dbx-web": "13.11.8",
23
+ "@dereekb/firebase": "13.11.8",
24
+ "@dereekb/firebase-server": "13.11.8",
25
+ "@dereekb/rxjs": "13.11.8",
26
+ "@dereekb/util": "13.11.8",
27
27
  "@uirouter/angular": "21.0.0",
28
28
  "rxjs": "^7.8.2"
29
29
  },
30
30
  "devDependencies": {
31
- "@dereekb/model": "13.11.7"
31
+ "@dereekb/model": "13.11.8"
32
32
  }
33
33
  }