@dereekb/dbx-components-mcp 13.42.0 → 13.43.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.
@@ -10,7 +10,7 @@ var __export = (target, all) => {
10
10
  // packages/dbx-components-mcp/package.json
11
11
  var package_default = {
12
12
  name: "@dereekb/dbx-components-mcp",
13
- version: "13.42.0",
13
+ version: "13.43.0",
14
14
  type: "module",
15
15
  bin: {
16
16
  "dbx-components-mcp": "dbx-components-mcp.js"
@@ -21,8 +21,8 @@ var package_default = {
21
21
  "ts-morph": "^21.0.0"
22
22
  },
23
23
  peerDependencies: {
24
- "@dereekb/dbx-cli": "13.42.0",
25
- "@dereekb/util": "13.42.0"
24
+ "@dereekb/dbx-cli": "13.43.0",
25
+ "@dereekb/util": "13.43.0"
26
26
  }
27
27
  };
28
28
 
@@ -2003,6 +2003,221 @@ var FIREBASE_MODELS = [
2003
2003
  collectionKind: "root",
2004
2004
  archetypes: ["root-entity"]
2005
2005
  },
2006
+ {
2007
+ name: "FormSpace",
2008
+ identityConst: "formSpaceIdentity",
2009
+ modelType: "formSpace",
2010
+ collectionPrefix: "fsp",
2011
+ sourcePackage: "@dereekb/firebase",
2012
+ sourceFile: "packages/firebase/src/lib/model/formspace/formspace.ts",
2013
+ fields: [
2014
+ {
2015
+ name: "t",
2016
+ longName: "formSpaceType",
2017
+ converter: "firestoreString<FormSpaceType>()",
2018
+ tsType: "FormSpaceType",
2019
+ optional: false,
2020
+ description: "The kind of form this space holds, resolving its upload restrictions, expiration policy, and the server-side handler its submission is dispatched to."
2021
+ },
2022
+ {
2023
+ name: "n",
2024
+ longName: "displayName",
2025
+ converter: "optionalFirestoreString()",
2026
+ tsType: "Maybe<string>",
2027
+ optional: true,
2028
+ description: "Display name of the space, for the owner's own list of in-progress forms."
2029
+ },
2030
+ {
2031
+ name: "s",
2032
+ longName: "state",
2033
+ converter: "firestoreEnum<FormSpaceState>({ default: FormSpaceState.DRAFT })",
2034
+ tsType: "FormSpaceState",
2035
+ optional: false,
2036
+ description: "Lifecycle state. Only DRAFT is editable.",
2037
+ enumRef: "FormSpaceState"
2038
+ },
2039
+ {
2040
+ name: "ps",
2041
+ longName: "processingState",
2042
+ converter: "firestoreEnum<FormSpaceProcessingState>({ default: FormSpaceProcessingState.INIT_OR_NONE })",
2043
+ tsType: "FormSpaceProcessingState",
2044
+ optional: false,
2045
+ description: "Processing state of the submission.",
2046
+ enumRef: "FormSpaceProcessingState"
2047
+ },
2048
+ {
2049
+ name: "d",
2050
+ longName: "data",
2051
+ converter: "optionalFirestorePassthroughJsonField<FormSpaceData>({ dontStoreIfEmpty: true })",
2052
+ tsType: "Maybe<T>",
2053
+ optional: true,
2054
+ description: "The form's own values, stored as pass-through JSON."
2055
+ },
2056
+ {
2057
+ name: "u",
2058
+ longName: "userId",
2059
+ converter: "firestoreUID()",
2060
+ tsType: "FirebaseAuthUserId",
2061
+ optional: false,
2062
+ description: "The user the space belongs to. Set at creation and never changed."
2063
+ },
2064
+ {
2065
+ name: "o",
2066
+ longName: "ownerKey",
2067
+ converter: "optionalFirestoreString()",
2068
+ tsType: "Maybe<FirebaseAuthOwnershipKey>",
2069
+ optional: true,
2070
+ description: "Ownership key, if applicable. Drives read access in the security rules."
2071
+ },
2072
+ {
2073
+ name: "m",
2074
+ longName: "targetModelKey",
2075
+ converter: "optionalFirestoreString()",
2076
+ tsType: "Maybe<FirestoreModelKey>",
2077
+ optional: true,
2078
+ description: "Key of the model this space was opened against, when it was opened against one."
2079
+ },
2080
+ {
2081
+ name: "uc",
2082
+ longName: "uploadCount",
2083
+ converter: "firestoreNumber({ default: 0 })",
2084
+ tsType: "number",
2085
+ optional: false,
2086
+ description: "Monotonic count of uploads this space has ACCEPTED over its whole lifetime."
2087
+ },
2088
+ {
2089
+ name: "fi",
2090
+ longName: "nextFileIndex",
2091
+ converter: "firestoreNumber({ default: 0 })",
2092
+ tsType: "number",
2093
+ optional: false,
2094
+ description: "The next index a file's permanent storage path is keyed by."
2095
+ },
2096
+ {
2097
+ name: "f",
2098
+ longName: "files",
2099
+ converter: "firestoreObjectArray({ objectField: formSpaceFileSubObject })",
2100
+ tsType: "FormSpaceFile[]",
2101
+ optional: false,
2102
+ description: "Every file the space currently holds, across every slot."
2103
+ },
2104
+ {
2105
+ name: "pn",
2106
+ longName: "processingNotificationKey",
2107
+ converter: "optionalFirestoreString()",
2108
+ tsType: "Maybe<NotificationKey>",
2109
+ optional: true,
2110
+ description: "The NotificationTask key processing this space's submission."
2111
+ },
2112
+ {
2113
+ name: "pat",
2114
+ longName: "processingAt",
2115
+ converter: "optionalFirestoreDate()",
2116
+ tsType: "Maybe<Date>",
2117
+ optional: true,
2118
+ description: "The date `ps` was last moved to PROCESSING. Used to detect a stuck task."
2119
+ },
2120
+ {
2121
+ name: "cat",
2122
+ longName: "createdAt",
2123
+ converter: "firestoreDate({ saveDefaultAsNow: true })",
2124
+ tsType: "Date",
2125
+ optional: false,
2126
+ description: "Created at date."
2127
+ },
2128
+ {
2129
+ name: "uat",
2130
+ longName: "updatedAt",
2131
+ converter: "firestoreDate({ saveDefaultAsNow: true })",
2132
+ tsType: "Date",
2133
+ optional: false,
2134
+ description: "Updated at date. Moves on every content change."
2135
+ },
2136
+ {
2137
+ name: "sat",
2138
+ longName: "submittedAt",
2139
+ converter: "optionalFirestoreDate()",
2140
+ tsType: "Maybe<Date>",
2141
+ optional: true,
2142
+ description: "The date the space was submitted, if it was. Its presence IS the lock."
2143
+ },
2144
+ {
2145
+ name: "cpat",
2146
+ longName: "completedAt",
2147
+ converter: "optionalFirestoreDate()",
2148
+ tsType: "Maybe<Date>",
2149
+ optional: true,
2150
+ description: "The date processing of the submission concluded, if it has."
2151
+ },
2152
+ {
2153
+ name: "eat",
2154
+ longName: "expiresAt",
2155
+ converter: "optionalFirestoreDate()",
2156
+ tsType: "Maybe<Date>",
2157
+ optional: true,
2158
+ description: "The date this space becomes eligible for the expiration sweep, if it expires at all."
2159
+ }
2160
+ ],
2161
+ enums: [
2162
+ {
2163
+ name: "FormSpaceState",
2164
+ values: [
2165
+ {
2166
+ name: "DRAFT",
2167
+ value: 0
2168
+ },
2169
+ {
2170
+ name: "SUBMITTED",
2171
+ value: 1
2172
+ },
2173
+ {
2174
+ name: "EXPIRED",
2175
+ value: 2
2176
+ },
2177
+ {
2178
+ name: "ARCHIVED",
2179
+ value: 3
2180
+ }
2181
+ ],
2182
+ description: "Lifecycle state of a {@link FormSpace}."
2183
+ },
2184
+ {
2185
+ name: "FormSpaceProcessingState",
2186
+ values: [
2187
+ {
2188
+ name: "INIT_OR_NONE",
2189
+ value: 0
2190
+ },
2191
+ {
2192
+ name: "QUEUED_FOR_PROCESSING",
2193
+ value: 1
2194
+ },
2195
+ {
2196
+ name: "PROCESSING",
2197
+ value: 2
2198
+ },
2199
+ {
2200
+ name: "FAILED",
2201
+ value: 3
2202
+ },
2203
+ {
2204
+ name: "SUCCESS",
2205
+ value: 4
2206
+ },
2207
+ {
2208
+ name: "DO_NOT_PROCESS",
2209
+ value: 5
2210
+ }
2211
+ ],
2212
+ description: "Processing state of a submitted {@link FormSpace}."
2213
+ }
2214
+ ],
2215
+ detectionHints: ["t", "n", "ps", "m", "uc", "f", "pn", "pat", "uat", "sat", "cpat", "eat"],
2216
+ description: "A type-registered container for a client-side form: its in-progress JSON, its uploads, and its submission state.",
2217
+ modelGroup: "FormSpace",
2218
+ collectionKind: "root",
2219
+ archetypes: ["root-entity", "state-machine-item"]
2220
+ },
2006
2221
  {
2007
2222
  name: "NotificationBox",
2008
2223
  identityConst: "notificationBoxIdentity",
@@ -3132,6 +3347,11 @@ var RESERVED_MODEL_FOLDERS = [
3132
3347
  reason: "StorageFile is a canonical group from `@dereekb/firebase` with a richer layout than the base 5 files (group, upload, file, etc.); downstream projects extend rather than redeclare it.",
3133
3348
  recommendedTool: "dbx_storagefile_m_validate_folder"
3134
3349
  },
3350
+ {
3351
+ name: "formspace",
3352
+ reason: "FormSpace is a canonical group from `@dereekb/firebase` with a richer layout than the base 5 files (type, upload, task, util, etc.); a downstream project only registers its own types and does not redeclare the model.",
3353
+ recommendedTool: "dbx_model_validate_folder"
3354
+ },
3135
3355
  {
3136
3356
  name: "calendar",
3137
3357
  reason: "Calendar is a canonical group from `@dereekb/firebase` with a richer layout than the base 5 files (type, expand, ics, processing, etc.); downstream projects extend rather than redeclare it.",
@@ -2016,6 +2016,10 @@
2016
2016
  "property": "overflow-y",
2017
2017
  "value": "hidden"
2018
2018
  },
2019
+ {
2020
+ "property": "padding-block",
2021
+ "value": "var(--dbx-shadow-gutter, 4px)"
2022
+ },
2019
2023
  {
2020
2024
  "property": "--mat-icon-button-touch-target-size",
2021
2025
  "value": "40px"
@@ -2053,7 +2057,11 @@
2053
2057
  "intent": "horizontal action bar — flex row that scrolls horizontally before wrapping",
2054
2058
  "seeAlso": [
2055
2059
  "dbx-flex-center",
2056
- "dbx-flex-fill"
2060
+ "dbx-flex-fill",
2061
+ "card-horizontal"
2062
+ ],
2063
+ "tokensRead": [
2064
+ "--dbx-shadow-gutter"
2057
2065
  ],
2058
2066
  "tokensSet": [
2059
2067
  "--mat-button-filled-touch-target-size",
@@ -2072,7 +2080,7 @@
2072
2080
  "source": "@dereekb/dbx-web",
2073
2081
  "module": "@dereekb/dbx-web",
2074
2082
  "file": "src/lib/layout/flex/_flex.scss",
2075
- "line": 34,
2083
+ "line": 44,
2076
2084
  "declarations": [
2077
2085
  {
2078
2086
  "property": "display",
@@ -2100,7 +2108,7 @@
2100
2108
  "source": "@dereekb/dbx-web",
2101
2109
  "module": "@dereekb/dbx-web",
2102
2110
  "file": "src/lib/layout/flex/_flex.scss",
2103
- "line": 44,
2111
+ "line": 54,
2104
2112
  "declarations": [
2105
2113
  {
2106
2114
  "property": "display",
@@ -2123,7 +2131,7 @@
2123
2131
  "source": "@dereekb/dbx-web",
2124
2132
  "module": "@dereekb/dbx-web",
2125
2133
  "file": "src/lib/layout/flex/_flex.scss",
2126
- "line": 54,
2134
+ "line": 64,
2127
2135
  "declarations": [
2128
2136
  {
2129
2137
  "property": "flex",
@@ -2143,7 +2151,7 @@
2143
2151
  "source": "@dereekb/dbx-web",
2144
2152
  "module": "@dereekb/dbx-web",
2145
2153
  "file": "src/lib/layout/flex/_flex.scss",
2146
- "line": 65,
2154
+ "line": 75,
2147
2155
  "declarations": [
2148
2156
  {
2149
2157
  "property": "flex",
@@ -2167,7 +2175,7 @@
2167
2175
  "source": "@dereekb/dbx-web",
2168
2176
  "module": "@dereekb/dbx-web",
2169
2177
  "file": "src/lib/layout/flex/_flex.scss",
2170
- "line": 74,
2178
+ "line": 84,
2171
2179
  "declarations": [
2172
2180
  {
2173
2181
  "property": "display",
@@ -3151,7 +3159,7 @@
3151
3159
  "source": "@dereekb/dbx-web",
3152
3160
  "module": "@dereekb/dbx-web",
3153
3161
  "file": "src/lib/layout/section/_section.scss",
3154
- "line": 76,
3162
+ "line": 83,
3155
3163
  "declarations": [
3156
3164
  {
3157
3165
  "property": "padding",
@@ -1205,6 +1205,20 @@
1205
1205
  "--mat-sys-error"
1206
1206
  ]
1207
1207
  },
1208
+ {
1209
+ "cssVariable": "--dbx-file-list-item-details-gap",
1210
+ "source": "dbx-web",
1211
+ "role": "spacing",
1212
+ "intents": [
1213
+ "file list item details gap",
1214
+ "file list item details gap spacing"
1215
+ ],
1216
+ "description": "Component-scoped override point (`download`) read in `packages/dbx-web/src/lib/extension/download/_download.scss` — set it (from an app, or via the owning dbx directive where one exists) to override; unset, it falls back to `0.25em`.",
1217
+ "defaults": {
1218
+ "light": "0.25em"
1219
+ },
1220
+ "componentScope": "download"
1221
+ },
1208
1222
  {
1209
1223
  "cssVariable": "--dbx-file-upload-square-container-shape",
1210
1224
  "source": "dbx-web",
@@ -2225,6 +2239,21 @@
2225
2239
  },
2226
2240
  "componentScope": "section"
2227
2241
  },
2242
+ {
2243
+ "cssVariable": "--dbx-shadow-gutter",
2244
+ "scssVariable": "$shadow-gutter-var",
2245
+ "source": "dbx-web",
2246
+ "role": "spacing",
2247
+ "intents": [
2248
+ "shadow gutter",
2249
+ "elevation room",
2250
+ "keep box-shadow from being clipped"
2251
+ ],
2252
+ "description": "Shadow gutter — the room a clipping/scrolling container must reserve INSIDE its padding box so an elevated child's `box-shadow` isn't clipped at the edge. Sized against Material's raised-button elevation: the resting shadow reaches 2.5px below the border box and the hover shadow reaches 5px, so 4px clears the resting state outright and all but the faintest 12% hover layer. Raise it to 5px to clear hover completely, or set it to 0px to opt out.",
2253
+ "defaults": {
2254
+ "light": "4px"
2255
+ }
2256
+ },
2228
2257
  {
2229
2258
  "cssVariable": "--dbx-sidenav-active-accent",
2230
2259
  "source": "dbx-web",
@@ -270,6 +270,34 @@
270
270
  ],
271
271
  "notes": "Arbitrary string describing the kind of calendar a document is, driving its retention policy and its ICS\nemission config through the app's {@link CalendarTypeConfig} registry.\n\nOpen by design, exactly like {@link StorageFilePurpose}: a downstream app registers its own types without\na library change."
272
272
  },
273
+ {
274
+ "name": "FormSpaceType",
275
+ "package": "@dereekb/firebase",
276
+ "module": "src/lib/model/formspace/formspace.id",
277
+ "kind": "semantic-type",
278
+ "definition": "string",
279
+ "baseType": "string",
280
+ "topics": [
281
+ "identifier",
282
+ "string",
283
+ "dereekb-firebase:form-space"
284
+ ],
285
+ "notes": "Arbitrary string describing the kind of form a FormSpace holds, driving its upload restrictions, its\nexpiration policy, and the server-side handler its submission is dispatched to through the app's\n{@link FormSpaceTypeConfig} registry.\n\nOpen by design, exactly like {@link StorageFilePurpose} and {@link CalendarType}: a downstream app\nregisters its own types without a library change."
286
+ },
287
+ {
288
+ "name": "FormSpaceFileSlot",
289
+ "package": "@dereekb/firebase",
290
+ "module": "src/lib/model/formspace/formspace.id",
291
+ "kind": "semantic-type",
292
+ "definition": "string",
293
+ "baseType": "string",
294
+ "topics": [
295
+ "identifier",
296
+ "string",
297
+ "dereekb-firebase:form-space"
298
+ ],
299
+ "notes": "Names one upload \"slot\" within a FormSpace — the resume, the cover letter, the photo of the ID.\n\nA slot is stored on the uploaded {@link StorageFile} as its `pg` (purposeSubgroup), which is what makes\n\"replace the file in this slot\" the existing `flagPreviousForDelete` behaviour rather than new machinery."
300
+ },
273
301
  {
274
302
  "name": "NotificationTemplateType",
275
303
  "package": "@dereekb/firebase",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dereekb/dbx-components-mcp",
3
- "version": "13.42.0",
3
+ "version": "13.43.0",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "dbx-components-mcp": "dbx-components-mcp.js"
@@ -11,7 +11,7 @@
11
11
  "ts-morph": "^21.0.0"
12
12
  },
13
13
  "peerDependencies": {
14
- "@dereekb/dbx-cli": "13.42.0",
15
- "@dereekb/util": "13.42.0"
14
+ "@dereekb/dbx-cli": "13.43.0",
15
+ "@dereekb/util": "13.43.0"
16
16
  }
17
17
  }