@ai-matrx/records 0.99.31 → 0.99.33

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 (106) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/dist/{client-Dthx26hr.d.ts → client-CSfkP7Xf.d.ts} +11 -80
  3. package/dist/{client-B7KEs9hi.d.cts → client-jKf1Z-kp.d.cts} +11 -80
  4. package/dist/core/index.cjs +149 -105
  5. package/dist/core/index.cjs.map +1 -1
  6. package/dist/core/index.d.cts +18 -359
  7. package/dist/core/index.d.ts +18 -359
  8. package/dist/core/index.js +149 -105
  9. package/dist/core/index.js.map +1 -1
  10. package/dist/data/index.cjs +280 -236
  11. package/dist/data/index.cjs.map +1 -1
  12. package/dist/data/index.d.cts +12 -11
  13. package/dist/data/index.d.ts +12 -11
  14. package/dist/data/index.js +280 -236
  15. package/dist/data/index.js.map +1 -1
  16. package/dist/{declareTable-CvBu5dTJ.d.ts → declareTable-0emxEewn.d.ts} +3 -3
  17. package/dist/{declareTable-enQs2N0E.d.cts → declareTable-800bwUn3.d.cts} +3 -3
  18. package/dist/door-call/index.cjs +1287 -0
  19. package/dist/door-call/index.cjs.map +1 -0
  20. package/dist/door-call/index.d.cts +20 -0
  21. package/dist/door-call/index.d.ts +20 -0
  22. package/dist/door-call/index.js +1264 -0
  23. package/dist/door-call/index.js.map +1 -0
  24. package/dist/{doors-KbjyhBW-.d.cts → doors-BgjRUdxw.d.cts} +14 -2
  25. package/dist/{doors-C2-sFvAk.d.ts → doors-D7_jEKtg.d.ts} +14 -2
  26. package/dist/entity/index.d.cts +7 -7
  27. package/dist/entity/index.d.ts +7 -7
  28. package/dist/{field-ppX29ddi.d.cts → field-B8loYt-A.d.cts} +1 -1
  29. package/dist/{field-BHlhq24W.d.ts → field-DaE90BZ7.d.ts} +1 -1
  30. package/dist/forms/index.d.cts +3 -3
  31. package/dist/forms/index.d.ts +3 -3
  32. package/dist/index.d.cts +14 -13
  33. package/dist/index.d.ts +14 -13
  34. package/dist/memory/index.d.cts +7 -7
  35. package/dist/memory/index.d.ts +7 -7
  36. package/dist/{objectOrganization-Cu73SBxH.d.cts → objectOrganization-B5YFGVUB.d.cts} +2 -2
  37. package/dist/{objectOrganization-DtR3lWG2.d.ts → objectOrganization-DozoVIxS.d.ts} +2 -2
  38. package/dist/pickListDoors-C-_eAEGL.d.cts +135 -0
  39. package/dist/pickListDoors-DgWVnNRI.d.ts +135 -0
  40. package/dist/{port-Bk7TG0aE.d.ts → port-D6wepPvr.d.ts} +3 -3
  41. package/dist/{port-rqQEGhew.d.cts → port-O-UdH1HS.d.cts} +3 -3
  42. package/dist/{portal-DmxuUr2f.d.ts → portal-CAssJHRZ.d.ts} +1 -1
  43. package/dist/{portal-ffH13fsE.d.cts → portal-L_mN8l9P.d.cts} +1 -1
  44. package/dist/{ports-BCNNghmf.d.ts → ports-CmmvR8OI.d.ts} +2 -2
  45. package/dist/{ports-iATV-A2v.d.cts → ports-alv3bgKY.d.cts} +2 -2
  46. package/dist/questions/index.d.cts +10 -9
  47. package/dist/questions/index.d.ts +10 -9
  48. package/dist/react/index.cjs +363 -319
  49. package/dist/react/index.cjs.map +1 -1
  50. package/dist/react/index.d.cts +37 -22
  51. package/dist/react/index.d.ts +37 -22
  52. package/dist/react/index.js +363 -319
  53. package/dist/react/index.js.map +1 -1
  54. package/dist/realtime/index.d.cts +3 -3
  55. package/dist/realtime/index.d.ts +3 -3
  56. package/dist/{record-C8q21jjB.d.cts → record-CTgSgWe3.d.cts} +1 -1
  57. package/dist/{record-C8q21jjB.d.ts → record-CTgSgWe3.d.ts} +1 -1
  58. package/dist/{relation-Bwp8iuei.d.cts → relation-BjjjXyqn.d.cts} +2 -2
  59. package/dist/{relation-Bsjwkn6N.d.ts → relation-T4biacnz.d.ts} +2 -2
  60. package/dist/results/index.cjs +245 -0
  61. package/dist/results/index.cjs.map +1 -0
  62. package/dist/results/index.d.cts +24 -0
  63. package/dist/results/index.d.ts +24 -0
  64. package/dist/results/index.js +222 -0
  65. package/dist/results/index.js.map +1 -0
  66. package/dist/{rule-BQwUtKk5.d.cts → rule-49jO7lN-.d.cts} +1 -1
  67. package/dist/{rule-cGqclk_0.d.ts → rule-DzNj0QvN.d.ts} +1 -1
  68. package/dist/scopes/index.cjs +7 -0
  69. package/dist/scopes/index.cjs.map +1 -1
  70. package/dist/scopes/index.d.cts +3 -3
  71. package/dist/scopes/index.d.ts +3 -3
  72. package/dist/scopes/index.js +7 -0
  73. package/dist/scopes/index.js.map +1 -1
  74. package/dist/search/index.d.cts +1 -1
  75. package/dist/search/index.d.ts +1 -1
  76. package/dist/setup/index.cjs +289 -245
  77. package/dist/setup/index.cjs.map +1 -1
  78. package/dist/setup/index.d.cts +13 -12
  79. package/dist/setup/index.d.ts +13 -12
  80. package/dist/setup/index.js +289 -245
  81. package/dist/setup/index.js.map +1 -1
  82. package/dist/{subscription-eNzL9scc.d.ts → subscription-Bp1RSb6p.d.ts} +2 -2
  83. package/dist/{subscription-Ba8RKtPA.d.cts → subscription-CuaGi3lC.d.cts} +2 -2
  84. package/dist/table-logic-BPquabNN.d.ts +328 -0
  85. package/dist/table-logic-CTh6lwaq.d.cts +328 -0
  86. package/dist/templates/index.d.cts +10 -10
  87. package/dist/templates/index.d.ts +10 -10
  88. package/dist/typed-table/index.cjs +280 -236
  89. package/dist/typed-table/index.cjs.map +1 -1
  90. package/dist/typed-table/index.d.cts +11 -10
  91. package/dist/typed-table/index.d.ts +11 -10
  92. package/dist/typed-table/index.js +280 -236
  93. package/dist/typed-table/index.js.map +1 -1
  94. package/dist/{types-C4XCuv8O.d.cts → types-B54BeQzf.d.cts} +2 -2
  95. package/dist/{types-BlzdL4Vd.d.cts → types-BWfL38XJ.d.cts} +2 -2
  96. package/dist/{types-BBR2NGqj.d.ts → types-BZcYXFK3.d.ts} +2 -2
  97. package/dist/{types-EKwXJfxY.d.cts → types-Bztv0-pH.d.cts} +2 -2
  98. package/dist/{types-CmkHpvll.d.ts → types-CjGuR5ks.d.ts} +2 -2
  99. package/dist/{types-CrkzINrb.d.ts → types-bN7dG2ji.d.ts} +2 -2
  100. package/dist/use-cases/index.d.cts +5 -5
  101. package/dist/use-cases/index.d.ts +5 -5
  102. package/dist/{validate-BKeBAVSi.d.cts → validate-8VBa2xIU.d.cts} +1 -1
  103. package/dist/{validate-BB6DWgCP.d.ts → validate-xBnply7J.d.ts} +1 -1
  104. package/dist/views/index.d.cts +10 -9
  105. package/dist/views/index.d.ts +10 -9
  106. package/package.json +24 -4
