@ai-matrx/records 0.98.8 → 0.98.9

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 (92) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/{table-kind-CboiMJuE.d.cts → client-9fzhCPD5.d.cts} +2771 -4
  3. package/dist/{table-kind-B4sdlvHf.d.ts → client-DcWZjmg2.d.ts} +2771 -4
  4. package/dist/core/index.cjs +100 -3
  5. package/dist/core/index.cjs.map +1 -1
  6. package/dist/core/index.d.cts +19 -17
  7. package/dist/core/index.d.ts +19 -17
  8. package/dist/core/index.js +100 -3
  9. package/dist/core/index.js.map +1 -1
  10. package/dist/data/index.cjs +52 -0
  11. package/dist/data/index.cjs.map +1 -1
  12. package/dist/data/index.d.cts +11 -12
  13. package/dist/data/index.d.ts +11 -12
  14. package/dist/data/index.js +52 -0
  15. package/dist/data/index.js.map +1 -1
  16. package/dist/{declareTable-BIuPJ3Vj.d.ts → declareTable-B6ic3leL.d.ts} +3 -4
  17. package/dist/{declareTable-d-HxRmF0.d.cts → declareTable-_GwN-ERY.d.cts} +3 -4
  18. package/dist/{doors-Bx3Shs3z.d.cts → doors-Dm5q9H8Y.d.cts} +1 -1
  19. package/dist/{doors-BTifsjNv.d.ts → doors-t-Oc2l9E.d.ts} +1 -1
  20. package/dist/entity/index.d.cts +7 -7
  21. package/dist/entity/index.d.ts +7 -7
  22. package/dist/{field-CJtssH3q.d.ts → field-BIRNApm1.d.ts} +2 -2
  23. package/dist/{field-DoVl2I9K.d.cts → field-BLy8drjM.d.cts} +2 -2
  24. package/dist/forms/index.d.cts +3 -3
  25. package/dist/forms/index.d.ts +3 -3
  26. package/dist/index.cjs +45 -0
  27. package/dist/index.cjs.map +1 -1
  28. package/dist/index.d.cts +30 -13
  29. package/dist/index.d.ts +30 -13
  30. package/dist/index.js +45 -0
  31. package/dist/index.js.map +1 -1
  32. package/dist/memory/index.d.cts +7 -7
  33. package/dist/memory/index.d.ts +7 -7
  34. package/dist/{objectOrganization-Crk9gJUM.d.ts → objectOrganization-D5Ytjah7.d.ts} +1 -1
  35. package/dist/{objectOrganization-CUa6jjhV.d.cts → objectOrganization-zgpoUAH1.d.cts} +1 -1
  36. package/dist/{port-CRP5g9l9.d.cts → port-B9glCG2h.d.cts} +3 -3
  37. package/dist/{port-CtnELAJQ.d.ts → port-C-p-_lAu.d.ts} +3 -3
  38. package/dist/{portal-DW5NGBT0.d.ts → portal-B9HCNPTc.d.ts} +2 -2
  39. package/dist/{portal-C4N9ByaY.d.cts → portal-C_LgvDeh.d.cts} +2 -2
  40. package/dist/{ports-WwHHNwge.d.ts → ports-BE_5jz-c.d.ts} +2 -2
  41. package/dist/{ports-YIh9jrCZ.d.cts → ports-BIdYUS-C.d.cts} +2 -2
  42. package/dist/questions/index.d.cts +9 -10
  43. package/dist/questions/index.d.ts +9 -10
  44. package/dist/react/index.cjs +97 -0
  45. package/dist/react/index.cjs.map +1 -1
  46. package/dist/react/index.d.cts +86 -1
  47. package/dist/react/index.d.ts +86 -1
  48. package/dist/react/index.js +97 -0
  49. package/dist/react/index.js.map +1 -1
  50. package/dist/realtime/index.d.cts +3 -3
  51. package/dist/realtime/index.d.ts +3 -3
  52. package/dist/{record-CxGK1OEK.d.cts → record-BrJNCmH1.d.cts} +1 -1
  53. package/dist/{record-CxGK1OEK.d.ts → record-BrJNCmH1.d.ts} +1 -1
  54. package/dist/{relation-Dh-lCkkh.d.ts → relation-BxGXLRaG.d.ts} +3 -3
  55. package/dist/{relation-DSGhM3tO.d.cts → relation-R10qQyQU.d.cts} +3 -3
  56. package/dist/{rule-DQpC7WqT.d.cts → rule-BGtYd6Pf.d.cts} +2 -2
  57. package/dist/{rule-xNwJF6Qo.d.ts → rule-BtjrE42J.d.ts} +2 -2
  58. package/dist/scopes/index.d.cts +3 -3
  59. package/dist/scopes/index.d.ts +3 -3
  60. package/dist/search/index.d.cts +1 -1
  61. package/dist/search/index.d.ts +1 -1
  62. package/dist/setup/index.cjs +52 -0
  63. package/dist/setup/index.cjs.map +1 -1
  64. package/dist/setup/index.d.cts +12 -13
  65. package/dist/setup/index.d.ts +12 -13
  66. package/dist/setup/index.js +52 -0
  67. package/dist/setup/index.js.map +1 -1
  68. package/dist/{subscription-BVCn1PVe.d.cts → subscription-BEM4B4dR.d.cts} +3 -3
  69. package/dist/{subscription-DQzPVKBR.d.ts → subscription-Ca15Z7Gu.d.ts} +3 -3
  70. package/dist/templates/index.d.cts +10 -10
  71. package/dist/templates/index.d.ts +10 -10
  72. package/dist/typed-table/index.cjs +52 -0
  73. package/dist/typed-table/index.cjs.map +1 -1
  74. package/dist/typed-table/index.d.cts +10 -11
  75. package/dist/typed-table/index.d.ts +10 -11
  76. package/dist/typed-table/index.js +52 -0
  77. package/dist/typed-table/index.js.map +1 -1
  78. package/dist/{types-3lM5f6b0.d.cts → types-5ql9_q-o.d.cts} +2 -2
  79. package/dist/{types-04kFNi3-.d.ts → types-BALEbMc8.d.ts} +2 -2
  80. package/dist/{types-DKJO83lQ.d.cts → types-BhnjvJ8U.d.cts} +2 -2
  81. package/dist/{types-SUAmeBId.d.ts → types-CURw95qc.d.ts} +2 -2
  82. package/dist/{types-DKeGkHpE.d.cts → types-DRMeL0uW.d.cts} +2 -2
  83. package/dist/{types-DJVccwh0.d.ts → types-_odOqLOe.d.ts} +2 -2
  84. package/dist/use-cases/index.d.cts +5 -5
  85. package/dist/use-cases/index.d.ts +5 -5
  86. package/dist/{validate-BIJtP2KB.d.cts → validate-Cdtk0y18.d.cts} +1 -1
  87. package/dist/{validate--y-pPc-c.d.ts → validate-ChibJPPI.d.ts} +1 -1
  88. package/dist/views/index.d.cts +9 -10
  89. package/dist/views/index.d.ts +9 -10
  90. package/package.json +3 -3
  91. package/dist/client-C1B-MNzb.d.ts +0 -2704
  92. package/dist/client-D2jAgJNn.d.cts +0 -2704
