@ai-matrx/records 0.98.7 → 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.
- package/CHANGELOG.md +12 -0
- package/dist/{table-kind-CboiMJuE.d.cts → client-9fzhCPD5.d.cts} +2771 -4
- package/dist/{table-kind-B4sdlvHf.d.ts → client-DcWZjmg2.d.ts} +2771 -4
- package/dist/core/index.cjs +154 -3
- package/dist/core/index.cjs.map +1 -1
- package/dist/core/index.d.cts +109 -18
- package/dist/core/index.d.ts +109 -18
- package/dist/core/index.js +154 -3
- package/dist/core/index.js.map +1 -1
- package/dist/data/index.cjs +52 -0
- package/dist/data/index.cjs.map +1 -1
- package/dist/data/index.d.cts +11 -12
- package/dist/data/index.d.ts +11 -12
- package/dist/data/index.js +52 -0
- package/dist/data/index.js.map +1 -1
- package/dist/{declareTable-BIuPJ3Vj.d.ts → declareTable-B6ic3leL.d.ts} +3 -4
- package/dist/{declareTable-d-HxRmF0.d.cts → declareTable-_GwN-ERY.d.cts} +3 -4
- package/dist/{doors-Bx3Shs3z.d.cts → doors-Dm5q9H8Y.d.cts} +1 -1
- package/dist/{doors-BTifsjNv.d.ts → doors-t-Oc2l9E.d.ts} +1 -1
- package/dist/entity/index.d.cts +7 -7
- package/dist/entity/index.d.ts +7 -7
- package/dist/{field-CJtssH3q.d.ts → field-BIRNApm1.d.ts} +2 -2
- package/dist/{field-DoVl2I9K.d.cts → field-BLy8drjM.d.cts} +2 -2
- package/dist/forms/index.d.cts +3 -3
- package/dist/forms/index.d.ts +3 -3
- package/dist/index.cjs +45 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +30 -13
- package/dist/index.d.ts +30 -13
- package/dist/index.js +45 -0
- package/dist/index.js.map +1 -1
- package/dist/memory/index.d.cts +7 -7
- package/dist/memory/index.d.ts +7 -7
- package/dist/{objectOrganization-Crk9gJUM.d.ts → objectOrganization-D5Ytjah7.d.ts} +1 -1
- package/dist/{objectOrganization-CUa6jjhV.d.cts → objectOrganization-zgpoUAH1.d.cts} +1 -1
- package/dist/{port-CRP5g9l9.d.cts → port-B9glCG2h.d.cts} +3 -3
- package/dist/{port-CtnELAJQ.d.ts → port-C-p-_lAu.d.ts} +3 -3
- package/dist/{portal-DW5NGBT0.d.ts → portal-B9HCNPTc.d.ts} +2 -2
- package/dist/{portal-C4N9ByaY.d.cts → portal-C_LgvDeh.d.cts} +2 -2
- package/dist/{ports-WwHHNwge.d.ts → ports-BE_5jz-c.d.ts} +2 -2
- package/dist/{ports-YIh9jrCZ.d.cts → ports-BIdYUS-C.d.cts} +2 -2
- package/dist/questions/index.d.cts +9 -10
- package/dist/questions/index.d.ts +9 -10
- package/dist/react/index.cjs +97 -0
- package/dist/react/index.cjs.map +1 -1
- package/dist/react/index.d.cts +86 -1
- package/dist/react/index.d.ts +86 -1
- package/dist/react/index.js +97 -0
- 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-CxGK1OEK.d.cts → record-BrJNCmH1.d.cts} +1 -1
- package/dist/{record-CxGK1OEK.d.ts → record-BrJNCmH1.d.ts} +1 -1
- package/dist/{relation-Dh-lCkkh.d.ts → relation-BxGXLRaG.d.ts} +3 -3
- package/dist/{relation-DSGhM3tO.d.cts → relation-R10qQyQU.d.cts} +3 -3
- package/dist/{rule-DQpC7WqT.d.cts → rule-BGtYd6Pf.d.cts} +2 -2
- package/dist/{rule-xNwJF6Qo.d.ts → rule-BtjrE42J.d.ts} +2 -2
- package/dist/scopes/index.d.cts +3 -3
- package/dist/scopes/index.d.ts +3 -3
- package/dist/search/index.d.cts +1 -1
- package/dist/search/index.d.ts +1 -1
- package/dist/setup/index.cjs +52 -0
- package/dist/setup/index.cjs.map +1 -1
- package/dist/setup/index.d.cts +12 -13
- package/dist/setup/index.d.ts +12 -13
- package/dist/setup/index.js +52 -0
- package/dist/setup/index.js.map +1 -1
- package/dist/{subscription-BVCn1PVe.d.cts → subscription-BEM4B4dR.d.cts} +3 -3
- package/dist/{subscription-DQzPVKBR.d.ts → subscription-Ca15Z7Gu.d.ts} +3 -3
- package/dist/templates/index.d.cts +10 -10
- package/dist/templates/index.d.ts +10 -10
- package/dist/typed-table/index.cjs +52 -0
- package/dist/typed-table/index.cjs.map +1 -1
- package/dist/typed-table/index.d.cts +10 -11
- package/dist/typed-table/index.d.ts +10 -11
- package/dist/typed-table/index.js +52 -0
- package/dist/typed-table/index.js.map +1 -1
- package/dist/{types-3lM5f6b0.d.cts → types-5ql9_q-o.d.cts} +2 -2
- package/dist/{types-04kFNi3-.d.ts → types-BALEbMc8.d.ts} +2 -2
- package/dist/{types-DKJO83lQ.d.cts → types-BhnjvJ8U.d.cts} +2 -2
- package/dist/{types-SUAmeBId.d.ts → types-CURw95qc.d.ts} +2 -2
- package/dist/{types-DKeGkHpE.d.cts → types-DRMeL0uW.d.cts} +2 -2
- package/dist/{types-DJVccwh0.d.ts → types-_odOqLOe.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-BIJtP2KB.d.cts → validate-Cdtk0y18.d.cts} +1 -1
- package/dist/{validate--y-pPc-c.d.ts → validate-ChibJPPI.d.ts} +1 -1
- package/dist/views/index.d.cts +9 -10
- package/dist/views/index.d.ts +9 -10
- package/package.json +2 -2
- package/dist/client-C1B-MNzb.d.ts +0 -2704
- package/dist/client-D2jAgJNn.d.cts +0 -2704
|
@@ -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-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-
|
|
2
|
-
import { U as Uuid, R as RecordsResult } from './record-
|
|
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-
|
|
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-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-
|
|
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-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-
|
|
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-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-
|
|
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-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-
|
|
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-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-
|
|
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-_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 {
|
package/dist/views/index.d.cts
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import { R as RuleExpression } from '../rule-
|
|
2
|
-
import { R as RecordFilter,
|
|
3
|
-
import { R as RecordsClient } from '../client-
|
|
4
|
-
import { U as Uuid, R as RecordsResult } from '../record-
|
|
5
|
-
import '../
|
|
6
|
-
import '../
|
|
7
|
-
import '../
|
|
8
|
-
import '../
|
|
9
|
-
import '../
|
|
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>;
|
package/dist/views/index.d.ts
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import { R as RuleExpression } from '../rule-
|
|
2
|
-
import { R as RecordFilter,
|
|
3
|
-
import { R as RecordsClient } from '../client-
|
|
4
|
-
import { U as Uuid, R as RecordsResult } from '../record-
|
|
5
|
-
import '../
|
|
6
|
-
import '../
|
|
7
|
-
import '../
|
|
8
|
-
import '../
|
|
9
|
-
import '../
|
|
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.
|
|
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",
|
|
@@ -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": "
|
|
333
|
+
"gitHead": "d544b8447b456671039b28d95970dbf44248975d"
|
|
334
334
|
}
|