@@ -1,5 +1,5 @@
1
- import { E as EntityRefWithWords } from './relation-Bwp8iuei.cjs';
2
- import { U as Uuid, R as RecordsResult } from './record-C8q21jjB.cjs';
1
+ import { E as EntityRefWithWords } from './relation-BjjjXyqn.cjs';
2
+ import { U as Uuid, R as RecordsResult } from './record-CTgSgWe3.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 { a as AggregateOperation, b as AggregateFilter, D as DashboardBlockKind, c as AggregateMeasure, A as AggregateBucket, S as SubscriptionCadence } from './subscription-Ba8RKtPA.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-EKwXJfxY.cjs';
1
+ import { a as AggregateOperation, b as AggregateFilter, D as DashboardBlockKind, c as AggregateMeasure, A as AggregateBucket, S as SubscriptionCadence } from './subscription-CuaGi3lC.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-Bztv0-pH.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 { a as AggregateOperation, b as AggregateFilter, D as DashboardBlockKind, c as AggregateMeasure, A as AggregateBucket, S as SubscriptionCadence } from './subscription-eNzL9scc.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-CmkHpvll.js';
1
+ import { a as AggregateOperation, b as AggregateFilter, D as DashboardBlockKind, c as AggregateMeasure, A as AggregateBucket, S as SubscriptionCadence } from './subscription-Bp1RSb6p.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-CjGuR5ks.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 { 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-C8q21jjB.cjs';
2
- import { a as FieldTypeWord, b as FieldRule } from './field-ppX29ddi.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-CTgSgWe3.cjs';
2
+ import { a as FieldTypeWord, b as FieldRule } from './field-B8loYt-A.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 { 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-C8q21jjB.js';
2
- import { a as FieldTypeWord, b as FieldRule } from './field-BHlhq24W.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-CTgSgWe3.js';
2
+ import { a as FieldTypeWord, b as FieldRule } from './field-DaE90BZ7.js';
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 { E as EntityRefWithWords } from './relation-Bsjwkn6N.js';
2
- import { U as Uuid, R as RecordsResult } from './record-C8q21jjB.js';
1
+ import { E as EntityRefWithWords } from './relation-T4biacnz.js';
2
+ import { U as Uuid, R as RecordsResult } from './record-CTgSgWe3.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,8 +1,8 @@
1
- import { U as UseCase, h as UseCaseSummary } from '../types-EKwXJfxY.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-EKwXJfxY.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-BKeBAVSi.cjs';
4
- import '../record-C8q21jjB.cjs';
5
- import '../field-ppX29ddi.cjs';
1
+ import { U as UseCase, h as UseCaseSummary } from '../types-Bztv0-pH.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-Bztv0-pH.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-8VBa2xIU.cjs';
4
+ import '../record-CTgSgWe3.cjs';
5
+ import '../field-B8loYt-A.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-CmkHpvll.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-CmkHpvll.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-BB6DWgCP.js';
4
- import '../record-C8q21jjB.js';
5
- import '../field-BHlhq24W.js';
1
+ import { U as UseCase, h as UseCaseSummary } from '../types-CjGuR5ks.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-CjGuR5ks.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-xBnply7J.js';
4
+ import '../record-CTgSgWe3.js';
5
+ import '../field-DaE90BZ7.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-EKwXJfxY.cjs';
1
+ import { U as UseCase } from './types-Bztv0-pH.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-CmkHpvll.js';
1
+ import { U as UseCase } from './types-CjGuR5ks.js';
2
2
 