@@ -1,5 +1,5 @@
1
- import { E as EntityRefWithWords } from './relation-DSGhM3tO.cjs';
2
- import { U as Uuid, R as RecordsResult } from './record-CxGK1OEK.cjs';
1
+ import { E as EntityRefWithWords } from './relation-R10qQyQU.cjs';
2
+ import { U as Uuid, R as RecordsResult } from './record-BrJNCmH1.cjs';
3
3
 
4
4
  /** §0. A link to any thing: `{token, id, label}`. A custom row's token is `record`. Every link reads as `EntityRef[]`. */
5
5
  type EntityRef = EntityRefWithWords;
@@ -1,5 +1,5 @@
1
- import { E as EntityRefWithWords } from './relation-Dh-lCkkh.js';
2
- import { U as Uuid, R as RecordsResult } from './record-CxGK1OEK.js';
1
+ import { E as EntityRefWithWords } from './relation-BxGXLRaG.js';
2
+ import { U as Uuid, R as RecordsResult } from './record-BrJNCmH1.js';
3
3
 
4
4
  /** §0. A link to any thing: `{token, id, label}`. A custom row's token is `record`. Every link reads as `EntityRef[]`. */
5
5
  type EntityRef = EntityRefWithWords;
@@ -1,5 +1,5 @@
1
- import { T as TableType, b as TableDisplay, S as StorageMode, F as FieldSource, C as ComputeOn, c as FieldSensitivity, d as ContextPolicy, e as RelationFlavor, f as RelationCardinality, O as OnDelete } from './record-CxGK1OEK.cjs';
2
- import { a as FieldTypeWord, b as FieldRule } from './field-DoVl2I9K.cjs';
1
+ import { T as TableType, b as TableDisplay, S as StorageMode, F as FieldSource, C as ComputeOn, c as FieldSensitivity, d as ContextPolicy, e as RelationFlavor, f as RelationCardinality, O as OnDelete } from './record-BrJNCmH1.cjs';
2
+ import { a as FieldTypeWord, b as FieldRule } from './field-BLy8drjM.cjs';
3
3
 
