@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.
- package/CHANGELOG.md +6 -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 +100 -3
- package/dist/core/index.cjs.map +1 -1
- package/dist/core/index.d.cts +19 -17
- package/dist/core/index.d.ts +19 -17
- package/dist/core/index.js +100 -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 +3 -3
- package/dist/client-C1B-MNzb.d.ts +0 -2704
- package/dist/client-D2jAgJNn.d.cts +0 -2704
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as _ai_matrx_realtime from '@ai-matrx/realtime';
|
|
2
2
|
import { RealtimeManager, ChannelSpec } from '@ai-matrx/realtime';
|
|
3
|
-
import { O as OpLedger, R as RecordsRealtimePort } from '../ports-
|
|
4
|
-
import '../field-
|
|
5
|
-
import '../record-
|
|
3
|
+
import { O as OpLedger, R as RecordsRealtimePort } from '../ports-BIdYUS-C.cjs';
|
|
4
|
+
import '../field-BLy8drjM.cjs';
|
|
5
|
+
import '../record-BrJNCmH1.cjs';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* The topic is a CONTRACT WITH THE DATABASE (a Postgres trigger writes it, an RLS policy parses it),
|
package/dist/realtime/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as _ai_matrx_realtime from '@ai-matrx/realtime';
|
|
2
2
|
import { RealtimeManager, ChannelSpec } from '@ai-matrx/realtime';
|
|
3
|
-
import { O as OpLedger, R as RecordsRealtimePort } from '../ports-
|
|
4
|
-
import '../field-
|
|
5
|
-
import '../record-
|
|
3
|
+
import { O as OpLedger, R as RecordsRealtimePort } from '../ports-BE_5jz-c.js';
|
|
4
|
+
import '../field-BIRNApm1.js';
|
|
5
|
+
import '../record-BrJNCmH1.js';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* The topic is a CONTRACT WITH THE DATABASE (a Postgres trigger writes it, an RLS policy parses it),
|
|
@@ -6279,4 +6279,4 @@ interface RecordRead {
|
|
|
6279
6279
|
version?: number | null;
|
|
6280
6280
|
}
|
|
6281
6281
|
|
|
6282
|
-
export { type
|
|
6282
|
+
export { type MergeFieldSource as $, type Actor as A, type Delivery as B, type ComputeOn as C, type DeclarableFieldKind as D, ENTITY_TOKENS as E, type FieldSource as F, type EntityToken as G, type HiddenFieldNotice as H, FIELD_SENSITIVITIES as I, FIELD_SOURCES as J, FRESHNESS as K, type ForbiddenEnvelopeWord as L, type Freshness as M, KERNEL_TABLES as N, type OnDelete as O, type PgError as P, type KernelTableName as Q, type RecordsResult as R, type StorageMode as S, type TableType as T, type Uuid as U, type KeysetRow as V, MERGE_FIELD_MODIFIERS as W, MERGE_FIELD_SEMANTIC_TYPES as X, MERGE_FIELD_SOURCES as Y, type MergeFieldModifier as Z, type MergeFieldSemanticType as _, type RecordsError as a, ON_DELETE as a0, OVERRIDE_POLICIES as a1, type OverridePolicy as a2, PARITY_FIELD_TYPES as a3, PER_VALUE_ACCESS_WORDS as a4, type PerValueAccessWord as a5, type ProvenancePointer as a6, RELATION_BINDINGS as a7, RELATION_CARDINALITIES as a8, RELATION_FLAVORS as a9, type ValueEnvelope as aA, type ValueEnvelopeKey as aB, type ValueSource as aC, type WriteConflict as aD, err as aE, isLockedStub as aF, isRecordsErr as aG, ok as aH, splitLockedRows as aI, unwrapRecords as aJ, RETIRED_ACTOR_WORDS as aa, RULE_NODE_KINDS as ab, RULE_USES as ac, type RecordChange as ad, type RecordChangeResult as ae, type RecordGraphWritten as af, type RecordKeysetPage as ag, type RecordPage as ah, type RecordRead as ai, type RecordRevision as aj, type RetiredActorWord as ak, STORAGE_MODES as al, STORE_DOORS as am, STORE_KNOBS as an, STORE_REFUSAL_CODES as ao, type StoreDoorName as ap, type StoreRefusalCode as aq, type StoredRecord as ar, TABLE_DISPLAYS as as, TABLE_ORIGINS as at, TABLE_TYPES as au, type TableOrigin as av, VALUE_ALTERNATE_KEYS as aw, VALUE_ENVELOPE_KEYS as ax, type ValueAlternate as ay, type ValueAlternateKey as az, type TableDisplay as b, type FieldSensitivity as c, type ContextPolicy as d, type RelationFlavor as e, type RelationCardinality as f, type RelationBinding as g, type Timestamp as h, type RuleNodeKind as i, type RuleUse as j, type RecordPageSort as k, type ReadRow as l, type RecordsErrorCode as m, type RecordDocument as n, type FieldBehavior as o, type ParityFieldType as p, type StaleWriteDetail as q, type PredictedRefusal as r, type ReadValue as s, ABSENCE_REASONS as t, ACTOR_VOCABULARY as u, type AbsenceReason as v, COMPUTE_ON as w, CONTEXT_POLICIES as x, DECLARABLE_FIELD_KINDS as y, DELIVERIES as z };
|
|
@@ -6279,4 +6279,4 @@ interface RecordRead {
|
|
|
6279
6279
|
version?: number | null;
|
|
6280
6280
|
}
|
|
6281
6281
|
|
|
6282
|
-
export { type
|
|
6282
|
+
export { type MergeFieldSource as $, type Actor as A, type Delivery as B, type ComputeOn as C, type DeclarableFieldKind as D, ENTITY_TOKENS as E, type FieldSource as F, type EntityToken as G, type HiddenFieldNotice as H, FIELD_SENSITIVITIES as I, FIELD_SOURCES as J, FRESHNESS as K, type ForbiddenEnvelopeWord as L, type Freshness as M, KERNEL_TABLES as N, type OnDelete as O, type PgError as P, type KernelTableName as Q, type RecordsResult as R, type StorageMode as S, type TableType as T, type Uuid as U, type KeysetRow as V, MERGE_FIELD_MODIFIERS as W, MERGE_FIELD_SEMANTIC_TYPES as X, MERGE_FIELD_SOURCES as Y, type MergeFieldModifier as Z, type MergeFieldSemanticType as _, type RecordsError as a, ON_DELETE as a0, OVERRIDE_POLICIES as a1, type OverridePolicy as a2, PARITY_FIELD_TYPES as a3, PER_VALUE_ACCESS_WORDS as a4, type PerValueAccessWord as a5, type ProvenancePointer as a6, RELATION_BINDINGS as a7, RELATION_CARDINALITIES as a8, RELATION_FLAVORS as a9, type ValueEnvelope as aA, type ValueEnvelopeKey as aB, type ValueSource as aC, type WriteConflict as aD, err as aE, isLockedStub as aF, isRecordsErr as aG, ok as aH, splitLockedRows as aI, unwrapRecords as aJ, RETIRED_ACTOR_WORDS as aa, RULE_NODE_KINDS as ab, RULE_USES as ac, type RecordChange as ad, type RecordChangeResult as ae, type RecordGraphWritten as af, type RecordKeysetPage as ag, type RecordPage as ah, type RecordRead as ai, type RecordRevision as aj, type RetiredActorWord as ak, STORAGE_MODES as al, STORE_DOORS as am, STORE_KNOBS as an, STORE_REFUSAL_CODES as ao, type StoreDoorName as ap, type StoreRefusalCode as aq, type StoredRecord as ar, TABLE_DISPLAYS as as, TABLE_ORIGINS as at, TABLE_TYPES as au, type TableOrigin as av, VALUE_ALTERNATE_KEYS as aw, VALUE_ENVELOPE_KEYS as ax, type ValueAlternate as ay, type ValueAlternateKey as az, type TableDisplay as b, type FieldSensitivity as c, type ContextPolicy as d, type RelationFlavor as e, type RelationCardinality as f, type RelationBinding as g, type Timestamp as h, type RuleNodeKind as i, type RuleUse as j, type RecordPageSort as k, type ReadRow as l, type RecordsErrorCode as m, type RecordDocument as n, type FieldBehavior as o, type ParityFieldType as p, type StaleWriteDetail as q, type PredictedRefusal as r, type ReadValue as s, ABSENCE_REASONS as t, ACTOR_VOCABULARY as u, type AbsenceReason as v, COMPUTE_ON as w, CONTEXT_POLICIES as x, DECLARABLE_FIELD_KINDS as y, DELIVERIES as z };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { U as Uuid, e as RelationFlavor, O as OnDelete, g as RelationBinding, f as RelationCardinality, h as Timestamp, R as RecordsResult } from './record-
|
|
2
|
-
import { d as RecordsDataSource } from './ports-
|
|
1
|
+
import { U as Uuid, e as RelationFlavor, O as OnDelete, g as RelationBinding, f as RelationCardinality, h as Timestamp, R as RecordsResult } from './record-BrJNCmH1.js';
|
|
2
|
+
import { d as RecordsDataSource } from './ports-BE_5jz-c.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* REL-6. Whether Visibility flows along this relation and the MAXIMUM access
|
|
@@ -227,4 +227,4 @@ interface SourceArchived {
|
|
|
227
227
|
/** The typed "source archived" answer, when `value` is one; null for any other value. */
|
|
228
228
|
declare function sourceArchivedOf(value: unknown): SourceArchived | null;
|
|
229
229
|
|
|
230
|
-
export { type EntityRefWithWords as E,
|
|
230
|
+
export { type EntityRefWithWords as E, REVERSE_LINKS_PAGE_MAX as R, type SourceArchived as S, type EntityRef as a, type EntityReferenceKind as b, REVERSE_LINKS_RECORDS_PER_CALL as c, type Relation as d, type RelationCarries as e, type RelationCoordinate as f, type RelationIcons as g, type RelationProperties as h, type RelationTarget as i, type RelationWordsManyArgs as j, type ReverseColumn as k, type ReverseLink as l, type ReverseLinks as m, type ReverseLinksFieldsArgs as n, type ReverseLinksManyArgs as o, entityReferenceKinds as p, entityReferenceSearch as q, entityReferenceWords as r, entityRefsOf as s, entityRefsToWrite as t, isReverseField as u, sourceArchivedOf as v };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { U as Uuid, e as RelationFlavor, O as OnDelete, g as RelationBinding, f as RelationCardinality, h as Timestamp, R as RecordsResult } from './record-
|
|
2
|
-
import { d as RecordsDataSource } from './ports-
|
|
1
|
+
import { U as Uuid, e as RelationFlavor, O as OnDelete, g as RelationBinding, f as RelationCardinality, h as Timestamp, R as RecordsResult } from './record-BrJNCmH1.cjs';
|
|
2
|
+
import { d as RecordsDataSource } from './ports-BIdYUS-C.cjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* REL-6. Whether Visibility flows along this relation and the MAXIMUM access
|
|
@@ -227,4 +227,4 @@ interface SourceArchived {
|
|
|
227
227
|
/** The typed "source archived" answer, when `value` is one; null for any other value. */
|
|
228
228
|
declare function sourceArchivedOf(value: unknown): SourceArchived | null;
|
|
229
229
|
|
|
230
|
-
export { type EntityRefWithWords as E,
|
|
230
|
+
export { type EntityRefWithWords as E, REVERSE_LINKS_PAGE_MAX as R, type SourceArchived as S, type EntityRef as a, type EntityReferenceKind as b, REVERSE_LINKS_RECORDS_PER_CALL as c, type Relation as d, type RelationCarries as e, type RelationCoordinate as f, type RelationIcons as g, type RelationProperties as h, type RelationTarget as i, type RelationWordsManyArgs as j, type ReverseColumn as k, type ReverseLink as l, type ReverseLinks as m, type ReverseLinksFieldsArgs as n, type ReverseLinksManyArgs as o, entityReferenceKinds as p, entityReferenceSearch as q, entityReferenceWords as r, entityRefsOf as s, entityRefsToWrite as t, isReverseField as u, sourceArchivedOf as v };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { U as Uuid, i as RuleNodeKind, j as RuleUse, h as Timestamp } from './record-
|
|
1
|
+
import { U as Uuid, i as RuleNodeKind, j as RuleUse, h as Timestamp } from './record-BrJNCmH1.cjs';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* A rule expression as `custom.rule_eval` ACTUALLY evaluates it — read off the
|
|
@@ -247,4 +247,4 @@ declare function bookingPath(formId: string): string;
|
|
|
247
247
|
*/
|
|
248
248
|
declare function publicFormPath(formId: string): string;
|
|
249
249
|
|
|
250
|
-
export { type
|
|
250
|
+
export { type BookingAvailability as B, type FormSummary as F, type RuleExpression as R, type BookingDeclared as a, type BookingSummary as b, type BookingWindow as c, type FormResults as d, type FormRoute as e, type Rule as f, type RuleAnswer as g, bookingPath as h, publicFormPath as p };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { U as Uuid, i as RuleNodeKind, j as RuleUse, h as Timestamp } from './record-
|
|
1
|
+
import { U as Uuid, i as RuleNodeKind, j as RuleUse, h as Timestamp } from './record-BrJNCmH1.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* A rule expression as `custom.rule_eval` ACTUALLY evaluates it — read off the
|
|
@@ -247,4 +247,4 @@ declare function bookingPath(formId: string): string;
|
|
|
247
247
|
*/
|
|
248
248
|
declare function publicFormPath(formId: string): string;
|
|
249
249
|
|
|
250
|
-
export { type
|
|
250
|
+
export { type BookingAvailability as B, type FormSummary as F, type RuleExpression as R, type BookingDeclared as a, type BookingSummary as b, type BookingWindow as c, type FormResults as d, type FormRoute as e, type Rule as f, type RuleAnswer as g, bookingPath as h, publicFormPath as p };
|
package/dist/scopes/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { S as Scope, C as ContextValue, a as ContextField, b as ContextFieldKind, c as ContextReference } from '../doors-
|
|
2
|
-
export { A as ARCHIVED_SCOPES_PAGE, d as ArchivedScope, e as ArchivedScopeType, f as CONTEXT_FIELD_KINDS, g as ContextFieldSpec, h as ContextPolicy, i as ContextSensitivity, j as ContextValueWrite, k as ContextValueWritten, F as FIELD_KERNEL_ID, l as FILE_KERNEL_ID, I as INCOMPLETE_SAVE_REFUSAL, m as IncompleteValue, R as ReadContextFileText, n as SCOPES_PER_CALL, o as SCOPES_PER_VALUES_CALL, p as SCOPE_TYPES_PER_FIELDS_CALL, q as SYSTEM_CONTEXT_TYPE_ID, r as ScopeDoorCall, s as ScopeDoors, t as ScopePage, u as ScopeSpec, v as ScopeTemplate, w as ScopeType, x as ScopeTypeLabel, y as ScopeTypeSkeleton, z as ScopeTypeSpec, B as ScopeTypeWithScopes, D as ScopeWithType, E as StoreSystemItemRow, G as StoreWholeValue, H as SystemContextField, J as SystemContextItemClass, T as TYPE_SCOPES_PAGE, K as TableTemplate, L as TableTemplateField, M as completeWholeValues, N as contextFieldFromStore, O as contextFieldKind, P as contextValueFromStore, Q as contextValueWrite, U as createScopeDoors, V as incompleteSaveRefusal, W as referenceFence, X as referencesFromFence, Y as referencesOf, Z as scopeFromStore, _ as scopeTypeFromStore, $ as scopeWithTypeFromStore, a0 as settingFromStore, a1 as systemContextFieldFromStore } from '../doors-
|
|
3
|
-
import { U as Uuid, R as RecordsResult } from '../record-
|
|
1
|
+
import { S as Scope, C as ContextValue, a as ContextField, b as ContextFieldKind, c as ContextReference } from '../doors-Dm5q9H8Y.cjs';
|
|
2
|
+
export { A as ARCHIVED_SCOPES_PAGE, d as ArchivedScope, e as ArchivedScopeType, f as CONTEXT_FIELD_KINDS, g as ContextFieldSpec, h as ContextPolicy, i as ContextSensitivity, j as ContextValueWrite, k as ContextValueWritten, F as FIELD_KERNEL_ID, l as FILE_KERNEL_ID, I as INCOMPLETE_SAVE_REFUSAL, m as IncompleteValue, R as ReadContextFileText, n as SCOPES_PER_CALL, o as SCOPES_PER_VALUES_CALL, p as SCOPE_TYPES_PER_FIELDS_CALL, q as SYSTEM_CONTEXT_TYPE_ID, r as ScopeDoorCall, s as ScopeDoors, t as ScopePage, u as ScopeSpec, v as ScopeTemplate, w as ScopeType, x as ScopeTypeLabel, y as ScopeTypeSkeleton, z as ScopeTypeSpec, B as ScopeTypeWithScopes, D as ScopeWithType, E as StoreSystemItemRow, G as StoreWholeValue, H as SystemContextField, J as SystemContextItemClass, T as TYPE_SCOPES_PAGE, K as TableTemplate, L as TableTemplateField, M as completeWholeValues, N as contextFieldFromStore, O as contextFieldKind, P as contextValueFromStore, Q as contextValueWrite, U as createScopeDoors, V as incompleteSaveRefusal, W as referenceFence, X as referencesFromFence, Y as referencesOf, Z as scopeFromStore, _ as scopeTypeFromStore, $ as scopeWithTypeFromStore, a0 as settingFromStore, a1 as systemContextFieldFromStore } from '../doors-Dm5q9H8Y.cjs';
|
|
3
|
+
import { U as Uuid, R as RecordsResult } from '../record-BrJNCmH1.cjs';
|
|
4
4
|
|
|
5
5
|
/** An organization role, as `iam.organization_member` holds it. */
|
|
6
6
|
type ScopeSeatRole = "owner" | "admin" | "member" | string;
|
package/dist/scopes/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { S as Scope, C as ContextValue, a as ContextField, b as ContextFieldKind, c as ContextReference } from '../doors-
|
|
2
|
-
export { A as ARCHIVED_SCOPES_PAGE, d as ArchivedScope, e as ArchivedScopeType, f as CONTEXT_FIELD_KINDS, g as ContextFieldSpec, h as ContextPolicy, i as ContextSensitivity, j as ContextValueWrite, k as ContextValueWritten, F as FIELD_KERNEL_ID, l as FILE_KERNEL_ID, I as INCOMPLETE_SAVE_REFUSAL, m as IncompleteValue, R as ReadContextFileText, n as SCOPES_PER_CALL, o as SCOPES_PER_VALUES_CALL, p as SCOPE_TYPES_PER_FIELDS_CALL, q as SYSTEM_CONTEXT_TYPE_ID, r as ScopeDoorCall, s as ScopeDoors, t as ScopePage, u as ScopeSpec, v as ScopeTemplate, w as ScopeType, x as ScopeTypeLabel, y as ScopeTypeSkeleton, z as ScopeTypeSpec, B as ScopeTypeWithScopes, D as ScopeWithType, E as StoreSystemItemRow, G as StoreWholeValue, H as SystemContextField, J as SystemContextItemClass, T as TYPE_SCOPES_PAGE, K as TableTemplate, L as TableTemplateField, M as completeWholeValues, N as contextFieldFromStore, O as contextFieldKind, P as contextValueFromStore, Q as contextValueWrite, U as createScopeDoors, V as incompleteSaveRefusal, W as referenceFence, X as referencesFromFence, Y as referencesOf, Z as scopeFromStore, _ as scopeTypeFromStore, $ as scopeWithTypeFromStore, a0 as settingFromStore, a1 as systemContextFieldFromStore } from '../doors-
|
|
3
|
-
import { U as Uuid, R as RecordsResult } from '../record-
|
|
1
|
+
import { S as Scope, C as ContextValue, a as ContextField, b as ContextFieldKind, c as ContextReference } from '../doors-t-Oc2l9E.js';
|
|
2
|
+
export { A as ARCHIVED_SCOPES_PAGE, d as ArchivedScope, e as ArchivedScopeType, f as CONTEXT_FIELD_KINDS, g as ContextFieldSpec, h as ContextPolicy, i as ContextSensitivity, j as ContextValueWrite, k as ContextValueWritten, F as FIELD_KERNEL_ID, l as FILE_KERNEL_ID, I as INCOMPLETE_SAVE_REFUSAL, m as IncompleteValue, R as ReadContextFileText, n as SCOPES_PER_CALL, o as SCOPES_PER_VALUES_CALL, p as SCOPE_TYPES_PER_FIELDS_CALL, q as SYSTEM_CONTEXT_TYPE_ID, r as ScopeDoorCall, s as ScopeDoors, t as ScopePage, u as ScopeSpec, v as ScopeTemplate, w as ScopeType, x as ScopeTypeLabel, y as ScopeTypeSkeleton, z as ScopeTypeSpec, B as ScopeTypeWithScopes, D as ScopeWithType, E as StoreSystemItemRow, G as StoreWholeValue, H as SystemContextField, J as SystemContextItemClass, T as TYPE_SCOPES_PAGE, K as TableTemplate, L as TableTemplateField, M as completeWholeValues, N as contextFieldFromStore, O as contextFieldKind, P as contextValueFromStore, Q as contextValueWrite, U as createScopeDoors, V as incompleteSaveRefusal, W as referenceFence, X as referencesFromFence, Y as referencesOf, Z as scopeFromStore, _ as scopeTypeFromStore, $ as scopeWithTypeFromStore, a0 as settingFromStore, a1 as systemContextFieldFromStore } from '../doors-t-Oc2l9E.js';
|
|
3
|
+
import { U as Uuid, R as RecordsResult } from '../record-BrJNCmH1.js';
|
|
4
4
|
|
|
5
5
|
/** An organization role, as `iam.organization_member` holds it. */
|
|
6
6
|
type ScopeSeatRole = "owner" | "admin" | "member" | string;
|
package/dist/search/index.d.cts
CHANGED
package/dist/search/index.d.ts
CHANGED
package/dist/setup/index.cjs
CHANGED
|
@@ -2543,6 +2543,14 @@ var DOORS = {
|
|
|
2543
2543
|
// archived and aliased), and put any recorded Migration back.
|
|
2544
2544
|
migrateMerge: "migrate_merge",
|
|
2545
2545
|
migrateUndo: "migrate_undo",
|
|
2546
|
+
// CORE-VISION (2026-10-10): the structural Migrations a person runs on ONE record from its menu.
|
|
2547
|
+
// Split moves the named values to a new record of the same Table (the original keeps its id);
|
|
2548
|
+
// extract parent copies the named values up into a new record of another Table and puts this
|
|
2549
|
+
// record under it. Both answer a `migration_id` that `migrateUndo` takes. `migrations` lists
|
|
2550
|
+
// the Migration log for one target, newest first.
|
|
2551
|
+
migrateSplit: "migrate_split",
|
|
2552
|
+
migrateExtractParent: "migrate_extract_parent",
|
|
2553
|
+
migrations: "migrations",
|
|
2546
2554
|
recordValues: "record_values",
|
|
2547
2555
|
recordValuesVersioned: "record_values_versioned",
|
|
2548
2556
|
valueRead: "value_read",
|
|
@@ -4465,6 +4473,49 @@ function createRecordsClient(given) {
|
|
|
4465
4473
|
}
|
|
4466
4474
|
return result;
|
|
4467
4475
|
},
|
|
4476
|
+
async migrateSplit({ record_id, moved_keys, note }) {
|
|
4477
|
+
const result = await callDoor(
|
|
4478
|
+
DOORS.migrateSplit,
|
|
4479
|
+
{ p_organization_id: org, p_record_id: record_id, p_moved_keys: moved_keys, p_note: note ?? null },
|
|
4480
|
+
"migrateSplit"
|
|
4481
|
+
);
|
|
4482
|
+
if (result.ok) {
|
|
4483
|
+
announceRecordChanged(record_id);
|
|
4484
|
+
announceRecordChanged(result.data.new_record);
|
|
4485
|
+
}
|
|
4486
|
+
return result;
|
|
4487
|
+
},
|
|
4488
|
+
async migrateExtractParent({ record_id, parent_table_id, moved_keys, note }) {
|
|
4489
|
+
const result = await callDoor(
|
|
4490
|
+
DOORS.migrateExtractParent,
|
|
4491
|
+
{ p_organization_id: org, p_id: record_id, p_parent_table_id: parent_table_id, p_moved_keys: moved_keys, p_note: note ?? null },
|
|
4492
|
+
"migrateExtractParent"
|
|
4493
|
+
);
|
|
4494
|
+
if (result.ok) {
|
|
4495
|
+
announceRecordChanged(record_id);
|
|
4496
|
+
announceRecordChanged(result.data.parent);
|
|
4497
|
+
}
|
|
4498
|
+
return result;
|
|
4499
|
+
},
|
|
4500
|
+
async migrations({ target_id, limit }) {
|
|
4501
|
+
return callDoor(
|
|
4502
|
+
DOORS.migrations,
|
|
4503
|
+
{ p_organization_id: org, p_target_id: target_id ?? null, p_limit: limit ?? 100 },
|
|
4504
|
+
"migrations"
|
|
4505
|
+
);
|
|
4506
|
+
},
|
|
4507
|
+
async recordAsOf({ record_id, recorded_at, world_on }) {
|
|
4508
|
+
return callDoor(
|
|
4509
|
+
DOORS.queryRecordAsOf,
|
|
4510
|
+
{
|
|
4511
|
+
p_organization_id: org,
|
|
4512
|
+
p_record_id: record_id,
|
|
4513
|
+
...recorded_at ? { p_recorded_at: recorded_at } : {},
|
|
4514
|
+
...world_on ? { p_world_on: world_on.slice(0, 10) } : {}
|
|
4515
|
+
},
|
|
4516
|
+
"recordAsOf"
|
|
4517
|
+
);
|
|
4518
|
+
},
|
|
4468
4519
|
async migrateUndo({ migration_id }) {
|
|
4469
4520
|
const result = await callDoor(
|
|
4470
4521
|
DOORS.migrateUndo,
|
|
@@ -4472,6 +4523,7 @@ function createRecordsClient(given) {
|
|
|
4472
4523
|
"migrateUndo"
|
|
4473
4524
|
);
|
|
4474
4525
|
if (result.ok && result.data.record_id) announceRecordChanged(result.data.record_id);
|
|
4526
|
+
if (result.ok && result.data.removed) announceRecordChanged(result.data.removed);
|
|
4475
4527
|
return result;
|
|
4476
4528
|
},
|
|
4477
4529
|
async fieldUpdate({ field_id, patch }) {
|