@htilabs/platform-common-models 0.19.0 → 0.21.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.
Files changed (59) hide show
  1. package/dist/cvcs/index.cjs +4867 -639
  2. package/dist/cvcs/index.cjs.map +1 -1
  3. package/dist/cvcs/index.d.cts +5145 -609
  4. package/dist/cvcs/index.d.ts +5145 -609
  5. package/dist/cvcs/index.js +4867 -639
  6. package/dist/cvcs/index.js.map +1 -1
  7. package/dist/enums/index.cjs +74 -1
  8. package/dist/enums/index.cjs.map +1 -1
  9. package/dist/enums/index.d.cts +77 -4
  10. package/dist/enums/index.d.ts +77 -4
  11. package/dist/enums/index.js +74 -1
  12. package/dist/enums/index.js.map +1 -1
  13. package/dist/{index-I-DiX9eQ.d.ts → index-CDoqrfc1.d.ts} +1 -1
  14. package/dist/{index-CoVr1jIV.d.cts → index-Zu_mOJRn.d.cts} +1 -1
  15. package/dist/index.cjs +5382 -588
  16. package/dist/index.cjs.map +1 -1
  17. package/dist/index.d.cts +3 -2
  18. package/dist/index.d.ts +3 -2
  19. package/dist/index.js +5371 -588
  20. package/dist/index.js.map +1 -1
  21. package/dist/information-scope/index.cjs +521 -0
  22. package/dist/information-scope/index.cjs.map +1 -0
  23. package/dist/information-scope/index.d.cts +442 -0
  24. package/dist/information-scope/index.d.ts +442 -0
  25. package/dist/information-scope/index.js +484 -0
  26. package/dist/information-scope/index.js.map +1 -0
  27. package/dist/models/index.d.cts +2 -2
  28. package/dist/models/index.d.ts +2 -2
  29. package/dist/schemas/index.d.cts +25 -25
  30. package/dist/schemas/index.d.ts +25 -25
  31. package/dist/services/index.cjs +495 -2
  32. package/dist/services/index.cjs.map +1 -1
  33. package/dist/services/index.d.cts +1 -0
  34. package/dist/services/index.d.ts +1 -0
  35. package/dist/services/index.js +483 -1
  36. package/dist/services/index.js.map +1 -1
  37. package/package.json +32 -26
  38. package/src/__tests__/__snapshots__/cvc-sot.snap +3 -3
  39. package/src/__tests__/core-information-scope-invariant.test.ts +835 -456
  40. package/src/__tests__/cvc-sot-snapshot.test.ts +17 -17
  41. package/src/__tests__/cvc-structural.test.ts +2 -2
  42. package/src/__tests__/location-type-routing-invariant.test.ts +25 -8
  43. package/src/cvcs/coreInformationScope.v2.1.0.json +5498 -0
  44. package/src/cvcs/index.ts +2 -2
  45. package/src/cvcs/roiScope.v1.4.0.json +360 -0
  46. package/src/generated/cvc-enums.ts +77 -4
  47. package/src/services/__tests__/fixtures/infoscope-v4/information_scope_v3_placements.projection.csv +12 -0
  48. package/src/services/__tests__/fixtures/infoscope-v4/information_scope_v4.migrations.csv +106 -0
  49. package/src/services/__tests__/fixtures/infoscope-v4/information_scope_v4.rows.csv +117 -0
  50. package/src/services/__tests__/fixtures/infoscope-v4/loadInfoscopeV4Fixtures.ts +187 -0
  51. package/src/services/__tests__/informationScopeResolver.test.ts +1278 -0
  52. package/src/services/index.ts +10 -3
  53. package/src/services/informationScope.ts +10 -0
  54. package/src/services/informationScopeResolver.ts +879 -0
  55. package/src/services/informationScopeSot.ts +203 -0
  56. package/src/cvcs/coreInformationScope.v1.1.0.json +0 -1290
  57. package/src/cvcs/roiScope.v1.2.0.json +0 -340
  58. package/dist/{cvcEntry-BCj1OWqL.d.cts → cvcEntry-0BIB9sen.d.cts} +8 -8
  59. package/dist/{cvcEntry-BCj1OWqL.d.ts → cvcEntry-0BIB9sen.d.ts} +8 -8
