@ai-matrx/records-ui 0.113.6 → 0.113.8

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/dist/index.d.cts CHANGED
@@ -3783,6 +3783,8 @@ interface PickerTable {
3783
3783
  id: string;
3784
3784
  name: string;
3785
3785
  platform_owned?: boolean | null | undefined;
3786
+ /** The Table document's own key for the same fact (`tableList()` spreads the document onto the Table). */
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;
3788
3790
  /** `custom.data_home_tables`: the store's one word for what it is (`list` for a value set). */
@@ -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
@@ -3783,6 +3783,8 @@ interface PickerTable {
3783
3783
  id: string;
3784
3784
  name: string;
3785
3785
  platform_owned?: boolean | null | undefined;
3786
+ /** The Table document's own key for the same fact (`tableList()` spreads the document onto the Table). */
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;
3788
3790
  /** `custom.data_home_tables`: the store's one word for what it is (`list` for a value set). */
@@ -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;