4
4
  /**
5
5
  * Who the data belongs to. A test organization is created under this name — the
@@ -1,5 +1,5 @@
1
- import { a as AggregateOperation, b as AggregateFilter, D as DashboardBlockKind, c as AggregateMeasure, A as AggregateBucket, S as SubscriptionCadence } from './subscription-DQzPVKBR.js';
2
- import { U as UseCase, a as UseCaseTable, b as UseCaseField, c as UseCaseRow, d as UseCaseForm, e as UseCaseFormField, f as UseCaseNotificationTrigger, N as NotificationChannel, g as UseCaseProvenance } from './types-DJVccwh0.js';
1
+ import { a as AggregateOperation, b as AggregateFilter, D as DashboardBlockKind, c as AggregateMeasure, A as AggregateBucket, S as SubscriptionCadence } from './subscription-Ca15Z7Gu.js';
2
+ import { U as UseCase, a as UseCaseTable, b as UseCaseField, c as UseCaseRow, d as UseCaseForm, e as UseCaseFormField, f as UseCaseNotificationTrigger, N as NotificationChannel, g as UseCaseProvenance } from './types-_odOqLOe.js';
3
3
 
4
4
  declare const TABLE_KERNEL_ID = "11111111-0000-4000-8000-000000000001";
5
5
  type ConfidentialLevel = "viewer" | "commenter" | "editor";
@@ -1,5 +1,5 @@
1
- import { a as AggregateOperation, b as AggregateFilter, D as DashboardBlockKind, c as AggregateMeasure, A as AggregateBucket, S as SubscriptionCadence } from './subscription-BVCn1PVe.cjs';
2
- import { U as UseCase, a as UseCaseTable, b as UseCaseField, c as UseCaseRow, d as UseCaseForm, e as UseCaseFormField, f as UseCaseNotificationTrigger, N as NotificationChannel, g as UseCaseProvenance } from './types-DKJO83lQ.cjs';
1
+ import { a as AggregateOperation, b as AggregateFilter, D as DashboardBlockKind, c as AggregateMeasure, A as AggregateBucket, S as SubscriptionCadence } from './subscription-BEM4B4dR.cjs';
2
+ import { U as UseCase, a as UseCaseTable, b as UseCaseField, c as UseCaseRow, d as UseCaseForm, e as UseCaseFormField, f as UseCaseNotificationTrigger, N as NotificationChannel, g as UseCaseProvenance } from './types-BhnjvJ8U.cjs';
3
3
 
4
4
  declare const TABLE_KERNEL_ID = "11111111-0000-4000-8000-000000000001";
5
5
  type ConfidentialLevel = "viewer" | "commenter" | "editor";
@@ -1,5 +1,5 @@
1
- import { T as TableType, b as TableDisplay, S as StorageMode, F as FieldSource, C as ComputeOn, c as FieldSensitivity, d as ContextPolicy, e as RelationFlavor, f as RelationCardinality, O as OnDelete } from './record-CxGK1OEK.js';
2
- import { a as FieldTypeWord, b as FieldRule } from './field-CJtssH3q.js';
1
+ import { T as TableType, b as TableDisplay, S as StorageMode, F as FieldSource, C as ComputeOn, c as FieldSensitivity, d as ContextPolicy, e as RelationFlavor, f as RelationCardinality, O as OnDelete } from './record-BrJNCmH1.js';
2
+ import { a as FieldTypeWord, b as FieldRule } from './field-BIRNApm1.js';
3
3
 
4
4
  /**
5
5
  * Who the data belongs to. A test organization is created under this name — the
@@ -1,8 +1,8 @@
1
- import { U as UseCase, h as UseCaseSummary } from '../types-DKJO83lQ.cjs';
2
- export { B as BusinessIdentity, F as FormAudience, N as NotificationChannel, P as PostalAddress, i as UseCaseDashboardQuestion, j as UseCaseDocumentTemplate, b as UseCaseField, d as UseCaseForm, e as UseCaseFormField, k as UseCaseMergeField, l as UseCaseNotificationRule, f as UseCaseNotificationTrigger, m as UseCasePipeline, n as UseCasePipelineStage, g as UseCaseProvenance, o as UseCaseRelationship, c as UseCaseRow, a as UseCaseTable } from '../types-DKJO83lQ.cjs';
3
- export { M as MIN_ROWS_IN_PRIMARY_TABLE, R as RESOLVABLE_FIELD_TYPE_WORDS, U as UseCaseProblem, a as UseCaseVerdict, b as assertUseCase, v as validateUseCase } from '../validate-BIJtP2KB.cjs';
4
- import '../record-CxGK1OEK.cjs';
5
- import '../field-DoVl2I9K.cjs';
1
+ import { U as UseCase, h as UseCaseSummary } from '../types-BhnjvJ8U.cjs';
2
+ export { B as BusinessIdentity, F as FormAudience, N as NotificationChannel, P as PostalAddress, i as UseCaseDashboardQuestion, j as UseCaseDocumentTemplate, b as UseCaseField, d as UseCaseForm, e as UseCaseFormField, k as UseCaseMergeField, l as UseCaseNotificationRule, f as UseCaseNotificationTrigger, m as UseCasePipeline, n as UseCasePipelineStage, g as UseCaseProvenance, o as UseCaseRelationship, c as UseCaseRow, a as UseCaseTable } from '../types-BhnjvJ8U.cjs';
3
+ export { M as MIN_ROWS_IN_PRIMARY_TABLE, R as RESOLVABLE_FIELD_TYPE_WORDS, U as UseCaseProblem, a as UseCaseVerdict, b as assertUseCase, v as validateUseCase } from '../validate-Cdtk0y18.cjs';
4
+ import '../record-BrJNCmH1.cjs';
5
+ import '../field-BLy8drjM.cjs';
6
6
 
7
7
  /** One banned pattern, with the reason and what to do instead. */
