@ai-matrx/records-ui 0.113.4 → 0.113.7
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 -0
- package/dist/first-page.cjs.map +1 -1
- package/dist/first-page.js.map +1 -1
- package/dist/index.cjs +14682 -14204
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +16 -1
- package/dist/index.d.ts +16 -1
- package/dist/index.js +13632 -13154
- package/dist/index.js.map +1 -1
- package/dist/object-actions.cjs +1 -0
- package/dist/object-actions.cjs.map +1 -1
- package/dist/object-actions.js +1 -0
- package/dist/object-actions.js.map +1 -1
- package/dist/pickers.cjs +6750 -2946
- package/dist/pickers.cjs.map +1 -1
- package/dist/pickers.d.cts +1 -1
- package/dist/pickers.d.ts +1 -1
- package/dist/pickers.js +6775 -2906
- package/dist/pickers.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -3782,6 +3782,8 @@ declare function SignaturePad({ value, onChange, disabled, id, className, }: {
|
|
|
3782
3782
|
interface PickerTable {
|
|
3783
3783
|
id: string;
|
|
3784
3784
|
name: string;
|
|
3785
|
+
platform_owned?: boolean | null | undefined;
|
|
3786
|
+
/** The Table document's own key for the same fact (`tableList()` spreads the document onto the Table). */
|
|
3785
3787
|
kept_by_the_app?: boolean | null | undefined;
|
|
3786
3788
|
/** `custom.table_facts`: which feature keeps it (`choices` for a value set). */
|
|
3787
3789
|
kept_for?: string | null | undefined;
|
|
@@ -3823,7 +3825,7 @@ declare function tablePickerEntries<T extends PickerTable>(tables: readonly T[],
|
|
|
3823
3825
|
/**
|
|
3824
3826
|
* The organization's tables with the store's placement facts folded on (`kept_for`,
|
|
3825
3827
|
* `used_in_table_id`), for a picker that reads `tableList()`. A store with no facts door, or one
|
|
3826
|
-
* that did not answer, leaves each table as `tableList()` gave it — its own `
|
|
3828
|
+
* that did not answer, leaves each table as `tableList()` gave it — its own `platform_owned`.
|
|
3827
3829
|
*/
|
|
3828
3830
|
declare function usePickerTables(): {
|
|
3829
3831
|
loading: boolean;
|
|
@@ -4316,6 +4318,19 @@ interface RecordMoves {
|
|
|
4316
4318
|
before: Record<string, unknown>;
|
|
4317
4319
|
label: string;
|
|
4318
4320
|
}) => Promise<boolean>;
|
|
4321
|
+
/**
|
|
4322
|
+
* Move several records at once (a timeline bar and the records waiting on it, NOTION-PROPS-3): ONE store
|
|
4323
|
+
* call (`custom.record_change_many`, whole or nothing), one undo step, each written against the version
|
|
4324
|
+
* it was drawn at.
|
|
4325
|
+
*/
|
|
4326
|
+
moveMany: (args: {
|
|
4327
|
+
moves: ReadonlyArray<{
|
|
4328
|
+
recordId: Uuid;
|
|
4329
|
+
patch: Record<string, unknown>;
|
|
4330
|
+
before: Record<string, unknown>;
|
|
4331
|
+
}>;
|
|
4332
|
+
label: string;
|
|
4333
|
+
}) => Promise<boolean>;
|
|
4319
4334
|
/** Make one record from a gesture (a click on a day, a drag across hours): ONE write, one undo step. */
|
|
4320
4335
|
create: (args: {
|
|
4321
4336
|
tableId: Uuid;
|
package/dist/index.d.ts
CHANGED
|
@@ -3782,6 +3782,8 @@ declare function SignaturePad({ value, onChange, disabled, id, className, }: {
|
|
|
3782
3782
|
interface PickerTable {
|
|
3783
3783
|
id: string;
|
|
3784
3784
|
name: string;
|
|
3785
|
+
platform_owned?: boolean | null | undefined;
|
|
3786
|
+
/** The Table document's own key for the same fact (`tableList()` spreads the document onto the Table). */
|
|
3785
3787
|
kept_by_the_app?: boolean | null | undefined;
|
|
3786
3788
|
/** `custom.table_facts`: which feature keeps it (`choices` for a value set). */
|
|
3787
3789
|
kept_for?: string | null | undefined;
|
|
@@ -3823,7 +3825,7 @@ declare function tablePickerEntries<T extends PickerTable>(tables: readonly T[],
|
|
|
3823
3825
|
/**
|
|
3824
3826
|
* The organization's tables with the store's placement facts folded on (`kept_for`,
|
|
3825
3827
|
* `used_in_table_id`), for a picker that reads `tableList()`. A store with no facts door, or one
|
|
3826
|
-
* that did not answer, leaves each table as `tableList()` gave it — its own `
|
|
3828
|
+
* that did not answer, leaves each table as `tableList()` gave it — its own `platform_owned`.
|
|
3827
3829
|
*/
|
|
3828
3830
|
declare function usePickerTables(): {
|
|
3829
3831
|
loading: boolean;
|
|
@@ -4316,6 +4318,19 @@ interface RecordMoves {
|
|
|
4316
4318
|
before: Record<string, unknown>;
|
|
4317
4319
|
label: string;
|
|
4318
4320
|
}) => Promise<boolean>;
|
|
4321
|
+
/**
|
|
4322
|
+
* Move several records at once (a timeline bar and the records waiting on it, NOTION-PROPS-3): ONE store
|
|
4323
|
+
* call (`custom.record_change_many`, whole or nothing), one undo step, each written against the version
|
|
4324
|
+
* it was drawn at.
|
|
4325
|
+
*/
|
|
4326
|
+
moveMany: (args: {
|
|
4327
|
+
moves: ReadonlyArray<{
|
|
4328
|
+
recordId: Uuid;
|
|
4329
|
+
patch: Record<string, unknown>;
|
|
4330
|
+
before: Record<string, unknown>;
|
|
4331
|
+
}>;
|
|
4332
|
+
label: string;
|
|
4333
|
+
}) => Promise<boolean>;
|
|
4319
4334
|
/** Make one record from a gesture (a click on a day, a drag across hours): ONE write, one undo step. */
|
|
4320
4335
|
create: (args: {
|
|
4321
4336
|
tableId: Uuid;
|