@dereekb/dbx-components-mcp 13.11.2 → 13.11.4

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.
@@ -0,0 +1,33 @@
1
+ {
2
+ "version": 1,
3
+ "source": "@dereekb/dbx-firebase",
4
+ "module": "@dereekb/dbx-firebase",
5
+ "generatedAt": "1970-01-01T00:00:00.000Z",
6
+ "generator": "@dereekb/dbx-components-mcp/scripts/generate-manifests.mjs",
7
+ "entries": [
8
+ {
9
+ "slug": "firebase-collection-change",
10
+ "category": "action",
11
+ "kind": "directive",
12
+ "selector": "[dbxFirebaseCollectionChange]",
13
+ "className": "DbxFirebaseCollectionChangeDirective",
14
+ "module": "@dereekb/dbx-firebase",
15
+ "description": "Watches a sibling {@link DbxFirebaseCollectionStoreDirective}'s query inputs\n(constraints, collection mode, refs, etc.) and, when set to `'auto'`, calls\n`store.restart()` so the collection re-runs and pulls fresh results.\n\nUse this directive when a `DbxFirebaseCollectionStoreDirective` subclass has\nquery inputs that change at runtime — by default the store does not react to\nthose changes, so this directive bridges the gap by composing\n{@link dbxFirebaseCollectionChangeWatcher} with\n{@link dbxFirebaseCollectionChangeTriggerForWatcher}.\n\nModes (`DbxFirebaseCollectionChangeWatcherTriggerMode`):\n- `'auto'` — automatically `restart()` the store when the query changes.\n- `'off'` (default) — observe only; consumers may read `triggered$` / `event$` themselves.",
16
+ "inputs": [
17
+ {
18
+ "name": "dbxFirebaseCollectionChange",
19
+ "type": "DbxFirebaseCollectionChangeWatcherTriggerMode",
20
+ "description": "",
21
+ "required": false,
22
+ "default": "'off'"
23
+ }
24
+ ],
25
+ "outputs": [],
26
+ "relatedSlugs": [
27
+ "firebase-collection-store"
28
+ ],
29
+ "example": "<!-- dbxFirebaseItemCollection extends DbxFirebaseCollectionStoreDirective; -->\n<!-- when [constraints] changes, the store restarts and reloads. -->\n<my-items-list\n dbxFirebaseItemCollection\n [constraints]=\"currentConstraints()\"\n [dbxFirebaseCollectionChange]=\"'auto'\">\n</my-items-list>",
30
+ "minimalExample": "<my-items-list dbxFirebaseItemCollection [dbxFirebaseCollectionChange]=\"'auto'\"></my-items-list>"
31
+ }
32
+ ]
33
+ }