@@ -1,340 +0,0 @@
1
- {
2
- "domain": "roi_scope",
3
- "name": "ROI Scope",
4
- "version": "1.2.0",
5
- "_status": "DRAFT — TEMPORARY: net-new value-CVC not yet in Notion; provisional 900+ numbering. 0.8.13: COMPLETED against the canonical 27-item source. 0.8.12 shipped 15 of the canonical 27; the missing 12 are added here. Nothing PAVE shipped was invented — this was purely a gap. Canonical source: `HTI_SHARE_SCOPE_GROUPS` in HTI-LEADS-PAVE-Thread-prototype.html @ HEAD a596eb9 (7 groups x items = 27): identifying (5) + risk (4) + contact (3) + notes (3) + health_accommodation (6) + immigration_legal_status (5) + system (1). The GROUP axis (identifying / risk / contact / notes / health_accommodation / immigration_legal_status / system) is a separate presentation concern and is deliberately NOT modelled as hierarchy rows here — this CVC is the flat item vocabulary that an ROI authorizes. PENDING canonical Notion authoring + steward ratification. VERSION 1.2.0 supersedes 1.1.0 (co-bwc): `screen_notes` (983-012) and `background` (983-014) are RETIRED TOMBSTONES, matching CVC-236 `core_information_scope` v1.1.0 (retired 2026-10-05, Narrative notes, signed Spec v2 rule 5). Each keeps its published code (never reused), is `selectable: false` + `retired: true`, and includes nothing: a stored ROI that names one resolves to \"retired\", not \"unknown\". Not additive, hence the version (ADR-CVC-0.8.13 Addendum 2026-10-05; see `_supersedes`). This flat vocabulary is LEGACY: new units (e.g. `session_summary`, 236-005-004) are minted in CVC-236 only and are not mirrored here.",
6
- "_source": "htilabstech/prototype@a596eb9 HTI-LEADS-PAVE-Thread-prototype.html HTI_SHARE_SCOPE_GROUPS; v1.2.0 retirements: htilabstech/prototype/data/cvcs/core_information_scope.yaml @ 9ef79748 retired_units (L467)",
7
- "_supersedes": {
8
- "version": "1.1.0",
9
- "keyMap": {
10
- "missingness_root": "missingness_root",
11
- "unknown": "unknown",
12
- "anonymous": "anonymous",
13
- "data_not_collected": "data_not_collected",
14
- "names": "names",
15
- "dob": "dob",
16
- "addresses": "addresses",
17
- "additional_ids": "additional_ids",
18
- "demographics": "demographics",
19
- "screen_indicators": "screen_indicators",
20
- "victimization": "victimization",
21
- "ida_full": "ida_full",
22
- "ida_consid": "ida_consid",
23
- "contact_info": "contact_info",
24
- "service_history": "service_history",
25
- "screen_notes": "screen_notes",
26
- "case_notes": "case_notes",
27
- "background": "background",
28
- "system_info": "system_info",
29
- "contact_history": "contact_history",
30
- "accommodation_needs": "accommodation_needs",
31
- "disability_subtypes": "disability_subtypes",
32
- "mental_health_status": "mental_health_status",
33
- "substance_use_status": "substance_use_status",
34
- "chronic_health_status": "chronic_health_status",
35
- "hiv_status": "hiv_status",
36
- "immigration_status": "immigration_status",
37
- "uscis_alien_number": "uscis_alien_number",
38
- "federal_protection_applications": "federal_protection_applications",
39
- "tvap_enrollment": "tvap_enrollment",
40
- "le_report_status": "le_report_status"
41
- },
42
- "retiredCodes": [],
43
- "notes": {
44
- "summary": "Every v1.1.0 key is still an entry in v1.2.0, at its v1.1.0 code, so `keyMap` is the identity and `retiredCodes` is empty: no code was withdrawn. Non-additive because 2 published items are now RETIRED tombstones (notes below), matching CVC-236 `core_information_scope` v1.1.0, which retired the same two keys; nothing was added. Before this version the package gave two answers to \"is screen_notes offerable\" (co-bwc). The file was named `roiScope.v1.0.0.json` while declaring version 1.1.0 (the 0.8.13 completion); the published version superseded here is the declared 1.1.0.",
45
- "screen_notes": "v1.1.0 `screen_notes` was a selectable item. Retired 2026-10-05 (Narrative notes, signed Spec v2 rule 5): The Initial Screen's notes box is an instrument note and belongs to the Initial Screen. It stays at 983-012 as a tombstone (`selectable: false`, `retired: true`) with NO successor key, and includes nothing — a stored ROI that names it narrows, never widens. CVC-236 v1.1.0 retired the same key (canon `data/cvcs/core_information_scope.yaml` `retired_units` L467 @ prototype 9ef79748); canon records that only demo data named it (Crysta 2026-10-04).",
46
- "background": "v1.1.0 `background` was a selectable item. Retired 2026-10-05 (Narrative notes, signed Spec v2 rule 5): Nothing ever captured it. It stays at 983-014 as a tombstone (`selectable: false`, `retired: true`) with NO successor key, and includes nothing — a stored ROI that names it narrows, never widens. CVC-236 v1.1.0 retired the same key (canon `data/cvcs/core_information_scope.yaml` `retired_units` L467 @ prototype 9ef79748); canon records that only demo data named it (Crysta 2026-10-04)."
47
- }
48
- },
49
- "levels": {
50
- "0": "Unknown or Missing",
51
- "1": "ROI scope item"
52
- },
53
- "entries": [
54
- {
55
- "code": "983-000-000-000-000-000-000",
56
- "key": "missingness_root",
57
- "title": "Unknown, Redacted, or Missing",
58
- "selectable": false,
59
- "parentCode": null,
60
- "childCodes": [
61
- "983-000-000-000-000-000-001",
62
- "983-000-000-000-000-000-002",
63
- "983-000-000-000-000-000-003"
64
- ],
65
- "definition": "Root group for values indicating absent, withheld, or uncollected data. Variant: 3-value (unknown, anonymous, data_not_collected) under the workspace standard ANON semantic. The PAVE enum enumerates only the substantive scope items, so the quadruplet is added per SOT convention."
66
- },
67
- {
68
- "code": "983-000-000-000-000-000-001",
69
- "key": "unknown",
70
- "title": "Unknown",
71
- "selectable": true,
72
- "parentCode": "983-000-000-000-000-000-000",
73
- "childCodes": [],
74
- "definition": "ROI scope item is unknown at time of entry (missingness sentinel)."
75
- },
76
- {
77
- "code": "983-000-000-000-000-000-002",
78
- "key": "anonymous",
79
- "title": "Anonymous / declined to answer",
80
- "selectable": true,
81
- "parentCode": "983-000-000-000-000-000-000",
82
- "childCodes": [],
83
- "definition": "Value is intentionally withheld or redacted. Combines declined-to-answer and redacted/anonymous semantics under the workspace standard ANON sentinel."
84
- },
85
- {
86
- "code": "983-000-000-000-000-000-003",
87
- "key": "data_not_collected",
88
- "title": "Data not collected",
89
- "selectable": true,
90
- "parentCode": "983-000-000-000-000-000-000",
91
- "childCodes": [],
92
- "definition": "No attempt was made to collect the value. System-only sentinel per GLOBAL_DESIGN_RULES."
93
- },
94
- {
95
- "code": "983-001-000-000-000-000-000",
96
- "key": "names",
97
- "title": "Names + aliases",
98
- "selectable": true,
99
- "parentCode": null,
100
- "childCodes": [],
101
- "definition": "All logged name entries for the subject. Identifying-information scope group."
102
- },
103
- {
104
- "code": "983-002-000-000-000-000-000",
105
- "key": "dob",
106
- "title": "Date of birth",
107
- "selectable": true,
108
- "parentCode": null,
109
- "childCodes": [],
110
- "definition": "The subject's date of birth. Identifying-information scope group."
111
- },
112
- {
113
- "code": "983-003-000-000-000-000-000",
114
- "key": "addresses",
115
- "title": "Addresses",
116
- "selectable": true,
117
- "parentCode": null,
118
- "childCodes": [],
119
- "definition": "Logged addresses for the subject. Identifying-information scope group."
120
- },
121
- {
122
- "code": "983-004-000-000-000-000-000",
123
- "key": "additional_ids",
124
- "title": "Additional identifiers",
125
- "selectable": true,
126
- "parentCode": null,
127
- "childCodes": [],
128
- "definition": "Other identifiers entered separately from the primary identity record. Identifying-information scope group."
129
- },
130
- {
131
- "code": "983-005-000-000-000-000-000",
132
- "key": "demographics",
133
- "title": "Demographics",
134
- "selectable": true,
135
- "parentCode": null,
136
- "childCodes": [],
137
- "definition": "Demographic attributes of the subject. Identifying-information scope group."
138
- },
139
- {
140
- "code": "983-006-000-000-000-000-000",
141
- "key": "screen_indicators",
142
- "title": "Screen indicators + risk level",
143
- "selectable": true,
144
- "parentCode": null,
145
- "childCodes": [],
146
- "definition": "Screening indicators and the derived risk level. Risk-related scope group."
147
- },
148
- {
149
- "code": "983-007-000-000-000-000-000",
150
- "key": "victimization",
151
- "title": "Victimization determination",
152
- "selectable": true,
153
- "parentCode": null,
154
- "childCodes": [],
155
- "definition": "The recorded victimization determination. Risk-related scope group."
156
- },
157
- {
158
- "code": "983-008-000-000-000-000-000",
159
- "key": "ida_full",
160
- "title": "Full IDA answers + notes",
161
- "selectable": true,
162
- "parentCode": null,
163
- "childCodes": [],
164
- "definition": "The complete In-Depth Assessment instrument response, including notes. Risk-related scope group."
165
- },
166
- {
167
- "code": "983-009-000-000-000-000-000",
168
- "key": "ida_consid",
169
- "title": "IDA “Additional considerations”",
170
- "selectable": true,
171
- "parentCode": null,
172
- "childCodes": [],
173
- "definition": "The IDA free-text “Additional considerations” field. Risk-related scope group."
174
- },
175
- {
176
- "code": "983-010-000-000-000-000-000",
177
- "key": "contact_info",
178
- "title": "Contact info + safety preferences",
179
- "selectable": true,
180
- "parentCode": null,
181
- "childCodes": [],
182
- "definition": "How to reach the subject, plus their contact-safety preferences. Contact & history scope group."
183
- },
184
- {
185
- "code": "983-011-000-000-000-000-000",
186
- "key": "service_history",
187
- "title": "Service referrals + needs",
188
- "selectable": true,
189
- "parentCode": null,
190
- "childCodes": [],
191
- "definition": "Service referrals made and needs recorded for the subject. Contact & history scope group."
192
- },
193
- {
194
- "code": "983-012-000-000-000-000-000",
195
- "key": "screen_notes",
196
- "title": "Screen notes",
197
- "selectable": false,
198
- "parentCode": null,
199
- "childCodes": [],
200
- "definition": "RETIRED 2026-10-05 (Narrative notes, signed Spec v2 rule 5), matching its CVC-236 `core_information_scope` v1.1.0 twin. The Initial Screen's notes box is an instrument note and belongs to the Initial Screen. No longer offered in an ROI; a stored code resolves here so a reader can tell retired from unknown, and includes nothing.",
201
- "retired": true
202
- },
203
- {
204
- "code": "983-013-000-000-000-000-000",
205
- "key": "case_notes",
206
- "title": "Detailed case notes",
207
- "selectable": true,
208
- "parentCode": null,
209
- "childCodes": [],
210
- "definition": "Detailed narrative case notes. Narrative-notes scope group."
211
- },
212
- {
213
- "code": "983-014-000-000-000-000-000",
214
- "key": "background",
215
- "title": "Background information",
216
- "selectable": false,
217
- "parentCode": null,
218
- "childCodes": [],
219
- "definition": "RETIRED 2026-10-05 (Narrative notes, signed Spec v2 rule 5), matching its CVC-236 `core_information_scope` v1.1.0 twin. Nothing ever captured it. No longer offered in an ROI; a stored code resolves here so a reader can tell retired from unknown, and includes nothing.",
220
- "retired": true
221
- },
222
- {
223
- "code": "983-015-000-000-000-000-000",
224
- "key": "system_info",
225
- "title": "System metadata",
226
- "selectable": true,
227
- "parentCode": null,
228
- "childCodes": [],
229
- "definition": "System-level record metadata (identifiers, timestamps, provenance). System-metadata scope group."
230
- },
231
- {
232
- "code": "983-016-000-000-000-000-000",
233
- "key": "contact_history",
234
- "title": "Contact history with this agency",
235
- "selectable": true,
236
- "parentCode": null,
237
- "childCodes": [],
238
- "definition": "Prior contacts/interactions between the subject and this agency. Canonical scope group `contact` (Contact & history)."
239
- },
240
- {
241
- "code": "983-017-000-000-000-000-000",
242
- "key": "accommodation_needs",
243
- "title": "Accommodation needs",
244
- "selectable": true,
245
- "parentCode": null,
246
- "childCodes": [],
247
- "definition": "Accessibility / accommodation needs. Canonical scope group `health_accommodation` (Health & Accommodation)."
248
- },
249
- {
250
- "code": "983-018-000-000-000-000-000",
251
- "key": "disability_subtypes",
252
- "title": "Disability types",
253
- "selectable": true,
254
- "parentCode": null,
255
- "childCodes": [],
256
- "definition": "Disability subtype detail (CVC-914 `disability_subtype`). Canonical scope group `health_accommodation`."
257
- },
258
- {
259
- "code": "983-019-000-000-000-000-000",
260
- "key": "mental_health_status",
261
- "title": "Mental health status",
262
- "selectable": true,
263
- "parentCode": null,
264
- "childCodes": [],
265
- "definition": "Mental health status (CVC-974 `mental_health_status`). Canonical scope group `health_accommodation`."
266
- },
267
- {
268
- "code": "983-020-000-000-000-000-000",
269
- "key": "substance_use_status",
270
- "title": "Substance use status",
271
- "selectable": true,
272
- "parentCode": null,
273
- "childCodes": [],
274
- "definition": "Substance use status (CVC-958 `substance_use_status`). Canonical scope group `health_accommodation`."
275
- },
276
- {
277
- "code": "983-021-000-000-000-000-000",
278
- "key": "chronic_health_status",
279
- "title": "Chronic health status",
280
- "selectable": true,
281
- "parentCode": null,
282
- "childCodes": [],
283
- "definition": "Chronic / ongoing health condition status. Canonical scope group `health_accommodation`."
284
- },
285
- {
286
- "code": "983-022-000-000-000-000-000",
287
- "key": "hiv_status",
288
- "title": "HIV status",
289
- "selectable": true,
290
- "parentCode": null,
291
- "childCodes": [],
292
- "definition": "HIV status (CVC-973 `hiv_status`). No special toggle — the canonical Authorization Model handles the privacy posture. Canonical scope group `health_accommodation`."
293
- },
294
- {
295
- "code": "983-023-000-000-000-000-000",
296
- "key": "immigration_status",
297
- "title": "Immigration status",
298
- "selectable": true,
299
- "parentCode": null,
300
- "childCodes": [],
301
- "definition": "Immigration status: visa type + birth country + relevant flags. Canonical scope group `immigration_legal_status` (Immigration & Legal Status)."
302
- },
303
- {
304
- "code": "983-024-000-000-000-000-000",
305
- "key": "uscis_alien_number",
306
- "title": "USCIS A-Number",
307
- "selectable": true,
308
- "parentCode": null,
309
- "childCodes": [],
310
- "definition": "USCIS Alien Registration Number. Canonical scope group `immigration_legal_status`."
311
- },
312
- {
313
- "code": "983-025-000-000-000-000-000",
314
- "key": "federal_protection_applications",
315
- "title": "Federal protection applications",
316
- "selectable": true,
317
- "parentCode": null,
318
- "childCodes": [],
319
- "definition": "Federal protection applications: T-Visa, Continued Presence, U-Visa, VAWA, Asylum, SIJS. Canonical scope group `immigration_legal_status`."
320
- },
321
- {
322
- "code": "983-026-000-000-000-000-000",
323
- "key": "tvap_enrollment",
324
- "title": "TVAP enrollment",
325
- "selectable": true,
326
- "parentCode": null,
327
- "childCodes": [],
328
- "definition": "Trafficking Victim Assistance Program enrollment (USCRI federal trafficking-survivor grant). Canonical scope group `immigration_legal_status`."
329
- },
330
- {
331
- "code": "983-027-000-000-000-000-000",
332
- "key": "le_report_status",
333
- "title": "Law enforcement engagement",
334
- "selectable": true,
335
- "parentCode": null,
336
- "childCodes": [],
337
- "definition": "Law-enforcement report + interview status (CVC-932 `le_report_status`); relevant for foreign-national cases. Canonical scope group `immigration_legal_status`."
338
- }
339
- ]
340
- }
@@ -233,18 +233,18 @@ type SectionQuestionRef = InferRawDocType<typeof sectionQuestionRefSchema>;
233
233
  declare const guidanceSchema: Schema<any, mongoose.Model<any, any, any, any, any, any, any>, {}, {}, {}, {}, {
234
234
  _id: false;
235
235
  }, {
236
- text: string;
237
236
  type: "tip" | "warning" | "prompt";
238
- }, mongoose.Document<unknown, {}, {
239
237
  text: string;
238
+ }, mongoose.Document<unknown, {}, {
240
239
  type: "tip" | "warning" | "prompt";
240
+ text: string;
241
241
  }, {
242
242
  id: string;
243
243
  }, Omit<mongoose.DefaultSchemaOptions, "_id"> & {
244
244
  _id: false;
245
245
  }> & Omit<{
246
- text: string;
247
246
  type: "tip" | "warning" | "prompt";
247
+ text: string;
248
248
  } & {
249
249
  _id: mongoose.Types.ObjectId;
250
250
  } & {
@@ -252,8 +252,8 @@ declare const guidanceSchema: Schema<any, mongoose.Model<any, any, any, any, any
252
252
  }, "id"> & {
253
253
  id: string;
254
254
  }, unknown, {
255
- text: string;
256
255
  type: "tip" | "warning" | "prompt";
256
+ text: string;
257
257
  } & {
258
258
  _id: mongoose.Types.ObjectId;
259
259
  } & {
@@ -294,18 +294,18 @@ declare const sectionSchemaDefinition: {
294
294
  type: Schema<any, mongoose.Model<any, any, any, any, any, any, any>, {}, {}, {}, {}, {
295
295
  _id: false;
296
296
  }, {
297
- text: string;
298
297
  type: "tip" | "warning" | "prompt";
299
- }, mongoose.Document<unknown, {}, {
300
298
  text: string;
299
+ }, mongoose.Document<unknown, {}, {
301
300
  type: "tip" | "warning" | "prompt";
301
+ text: string;
302
302
  }, {
303
303
  id: string;
304
304
  }, Omit<mongoose.DefaultSchemaOptions, "_id"> & {
305
305
  _id: false;
306
306
  }> & Omit<{
307
- text: string;
308
307
  type: "tip" | "warning" | "prompt";
308
+ text: string;
309
309
  } & {
310
310
  _id: mongoose.Types.ObjectId;
311
311
  } & {
@@ -313,8 +313,8 @@ declare const sectionSchemaDefinition: {
313
313
  }, "id"> & {
314
314
  id: string;
315
315
  }, unknown, {
316
- text: string;
317
316
  type: "tip" | "warning" | "prompt";
317
+ text: string;
318
318
  } & {
319
319
  _id: mongoose.Types.ObjectId;
320
320
  } & {
@@ -233,18 +233,18 @@ type SectionQuestionRef = InferRawDocType<typeof sectionQuestionRefSchema>;
233
233
  declare const guidanceSchema: Schema<any, mongoose.Model<any, any, any, any, any, any, any>, {}, {}, {}, {}, {
234
234
  _id: false;
235
235
  }, {
236
- text: string;
237
236
  type: "tip" | "warning" | "prompt";
238
- }, mongoose.Document<unknown, {}, {
239
237
  text: string;
238
+ }, mongoose.Document<unknown, {}, {
240
239
  type: "tip" | "warning" | "prompt";
240
+ text: string;
241
241
  }, {
242
242
  id: string;
243
243
  }, Omit<mongoose.DefaultSchemaOptions, "_id"> & {
244
244
  _id: false;
245
245
  }> & Omit<{
246
- text: string;
247
246
  type: "tip" | "warning" | "prompt";
247
+ text: string;
248
248
  } & {
249
249
  _id: mongoose.Types.ObjectId;
250
250
  } & {
@@ -252,8 +252,8 @@ declare const guidanceSchema: Schema<any, mongoose.Model<any, any, any, any, any
252
252
  }, "id"> & {
253
253
  id: string;
254
254
  }, unknown, {
255
- text: string;
256
255
  type: "tip" | "warning" | "prompt";
256
+ text: string;
257
257
  } & {
258
258
  _id: mongoose.Types.ObjectId;
259
259
  } & {
@@ -294,18 +294,18 @@ declare const sectionSchemaDefinition: {
294
294
  type: Schema<any, mongoose.Model<any, any, any, any, any, any, any>, {}, {}, {}, {}, {
295
295
  _id: false;
296
296
  }, {
297
- text: string;
298
297
  type: "tip" | "warning" | "prompt";
299
- }, mongoose.Document<unknown, {}, {
300
298
  text: string;
299
+ }, mongoose.Document<unknown, {}, {
301
300
  type: "tip" | "warning" | "prompt";
301
+ text: string;
302
302
  }, {
303
303
  id: string;
304
304
  }, Omit<mongoose.DefaultSchemaOptions, "_id"> & {
305
305
  _id: false;
306
306
  }> & Omit<{
307
- text: string;
308
307
  type: "tip" | "warning" | "prompt";
308
+ text: string;
309
309
  } & {
310
310
  _id: mongoose.Types.ObjectId;
311
311
  } & {
@@ -313,8 +313,8 @@ declare const sectionSchemaDefinition: {
313
313
  }, "id"> & {
314
314
  id: string;
315
315
  }, unknown, {
316
- text: string;
317
316
  type: "tip" | "warning" | "prompt";
317
+ text: string;
318
318
  } & {
319
319
  _id: mongoose.Types.ObjectId;
320
320
  } & {