@ai-matrx/records 0.72.12 → 0.72.23

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 (34) hide show
  1. package/CHANGELOG.md +66 -0
  2. package/dist/app-table/index.d.cts +3 -3
  3. package/dist/app-table/index.d.ts +3 -3
  4. package/dist/core/index.d.cts +5 -5
  5. package/dist/core/index.d.ts +5 -5
  6. package/dist/{declareTable-Br8pE4fr.d.cts → declareTable-CLvpMdgJ.d.cts} +2 -2
  7. package/dist/{declareTable-DM6z1tc-.d.ts → declareTable-DY3oN4rq.d.ts} +2 -2
  8. package/dist/index.d.cts +3 -3
  9. package/dist/index.d.ts +3 -3
  10. package/dist/memory/index.cjs +2681 -0
  11. package/dist/memory/index.cjs.map +1 -0
  12. package/dist/memory/index.d.cts +126 -0
  13. package/dist/memory/index.d.ts +126 -0
  14. package/dist/memory/index.js +2658 -0
  15. package/dist/memory/index.js.map +1 -0
  16. package/dist/{ports-DKBvsoya.d.cts → ports-DKOk7AT2.d.cts} +1 -1
  17. package/dist/{ports-Bhu2Q3V0.d.ts → ports-Df3VghxK.d.ts} +1 -1
  18. package/dist/{table-kind-D6Lz7ebE.d.ts → table-kind-CD9B1vtx.d.ts} +1 -1
  19. package/dist/{table-kind-D6VOew74.d.cts → table-kind-e-g5kGXV.d.cts} +1 -1
  20. package/dist/templates/index.cjs +59 -24
  21. package/dist/templates/index.cjs.map +1 -1
  22. package/dist/templates/index.d.cts +18 -1176
  23. package/dist/templates/index.d.ts +18 -1176
  24. package/dist/templates/index.js +59 -24
  25. package/dist/templates/index.js.map +1 -1
  26. package/dist/{validate-QtFxMmJc.d.ts → types-Ba11aOEO.d.ts} +1 -42
  27. package/dist/{validate-DUSrx-9E.d.cts → types-BtEKp3ot.d.cts} +1 -42
  28. package/dist/types-DxVoKKpL.d.ts +1186 -0
  29. package/dist/types-dlj1-2t2.d.cts +1186 -0
  30. package/dist/use-cases/index.d.cts +3 -2
  31. package/dist/use-cases/index.d.ts +3 -2
  32. package/dist/validate-CMb7R_ke.d.cts +44 -0
  33. package/dist/validate-E-g4LAZ6.d.ts +44 -0
  34. package/package.json +13 -1
@@ -334,45 +334,4 @@ interface UseCaseSummary {
334
334
  rowCount: number;
335
335
  }
336
336
 
337
- /**
338
- * Every word a `parityType` may be: the parity types, every kind the declaration door
339
- * publishes (`custom.field_kinds()` — entity_reference, signature, long_text …, which a
340
- * lane-8 template needs for S4 and e-sign), their behaviours, the synonyms.
341
- */
342
- declare const RESOLVABLE_FIELD_TYPE_WORDS: readonly string[];
343
- /**
344
- * The minimum a seeded business needs before a screen looks like it is working
345
- * rather than like a fixture. Below this, a screenshot shows an empty state.
346
- *
347
- * It was 8 until a real dataset argued with it: a whole-house renovation has SIX
348
- * ROOMS, and demanding eight would have meant inventing two rooms that do not
349
- * exist — which is the exact failure this whole library is against. Six rooms on
350
- * a board is a working project, not an empty screen. So the floor is what a
351
- * screen genuinely needs, and the suite keeps the stronger check where it
352
- * belongs: at least 20 rows across the whole use case.
353
- */
354
- declare const MIN_ROWS_IN_PRIMARY_TABLE = 5;
355
- /** A refusal: what is wrong, where, and what to do. */
356
- interface UseCaseProblem {
357
- /** Dotted path into the use case: "tables[1].fields[3].choices". */
358
- at: string;
359
- /** The sentence. Always says what to do, never only what is wrong. */
360
- says: string;
361
- }
362
- interface UseCaseVerdict {
363
- ok: boolean;
364
- problems: UseCaseProblem[];
365
- }
366
- /**
367
- * Check one use case. Returns every problem rather than the first, because a
368
- * crew fixing a dataset wants the whole list in one pass.
369
- */
370
- declare function validateUseCase(useCase: UseCase): UseCaseVerdict;
371
- /**
372
- * Validate, and throw with every problem listed. This is what a seeder calls
373
- * before it writes anything to a live organization — a half-valid dataset is
374
- * worse than none, because it produces a screen that looks like it worked.
375
- */
376
- declare function assertUseCase(useCase: UseCase): void;
377
-
378
- export { type BusinessIdentity as B, type FormAudience as F, MIN_ROWS_IN_PRIMARY_TABLE as M, type NotificationChannel as N, type PostalAddress as P, RESOLVABLE_FIELD_TYPE_WORDS as R, type UseCase as U, type UseCaseSummary as a, type UseCaseDashboardQuestion as b, type UseCaseDocumentTemplate as c, type UseCaseField as d, type UseCaseForm as e, type UseCaseFormField as f, type UseCaseMergeField as g, type UseCaseNotificationRule as h, type UseCaseNotificationTrigger as i, type UseCasePipeline as j, type UseCasePipelineStage as k, type UseCaseProblem as l, type UseCaseProvenance as m, type UseCaseRelationship as n, type UseCaseRow as o, type UseCaseTable as p, type UseCaseVerdict as q, assertUseCase as r, validateUseCase as v };
337
+ export type { BusinessIdentity as B, FormAudience as F, NotificationChannel as N, PostalAddress as P, UseCase as U, UseCaseTable as a, UseCaseField as b, UseCaseRow as c, UseCaseForm as d, UseCaseFormField as e, UseCaseNotificationTrigger as f, UseCaseProvenance as g, UseCaseSummary as h, UseCaseDashboardQuestion as i, UseCaseDocumentTemplate as j, UseCaseMergeField as k, UseCaseNotificationRule as l, UseCasePipeline as m, UseCasePipelineStage as n, UseCaseRelationship as o };
@@ -334,45 +334,4 @@ interface UseCaseSummary {
334
334
  rowCount: number;
335
335
  }