3
3
  /**
4
4
  * Every word a `parityType` may be: the parity types, every kind the declaration door
@@ -1,12 +1,13 @@
1
- import { R as RuleExpression } from '../rule-BQwUtKk5.cjs';
2
- import { R as RecordFilter, d as SavedViewRow } from '../subscription-Ba8RKtPA.cjs';
3
- import { R as RecordsClient } from '../client-B7KEs9hi.cjs';
4
- import { U as Uuid, R as RecordsResult } from '../record-C8q21jjB.cjs';
5
- import '../relation-Bwp8iuei.cjs';
6
- import '../ports-iATV-A2v.cjs';
7
- import '../field-ppX29ddi.cjs';
8
- import '../doors-KbjyhBW-.cjs';
9
- import '../portal-ffH13fsE.cjs';
1
+ import { R as RuleExpression } from '../rule-49jO7lN-.cjs';
2
+ import { R as RecordFilter, d as SavedViewRow } from '../subscription-CuaGi3lC.cjs';
3
+ import { R as RecordsClient } from '../client-jKf1Z-kp.cjs';
4
+ import { U as Uuid, R as RecordsResult } from '../record-CTgSgWe3.cjs';
5
+ import '../relation-BjjjXyqn.cjs';
6
+ import '../ports-alv3bgKY.cjs';
7
+ import '../field-B8loYt-A.cjs';
8
+ import '../doors-BgjRUdxw.cjs';
9
+ import '../pickListDoors-C-_eAEGL.cjs';
10
+ import '../portal-L_mN8l9P.cjs';
10
11
  import '../table-kind/index.cjs';
11
12
 
12
13
  /** A view's look as the store keeps it: one JSON object under `definition.presentation`. */