8
8
  interface PlaceholderPattern {
@@ -1,8 +1,8 @@
1
- import { U as UseCase, h as UseCaseSummary } from '../types-DJVccwh0.js';
2
- export { B as BusinessIdentity, F as FormAudience, N as NotificationChannel, P as PostalAddress, i as UseCaseDashboardQuestion, j as UseCaseDocumentTemplate, b as UseCaseField, d as UseCaseForm, e as UseCaseFormField, k as UseCaseMergeField, l as UseCaseNotificationRule, f as UseCaseNotificationTrigger, m as UseCasePipeline, n as UseCasePipelineStage, g as UseCaseProvenance, o as UseCaseRelationship, c as UseCaseRow, a as UseCaseTable } from '../types-DJVccwh0.js';
3
- export { M as MIN_ROWS_IN_PRIMARY_TABLE, R as RESOLVABLE_FIELD_TYPE_WORDS, U as UseCaseProblem, a as UseCaseVerdict, b as assertUseCase, v as validateUseCase } from '../validate--y-pPc-c.js';
4
- import '../record-CxGK1OEK.js';
5
- import '../field-CJtssH3q.js';
1
+ import { U as UseCase, h as UseCaseSummary } from '../types-_odOqLOe.js';
2
+ export { B as BusinessIdentity, F as FormAudience, N as NotificationChannel, P as PostalAddress, i as UseCaseDashboardQuestion, j as UseCaseDocumentTemplate, b as UseCaseField, d as UseCaseForm, e as UseCaseFormField, k as UseCaseMergeField, l as UseCaseNotificationRule, f as UseCaseNotificationTrigger, m as UseCasePipeline, n as UseCasePipelineStage, g as UseCaseProvenance, o as UseCaseRelationship, c as UseCaseRow, a as UseCaseTable } from '../types-_odOqLOe.js';
3
+ export { M as MIN_ROWS_IN_PRIMARY_TABLE, R as RESOLVABLE_FIELD_TYPE_WORDS, U as UseCaseProblem, a as UseCaseVerdict, b as assertUseCase, v as validateUseCase } from '../validate-ChibJPPI.js';
4
+ import '../record-BrJNCmH1.js';
5
+ import '../field-BIRNApm1.js';
6
6
 
7
7
  /** One banned pattern, with the reason and what to do instead. */
8
8
  interface PlaceholderPattern {
@@ -1,4 +1,4 @@
1
- import { U as UseCase } from './types-DKJO83lQ.cjs';
1
+ import { U as UseCase } from './types-BhnjvJ8U.cjs';
2
2
 
3
3
  /**
4
4
  * Every word a `parityType` may be: the parity types, every kind the declaration door
@@ -1,4 +1,4 @@
1
- import { U as UseCase } from './types-DJVccwh0.js';
1
+ import { U as UseCase } from './types-_odOqLOe.js';
2
2
 
3
3
  /**
4
4
  * Every word a `parityType` may be: the parity types, every kind the declaration door
@@ -1,13 +1,12 @@
1
- import { R as RuleExpression } from '../rule-DQpC7WqT.cjs';
2
- import { R as RecordFilter, n as SavedViewRow } from '../subscription-BVCn1PVe.cjs';
3
- import { R as RecordsClient } from '../client-D2jAgJNn.cjs';
4
- import { U as Uuid, R as RecordsResult } from '../record-CxGK1OEK.cjs';
5
- import '../table-kind-CboiMJuE.cjs';
6
- import '../field-DoVl2I9K.cjs';
7
- import '../ports-YIh9jrCZ.cjs';
8
- import '../relation-DSGhM3tO.cjs';
9
- import '../doors-Bx3Shs3z.cjs';
10
- import '../portal-C4N9ByaY.cjs';
1
+ import { R as RuleExpression } from '../rule-BGtYd6Pf.cjs';
2
+ import { R as RecordFilter, d as SavedViewRow } from '../subscription-BEM4B4dR.cjs';
3
+ import { R as RecordsClient } from '../client-9fzhCPD5.cjs';
4
+ import { U as Uuid, R as RecordsResult } from '../record-BrJNCmH1.cjs';
5
+ import '../relation-R10qQyQU.cjs';
6
+ import '../ports-BIdYUS-C.cjs';
7
+ import '../field-BLy8drjM.cjs';
8
+ import '../doors-Dm5q9H8Y.cjs';
9
+ import '../portal-C_LgvDeh.cjs';
11
10
 
12
11
  /** A view's look as the store keeps it: one JSON object under `definition.presentation`. */
13
12
  type ViewPresentationDocument = Record<string, unknown>;
@@ -1,13 +1,12 @@
1
- import { R as RuleExpression } from '../rule-xNwJF6Qo.js';
2
- import { R as RecordFilter, n as SavedViewRow } from '../subscription-DQzPVKBR.js';
3
- import { R as RecordsClient } from '../client-C1B-MNzb.js';
4
- import { U as Uuid, R as RecordsResult } from '../record-CxGK1OEK.js';
5
- import '../table-kind-B4sdlvHf.js';
6
- import '../field-CJtssH3q.js';
7
- import '../ports-WwHHNwge.js';
8
- import '../relation-Dh-lCkkh.js';
9
- import '../doors-BTifsjNv.js';
10
- import '../portal-DW5NGBT0.js';
1
+ import { R as RuleExpression } from '../rule-BtjrE42J.js';
2
+ import { R as RecordFilter, d as SavedViewRow } from '../subscription-Ca15Z7Gu.js';
3
+ import { R as RecordsClient } from '../client-DcWZjmg2.js';
4
+ import { U as Uuid, R as RecordsResult } from '../record-BrJNCmH1.js';
5
+ import '../relation-BxGXLRaG.js';
6
+ import '../ports-BE_5jz-c.js';
7
+ import '../field-BIRNApm1.js';
8
+ import '../doors-t-Oc2l9E.js';
9
+ import '../portal-B9HCNPTc.js';
11
10
 
12
11
  /** A view's look as the store keeps it: one JSON object under `definition.presentation`. */
13
12
  type ViewPresentationDocument = Record<string, unknown>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-matrx/records",
3
- "version": "0.98.8",
3
+ "version": "0.98.9",
4
4
  "description": "The headless client of the AI Matrx record store: the Table / Field / Rule / Record / Relation / Home types, the closed vocabularies and refusal codes read from the store itself, the typed calls over the store's doors and nothing else, the merge-field declaration, a validation mirror that predicts only what the store's own triggers refuse, and the never-throw result envelope. Zero React, zero DOM in the root and /core.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -286,8 +286,8 @@
286
286
  },
287
287
  "sideEffects": false,
288
288
  "dependencies": {
289
- "@ai-matrx/print": "latest",
290
289
  "@ai-matrx/realtime": "latest",
290
+ "@ai-matrx/print": "latest",
291
291
  "@ai-matrx/kit": "latest"
292
292
  },
293
293
  "matrx": {
@@ -330,5 +330,5 @@
330
330
  "describe-bench:run": "../../../.venv/bin/python scripts/describe-bench/score-env.py run",
331
331
  "describe-bench:arms": "../../../.venv/bin/python scripts/describe-bench/score-env.py arms"
332
332
  },
333
- "gitHead": "931b12d452fc64a3640d483b6199670bcfc224cd"
333
+ "gitHead": "d544b8447b456671039b28d95970dbf44248975d"
334
334
  }