@ai-matrx/records-ui 0.115.75 → 0.115.76

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
@@ -3504,7 +3504,7 @@ declare const SUBSCRIPTION_CADENCE_LABEL: Record<SubscriptionCadence, string>;
3504
3504
  declare const SUBSCRIPTION_CHANNEL_VALUES: readonly ["in_app", "email", "sms"];
3505
3505
  type SubscriptionChannel = (typeof SUBSCRIPTION_CHANNEL_VALUES)[number];
3506
3506
  declare const SUBSCRIPTION_CHANNEL_LABEL: Record<SubscriptionChannel, string>;
3507
- declare const ROLLUP_AGG_VALUES: readonly ["count", "sum", "avg", "min", "max"];
3507
+ declare const ROLLUP_AGG_VALUES: readonly ["count", "sum", "avg", "min", "max", "countall", "counta", "and", "or", "xor", "arrayjoin", "concatenate", "arrayunique", "arraycompact"];
3508
3508
  type RollupAgg = (typeof ROLLUP_AGG_VALUES)[number];
3509
3509
  declare const ROLLUP_AGG_LABEL: Record<RollupAgg, string>;
3510
3510
  declare const FORMULA_OP_VALUES: readonly ["concat", "add", "sub", "mul", "div"];
@@ -3794,10 +3794,10 @@ declare function announceTableArchived({ notify, client, tableId, name, onRestor
3794
3794
 
3795
3795
  /** What a look may hold, with this package's grid look. */
3796
3796
  type ViewLook = base.ViewLook<GridPresentation>;
3797
- declare const lookDocument: (look: Partial<Pick<base.SavedViewSpec<GridPresentation>, "layout" | "measure" | "presentation" | "where" | "sorts" | "groupField" | "swimlaneField" | "collapsedColumns" | "dateField" | "startField" | "endField" | "imageField">>) => Record<string, unknown>;
3798
- declare const lookFromDocument: (doc: Record<string, unknown> | null | undefined) => Partial<Pick<base.SavedViewSpec<GridPresentation>, "layout" | "measure" | "presentation" | "where" | "sorts" | "groupField" | "swimlaneField" | "collapsedColumns" | "dateField" | "startField" | "endField" | "imageField">>;
3799
- declare const readLooks: (client: Pick<_ai_matrx_records_core.RecordsClient, "viewLookRead">, tableId: _ai_matrx_records.Uuid) => Promise<_ai_matrx_records.RecordsResult<Record<string, Partial<Pick<base.SavedViewSpec<GridPresentation>, "layout" | "measure" | "presentation" | "where" | "sorts" | "groupField" | "swimlaneField" | "collapsedColumns" | "dateField" | "startField" | "endField" | "imageField">>>>>;
3800
- declare const keepLook: (client: Pick<_ai_matrx_records_core.RecordsClient, "viewLookSet">, tableId: _ai_matrx_records.Uuid, viewId: _ai_matrx_records.Uuid, look: Partial<Pick<base.SavedViewSpec<GridPresentation>, "layout" | "measure" | "presentation" | "where" | "sorts" | "groupField" | "swimlaneField" | "collapsedColumns" | "dateField" | "startField" | "endField" | "imageField">> | null) => Promise<_ai_matrx_records.RecordsResult<Record<string, unknown> | null>>;
3797
+ declare const lookDocument: (look: Partial<Pick<base.SavedViewSpec<GridPresentation>, "presentation" | "layout" | "measure" | "where" | "sorts" | "groupField" | "swimlaneField" | "collapsedColumns" | "dateField" | "startField" | "endField" | "imageField">>) => Record<string, unknown>;
3798
+ declare const lookFromDocument: (doc: Record<string, unknown> | null | undefined) => Partial<Pick<base.SavedViewSpec<GridPresentation>, "presentation" | "layout" | "measure" | "where" | "sorts" | "groupField" | "swimlaneField" | "collapsedColumns" | "dateField" | "startField" | "endField" | "imageField">>;
3799
+ declare const readLooks: (client: Pick<_ai_matrx_records_core.RecordsClient, "viewLookRead">, tableId: _ai_matrx_records.Uuid) => Promise<_ai_matrx_records.RecordsResult<Record<string, Partial<Pick<base.SavedViewSpec<GridPresentation>, "presentation" | "layout" | "measure" | "where" | "sorts" | "groupField" | "swimlaneField" | "collapsedColumns" | "dateField" | "startField" | "endField" | "imageField">>>>>;
3800
+ declare const keepLook: (client: Pick<_ai_matrx_records_core.RecordsClient, "viewLookSet">, tableId: _ai_matrx_records.Uuid, viewId: _ai_matrx_records.Uuid, look: Partial<Pick<base.SavedViewSpec<GridPresentation>, "presentation" | "layout" | "measure" | "where" | "sorts" | "groupField" | "swimlaneField" | "collapsedColumns" | "dateField" | "startField" | "endField" | "imageField">> | null) => Promise<_ai_matrx_records.RecordsResult<Record<string, unknown> | null>>;
3801
3801
  /** The words of the look bar. One sentence, then the doors. */
3802
3802
  declare const LOOK_WORDS: {
3803
3803
  /** The reason, for a tooltip or a screen reader — never a line on the page (interface-text). */
@@ -6836,6 +6836,8 @@ interface ViewActionHost {
6836
6836
  togglePersonal?: () => void | Promise<void>;
6837
6837
  /** Move the view to a named section of the list. Left out, no such verb. */
6838
6838
  moveToSection?: () => void | Promise<void>;
6839
+ /** Copy another view's settings onto this one (AT-RECORD, Airtable's "Copy view configuration"). Left out, no such verb. */
6840
+ copySettings?: () => void | Promise<void>;
6839
6841
  }
6840
6842
  /** `whyNot`: the person's reason they may not change this table's views, or null when they may. */
6841
6843
  declare function viewActions(whyNot: string | null, host: ViewActionHost, locked?: boolean, personal?: boolean): ObjectAction[];
package/dist/index.d.ts CHANGED
@@ -3504,7 +3504,7 @@ declare const SUBSCRIPTION_CADENCE_LABEL: Record<SubscriptionCadence, string>;
3504
3504
  declare const SUBSCRIPTION_CHANNEL_VALUES: readonly ["in_app", "email", "sms"];
3505
3505
  type SubscriptionChannel = (typeof SUBSCRIPTION_CHANNEL_VALUES)[number];
3506
3506
  declare const SUBSCRIPTION_CHANNEL_LABEL: Record<SubscriptionChannel, string>;
3507
- declare const ROLLUP_AGG_VALUES: readonly ["count", "sum", "avg", "min", "max"];
3507
+ declare const ROLLUP_AGG_VALUES: readonly ["count", "sum", "avg", "min", "max", "countall", "counta", "and", "or", "xor", "arrayjoin", "concatenate", "arrayunique", "arraycompact"];
3508
3508
  type RollupAgg = (typeof ROLLUP_AGG_VALUES)[number];
3509
3509
  declare const ROLLUP_AGG_LABEL: Record<RollupAgg, string>;
3510
3510
  declare const FORMULA_OP_VALUES: readonly ["concat", "add", "sub", "mul", "div"];
@@ -3794,10 +3794,10 @@ declare function announceTableArchived({ notify, client, tableId, name, onRestor
3794
3794
 
3795
3795
  /** What a look may hold, with this package's grid look. */
3796
3796
  type ViewLook = base.ViewLook<GridPresentation>;
3797
- declare const lookDocument: (look: Partial<Pick<base.SavedViewSpec<GridPresentation>, "layout" | "measure" | "presentation" | "where" | "sorts" | "groupField" | "swimlaneField" | "collapsedColumns" | "dateField" | "startField" | "endField" | "imageField">>) => Record<string, unknown>;
3798
- declare const lookFromDocument: (doc: Record<string, unknown> | null | undefined) => Partial<Pick<base.SavedViewSpec<GridPresentation>, "layout" | "measure" | "presentation" | "where" | "sorts" | "groupField" | "swimlaneField" | "collapsedColumns" | "dateField" | "startField" | "endField" | "imageField">>;
3799
- declare const readLooks: (client: Pick<_ai_matrx_records_core.RecordsClient, "viewLookRead">, tableId: _ai_matrx_records.Uuid) => Promise<_ai_matrx_records.RecordsResult<Record<string, Partial<Pick<base.SavedViewSpec<GridPresentation>, "layout" | "measure" | "presentation" | "where" | "sorts" | "groupField" | "swimlaneField" | "collapsedColumns" | "dateField" | "startField" | "endField" | "imageField">>>>>;
3800
- declare const keepLook: (client: Pick<_ai_matrx_records_core.RecordsClient, "viewLookSet">, tableId: _ai_matrx_records.Uuid, viewId: _ai_matrx_records.Uuid, look: Partial<Pick<base.SavedViewSpec<GridPresentation>, "layout" | "measure" | "presentation" | "where" | "sorts" | "groupField" | "swimlaneField" | "collapsedColumns" | "dateField" | "startField" | "endField" | "imageField">> | null) => Promise<_ai_matrx_records.RecordsResult<Record<string, unknown> | null>>;
3797
+ declare const lookDocument: (look: Partial<Pick<base.SavedViewSpec<GridPresentation>, "presentation" | "layout" | "measure" | "where" | "sorts" | "groupField" | "swimlaneField" | "collapsedColumns" | "dateField" | "startField" | "endField" | "imageField">>) => Record<string, unknown>;
3798
+ declare const lookFromDocument: (doc: Record<string, unknown> | null | undefined) => Partial<Pick<base.SavedViewSpec<GridPresentation>, "presentation" | "layout" | "measure" | "where" | "sorts" | "groupField" | "swimlaneField" | "collapsedColumns" | "dateField" | "startField" | "endField" | "imageField">>;
3799
+ declare const readLooks: (client: Pick<_ai_matrx_records_core.RecordsClient, "viewLookRead">, tableId: _ai_matrx_records.Uuid) => Promise<_ai_matrx_records.RecordsResult<Record<string, Partial<Pick<base.SavedViewSpec<GridPresentation>, "presentation" | "layout" | "measure" | "where" | "sorts" | "groupField" | "swimlaneField" | "collapsedColumns" | "dateField" | "startField" | "endField" | "imageField">>>>>;
3800
+ declare const keepLook: (client: Pick<_ai_matrx_records_core.RecordsClient, "viewLookSet">, tableId: _ai_matrx_records.Uuid, viewId: _ai_matrx_records.Uuid, look: Partial<Pick<base.SavedViewSpec<GridPresentation>, "presentation" | "layout" | "measure" | "where" | "sorts" | "groupField" | "swimlaneField" | "collapsedColumns" | "dateField" | "startField" | "endField" | "imageField">> | null) => Promise<_ai_matrx_records.RecordsResult<Record<string, unknown> | null>>;
3801
3801
  /** The words of the look bar. One sentence, then the doors. */
3802
3802
  declare const LOOK_WORDS: {
3803
3803
  /** The reason, for a tooltip or a screen reader — never a line on the page (interface-text). */
@@ -6836,6 +6836,8 @@ interface ViewActionHost {
6836
6836
  togglePersonal?: () => void | Promise<void>;
6837
6837
  /** Move the view to a named section of the list. Left out, no such verb. */
6838
6838
  moveToSection?: () => void | Promise<void>;
6839
+ /** Copy another view's settings onto this one (AT-RECORD, Airtable's "Copy view configuration"). Left out, no such verb. */
6840
+ copySettings?: () => void | Promise<void>;
6839
6841
  }
6840
6842
  /** `whyNot`: the person's reason they may not change this table's views, or null when they may. */
6841
6843
  declare function viewActions(whyNot: string | null, host: ViewActionHost, locked?: boolean, personal?: boolean): ObjectAction[];