@ai-matrx/records 0.99.32 → 0.99.34
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 +16 -1
- package/dist/{client-CrwedBYU.d.ts → client-CSfkP7Xf.d.ts} +5 -74
- package/dist/{client-D1EwyWfh.d.cts → client-jKf1Z-kp.d.cts} +5 -74
- package/dist/core/index.cjs +149 -105
- package/dist/core/index.cjs.map +1 -1
- package/dist/core/index.d.cts +9 -331
- package/dist/core/index.d.ts +9 -331
- 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 +3 -2
- package/dist/data/index.d.ts +3 -2
- package/dist/data/index.js +280 -236
- package/dist/data/index.js.map +1 -1
- package/dist/{declareTable-CC5rTTIA.d.ts → declareTable-0emxEewn.d.ts} +1 -1
- package/dist/{declareTable-BIIt0Wqt.d.cts → declareTable-800bwUn3.d.cts} +1 -1
- 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-D1yAs0a0.d.cts → doors-BgjRUdxw.d.cts} +13 -1
- package/dist/{doors-D2z3kH2i.d.ts → doors-D7_jEKtg.d.ts} +13 -1
- package/dist/index.d.cts +5 -4
- package/dist/index.d.ts +5 -4
- package/dist/{objectOrganization-DazBoDAq.d.cts → objectOrganization-B5YFGVUB.d.cts} +1 -1
- package/dist/{objectOrganization-D1ox3gUx.d.ts → objectOrganization-DozoVIxS.d.ts} +1 -1
- package/dist/pickListDoors-C-_eAEGL.d.cts +135 -0
- package/dist/pickListDoors-DgWVnNRI.d.ts +135 -0
- package/dist/questions/index.d.cts +3 -2
- package/dist/questions/index.d.ts +3 -2
- 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/scopes/index.cjs +7 -0
- package/dist/scopes/index.cjs.map +1 -1
- package/dist/scopes/index.d.cts +2 -2
- package/dist/scopes/index.d.ts +2 -2
- package/dist/scopes/index.js +7 -0
- package/dist/scopes/index.js.map +1 -1
- package/dist/setup/index.cjs +289 -245
- package/dist/setup/index.cjs.map +1 -1
- package/dist/setup/index.d.cts +4 -3
- package/dist/setup/index.d.ts +4 -3
- package/dist/setup/index.js +289 -245
- package/dist/setup/index.js.map +1 -1
- package/dist/table-logic-BPquabNN.d.ts +328 -0
- package/dist/table-logic-CTh6lwaq.d.cts +328 -0
- package/dist/typed-table/index.cjs +280 -236
- package/dist/typed-table/index.cjs.map +1 -1
- package/dist/typed-table/index.d.cts +4 -3
- package/dist/typed-table/index.d.ts +4 -3
- package/dist/typed-table/index.js +280 -236
- package/dist/typed-table/index.js.map +1 -1
- package/dist/views/index.d.cts +3 -2
- package/dist/views/index.d.ts +3 -2
- package/package.json +13 -3
package/dist/react/index.d.cts
CHANGED
|
@@ -13549,6 +13549,42 @@ interface ScopeDoors {
|
|
|
13549
13549
|
}>>;
|
|
13550
13550
|
/** Write one cell. */
|
|
13551
13551
|
writeValue(write: ContextValueWrite): Promise<RecordsResult<ContextValueWritten>>;
|
|
13552
|
+
/**
|
|
13553
|
+
* G11. The record-store Table a context scope's template-bound item provisions — one per item and
|
|
13554
|
+
* scope (`custom.scope_table_provision`). A scope provisioned before the move answers with its moved
|
|
13555
|
+
* Table (same id); the Home defaults to the organization's own. `organization_id` null lets the door
|
|
13556
|
+
* read the scope's own organization.
|
|
13557
|
+
*/
|
|
13558
|
+
tableProvision(args: {
|
|
13559
|
+
organization_id: Uuid | null;
|
|
13560
|
+
item_id: Uuid;
|
|
13561
|
+
scope_id: Uuid;
|
|
13562
|
+
home_id?: Uuid | null;
|
|
13563
|
+
}): Promise<RecordsResult<Uuid>>;
|
|
13564
|
+
}
|
|
13565
|
+
|
|
13566
|
+
interface PickListDoors {
|
|
13567
|
+
/**
|
|
13568
|
+
* PICK-LISTS: a pick list with its choices, grouped (`custom.pick_list_get`; viewer access on the list).
|
|
13569
|
+
* The list is read by its own id; its organization is the list's own, never the client's.
|
|
13570
|
+
*/
|
|
13571
|
+
pickListGet(args: {
|
|
13572
|
+
list_id: Uuid;
|
|
13573
|
+
}): Promise<RecordsResult<PickListDocument | null>>;
|
|
13574
|
+
/** PICK-LISTS: a pick list for a selection control (`custom.pick_list_for_selection`): labels, help, groups, icons, NEVER the secret description. */
|
|
13575
|
+
pickListForSelection(args: {
|
|
13576
|
+
list_id: Uuid;
|
|
13577
|
+
}): Promise<RecordsResult<PickListDocument | null>>;
|
|
13578
|
+
/**
|
|
13579
|
+
* PICK-LISTS: rename / describe a pick list and, with `items`, REPLACE its choices
|
|
13580
|
+
* (`custom.pick_list_update`; editor access). The replaced choices are archived, soft and restorable.
|
|
13581
|
+
*/
|
|
13582
|
+
pickListUpdate(args: {
|
|
13583
|
+
list_id: Uuid;
|
|
13584
|
+
list_name?: string | null;
|
|
13585
|
+
description?: string | null;
|
|
13586
|
+
items?: readonly PickListItemInput[] | null;
|
|
13587
|
+
}): Promise<RecordsResult<PickListDocument | null>>;
|
|
13552
13588
|
}
|
|
13553
13589
|
|
|
13554
13590
|
/** One value the agent was given, with the triple that makes it citable. */
|
|
@@ -13788,7 +13824,7 @@ interface MetadataSearchAnswer {
|
|
|
13788
13824
|
organizations_covered: Uuid[];
|
|
13789
13825
|
unavailable: OrganizationUnavailable[];
|
|
13790
13826
|
}
|
|
13791
|
-
interface RecordsClient {
|
|
13827
|
+
interface RecordsClient extends PickListDoors {
|
|
13792
13828
|
/** The config this client was built with, so a screen can show who it is acting as. */
|
|
13793
13829
|
readonly config: RecordsConfig;
|
|
13794
13830
|
/**
|
|
@@ -14297,27 +14333,6 @@ interface RecordsClient {
|
|
|
14297
14333
|
fieldOptions(args: {
|
|
14298
14334
|
field_id: Uuid;
|
|
14299
14335
|
}): Promise<RecordsResult<StoredRecord[]>>;
|
|
14300
|
-
/**
|
|
14301
|
-
* PICK-LISTS: a pick list with its choices, grouped (`custom.pick_list_get`; viewer access on the list).
|
|
14302
|
-
* The list is read by its own id; its organization is the list's own, never the client's.
|
|
14303
|
-
*/
|
|
14304
|
-
pickListGet(args: {
|
|
14305
|
-
list_id: Uuid;
|
|
14306
|
-
}): Promise<RecordsResult<PickListDocument | null>>;
|
|
14307
|
-
/** PICK-LISTS: a pick list for a selection control (`custom.pick_list_for_selection`): labels, help, groups, icons, NEVER the secret description. */
|
|
14308
|
-
pickListForSelection(args: {
|
|
14309
|
-
list_id: Uuid;
|
|
14310
|
-
}): Promise<RecordsResult<PickListDocument | null>>;
|
|
14311
|
-
/**
|
|
14312
|
-
* PICK-LISTS: rename / describe a pick list and, with `items`, REPLACE its choices
|
|
14313
|
-
* (`custom.pick_list_update`; editor access). The replaced choices are archived, soft and restorable.
|
|
14314
|
-
*/
|
|
14315
|
-
pickListUpdate(args: {
|
|
14316
|
-
list_id: Uuid;
|
|
14317
|
-
list_name?: string | null;
|
|
14318
|
-
description?: string | null;
|
|
14319
|
-
items?: readonly PickListItemInput[] | null;
|
|
14320
|
-
}): Promise<RecordsResult<PickListDocument | null>>;
|
|
14321
14336
|
/**
|
|
14322
14337
|
* How many records hold each choice of one choice column, keyed by the option's id
|
|
14323
14338
|
* (`custom.field_choice_usage`; counts only records the caller may see). What a column editor
|
package/dist/react/index.d.ts
CHANGED
|
@@ -13549,6 +13549,42 @@ interface ScopeDoors {
|
|
|
13549
13549
|
}>>;
|
|
13550
13550
|
/** Write one cell. */
|
|
13551
13551
|
writeValue(write: ContextValueWrite): Promise<RecordsResult<ContextValueWritten>>;
|
|
13552
|
+
/**
|
|
13553
|
+
* G11. The record-store Table a context scope's template-bound item provisions — one per item and
|
|
13554
|
+
* scope (`custom.scope_table_provision`). A scope provisioned before the move answers with its moved
|
|
13555
|
+
* Table (same id); the Home defaults to the organization's own. `organization_id` null lets the door
|
|
13556
|
+
* read the scope's own organization.
|
|
13557
|
+
*/
|
|
13558
|
+
tableProvision(args: {
|
|
13559
|
+
organization_id: Uuid | null;
|
|
13560
|
+
item_id: Uuid;
|
|
13561
|
+
scope_id: Uuid;
|
|
13562
|
+
home_id?: Uuid | null;
|
|
13563
|
+
}): Promise<RecordsResult<Uuid>>;
|
|
13564
|
+
}
|
|
13565
|
+
|
|
13566
|
+
interface PickListDoors {
|
|
13567
|
+
/**
|
|
13568
|
+
* PICK-LISTS: a pick list with its choices, grouped (`custom.pick_list_get`; viewer access on the list).
|
|
13569
|
+
* The list is read by its own id; its organization is the list's own, never the client's.
|
|
13570
|
+
*/
|
|
13571
|
+
pickListGet(args: {
|
|
13572
|
+
list_id: Uuid;
|
|
13573
|
+
}): Promise<RecordsResult<PickListDocument | null>>;
|
|
13574
|
+
/** PICK-LISTS: a pick list for a selection control (`custom.pick_list_for_selection`): labels, help, groups, icons, NEVER the secret description. */
|
|
13575
|
+
pickListForSelection(args: {
|
|
13576
|
+
list_id: Uuid;
|
|
13577
|
+
}): Promise<RecordsResult<PickListDocument | null>>;
|
|
13578
|
+
/**
|
|
13579
|
+
* PICK-LISTS: rename / describe a pick list and, with `items`, REPLACE its choices
|
|
13580
|
+
* (`custom.pick_list_update`; editor access). The replaced choices are archived, soft and restorable.
|
|
13581
|
+
*/
|
|
13582
|
+
pickListUpdate(args: {
|
|
13583
|
+
list_id: Uuid;
|
|
13584
|
+
list_name?: string | null;
|
|
13585
|
+
description?: string | null;
|
|
13586
|
+
items?: readonly PickListItemInput[] | null;
|
|
13587
|
+
}): Promise<RecordsResult<PickListDocument | null>>;
|
|
13552
13588
|
}
|
|
13553
13589
|
|
|
13554
13590
|
/** One value the agent was given, with the triple that makes it citable. */
|
|
@@ -13788,7 +13824,7 @@ interface MetadataSearchAnswer {
|
|
|
13788
13824
|
organizations_covered: Uuid[];
|
|
13789
13825
|
unavailable: OrganizationUnavailable[];
|
|
13790
13826
|
}
|
|
13791
|
-
interface RecordsClient {
|
|
13827
|
+
interface RecordsClient extends PickListDoors {
|
|
13792
13828
|
/** The config this client was built with, so a screen can show who it is acting as. */
|
|
13793
13829
|
readonly config: RecordsConfig;
|
|
13794
13830
|
/**
|
|
@@ -14297,27 +14333,6 @@ interface RecordsClient {
|
|
|
14297
14333
|
fieldOptions(args: {
|
|
14298
14334
|
field_id: Uuid;
|
|
14299
14335
|
}): Promise<RecordsResult<StoredRecord[]>>;
|
|
14300
|
-
/**
|
|
14301
|
-
* PICK-LISTS: a pick list with its choices, grouped (`custom.pick_list_get`; viewer access on the list).
|
|
14302
|
-
* The list is read by its own id; its organization is the list's own, never the client's.
|
|
14303
|
-
*/
|
|
14304
|
-
pickListGet(args: {
|
|
14305
|
-
list_id: Uuid;
|
|
14306
|
-
}): Promise<RecordsResult<PickListDocument | null>>;
|
|
14307
|
-
/** PICK-LISTS: a pick list for a selection control (`custom.pick_list_for_selection`): labels, help, groups, icons, NEVER the secret description. */
|
|
14308
|
-
pickListForSelection(args: {
|
|
14309
|
-
list_id: Uuid;
|
|
14310
|
-
}): Promise<RecordsResult<PickListDocument | null>>;
|
|
14311
|
-
/**
|
|
14312
|
-
* PICK-LISTS: rename / describe a pick list and, with `items`, REPLACE its choices
|
|
14313
|
-
* (`custom.pick_list_update`; editor access). The replaced choices are archived, soft and restorable.
|
|
14314
|
-
*/
|
|
14315
|
-
pickListUpdate(args: {
|
|
14316
|
-
list_id: Uuid;
|
|
14317
|
-
list_name?: string | null;
|
|
14318
|
-
description?: string | null;
|
|
14319
|
-
items?: readonly PickListItemInput[] | null;
|
|
14320
|
-
}): Promise<RecordsResult<PickListDocument | null>>;
|
|
14321
14336
|
/**
|
|
14322
14337
|
* How many records hold each choice of one choice column, keyed by the option's id
|
|
14323
14338
|
* (`custom.field_choice_usage`; counts only records the caller may see). What a column editor
|