@@ -1,12 +1,13 @@
1
- import { R as RuleExpression } from '../rule-cGqclk_0.js';
2
- import { R as RecordFilter, d as SavedViewRow } from '../subscription-eNzL9scc.js';
3
- import { R as RecordsClient } from '../client-Dthx26hr.js';
4
- import { U as Uuid, R as RecordsResult } from '../record-C8q21jjB.js';
5
- import '../relation-Bsjwkn6N.js';
6
- import '../ports-BCNNghmf.js';
7
- import '../field-BHlhq24W.js';
8
- import '../doors-C2-sFvAk.js';
9
- import '../portal-DmxuUr2f.js';
1
+ import { R as RuleExpression } from '../rule-DzNj0QvN.js';
2
+ import { R as RecordFilter, d as SavedViewRow } from '../subscription-Bp1RSb6p.js';
3
+ import { R as RecordsClient } from '../client-CSfkP7Xf.js';
4
+ import { U as Uuid, R as RecordsResult } from '../record-CTgSgWe3.js';
5
+ import '../relation-T4biacnz.js';
6
+ import '../ports-CmmvR8OI.js';
7
+ import '../field-DaE90BZ7.js';
8
+ import '../doors-D7_jEKtg.js';
9
+ import '../pickListDoors-DgWVnNRI.js';
10
+ import '../portal-CAssJHRZ.js';
10
11
  import '../table-kind/index.js';
11
12
 
12
13
  /** A view's look as the store keeps it: one JSON object under `definition.presentation`. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-matrx/records",
3
- "version": "0.99.31",
3
+ "version": "0.99.33",
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",
@@ -225,6 +225,26 @@
225
225
  "default": "./dist/table-kind/index.cjs"
226
226
  }
227
227
  },
228
+ "./results": {
229
+ "import": {
230
+ "types": "./dist/results/index.d.ts",
231
+ "default": "./dist/results/index.js"
232
+ },
233
+ "require": {
234
+ "types": "./dist/results/index.d.cts",
235
+ "default": "./dist/results/index.cjs"
236
+ }
237
+ },
238
+ "./door-call": {
239
+ "import": {
240
+ "types": "./dist/door-call/index.d.ts",
241
+ "default": "./dist/door-call/index.js"
242
+ },
243
+ "require": {
244
+ "types": "./dist/door-call/index.d.cts",
245
+ "default": "./dist/door-call/index.cjs"
246
+ }
247
+ },
228
248
  "./first-page": {
229
249
  "import": {
230
250
  "types": "./dist/first-page/index.d.ts",
@@ -285,8 +305,8 @@
285
305
  "typescript": "^6.0.3",
286
306
  "vitest": "^5.0.1",
287
307
  "xlsx": "https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz",
288
- "@ai-matrx/design-system": "0.86.2",
289
- "@ai-matrx/content-ir": "0.24.1"
308
+ "@ai-matrx/content-ir": "0.24.1",
309
+ "@ai-matrx/design-system": "0.86.2"
290
310
  },
291
311
  "publishConfig": {
292
312
  "access": "public",
@@ -342,5 +362,5 @@
342
362
  "describe-bench:run": "../../../.venv/bin/python scripts/describe-bench/score-env.py run",
343
363
  "describe-bench:arms": "../../../.venv/bin/python scripts/describe-bench/score-env.py arms"
344
364
  },
345
- "gitHead": "bfacbee0f5b772593eb696a1b957d681e1897402"
365
+ "gitHead": "0e9e4ab124deec9e737a08ea10c0c33b0470eec3"
346
366
  }