336
336
 
337
- /**
338
- * Every word a `parityType` may be: the parity types, every kind the declaration door
339
- * publishes (`custom.field_kinds()` — entity_reference, signature, long_text …, which a
340
- * lane-8 template needs for S4 and e-sign), their behaviours, the synonyms.
341
- */
342
- declare const RESOLVABLE_FIELD_TYPE_WORDS: readonly string[];
343
- /**
344
- * The minimum a seeded business needs before a screen looks like it is working
345
- * rather than like a fixture. Below this, a screenshot shows an empty state.
346
- *
347
- * It was 8 until a real dataset argued with it: a whole-house renovation has SIX
348
- * ROOMS, and demanding eight would have meant inventing two rooms that do not
349
- * exist — which is the exact failure this whole library is against. Six rooms on
350
- * a board is a working project, not an empty screen. So the floor is what a
351
- * screen genuinely needs, and the suite keeps the stronger check where it
352
- * belongs: at least 20 rows across the whole use case.
353
- */
354
- declare const MIN_ROWS_IN_PRIMARY_TABLE = 5;
355
- /** A refusal: what is wrong, where, and what to do. */
356
- interface UseCaseProblem {
357
- /** Dotted path into the use case: "tables[1].fields[3].choices". */
358
- at: string;
359
- /** The sentence. Always says what to do, never only what is wrong. */
360
- says: string;
361
- }
362
- interface UseCaseVerdict {
363
- ok: boolean;
364
- problems: UseCaseProblem[];
365
- }
366
- /**
367
- * Check one use case. Returns every problem rather than the first, because a
368
- * crew fixing a dataset wants the whole list in one pass.
369
- */
370
- declare function validateUseCase(useCase: UseCase): UseCaseVerdict;
371
- /**
372
- * Validate, and throw with every problem listed. This is what a seeder calls
373
- * before it writes anything to a live organization — a half-valid dataset is
374
- * worse than none, because it produces a screen that looks like it worked.
375
- */
376
- declare function assertUseCase(useCase: UseCase): void;
377
-
378
- export { type BusinessIdentity as B, type FormAudience as F, MIN_ROWS_IN_PRIMARY_TABLE as M, type NotificationChannel as N, type PostalAddress as P, RESOLVABLE_FIELD_TYPE_WORDS as R, type UseCase as U, type UseCaseSummary as a, type UseCaseDashboardQuestion as b, type UseCaseDocumentTemplate as c, type UseCaseField as d, type UseCaseForm as e, type UseCaseFormField as f, type UseCaseMergeField as g, type UseCaseNotificationRule as h, type UseCaseNotificationTrigger as i, type UseCasePipeline as j, type UseCasePipelineStage as k, type UseCaseProblem as l, type UseCaseProvenance as m, type UseCaseRelationship as n, type UseCaseRow as o, type UseCaseTable as p, type UseCaseVerdict as q, assertUseCase as r, validateUseCase as v };
337
+ export type { BusinessIdentity as B, FormAudience as F, NotificationChannel as N, PostalAddress as P, UseCase as U, UseCaseTable as a, UseCaseField as b, UseCaseRow as c, UseCaseForm as d, UseCaseFormField as e, UseCaseNotificationTrigger as f, UseCaseProvenance as g, UseCaseSummary as h, UseCaseDashboardQuestion as i, UseCaseDocumentTemplate as j, UseCaseMergeField as k, UseCaseNotificationRule as l, UseCasePipeline as m, UseCasePipelineStage as n, UseCaseRelationship as o };