@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.
- package/CHANGELOG.md +21 -0
- package/dist/{client-Dthx26hr.d.ts → client-CSfkP7Xf.d.ts} +11 -80
- package/dist/{client-B7KEs9hi.d.cts → client-jKf1Z-kp.d.cts} +11 -80
- package/dist/core/index.cjs +149 -105
- package/dist/core/index.cjs.map +1 -1
- package/dist/core/index.d.cts +18 -359
- package/dist/core/index.d.ts +18 -359
- package/dist/core/index.js +149 -105
- package/dist/core/index.js.map +1 -1
- package/dist/data/index.cjs +280 -236
- package/dist/data/index.cjs.map +1 -1
- package/dist/data/index.d.cts +12 -11
- package/dist/data/index.d.ts +12 -11
- package/dist/data/index.js +280 -236
- package/dist/data/index.js.map +1 -1
- package/dist/{declareTable-CvBu5dTJ.d.ts → declareTable-0emxEewn.d.ts} +3 -3
- package/dist/{declareTable-enQs2N0E.d.cts → declareTable-800bwUn3.d.cts} +3 -3
- package/dist/door-call/index.cjs +1287 -0
- package/dist/door-call/index.cjs.map +1 -0
- package/dist/door-call/index.d.cts +20 -0
- package/dist/door-call/index.d.ts +20 -0
- package/dist/door-call/index.js +1264 -0
- package/dist/door-call/index.js.map +1 -0
- package/dist/{doors-KbjyhBW-.d.cts → doors-BgjRUdxw.d.cts} +14 -2
- package/dist/{doors-C2-sFvAk.d.ts → doors-D7_jEKtg.d.ts} +14 -2
- package/dist/entity/index.d.cts +7 -7
- package/dist/entity/index.d.ts +7 -7
- package/dist/{field-ppX29ddi.d.cts → field-B8loYt-A.d.cts} +1 -1
- package/dist/{field-BHlhq24W.d.ts → field-DaE90BZ7.d.ts} +1 -1
- package/dist/forms/index.d.cts +3 -3
- package/dist/forms/index.d.ts +3 -3
- package/dist/index.d.cts +14 -13
- package/dist/index.d.ts +14 -13
- package/dist/memory/index.d.cts +7 -7
- package/dist/memory/index.d.ts +7 -7
- package/dist/{objectOrganization-Cu73SBxH.d.cts → objectOrganization-B5YFGVUB.d.cts} +2 -2
- package/dist/{objectOrganization-DtR3lWG2.d.ts → objectOrganization-DozoVIxS.d.ts} +2 -2
- package/dist/pickListDoors-C-_eAEGL.d.cts +135 -0
- package/dist/pickListDoors-DgWVnNRI.d.ts +135 -0
- package/dist/{port-Bk7TG0aE.d.ts → port-D6wepPvr.d.ts} +3 -3
- package/dist/{port-rqQEGhew.d.cts → port-O-UdH1HS.d.cts} +3 -3
- package/dist/{portal-DmxuUr2f.d.ts → portal-CAssJHRZ.d.ts} +1 -1
- package/dist/{portal-ffH13fsE.d.cts → portal-L_mN8l9P.d.cts} +1 -1
- package/dist/{ports-BCNNghmf.d.ts → ports-CmmvR8OI.d.ts} +2 -2
- package/dist/{ports-iATV-A2v.d.cts → ports-alv3bgKY.d.cts} +2 -2
- package/dist/questions/index.d.cts +10 -9
- package/dist/questions/index.d.ts +10 -9
- package/dist/react/index.cjs +363 -319
- package/dist/react/index.cjs.map +1 -1
- package/dist/react/index.d.cts +37 -22
- package/dist/react/index.d.ts +37 -22
- package/dist/react/index.js +363 -319
- package/dist/react/index.js.map +1 -1
- package/dist/realtime/index.d.cts +3 -3
- package/dist/realtime/index.d.ts +3 -3
- package/dist/{record-C8q21jjB.d.cts → record-CTgSgWe3.d.cts} +1 -1
- package/dist/{record-C8q21jjB.d.ts → record-CTgSgWe3.d.ts} +1 -1
- package/dist/{relation-Bwp8iuei.d.cts → relation-BjjjXyqn.d.cts} +2 -2
- package/dist/{relation-Bsjwkn6N.d.ts → relation-T4biacnz.d.ts} +2 -2
- package/dist/results/index.cjs +245 -0
- package/dist/results/index.cjs.map +1 -0
- package/dist/results/index.d.cts +24 -0
- package/dist/results/index.d.ts +24 -0
- package/dist/results/index.js +222 -0
- package/dist/results/index.js.map +1 -0
- package/dist/{rule-BQwUtKk5.d.cts → rule-49jO7lN-.d.cts} +1 -1
- package/dist/{rule-cGqclk_0.d.ts → rule-DzNj0QvN.d.ts} +1 -1
- package/dist/scopes/index.cjs +7 -0
- package/dist/scopes/index.cjs.map +1 -1
- package/dist/scopes/index.d.cts +3 -3
- package/dist/scopes/index.d.ts +3 -3
- package/dist/scopes/index.js +7 -0
- package/dist/scopes/index.js.map +1 -1
- package/dist/search/index.d.cts +1 -1
- package/dist/search/index.d.ts +1 -1
- package/dist/setup/index.cjs +289 -245
- package/dist/setup/index.cjs.map +1 -1
- package/dist/setup/index.d.cts +13 -12
- package/dist/setup/index.d.ts +13 -12
- package/dist/setup/index.js +289 -245
- package/dist/setup/index.js.map +1 -1
- package/dist/{subscription-eNzL9scc.d.ts → subscription-Bp1RSb6p.d.ts} +2 -2
- package/dist/{subscription-Ba8RKtPA.d.cts → subscription-CuaGi3lC.d.cts} +2 -2
- package/dist/table-logic-BPquabNN.d.ts +328 -0
- package/dist/table-logic-CTh6lwaq.d.cts +328 -0
- package/dist/templates/index.d.cts +10 -10
- package/dist/templates/index.d.ts +10 -10
- package/dist/typed-table/index.cjs +280 -236
- package/dist/typed-table/index.cjs.map +1 -1
- package/dist/typed-table/index.d.cts +11 -10
- package/dist/typed-table/index.d.ts +11 -10
- package/dist/typed-table/index.js +280 -236
- package/dist/typed-table/index.js.map +1 -1
- package/dist/{types-C4XCuv8O.d.cts → types-B54BeQzf.d.cts} +2 -2
- package/dist/{types-BlzdL4Vd.d.cts → types-BWfL38XJ.d.cts} +2 -2
- package/dist/{types-BBR2NGqj.d.ts → types-BZcYXFK3.d.ts} +2 -2
- package/dist/{types-EKwXJfxY.d.cts → types-Bztv0-pH.d.cts} +2 -2
- package/dist/{types-CmkHpvll.d.ts → types-CjGuR5ks.d.ts} +2 -2
- package/dist/{types-CrkzINrb.d.ts → types-bN7dG2ji.d.ts} +2 -2
- package/dist/use-cases/index.d.cts +5 -5
- package/dist/use-cases/index.d.ts +5 -5
- package/dist/{validate-BKeBAVSi.d.cts → validate-8VBa2xIU.d.cts} +1 -1
- package/dist/{validate-BB6DWgCP.d.ts → validate-xBnply7J.d.ts} +1 -1
- package/dist/views/index.d.cts +10 -9
- package/dist/views/index.d.ts +10 -9
- package/package.json +24 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { E as EntityRefWithWords } from './relation-
|
|
2
|
-
import { U as Uuid, R as RecordsResult } from './record-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
2
|
-
import { a as FieldTypeWord, b as FieldRule } from './field-
|
|
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-
|
|
2
|
-
import { a as FieldTypeWord, b as FieldRule } from './field-
|
|
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-
|
|
2
|
-
import { U as Uuid, R as RecordsResult } from './record-
|
|
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-
|
|
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-
|
|
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-
|
|
4
|
-
import '../record-
|
|
5
|
-
import '../field-
|
|
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-
|
|
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-
|
|
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-
|
|
4
|
-
import '../record-
|
|
5
|
-
import '../field-
|
|
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 {
|
package/dist/views/index.d.cts
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { R as RuleExpression } from '../rule-
|
|
2
|
-
import { R as RecordFilter, d as SavedViewRow } from '../subscription-
|
|
3
|
-
import { R as RecordsClient } from '../client-
|
|
4
|
-
import { U as Uuid, R as RecordsResult } from '../record-
|
|
5
|
-
import '../relation-
|
|
6
|
-
import '../ports-
|
|
7
|
-
import '../field-
|
|
8
|
-
import '../doors-
|
|
9
|
-
import '../
|
|
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`. */
|
package/dist/views/index.d.ts
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { R as RuleExpression } from '../rule-
|
|
2
|
-
import { R as RecordFilter, d as SavedViewRow } from '../subscription-
|
|
3
|
-
import { R as RecordsClient } from '../client-
|
|
4
|
-
import { U as Uuid, R as RecordsResult } from '../record-
|
|
5
|
-
import '../relation-
|
|
6
|
-
import '../ports-
|
|
7
|
-
import '../field-
|
|
8
|
-
import '../doors-
|
|
9
|
-
import '../
|
|
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.
|
|
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/
|
|
289
|
-
"@ai-matrx/
|
|
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": "
|
|
365
|
+
"gitHead": "0e9e4ab124deec9e737a08ea10c0c33b0470eec3"
|
|
346
366
|
}
|