@stndrds/schema 1.0.0-alpha.216 → 1.0.0-alpha.218

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.
Files changed (53) hide show
  1. package/dist/{attributes-CUROLTVH.d.mts → attributes-C-V9Lr25.d.mts} +20 -2
  2. package/dist/{attributes-BIngT-ky.d.ts → attributes-DZj9iuri.d.ts} +20 -2
  3. package/dist/{helpers-B-Y9kDoP.d.mts → helpers-YQiY20E2.d.mts} +2 -2
  4. package/dist/{helpers-DOn86mSK.d.ts → helpers-qyvuR_QS.d.ts} +2 -2
  5. package/dist/index.d.mts +32 -6
  6. package/dist/index.d.ts +32 -6
  7. package/dist/index.js +114 -82
  8. package/dist/index.mjs +38 -8
  9. package/dist/{types-BlMu1Nch.d.mts → types-BwOWmTvQ.d.mts} +1 -1
  10. package/dist/{types-BKIuJHdj.d.ts → types-DyJSoFa8.d.ts} +1 -1
  11. package/dist/validation/all.d.mts +3 -3
  12. package/dist/validation/all.d.ts +3 -3
  13. package/dist/validation/all.js +14 -14
  14. package/dist/validation/all.mjs +3 -3
  15. package/dist/validation/complex/currency.d.mts +2 -2
  16. package/dist/validation/complex/currency.d.ts +2 -2
  17. package/dist/validation/complex/file.d.mts +2 -2
  18. package/dist/validation/complex/file.d.ts +2 -2
  19. package/dist/validation/complex/location.d.mts +2 -2
  20. package/dist/validation/complex/location.d.ts +2 -2
  21. package/dist/validation/complex/phone.d.mts +2 -2
  22. package/dist/validation/complex/phone.d.ts +2 -2
  23. package/dist/validation/complex/relation.d.mts +2 -2
  24. package/dist/validation/complex/relation.d.ts +2 -2
  25. package/dist/validation/complex/richtext.d.mts +2 -2
  26. package/dist/validation/complex/richtext.d.ts +2 -2
  27. package/dist/validation/complex/select.d.mts +2 -2
  28. package/dist/validation/complex/select.d.ts +2 -2
  29. package/dist/validation/complex/user.d.mts +2 -2
  30. package/dist/validation/complex/user.d.ts +2 -2
  31. package/dist/validation/computed/formula.d.mts +2 -2
  32. package/dist/validation/computed/formula.d.ts +2 -2
  33. package/dist/validation/computed/rollup.d.mts +2 -2
  34. package/dist/validation/computed/rollup.d.ts +2 -2
  35. package/dist/validation/config/index.d.mts +1 -1
  36. package/dist/validation/config/index.d.ts +1 -1
  37. package/dist/validation/core/index.d.mts +3 -3
  38. package/dist/validation/core/index.d.ts +3 -3
  39. package/dist/validation/object/index.d.mts +3 -3
  40. package/dist/validation/object/index.d.ts +3 -3
  41. package/dist/validation/object/index.js +15 -15
  42. package/dist/validation/object/index.mjs +2 -2
  43. package/dist/validation/primitives/checkbox.d.mts +2 -2
  44. package/dist/validation/primitives/checkbox.d.ts +2 -2
  45. package/dist/validation/primitives/date.d.mts +2 -2
  46. package/dist/validation/primitives/date.d.ts +2 -2
  47. package/dist/validation/primitives/number.d.mts +2 -2
  48. package/dist/validation/primitives/number.d.ts +2 -2
  49. package/dist/validation/primitives/text.d.mts +2 -2
  50. package/dist/validation/primitives/text.d.ts +2 -2
  51. package/package.json +2 -2
  52. package/dist/{chunk-5WYDO3ZB.mjs → chunk-6DHNDVBO.mjs} +1 -1
  53. package/dist/{chunk-XTPYL6OM.js → chunk-7LIRDMJ7.js} +1 -1
@@ -200,6 +200,12 @@ interface ObjectDefinition {
200
200
  * Available pipes: UPPER, LOWER, capitalize, trim
201
201
  */
202
202
  labelExpression: string;
203
+ /**
204
+ * Optional template expression used to compute the semantic text sent to
205
+ * Meilisearch for vector generation. When absent, records opt out of semantic
206
+ * embedding generation.
207
+ */
208
+ embeddingExpression?: string;
203
209
  attributes: Attribute[];
204
210
  system?: boolean;
205
211
  /**
@@ -257,6 +263,11 @@ interface ObjectRecord<TValues extends Record<string, unknown> = Record<string,
257
263
  * @example "John Doe" (from "{{ firstName }} {{ lastName }}")
258
264
  */
259
265
  label: string;
266
+ /**
267
+ * Semantic text computed from the object's embeddingExpression and persisted
268
+ * for Meilisearch documentTemplate-based vector generation.
269
+ */
270
+ embeddingText?: string;
260
271
  /**
261
272
  * Completion status of the record.
262
273
  * - `draft`: Missing required values, record is incomplete
@@ -336,7 +347,7 @@ type SystemFieldName = (typeof SYSTEM_FIELD_NAMES)[number];
336
347
  * }
337
348
  * ```
338
349
  */
339
- declare const RESERVED_ATTRIBUTE_NAMES: readonly ["id", "createdAt", "updatedAt", "createdBy", "lastUpdatedBy", "objectId", "label", "completionStatus", "values", "metadata", "deletedAt", "deletedBy", "schemaVersion"];
350
+ declare const RESERVED_ATTRIBUTE_NAMES: readonly ["id", "createdAt", "updatedAt", "createdBy", "lastUpdatedBy", "objectId", "label", "embeddingText", "completionStatus", "values", "metadata", "deletedAt", "deletedBy", "schemaVersion"];
340
351
  /**
341
352
  * Type for reserved attribute names
342
353
  */
@@ -485,6 +496,13 @@ type PropertyAttribute = TextAttribute | NumberAttribute | CheckboxAttribute | D
485
496
  interface PropertySchema {
486
497
  definitions: PropertyAttribute[];
487
498
  }
499
+ /**
500
+ * Normalizes an attribute's `properties` field to a flat list of
501
+ * {@link PropertyAttribute}. Handles both the production {@link PropertySchema}
502
+ * shape (`{ definitions: [...] }`) and the raw-array shape used in test
503
+ * fixtures (`PropertyAttribute[]`).
504
+ */
505
+ declare function resolvePropertyDefinitions(attr: unknown): PropertyAttribute[];
488
506
  /**
489
507
  * Property attribute types that have an `options` array.
490
508
  */
@@ -939,4 +957,4 @@ declare function isAttributeSortable(attr: {
939
957
  type: AttributeType;
940
958
  }): boolean;
941
959
 
942
- export { type ComputedFormulaBinaryNode as $, type Attribute as A, type Option as B, type CurrencyAttribute as C, type DateAttribute as D, type FormulaReturnType as E, type FileAttribute as F, type BilateralConfig as G, type RelationTarget as H, type RollupFunction as I, type UserReferenceType as J, type MigrationDefinition as K, type LocationAttribute as L, type MultiRelationAttribute as M, type NumberAttribute as N, type ObjectDefinition as O, type PhoneAttribute as P, AUTOFILL_ELIGIBLE_TYPES as Q, type RelationAttribute as R, type SingleRelationAttribute as S, type TextAttribute as T, type UserAttribute as U, type AttributeGroup as V, type AutofillEligibleType as W, type BaseAttribute as X, type BuiltInTransform as Y, type ComputedAttributeState as Z, type ComputedFieldKind as _, type RichtextAttribute as a, type ComputedFormulaBinaryOperator as a0, type ComputedFormulaCallNode as a1, type ComputedFormulaLiteralNode as a2, ComputedFormulaParseError as a3, type ComputedFormulaPathNode as a4, type ComputedStateStatus as a5, type CreateDocument as a6, type CreateDocumentLink as a7, type CreateDocumentSlot as a8, DEFAULT_DOCUMENT_SLOT as a9, type SlotStatus as aA, type StatusGroup as aB, type SystemFieldName as aC, type UpdateDocument as aD, type UpdateDocumentSlot as aE, hasOptions as aF, inferInverseCardinality as aG, isAttributeSortable as aH, isBilateralRelation as aI, isUniversalRelation as aJ, parseComputedFormula as aK, type DateFormat as aa, type DateValue as ab, type Document as ac, type DocumentKind as ad, type DocumentLayoutVariant as ae, type DocumentListOptions as af, type DocumentSlot as ag, type DocumentWithSlots as ah, type DocumentWithSubCount as ai, type FolderPreset as aj, MAX_PRESET_DEPTH as ak, type NumberUnit as al, type ObjectAttribute as am, type ObjectRecord as an, type OptionPropertyAttribute as ao, type PresetNode as ap, type PropertyAttribute as aq, type PropertyType as ar, RELATION_TARGET_ANY as as, RESERVED_ATTRIBUTE_NAMES as at, RESERVED_OBJECT_NAMES as au, type RecordDocuments as av, type ReservedAttributeName as aw, type ReservedObjectName as ax, type RichTextAttribute as ay, SYSTEM_FIELD_NAMES as az, type MultiselectAttribute as b, type SelectAttribute as c, type StatusAttribute as d, type FormulaAttribute as e, type RollupAttribute as f, type CheckboxAttribute as g, type CompletionStatus as h, type ComputedValueType as i, type ComputedReturnType as j, type AttributeType as k, type ComputedOptionsSource as l, type ComputedDependency as m, type ComputedPlan as n, type ComputedFormulaAstNode as o, type DocumentLayout as p, type Timestamps as q, type SchemaOperation as r, type LocationGranularity as s, type Location as t, type DocumentAttribute as u, type Phone as v, type Currency as w, type DocumentSlotConfig as x, type PropertySchema as y, type AutofillConfig as z };
960
+ export { type ComputedFormulaBinaryNode as $, type Attribute as A, type Option as B, type CurrencyAttribute as C, type DateAttribute as D, type FormulaReturnType as E, type FileAttribute as F, type BilateralConfig as G, type RelationTarget as H, type RollupFunction as I, type UserReferenceType as J, type MigrationDefinition as K, type LocationAttribute as L, type MultiRelationAttribute as M, type NumberAttribute as N, type ObjectDefinition as O, type PhoneAttribute as P, AUTOFILL_ELIGIBLE_TYPES as Q, type RelationAttribute as R, type SingleRelationAttribute as S, type TextAttribute as T, type UserAttribute as U, type AttributeGroup as V, type AutofillEligibleType as W, type BaseAttribute as X, type BuiltInTransform as Y, type ComputedAttributeState as Z, type ComputedFieldKind as _, type RichtextAttribute as a, type ComputedFormulaBinaryOperator as a0, type ComputedFormulaCallNode as a1, type ComputedFormulaLiteralNode as a2, ComputedFormulaParseError as a3, type ComputedFormulaPathNode as a4, type ComputedStateStatus as a5, type CreateDocument as a6, type CreateDocumentLink as a7, type CreateDocumentSlot as a8, DEFAULT_DOCUMENT_SLOT as a9, type SlotStatus as aA, type StatusGroup as aB, type SystemFieldName as aC, type UpdateDocument as aD, type UpdateDocumentSlot as aE, hasOptions as aF, inferInverseCardinality as aG, isAttributeSortable as aH, isBilateralRelation as aI, isUniversalRelation as aJ, parseComputedFormula as aK, resolvePropertyDefinitions as aL, type DateFormat as aa, type DateValue as ab, type Document as ac, type DocumentKind as ad, type DocumentLayoutVariant as ae, type DocumentListOptions as af, type DocumentSlot as ag, type DocumentWithSlots as ah, type DocumentWithSubCount as ai, type FolderPreset as aj, MAX_PRESET_DEPTH as ak, type NumberUnit as al, type ObjectAttribute as am, type ObjectRecord as an, type OptionPropertyAttribute as ao, type PresetNode as ap, type PropertyAttribute as aq, type PropertyType as ar, RELATION_TARGET_ANY as as, RESERVED_ATTRIBUTE_NAMES as at, RESERVED_OBJECT_NAMES as au, type RecordDocuments as av, type ReservedAttributeName as aw, type ReservedObjectName as ax, type RichTextAttribute as ay, SYSTEM_FIELD_NAMES as az, type MultiselectAttribute as b, type SelectAttribute as c, type StatusAttribute as d, type FormulaAttribute as e, type RollupAttribute as f, type CheckboxAttribute as g, type CompletionStatus as h, type ComputedValueType as i, type ComputedReturnType as j, type AttributeType as k, type ComputedOptionsSource as l, type ComputedDependency as m, type ComputedPlan as n, type ComputedFormulaAstNode as o, type DocumentLayout as p, type Timestamps as q, type SchemaOperation as r, type LocationGranularity as s, type Location as t, type DocumentAttribute as u, type Phone as v, type Currency as w, type DocumentSlotConfig as x, type PropertySchema as y, type AutofillConfig as z };
@@ -200,6 +200,12 @@ interface ObjectDefinition {
200
200
  * Available pipes: UPPER, LOWER, capitalize, trim
201
201
  */
202
202
  labelExpression: string;
203
+ /**
204
+ * Optional template expression used to compute the semantic text sent to
205
+ * Meilisearch for vector generation. When absent, records opt out of semantic
206
+ * embedding generation.
207
+ */
208
+ embeddingExpression?: string;
203
209
  attributes: Attribute[];
204
210
  system?: boolean;
205
211
  /**
@@ -257,6 +263,11 @@ interface ObjectRecord<TValues extends Record<string, unknown> = Record<string,
257
263
  * @example "John Doe" (from "{{ firstName }} {{ lastName }}")
258
264
  */
259
265
  label: string;
266
+ /**
267
+ * Semantic text computed from the object's embeddingExpression and persisted
268
+ * for Meilisearch documentTemplate-based vector generation.
269
+ */
270
+ embeddingText?: string;
260
271
  /**
261
272
  * Completion status of the record.
262
273
  * - `draft`: Missing required values, record is incomplete
@@ -336,7 +347,7 @@ type SystemFieldName = (typeof SYSTEM_FIELD_NAMES)[number];
336
347
  * }
337
348
  * ```
338
349
  */
339
- declare const RESERVED_ATTRIBUTE_NAMES: readonly ["id", "createdAt", "updatedAt", "createdBy", "lastUpdatedBy", "objectId", "label", "completionStatus", "values", "metadata", "deletedAt", "deletedBy", "schemaVersion"];
350
+ declare const RESERVED_ATTRIBUTE_NAMES: readonly ["id", "createdAt", "updatedAt", "createdBy", "lastUpdatedBy", "objectId", "label", "embeddingText", "completionStatus", "values", "metadata", "deletedAt", "deletedBy", "schemaVersion"];
340
351
  /**
341
352
  * Type for reserved attribute names
342
353
  */
@@ -485,6 +496,13 @@ type PropertyAttribute = TextAttribute | NumberAttribute | CheckboxAttribute | D
485
496
  interface PropertySchema {
486
497
  definitions: PropertyAttribute[];
487
498
  }
499
+ /**
500
+ * Normalizes an attribute's `properties` field to a flat list of
501
+ * {@link PropertyAttribute}. Handles both the production {@link PropertySchema}
502
+ * shape (`{ definitions: [...] }`) and the raw-array shape used in test
503
+ * fixtures (`PropertyAttribute[]`).
504
+ */
505
+ declare function resolvePropertyDefinitions(attr: unknown): PropertyAttribute[];
488
506
  /**
489
507
  * Property attribute types that have an `options` array.
490
508
  */
@@ -939,4 +957,4 @@ declare function isAttributeSortable(attr: {
939
957
  type: AttributeType;
940
958
  }): boolean;
941
959
 
942
- export { type ComputedFormulaBinaryNode as $, type Attribute as A, type Option as B, type CurrencyAttribute as C, type DateAttribute as D, type FormulaReturnType as E, type FileAttribute as F, type BilateralConfig as G, type RelationTarget as H, type RollupFunction as I, type UserReferenceType as J, type MigrationDefinition as K, type LocationAttribute as L, type MultiRelationAttribute as M, type NumberAttribute as N, type ObjectDefinition as O, type PhoneAttribute as P, AUTOFILL_ELIGIBLE_TYPES as Q, type RelationAttribute as R, type SingleRelationAttribute as S, type TextAttribute as T, type UserAttribute as U, type AttributeGroup as V, type AutofillEligibleType as W, type BaseAttribute as X, type BuiltInTransform as Y, type ComputedAttributeState as Z, type ComputedFieldKind as _, type RichtextAttribute as a, type ComputedFormulaBinaryOperator as a0, type ComputedFormulaCallNode as a1, type ComputedFormulaLiteralNode as a2, ComputedFormulaParseError as a3, type ComputedFormulaPathNode as a4, type ComputedStateStatus as a5, type CreateDocument as a6, type CreateDocumentLink as a7, type CreateDocumentSlot as a8, DEFAULT_DOCUMENT_SLOT as a9, type SlotStatus as aA, type StatusGroup as aB, type SystemFieldName as aC, type UpdateDocument as aD, type UpdateDocumentSlot as aE, hasOptions as aF, inferInverseCardinality as aG, isAttributeSortable as aH, isBilateralRelation as aI, isUniversalRelation as aJ, parseComputedFormula as aK, type DateFormat as aa, type DateValue as ab, type Document as ac, type DocumentKind as ad, type DocumentLayoutVariant as ae, type DocumentListOptions as af, type DocumentSlot as ag, type DocumentWithSlots as ah, type DocumentWithSubCount as ai, type FolderPreset as aj, MAX_PRESET_DEPTH as ak, type NumberUnit as al, type ObjectAttribute as am, type ObjectRecord as an, type OptionPropertyAttribute as ao, type PresetNode as ap, type PropertyAttribute as aq, type PropertyType as ar, RELATION_TARGET_ANY as as, RESERVED_ATTRIBUTE_NAMES as at, RESERVED_OBJECT_NAMES as au, type RecordDocuments as av, type ReservedAttributeName as aw, type ReservedObjectName as ax, type RichTextAttribute as ay, SYSTEM_FIELD_NAMES as az, type MultiselectAttribute as b, type SelectAttribute as c, type StatusAttribute as d, type FormulaAttribute as e, type RollupAttribute as f, type CheckboxAttribute as g, type CompletionStatus as h, type ComputedValueType as i, type ComputedReturnType as j, type AttributeType as k, type ComputedOptionsSource as l, type ComputedDependency as m, type ComputedPlan as n, type ComputedFormulaAstNode as o, type DocumentLayout as p, type Timestamps as q, type SchemaOperation as r, type LocationGranularity as s, type Location as t, type DocumentAttribute as u, type Phone as v, type Currency as w, type DocumentSlotConfig as x, type PropertySchema as y, type AutofillConfig as z };
960
+ export { type ComputedFormulaBinaryNode as $, type Attribute as A, type Option as B, type CurrencyAttribute as C, type DateAttribute as D, type FormulaReturnType as E, type FileAttribute as F, type BilateralConfig as G, type RelationTarget as H, type RollupFunction as I, type UserReferenceType as J, type MigrationDefinition as K, type LocationAttribute as L, type MultiRelationAttribute as M, type NumberAttribute as N, type ObjectDefinition as O, type PhoneAttribute as P, AUTOFILL_ELIGIBLE_TYPES as Q, type RelationAttribute as R, type SingleRelationAttribute as S, type TextAttribute as T, type UserAttribute as U, type AttributeGroup as V, type AutofillEligibleType as W, type BaseAttribute as X, type BuiltInTransform as Y, type ComputedAttributeState as Z, type ComputedFieldKind as _, type RichtextAttribute as a, type ComputedFormulaBinaryOperator as a0, type ComputedFormulaCallNode as a1, type ComputedFormulaLiteralNode as a2, ComputedFormulaParseError as a3, type ComputedFormulaPathNode as a4, type ComputedStateStatus as a5, type CreateDocument as a6, type CreateDocumentLink as a7, type CreateDocumentSlot as a8, DEFAULT_DOCUMENT_SLOT as a9, type SlotStatus as aA, type StatusGroup as aB, type SystemFieldName as aC, type UpdateDocument as aD, type UpdateDocumentSlot as aE, hasOptions as aF, inferInverseCardinality as aG, isAttributeSortable as aH, isBilateralRelation as aI, isUniversalRelation as aJ, parseComputedFormula as aK, resolvePropertyDefinitions as aL, type DateFormat as aa, type DateValue as ab, type Document as ac, type DocumentKind as ad, type DocumentLayoutVariant as ae, type DocumentListOptions as af, type DocumentSlot as ag, type DocumentWithSlots as ah, type DocumentWithSubCount as ai, type FolderPreset as aj, MAX_PRESET_DEPTH as ak, type NumberUnit as al, type ObjectAttribute as am, type ObjectRecord as an, type OptionPropertyAttribute as ao, type PresetNode as ap, type PropertyAttribute as aq, type PropertyType as ar, RELATION_TARGET_ANY as as, RESERVED_ATTRIBUTE_NAMES as at, RESERVED_OBJECT_NAMES as au, type RecordDocuments as av, type ReservedAttributeName as aw, type ReservedObjectName as ax, type RichTextAttribute as ay, SYSTEM_FIELD_NAMES as az, type MultiselectAttribute as b, type SelectAttribute as c, type StatusAttribute as d, type FormulaAttribute as e, type RollupAttribute as f, type CheckboxAttribute as g, type CompletionStatus as h, type ComputedValueType as i, type ComputedReturnType as j, type AttributeType as k, type ComputedOptionsSource as l, type ComputedDependency as m, type ComputedPlan as n, type ComputedFormulaAstNode as o, type DocumentLayout as p, type Timestamps as q, type SchemaOperation as r, type LocationGranularity as s, type Location as t, type DocumentAttribute as u, type Phone as v, type Currency as w, type DocumentSlotConfig as x, type PropertySchema as y, type AutofillConfig as z };
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { A as Attribute, O as ObjectDefinition, h as CompletionStatus } from './attributes-CUROLTVH.mjs';
3
- import { V as ValidationMessages, a as ValidationResult } from './types-BlMu1Nch.mjs';
2
+ import { A as Attribute, O as ObjectDefinition, h as CompletionStatus } from './attributes-C-V9Lr25.mjs';
3
+ import { V as ValidationMessages, a as ValidationResult } from './types-BwOWmTvQ.mjs';
4
4
 
5
5
  /**
6
6
  * Create a Zod schema for any attribute type.
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { A as Attribute, O as ObjectDefinition, h as CompletionStatus } from './attributes-BIngT-ky.js';
3
- import { V as ValidationMessages, a as ValidationResult } from './types-BKIuJHdj.js';
2
+ import { A as Attribute, O as ObjectDefinition, h as CompletionStatus } from './attributes-DZj9iuri.js';
3
+ import { V as ValidationMessages, a as ValidationResult } from './types-DyJSoFa8.js';
4
4
 
5
5
  /**
6
6
  * Create a Zod schema for any attribute type.
package/dist/index.d.mts CHANGED
@@ -1,15 +1,15 @@
1
- import { i as ComputedValueType, j as ComputedReturnType, k as AttributeType, l as ComputedOptionsSource, m as ComputedDependency, n as ComputedPlan, f as RollupAttribute, o as ComputedFormulaAstNode, A as Attribute, p as DocumentLayout, h as CompletionStatus, q as Timestamps, r as SchemaOperation, s as LocationGranularity, t as Location, e as FormulaAttribute, u as DocumentAttribute, d as StatusAttribute, c as SelectAttribute, b as MultiselectAttribute, v as Phone, w as Currency, D as DateAttribute, U as UserAttribute, x as DocumentSlotConfig, y as PropertySchema, z as AutofillConfig, g as CheckboxAttribute, C as CurrencyAttribute, T as TextAttribute, N as NumberAttribute, P as PhoneAttribute, B as Option, L as LocationAttribute, F as FileAttribute, E as FormulaReturnType, R as RelationAttribute, G as BilateralConfig, S as SingleRelationAttribute, M as MultiRelationAttribute, H as RelationTarget, a as RichtextAttribute, I as RollupFunction, J as UserReferenceType, K as MigrationDefinition, O as ObjectDefinition } from './attributes-CUROLTVH.mjs';
2
- export { Q as AUTOFILL_ELIGIBLE_TYPES, V as AttributeGroup, W as AutofillEligibleType, X as BaseAttribute, Y as BuiltInTransform, Z as ComputedAttributeState, _ as ComputedFieldKind, $ as ComputedFormulaBinaryNode, a0 as ComputedFormulaBinaryOperator, a1 as ComputedFormulaCallNode, a2 as ComputedFormulaLiteralNode, a3 as ComputedFormulaParseError, a4 as ComputedFormulaPathNode, a5 as ComputedStateStatus, a6 as CreateDocument, a7 as CreateDocumentLink, a8 as CreateDocumentSlot, a9 as DEFAULT_DOCUMENT_SLOT, aa as DateFormat, ab as DateValue, ac as Document, ad as DocumentKind, ae as DocumentLayoutVariant, af as DocumentListOptions, ag as DocumentSlot, ah as DocumentWithSlots, ai as DocumentWithSubCount, aj as FolderPreset, ak as MAX_PRESET_DEPTH, al as NumberUnit, am as ObjectAttribute, an as ObjectRecord, ao as OptionPropertyAttribute, ap as PresetNode, aq as PropertyAttribute, ar as PropertyType, as as RELATION_TARGET_ANY, at as RESERVED_ATTRIBUTE_NAMES, au as RESERVED_OBJECT_NAMES, av as RecordDocuments, aw as ReservedAttributeName, ax as ReservedObjectName, ay as RichTextAttribute, az as SYSTEM_FIELD_NAMES, aA as SlotStatus, aB as StatusGroup, aC as SystemFieldName, aD as UpdateDocument, aE as UpdateDocumentSlot, aF as hasOptions, aG as inferInverseCardinality, aH as isAttributeSortable, aI as isBilateralRelation, aJ as isUniversalRelation, aK as parseComputedFormula } from './attributes-CUROLTVH.mjs';
1
+ import { i as ComputedValueType, j as ComputedReturnType, k as AttributeType, l as ComputedOptionsSource, m as ComputedDependency, n as ComputedPlan, f as RollupAttribute, o as ComputedFormulaAstNode, A as Attribute, p as DocumentLayout, h as CompletionStatus, q as Timestamps, r as SchemaOperation, s as LocationGranularity, t as Location, e as FormulaAttribute, u as DocumentAttribute, d as StatusAttribute, c as SelectAttribute, b as MultiselectAttribute, v as Phone, w as Currency, D as DateAttribute, U as UserAttribute, x as DocumentSlotConfig, y as PropertySchema, z as AutofillConfig, g as CheckboxAttribute, C as CurrencyAttribute, T as TextAttribute, N as NumberAttribute, P as PhoneAttribute, B as Option, L as LocationAttribute, F as FileAttribute, E as FormulaReturnType, R as RelationAttribute, G as BilateralConfig, S as SingleRelationAttribute, M as MultiRelationAttribute, H as RelationTarget, a as RichtextAttribute, I as RollupFunction, J as UserReferenceType, K as MigrationDefinition, O as ObjectDefinition } from './attributes-C-V9Lr25.mjs';
2
+ export { Q as AUTOFILL_ELIGIBLE_TYPES, V as AttributeGroup, W as AutofillEligibleType, X as BaseAttribute, Y as BuiltInTransform, Z as ComputedAttributeState, _ as ComputedFieldKind, $ as ComputedFormulaBinaryNode, a0 as ComputedFormulaBinaryOperator, a1 as ComputedFormulaCallNode, a2 as ComputedFormulaLiteralNode, a3 as ComputedFormulaParseError, a4 as ComputedFormulaPathNode, a5 as ComputedStateStatus, a6 as CreateDocument, a7 as CreateDocumentLink, a8 as CreateDocumentSlot, a9 as DEFAULT_DOCUMENT_SLOT, aa as DateFormat, ab as DateValue, ac as Document, ad as DocumentKind, ae as DocumentLayoutVariant, af as DocumentListOptions, ag as DocumentSlot, ah as DocumentWithSlots, ai as DocumentWithSubCount, aj as FolderPreset, ak as MAX_PRESET_DEPTH, al as NumberUnit, am as ObjectAttribute, an as ObjectRecord, ao as OptionPropertyAttribute, ap as PresetNode, aq as PropertyAttribute, ar as PropertyType, as as RELATION_TARGET_ANY, at as RESERVED_ATTRIBUTE_NAMES, au as RESERVED_OBJECT_NAMES, av as RecordDocuments, aw as ReservedAttributeName, ax as ReservedObjectName, ay as RichTextAttribute, az as SYSTEM_FIELD_NAMES, aA as SlotStatus, aB as StatusGroup, aC as SystemFieldName, aD as UpdateDocument, aE as UpdateDocumentSlot, aF as hasOptions, aG as inferInverseCardinality, aH as isAttributeSortable, aI as isBilateralRelation, aJ as isUniversalRelation, aK as parseComputedFormula, aL as resolvePropertyDefinitions } from './attributes-C-V9Lr25.mjs';
3
3
  import { IconName, MimeType, ColorId, CountryIso3, CurrencyCode } from '@stndrds/constants';
4
4
  import { Uuid, TenantId } from './utils.mjs';
5
5
  export { UserId, asTenantId, asUserId, deepEqual, generateId, indexBy } from './utils.mjs';
6
6
  import { StandardSchemaV1 } from '@standard-schema/spec';
7
7
  export { StandardSchemaV1 } from '@standard-schema/spec';
8
8
  import z from 'zod';
9
- export { V as ValidationMessages } from './types-BlMu1Nch.mjs';
9
+ export { V as ValidationMessages } from './types-BwOWmTvQ.mjs';
10
10
  export { DEFAULT_VALIDATION_MESSAGES, formatZodErrors } from './validation/core/index.mjs';
11
11
  export { parseAttributeConfig } from './validation/config/index.mjs';
12
- export { c as computeRecordStatus, a as createFormAttributeValidator, r as rejectUnknownAttributesOrThrow, v as validateDraft, b as validateDraftOrThrow, d as validateObject, e as validateObjectOrThrow } from './helpers-B-Y9kDoP.mjs';
12
+ export { c as computeRecordStatus, a as createFormAttributeValidator, r as rejectUnknownAttributesOrThrow, v as validateDraft, b as validateDraftOrThrow, d as validateObject, e as validateObjectOrThrow } from './helpers-YQiY20E2.mjs';
13
13
 
14
14
  declare const COMPUTED_FUNCTION_NAMES: readonly ["if", "concat", "sum", "avg", "count", "min", "max", "earliest", "latest", "unique", "first", "percent_empty", "percent_not_empty", "count_empty", "count_not_empty", "count_unique"];
15
15
  type ComputedFunctionName = (typeof COMPUTED_FUNCTION_NAMES)[number];
@@ -718,6 +718,7 @@ interface DBObject extends Timestamps {
718
718
  description?: string;
719
719
  icon?: IconName;
720
720
  labelExpression: string;
721
+ embeddingExpression?: string;
721
722
  system: boolean;
722
723
  metadata?: Record<string, unknown>;
723
724
  /** Smart-folder layout convention for documents attached to records of this object. */
@@ -734,6 +735,7 @@ interface CreateDBObject {
734
735
  description?: string;
735
736
  icon?: IconName;
736
737
  labelExpression: string;
738
+ embeddingExpression?: string;
737
739
  system?: boolean;
738
740
  metadata?: Record<string, unknown>;
739
741
  documentLayout?: DocumentLayout;
@@ -744,6 +746,7 @@ interface UpdateDBObject {
744
746
  description?: string;
745
747
  icon?: IconName;
746
748
  labelExpression?: string;
749
+ embeddingExpression?: string;
747
750
  metadata?: Record<string, unknown>;
748
751
  documentLayout?: DocumentLayout;
749
752
  }
@@ -762,6 +765,11 @@ interface DBAttribute extends Timestamps {
762
765
  objectId: Uuid;
763
766
  name: string;
764
767
  label: string;
768
+ /**
769
+ * Computed semantic text from embeddingExpression.
770
+ * Stored for Meilisearch vector generation; empty string opts the record out.
771
+ */
772
+ embeddingText?: string;
765
773
  type: AttributeType;
766
774
  description?: string;
767
775
  icon?: IconName;
@@ -821,6 +829,11 @@ interface CreateObjectRecord {
821
829
  * Stored for performance - avoids recomputation on every read.
822
830
  */
823
831
  label: string;
832
+ /**
833
+ * Computed semantic text from embeddingExpression.
834
+ * Stored for search adapters that generate vectors from persisted text.
835
+ */
836
+ embeddingText?: string;
824
837
  /**
825
838
  * Completion status of the record.
826
839
  * - `draft`: Record is incomplete (missing required values)
@@ -1383,6 +1396,8 @@ interface CreateRoleInput {
1383
1396
  name: string;
1384
1397
  label: string;
1385
1398
  description?: string;
1399
+ /** Framework-owned default roles are system:true (immutable, auto-assignable). Custom roles default false. */
1400
+ system?: boolean;
1386
1401
  }
1387
1402
  /**
1388
1403
  * Input for updating an existing role.
@@ -3023,7 +3038,7 @@ declare class RecordReferencedError extends SchemaError {
3023
3038
  /**
3024
3039
  * Usage context where an attribute is being used.
3025
3040
  */
3026
- type AttributeUsage = "labelExpression" | "view" | "filter";
3041
+ type AttributeUsage = "labelExpression" | "embeddingExpression" | "view" | "filter";
3027
3042
  /**
3028
3043
  * Thrown when attempting to delete an attribute that is in use.
3029
3044
  *
@@ -4085,6 +4100,7 @@ interface CreateCustomObjectInput {
4085
4100
  label: string;
4086
4101
  pluralLabel?: string;
4087
4102
  labelExpression: string;
4103
+ embeddingExpression?: string;
4088
4104
  description?: string;
4089
4105
  icon?: IconName;
4090
4106
  attributes?: (Attribute | {
@@ -4098,6 +4114,7 @@ interface UpdateObjectInput {
4098
4114
  description?: string;
4099
4115
  icon?: IconName;
4100
4116
  labelExpression?: string;
4117
+ embeddingExpression?: string;
4101
4118
  metadata?: Record<string, unknown>;
4102
4119
  }
4103
4120
  interface CreateViewInput {
@@ -5526,6 +5543,7 @@ type AddAttribute<TRecord extends Record<string, unknown>, TName extends string,
5526
5543
  declare class ObjectBuilder<TRecord extends Record<string, unknown> = {}> implements StandardSchemaV1<unknown, Record<string, unknown>> {
5527
5544
  private obj;
5528
5545
  private _labelExpression?;
5546
+ private _embeddingExpression?;
5529
5547
  private _pluralLabel?;
5530
5548
  private _migrations;
5531
5549
  private _sealed;
@@ -5685,6 +5703,13 @@ declare class ObjectBuilder<TRecord extends Record<string, unknown> = {}> implem
5685
5703
  * ```
5686
5704
  */
5687
5705
  labelExpression(template: string): this;
5706
+ /**
5707
+ * Set the optional semantic expression template for Meilisearch embeddings.
5708
+ *
5709
+ * Records of objects without this expression render an empty embedding text
5710
+ * and explicitly opt out of vector generation.
5711
+ */
5712
+ embeddingExpression(template: string): this;
5688
5713
  /**
5689
5714
  * Attach a document layout convention to this object. Defines named variant
5690
5715
  * sub-folders and installable preset structures inside a record's drive.
@@ -7216,6 +7241,7 @@ declare const registry: NativeObjectRegistryClass;
7216
7241
 
7217
7242
  declare const SKILL_OBJECT: ObjectDefinition;
7218
7243
  declare const SKILL_VIEW: DetailViewDefinition;
7244
+ declare const SKILL_LIST_VIEW: ListViewDefinition;
7219
7245
 
7220
7246
  /**
7221
7247
  * Registry for developer-defined view definitions
@@ -7851,4 +7877,4 @@ interface DynamicValueResolver<K extends DynamicValue["dynamic"]> {
7851
7877
  }>, ctx: ResolutionContext): FilterValue | undefined;
7852
7878
  }
7853
7879
 
7854
- export { type AIAvailableModel, type AIBatchQuestion, type AIBatchQuestionAnswer, type AIBatchQuestionOption, type AIChatMessage, type AIChatMessagePart, type AIChatMessagePartType, type AICompactionSummary, type AIGenerationInputMap, type AIGenerationResult, type AIGenerationType, type AIGenerationUsage, type AIMemoryEntry, type AIMemoryType, type AIMessageRole, type AIProviderMetrics, type AIQuestion, type AIQuestionAnswer, type AIQuestionOption, type AIQuestionType, type AITodoItem, type AITodoList, type AITodoStatus, type AIToolCall, type AIToolCallStatus, type AIUsageMetrics, ALLOWED_PROPERTY_TYPES, ALL_ACTIONS, ALL_SYSTEM_RESOURCES, ATTRIBUTE_FILTER_OPERATORS, AccessDeniedError, type AccessLevel, type Action, type ActivityTab, ActivityTabConfig, type Actor, type ActorRoleAssignment, type ActorStatus, type ActorType, type AddAttributeInput, type AdvancedFilterState, type AgentConfig, type AgentDashboard, type AgentDefinition, type AgentEvent, type AgentExecutionConfig, type AgentMessageAttachment, type AgentMessagePart, type AgentRun, type AgentRunStatus, type AgentSchedule, type AgentSession, type AgentSessionMessage, type AgentSessionMode, type AgentSessionPatchLiveEvent, type AgentSessionStatus, type AgentToolCall, type AgentTriggerDefinition, type AgentTriggerType, type AgentUnreadPatchLiveEvent, type ApiKey, type ApiKeyAuthContext, type ApiKeyPermission, type ApiKeyWithSecret, type AssignActorRoleInput, type AssignRoleInput, Attribute, type AttributeAgentCapabilities, type AttributeAuthoringCapabilities, type AttributeCapabilities, type AttributeCardinality, type AttributeDefaultValueCapability, type AttributeExchangeCapabilities, type AttributeGroupField, AttributeInUseError, type AttributeLifecycleCapabilities, AttributeNotFoundError, type AttributePolymorphicCapability, type AttributePresentationCapabilities, type AttributeQueryCapabilities, type AttributeRequiredCapability, type AttributeStorageCapabilities, type AttributeStorageMode, AttributeType, type AttributeUsage, type AuditAction, type AuditActorType, type AuditChange, type AuditListOptions, type AuditLogEntry, type AuditResourceType, type AuditServiceOptions, type AuditSortField, AutofillConfig, type AutofillGenerationInput, type AutofillTargetSpec, BEHAVIOR_PROPERTIES, BilateralConfig, type BoundingBox, type BuilderConfig, COMPUTED_FUNCTIONS, COMPUTED_FUNCTION_METADATA, COMPUTED_FUNCTION_NAMES, ChangeTypeNotSupportedError, type ChannelRevokedLiveEvent, CheckboxAttribute, type CompactionStrategy, type CompileComputedFormulaInput, CompletionStatus, type ComputedCompileAttribute, type ComputedCompileObject, type ComputedCompileSchema, ComputedDependency, type ComputedDependencyGraphNode, ComputedFormulaAstNode, ComputedFormulaCompileError, type ComputedFormulaResult, type ComputedFunctionCategory, type ComputedFunctionMetadata, type ComputedFunctionName, type ComputedFunctionSignature, ComputedOptionsSource, ComputedPlan, ComputedReturnType, ComputedValueType, ConcurrentModificationError, type ConfigOverrides, type ConversationRenamedLiveEvent, type CountMode, type CreateActorInput, type CreateApiKeyInput, type CreateAuditLogInput, type CreateCustomObjectInput, type CreateDBAttribute, type CreateDBForm, type CreateDBFormSubmission, type CreateDBObject, type CreateDBView, type CreateDBViewOverlay, type CreateFile, type CreateMode, type CreateNotificationInput, type CreateNotificationRecipientInput, type CreateObjectRecord, type CreatePermissionInput, type CreateRoleInput, type CreateUserProfile, type CreateViewInput, type CriticConfig, Currency, CurrencyAttribute, type CurrencyFilterValue, type CustomAttributeValue, type CustomTab, CustomTabConfig, type DBAttribute, type DBForm, type DBFormSubmission, type DBObject, type DBView, type DBViewOverlay, DB_COLUMN_FIELDS, DEFAULT_ROLES, DEFAULT_ROLE_DESCRIPTIONS, DEFAULT_ROLE_LABELS, DEFAULT_ROLE_PERMISSIONS, DOCUMENT_SYSTEM_ATTRIBUTES, DateAttribute, type DefaultRoleName, type DeletedMode, DestructiveSyncNotAllowedError, DetailViewBuilder, type DetailViewConfig, type DetailViewDefinition, type DetailViewLayout, DocumentAttribute, DocumentLayout, DocumentSlotConfig, DocumentSlotValidationError, type DocumentsTab, DocumentsTabConfig, type DomainEvent, DuplicateError, type DynamicValue, type DynamicValueResolver, EMPTY_VALUE_PLACEHOLDER, type Eager, type EdgeQuantifier, type EffectivePermissions, type EnvVarEntry, type EnvVarScope, type EventDataMap, type EventType, type ExtendedFilterRule, type ExtractRecord, type ExtractRecordInput, type ExtractRecordInputStrict, type ExtractRecordStrict, type ExtractRecordUpdate, type ExtractRecordUpdateStrict, FORM_FORBIDDEN_ATTRIBUTE_TYPES, type FeatureFlagDefinition, type FeatureFlagsConfig, type FeatureFlagsRepository, type FeatureGate, type Field, type FieldGroup, type FieldHistoryEntry, type File, FileAttribute, type FileListOptions, type FilterCombinator, type FilterGroup, type FilterOperator, type FilterRule, type FilterState, type FilterValue, type FlagLevel, type FlagOverride, FlagRegistry, FlagService, type FlagValueType, ForbiddenError, FormBuilder, type FormDefinition, type FormDensity, type FormFieldRef, type FormFieldsRow, type FormFreeFieldRef, type FormHeadingRow, FormRegistry, type FormRow, FormRowBuilder, type FormSeparatorRow, type FormSlot, type FormSlotFieldRef, type FormStatus, type FormStep, FormStepBuilder, type FormSubmission, type FormSubmissionStatus, type FormSubmittedAgentEvent, type FormTab, type FormTextRow, type FormsTab, FormulaAttribute, type FormulaGenerationAttribute, type FormulaGenerationInput, FormulaReturnType, type GeocodingAdapter, type GeocodingAutocompleteParams, type GeocodingParams, type GeocodingSuggestion, type GlobalSearchGroupedOptions, type GlobalSearchGroupedResult, type GlobalSearchOptions, type GlobalSearchResultItem, type Group, GroupBuilder, IDENTITY_PROPERTIES, type InferAttributeValue, type InferQualifiedProps, type InverseSource, type InviteUserInput, LIVE_EVENT_TYPES, LIVE_STREAM_START_CURSOR, type ListOptions, ListViewBuilder, type ListViewConfig, type ListViewDefinition, type ListViewLayout, type ListViewTab, ListViewTabConfigBuilder, type LiveChannel, type LiveChannelKind, type LiveErrorPayload, type LiveEventEnvelope, type LiveEventPayload, type LiveEventType, type LiveGapPayload, type LiveNotification, type LiveNotificationRecipient, type LiveNotificationRecipientPatch, type LiveReplayCompletePayload, type LiveSubscribePayload, type LiveUnsubscribePayload, Location, LocationAttribute, LocationGranularity, MemoryNotFoundError, type MentionEntityType, type MentionReference, type MentionedContext, type MentionedEntityContext, MigrationDefinition, MigrationTimeoutError, type ModelDefinition, MultiRelationAttribute, MultiselectAttribute, NOTIFICATION_INBOX_STATES, NOTIFICATION_KINDS, NOTIFICATION_PRIORITIES, NOTIFICATION_SENSITIVITIES, NOTIFICATION_TYPES_V1, NOTIFICATION_TYPE_AGENT_QUESTION_REQUESTED, NOTIFICATION_TYPE_AGENT_SESSION_COMPLETED, NOTIFICATION_TYPE_AGENT_SESSION_FAILED, NOTIFICATION_TYPE_AGENT_SESSION_TIMEOUT, NOTIFICATION_TYPE_AGENT_SESSION_WAITING_HUMAN, NOTIFICATION_TYPE_AGENT_TASK_ASSIGNED, NOTIFICATION_WORK_STATES, NO_VALUE_OPERATORS, type NoValueOperator, NoopGeocodingAdapter, NotFoundError, NotImplementedError, type Notification, type NotificationCountPatchLiveEvent, type NotificationCounts, type NotificationCreatedLiveEvent, type NotificationInboxState, type NotificationKind, type NotificationListParams, type NotificationListResult, type NotificationPriority, type NotificationRecipient, type NotificationRecipientPatchLiveEvent, type NotificationSensitivity, type NotificationSubject, type NotificationType, type NotificationV1Type, type NotificationWithRecipient, type NotificationWorkState, NumberAttribute, OPERATORS_BY_TYPE, OPERATOR_SPECS, ObjectBuilder, type ObjectConfig, ObjectDefinition, ObjectNotFoundError, type ObjectPermissions, ObjectReferencedError, type OcrAdapter, type OcrInput, type OcrOptions, type OcrPage, type OcrResult, type OcrTextBlock, type OperatorSpec, Option, OrphanSystemAttributeError, PRESENTATION_PROPERTIES, type PageInfo, type PageOptions, type PageResponse, type ParsedAttribute, type Permission, type PermissionScope, Phone, PhoneAttribute, type PhoneFilterValue, PropertySchema, ProtectedResourceError, ProtectedRoleError, type ProviderName, QUALIFIED_SEPARATOR, type QualifiedDocumentAttributeBuilder, type QualifiedDocumentBrand, type QueryState, type ReasoningPartData, type RecordAgentEvent, type RecordDeletedLiveEvent, type RecordFieldPatch, type RecordMetadata, RecordNotFoundError, type RecordPatchLiveEvent, type RecordReference, RecordReferencedError, type RegexGenerationInput, RelationAttribute, type RelationGroup, RelationGroupBuilder, type RelationOption, type RelationOptionsResponse, type RelationSource, RelationTarget, type RelativeDateValue, RepositoryError, type RepositoryOperation, type ResolutionContext, type ResolvedFlag, type RetryPolicy, type ReverseGeocodingParams, RichtextAttribute, type RichtextTab, RichtextTabConfig, type Role, RoleNotFoundError, RollupAttribute, RollupFunction, SKILL_OBJECT, SKILL_VIEW, STANDARD_SCHEMA_VENDOR, SYSTEM_ATTRIBUTES, SYSTEM_ATTRIBUTE_I18N_KEYS, SYSTEM_RESOURCES, SYSTEM_RESOURCE_LABELS, SchemaError, SchemaErrorCode, SchemaOperation, SearchBackendError, type SearchOptions, SelectAttribute, type SidePanelConfig, type SidebarExtraItem, SingleRelationAttribute, type SlotMode, type SortDirection, type SortRule, type StandardSchemaIssue, type StandardSchemaResult, type StaticFlagDefault, StatusAttribute, StorageError, type StorageOperation, type StorageProvider, type StreamEventCompactionEnd, type StreamEventCompactionFailed, type StreamEventCompactionStart, type StreamEventMessagePersisted, type StreamEventMessageUpdated, type StreamEventUsage, SyncCascadeError, SyncConflictError, SyncError, type SystemAttribute, type SystemAttributeI18nKey, SystemEntityImmutableError, type SystemFields, type SystemPermissions, type SystemResource, type Tab, TabBuilder, type TabType, type TableSource, type TableTab, TableTabConfig, TenantId, type TenantSettings, TextAttribute, type TextPartData, type ThinkingPartData, Timestamps, type ToolPartData, type ToolPartErrorCode, type ToolPartState, type TriggerEventType, USER_STATUSES, type UpdateActorInput, type UpdateDBAttribute, type UpdateDBForm, type UpdateDBFormSubmission, type UpdateDBObject, type UpdateDBView, type UpdateDBViewOverlay, type UpdateFile, type UpdateObjectInput, type UpdateRoleInput, type UpdateUserProfile, type UpdateViewInput, type UpsertDBAttribute, type UpsertDBObject, type UpsertDBView, UserAttribute, type UserProfile, UserReferenceType, type UserRoleAssignment, type UserStatus, Uuid, ValidationError, type ValidationErrorDetail, type ViewConfig, type ViewDefinition, type ViewOverlay, type ViewProjectionStaleLiveEvent, type ViewType, type WithCustomAttributes$1 as WithCustomAttributes, accessLevelToActions, actionsToAccessLevel, applyPipes, assertAcyclicComputedDependencies, assertLiveStreamCursor, booleanFlag, buildPropertySchema, buildQualifiedAttribute, checkbox, compareLiveStreamCursors, compileComputedFormula, compileRollupAttribute, createFlagRegistry, createFlagService, createStandardSchemaProps, currency, currentActor, date, detailView, document, evaluateComputedAst, evaluateComputedFormula, evaluateComputedFormulaWithResult, evaluateFilterState, extractAttributeNames, file, flagRegistry, form, formRegistry, formatAttributeValue, formatComputedResult, formatLocationValue, formula, generateDefaultDetailView, generateDefaultListView, getActiveTab, getAttributeCapabilities, getAttributeFilterOperators, getErrorMessage, getLiveProtocolPayloadChannel, getOperatorPolarity, getRollupFilterOperators, getSystemAttributeI18nKey, getSystemAttributeList, group, inferRollupReturnType, isAttributeFilterable, isAttributeGroupable, isAttributeInUseError, isAttributeKanbanGroupable, isAttributeSearchable, isComputedFunctionName, isDefaultRole, isDetailView, isDocumentAttribute, isDynamicValue, isEmptyObject, isFieldGroup, isFormDefinition, isFormFieldsRow, isFormFreeFieldRef, isFormHeadingRow, isFormSeparatorRow, isFormSlotFieldRef, isFormTextRow, isLabelExpression, isListView, isLiveErrorPayload, isLiveEventEnvelope, isLiveEventPayload, isLiveEventPayloadForType, isLiveEventType, isLiveGapPayload, isLiveReplayCompletePayload, isLiveStreamCursor, isNoValueOperator, isNotEmpty, isNotFoundError, isObjectReferencedError, isPlainRecord, isProtectedResourceError, isRecordReferencedError, isRelationGroup, isSchemaError, isStandardSchema, isValidationError, jsonFlag, listView, liveChannelKey, location, matchesMime, multiselect, normaliseDocumentSlots, normalizeForEdgeRpc, now, number, numberFlag, object, parseLiveChannelKey, parseLiveSubscribePayload, parseLiveUnsubscribePayload, parseQualifiedAttribute, phone, registry, relation, relationGroup, renderLabelExpression, resetViewToDefault, richtext, rollup, rollupToFormulaExpression, select, status, stringFlag, text, toUndefinedIfEmpty, today, user, validateAttributeName, validateQualifiedRule, validateSlotAgainstConfig, viewRegistry };
7880
+ export { type AIAvailableModel, type AIBatchQuestion, type AIBatchQuestionAnswer, type AIBatchQuestionOption, type AIChatMessage, type AIChatMessagePart, type AIChatMessagePartType, type AICompactionSummary, type AIGenerationInputMap, type AIGenerationResult, type AIGenerationType, type AIGenerationUsage, type AIMemoryEntry, type AIMemoryType, type AIMessageRole, type AIProviderMetrics, type AIQuestion, type AIQuestionAnswer, type AIQuestionOption, type AIQuestionType, type AITodoItem, type AITodoList, type AITodoStatus, type AIToolCall, type AIToolCallStatus, type AIUsageMetrics, ALLOWED_PROPERTY_TYPES, ALL_ACTIONS, ALL_SYSTEM_RESOURCES, ATTRIBUTE_FILTER_OPERATORS, AccessDeniedError, type AccessLevel, type Action, type ActivityTab, ActivityTabConfig, type Actor, type ActorRoleAssignment, type ActorStatus, type ActorType, type AddAttributeInput, type AdvancedFilterState, type AgentConfig, type AgentDashboard, type AgentDefinition, type AgentEvent, type AgentExecutionConfig, type AgentMessageAttachment, type AgentMessagePart, type AgentRun, type AgentRunStatus, type AgentSchedule, type AgentSession, type AgentSessionMessage, type AgentSessionMode, type AgentSessionPatchLiveEvent, type AgentSessionStatus, type AgentToolCall, type AgentTriggerDefinition, type AgentTriggerType, type AgentUnreadPatchLiveEvent, type ApiKey, type ApiKeyAuthContext, type ApiKeyPermission, type ApiKeyWithSecret, type AssignActorRoleInput, type AssignRoleInput, Attribute, type AttributeAgentCapabilities, type AttributeAuthoringCapabilities, type AttributeCapabilities, type AttributeCardinality, type AttributeDefaultValueCapability, type AttributeExchangeCapabilities, type AttributeGroupField, AttributeInUseError, type AttributeLifecycleCapabilities, AttributeNotFoundError, type AttributePolymorphicCapability, type AttributePresentationCapabilities, type AttributeQueryCapabilities, type AttributeRequiredCapability, type AttributeStorageCapabilities, type AttributeStorageMode, AttributeType, type AttributeUsage, type AuditAction, type AuditActorType, type AuditChange, type AuditListOptions, type AuditLogEntry, type AuditResourceType, type AuditServiceOptions, type AuditSortField, AutofillConfig, type AutofillGenerationInput, type AutofillTargetSpec, BEHAVIOR_PROPERTIES, BilateralConfig, type BoundingBox, type BuilderConfig, COMPUTED_FUNCTIONS, COMPUTED_FUNCTION_METADATA, COMPUTED_FUNCTION_NAMES, ChangeTypeNotSupportedError, type ChannelRevokedLiveEvent, CheckboxAttribute, type CompactionStrategy, type CompileComputedFormulaInput, CompletionStatus, type ComputedCompileAttribute, type ComputedCompileObject, type ComputedCompileSchema, ComputedDependency, type ComputedDependencyGraphNode, ComputedFormulaAstNode, ComputedFormulaCompileError, type ComputedFormulaResult, type ComputedFunctionCategory, type ComputedFunctionMetadata, type ComputedFunctionName, type ComputedFunctionSignature, ComputedOptionsSource, ComputedPlan, ComputedReturnType, ComputedValueType, ConcurrentModificationError, type ConfigOverrides, type ConversationRenamedLiveEvent, type CountMode, type CreateActorInput, type CreateApiKeyInput, type CreateAuditLogInput, type CreateCustomObjectInput, type CreateDBAttribute, type CreateDBForm, type CreateDBFormSubmission, type CreateDBObject, type CreateDBView, type CreateDBViewOverlay, type CreateFile, type CreateMode, type CreateNotificationInput, type CreateNotificationRecipientInput, type CreateObjectRecord, type CreatePermissionInput, type CreateRoleInput, type CreateUserProfile, type CreateViewInput, type CriticConfig, Currency, CurrencyAttribute, type CurrencyFilterValue, type CustomAttributeValue, type CustomTab, CustomTabConfig, type DBAttribute, type DBForm, type DBFormSubmission, type DBObject, type DBView, type DBViewOverlay, DB_COLUMN_FIELDS, DEFAULT_ROLES, DEFAULT_ROLE_DESCRIPTIONS, DEFAULT_ROLE_LABELS, DEFAULT_ROLE_PERMISSIONS, DOCUMENT_SYSTEM_ATTRIBUTES, DateAttribute, type DefaultRoleName, type DeletedMode, DestructiveSyncNotAllowedError, DetailViewBuilder, type DetailViewConfig, type DetailViewDefinition, type DetailViewLayout, DocumentAttribute, DocumentLayout, DocumentSlotConfig, DocumentSlotValidationError, type DocumentsTab, DocumentsTabConfig, type DomainEvent, DuplicateError, type DynamicValue, type DynamicValueResolver, EMPTY_VALUE_PLACEHOLDER, type Eager, type EdgeQuantifier, type EffectivePermissions, type EnvVarEntry, type EnvVarScope, type EventDataMap, type EventType, type ExtendedFilterRule, type ExtractRecord, type ExtractRecordInput, type ExtractRecordInputStrict, type ExtractRecordStrict, type ExtractRecordUpdate, type ExtractRecordUpdateStrict, FORM_FORBIDDEN_ATTRIBUTE_TYPES, type FeatureFlagDefinition, type FeatureFlagsConfig, type FeatureFlagsRepository, type FeatureGate, type Field, type FieldGroup, type FieldHistoryEntry, type File, FileAttribute, type FileListOptions, type FilterCombinator, type FilterGroup, type FilterOperator, type FilterRule, type FilterState, type FilterValue, type FlagLevel, type FlagOverride, FlagRegistry, FlagService, type FlagValueType, ForbiddenError, FormBuilder, type FormDefinition, type FormDensity, type FormFieldRef, type FormFieldsRow, type FormFreeFieldRef, type FormHeadingRow, FormRegistry, type FormRow, FormRowBuilder, type FormSeparatorRow, type FormSlot, type FormSlotFieldRef, type FormStatus, type FormStep, FormStepBuilder, type FormSubmission, type FormSubmissionStatus, type FormSubmittedAgentEvent, type FormTab, type FormTextRow, type FormsTab, FormulaAttribute, type FormulaGenerationAttribute, type FormulaGenerationInput, FormulaReturnType, type GeocodingAdapter, type GeocodingAutocompleteParams, type GeocodingParams, type GeocodingSuggestion, type GlobalSearchGroupedOptions, type GlobalSearchGroupedResult, type GlobalSearchOptions, type GlobalSearchResultItem, type Group, GroupBuilder, IDENTITY_PROPERTIES, type InferAttributeValue, type InferQualifiedProps, type InverseSource, type InviteUserInput, LIVE_EVENT_TYPES, LIVE_STREAM_START_CURSOR, type ListOptions, ListViewBuilder, type ListViewConfig, type ListViewDefinition, type ListViewLayout, type ListViewTab, ListViewTabConfigBuilder, type LiveChannel, type LiveChannelKind, type LiveErrorPayload, type LiveEventEnvelope, type LiveEventPayload, type LiveEventType, type LiveGapPayload, type LiveNotification, type LiveNotificationRecipient, type LiveNotificationRecipientPatch, type LiveReplayCompletePayload, type LiveSubscribePayload, type LiveUnsubscribePayload, Location, LocationAttribute, LocationGranularity, MemoryNotFoundError, type MentionEntityType, type MentionReference, type MentionedContext, type MentionedEntityContext, MigrationDefinition, MigrationTimeoutError, type ModelDefinition, MultiRelationAttribute, MultiselectAttribute, NOTIFICATION_INBOX_STATES, NOTIFICATION_KINDS, NOTIFICATION_PRIORITIES, NOTIFICATION_SENSITIVITIES, NOTIFICATION_TYPES_V1, NOTIFICATION_TYPE_AGENT_QUESTION_REQUESTED, NOTIFICATION_TYPE_AGENT_SESSION_COMPLETED, NOTIFICATION_TYPE_AGENT_SESSION_FAILED, NOTIFICATION_TYPE_AGENT_SESSION_TIMEOUT, NOTIFICATION_TYPE_AGENT_SESSION_WAITING_HUMAN, NOTIFICATION_TYPE_AGENT_TASK_ASSIGNED, NOTIFICATION_WORK_STATES, NO_VALUE_OPERATORS, type NoValueOperator, NoopGeocodingAdapter, NotFoundError, NotImplementedError, type Notification, type NotificationCountPatchLiveEvent, type NotificationCounts, type NotificationCreatedLiveEvent, type NotificationInboxState, type NotificationKind, type NotificationListParams, type NotificationListResult, type NotificationPriority, type NotificationRecipient, type NotificationRecipientPatchLiveEvent, type NotificationSensitivity, type NotificationSubject, type NotificationType, type NotificationV1Type, type NotificationWithRecipient, type NotificationWorkState, NumberAttribute, OPERATORS_BY_TYPE, OPERATOR_SPECS, ObjectBuilder, type ObjectConfig, ObjectDefinition, ObjectNotFoundError, type ObjectPermissions, ObjectReferencedError, type OcrAdapter, type OcrInput, type OcrOptions, type OcrPage, type OcrResult, type OcrTextBlock, type OperatorSpec, Option, OrphanSystemAttributeError, PRESENTATION_PROPERTIES, type PageInfo, type PageOptions, type PageResponse, type ParsedAttribute, type Permission, type PermissionScope, Phone, PhoneAttribute, type PhoneFilterValue, PropertySchema, ProtectedResourceError, ProtectedRoleError, type ProviderName, QUALIFIED_SEPARATOR, type QualifiedDocumentAttributeBuilder, type QualifiedDocumentBrand, type QueryState, type ReasoningPartData, type RecordAgentEvent, type RecordDeletedLiveEvent, type RecordFieldPatch, type RecordMetadata, RecordNotFoundError, type RecordPatchLiveEvent, type RecordReference, RecordReferencedError, type RegexGenerationInput, RelationAttribute, type RelationGroup, RelationGroupBuilder, type RelationOption, type RelationOptionsResponse, type RelationSource, RelationTarget, type RelativeDateValue, RepositoryError, type RepositoryOperation, type ResolutionContext, type ResolvedFlag, type RetryPolicy, type ReverseGeocodingParams, RichtextAttribute, type RichtextTab, RichtextTabConfig, type Role, RoleNotFoundError, RollupAttribute, RollupFunction, SKILL_LIST_VIEW, SKILL_OBJECT, SKILL_VIEW, STANDARD_SCHEMA_VENDOR, SYSTEM_ATTRIBUTES, SYSTEM_ATTRIBUTE_I18N_KEYS, SYSTEM_RESOURCES, SYSTEM_RESOURCE_LABELS, SchemaError, SchemaErrorCode, SchemaOperation, SearchBackendError, type SearchOptions, SelectAttribute, type SidePanelConfig, type SidebarExtraItem, SingleRelationAttribute, type SlotMode, type SortDirection, type SortRule, type StandardSchemaIssue, type StandardSchemaResult, type StaticFlagDefault, StatusAttribute, StorageError, type StorageOperation, type StorageProvider, type StreamEventCompactionEnd, type StreamEventCompactionFailed, type StreamEventCompactionStart, type StreamEventMessagePersisted, type StreamEventMessageUpdated, type StreamEventUsage, SyncCascadeError, SyncConflictError, SyncError, type SystemAttribute, type SystemAttributeI18nKey, SystemEntityImmutableError, type SystemFields, type SystemPermissions, type SystemResource, type Tab, TabBuilder, type TabType, type TableSource, type TableTab, TableTabConfig, TenantId, type TenantSettings, TextAttribute, type TextPartData, type ThinkingPartData, Timestamps, type ToolPartData, type ToolPartErrorCode, type ToolPartState, type TriggerEventType, USER_STATUSES, type UpdateActorInput, type UpdateDBAttribute, type UpdateDBForm, type UpdateDBFormSubmission, type UpdateDBObject, type UpdateDBView, type UpdateDBViewOverlay, type UpdateFile, type UpdateObjectInput, type UpdateRoleInput, type UpdateUserProfile, type UpdateViewInput, type UpsertDBAttribute, type UpsertDBObject, type UpsertDBView, UserAttribute, type UserProfile, UserReferenceType, type UserRoleAssignment, type UserStatus, Uuid, ValidationError, type ValidationErrorDetail, type ViewConfig, type ViewDefinition, type ViewOverlay, type ViewProjectionStaleLiveEvent, type ViewType, type WithCustomAttributes$1 as WithCustomAttributes, accessLevelToActions, actionsToAccessLevel, applyPipes, assertAcyclicComputedDependencies, assertLiveStreamCursor, booleanFlag, buildPropertySchema, buildQualifiedAttribute, checkbox, compareLiveStreamCursors, compileComputedFormula, compileRollupAttribute, createFlagRegistry, createFlagService, createStandardSchemaProps, currency, currentActor, date, detailView, document, evaluateComputedAst, evaluateComputedFormula, evaluateComputedFormulaWithResult, evaluateFilterState, extractAttributeNames, file, flagRegistry, form, formRegistry, formatAttributeValue, formatComputedResult, formatLocationValue, formula, generateDefaultDetailView, generateDefaultListView, getActiveTab, getAttributeCapabilities, getAttributeFilterOperators, getErrorMessage, getLiveProtocolPayloadChannel, getOperatorPolarity, getRollupFilterOperators, getSystemAttributeI18nKey, getSystemAttributeList, group, inferRollupReturnType, isAttributeFilterable, isAttributeGroupable, isAttributeInUseError, isAttributeKanbanGroupable, isAttributeSearchable, isComputedFunctionName, isDefaultRole, isDetailView, isDocumentAttribute, isDynamicValue, isEmptyObject, isFieldGroup, isFormDefinition, isFormFieldsRow, isFormFreeFieldRef, isFormHeadingRow, isFormSeparatorRow, isFormSlotFieldRef, isFormTextRow, isLabelExpression, isListView, isLiveErrorPayload, isLiveEventEnvelope, isLiveEventPayload, isLiveEventPayloadForType, isLiveEventType, isLiveGapPayload, isLiveReplayCompletePayload, isLiveStreamCursor, isNoValueOperator, isNotEmpty, isNotFoundError, isObjectReferencedError, isPlainRecord, isProtectedResourceError, isRecordReferencedError, isRelationGroup, isSchemaError, isStandardSchema, isValidationError, jsonFlag, listView, liveChannelKey, location, matchesMime, multiselect, normaliseDocumentSlots, normalizeForEdgeRpc, now, number, numberFlag, object, parseLiveChannelKey, parseLiveSubscribePayload, parseLiveUnsubscribePayload, parseQualifiedAttribute, phone, registry, relation, relationGroup, renderLabelExpression, resetViewToDefault, richtext, rollup, rollupToFormulaExpression, select, status, stringFlag, text, toUndefinedIfEmpty, today, user, validateAttributeName, validateQualifiedRule, validateSlotAgainstConfig, viewRegistry };
package/dist/index.d.ts CHANGED
@@ -1,15 +1,15 @@
1
- import { i as ComputedValueType, j as ComputedReturnType, k as AttributeType, l as ComputedOptionsSource, m as ComputedDependency, n as ComputedPlan, f as RollupAttribute, o as ComputedFormulaAstNode, A as Attribute, p as DocumentLayout, h as CompletionStatus, q as Timestamps, r as SchemaOperation, s as LocationGranularity, t as Location, e as FormulaAttribute, u as DocumentAttribute, d as StatusAttribute, c as SelectAttribute, b as MultiselectAttribute, v as Phone, w as Currency, D as DateAttribute, U as UserAttribute, x as DocumentSlotConfig, y as PropertySchema, z as AutofillConfig, g as CheckboxAttribute, C as CurrencyAttribute, T as TextAttribute, N as NumberAttribute, P as PhoneAttribute, B as Option, L as LocationAttribute, F as FileAttribute, E as FormulaReturnType, R as RelationAttribute, G as BilateralConfig, S as SingleRelationAttribute, M as MultiRelationAttribute, H as RelationTarget, a as RichtextAttribute, I as RollupFunction, J as UserReferenceType, K as MigrationDefinition, O as ObjectDefinition } from './attributes-BIngT-ky.js';
2
- export { Q as AUTOFILL_ELIGIBLE_TYPES, V as AttributeGroup, W as AutofillEligibleType, X as BaseAttribute, Y as BuiltInTransform, Z as ComputedAttributeState, _ as ComputedFieldKind, $ as ComputedFormulaBinaryNode, a0 as ComputedFormulaBinaryOperator, a1 as ComputedFormulaCallNode, a2 as ComputedFormulaLiteralNode, a3 as ComputedFormulaParseError, a4 as ComputedFormulaPathNode, a5 as ComputedStateStatus, a6 as CreateDocument, a7 as CreateDocumentLink, a8 as CreateDocumentSlot, a9 as DEFAULT_DOCUMENT_SLOT, aa as DateFormat, ab as DateValue, ac as Document, ad as DocumentKind, ae as DocumentLayoutVariant, af as DocumentListOptions, ag as DocumentSlot, ah as DocumentWithSlots, ai as DocumentWithSubCount, aj as FolderPreset, ak as MAX_PRESET_DEPTH, al as NumberUnit, am as ObjectAttribute, an as ObjectRecord, ao as OptionPropertyAttribute, ap as PresetNode, aq as PropertyAttribute, ar as PropertyType, as as RELATION_TARGET_ANY, at as RESERVED_ATTRIBUTE_NAMES, au as RESERVED_OBJECT_NAMES, av as RecordDocuments, aw as ReservedAttributeName, ax as ReservedObjectName, ay as RichTextAttribute, az as SYSTEM_FIELD_NAMES, aA as SlotStatus, aB as StatusGroup, aC as SystemFieldName, aD as UpdateDocument, aE as UpdateDocumentSlot, aF as hasOptions, aG as inferInverseCardinality, aH as isAttributeSortable, aI as isBilateralRelation, aJ as isUniversalRelation, aK as parseComputedFormula } from './attributes-BIngT-ky.js';
1
+ import { i as ComputedValueType, j as ComputedReturnType, k as AttributeType, l as ComputedOptionsSource, m as ComputedDependency, n as ComputedPlan, f as RollupAttribute, o as ComputedFormulaAstNode, A as Attribute, p as DocumentLayout, h as CompletionStatus, q as Timestamps, r as SchemaOperation, s as LocationGranularity, t as Location, e as FormulaAttribute, u as DocumentAttribute, d as StatusAttribute, c as SelectAttribute, b as MultiselectAttribute, v as Phone, w as Currency, D as DateAttribute, U as UserAttribute, x as DocumentSlotConfig, y as PropertySchema, z as AutofillConfig, g as CheckboxAttribute, C as CurrencyAttribute, T as TextAttribute, N as NumberAttribute, P as PhoneAttribute, B as Option, L as LocationAttribute, F as FileAttribute, E as FormulaReturnType, R as RelationAttribute, G as BilateralConfig, S as SingleRelationAttribute, M as MultiRelationAttribute, H as RelationTarget, a as RichtextAttribute, I as RollupFunction, J as UserReferenceType, K as MigrationDefinition, O as ObjectDefinition } from './attributes-DZj9iuri.js';
2
+ export { Q as AUTOFILL_ELIGIBLE_TYPES, V as AttributeGroup, W as AutofillEligibleType, X as BaseAttribute, Y as BuiltInTransform, Z as ComputedAttributeState, _ as ComputedFieldKind, $ as ComputedFormulaBinaryNode, a0 as ComputedFormulaBinaryOperator, a1 as ComputedFormulaCallNode, a2 as ComputedFormulaLiteralNode, a3 as ComputedFormulaParseError, a4 as ComputedFormulaPathNode, a5 as ComputedStateStatus, a6 as CreateDocument, a7 as CreateDocumentLink, a8 as CreateDocumentSlot, a9 as DEFAULT_DOCUMENT_SLOT, aa as DateFormat, ab as DateValue, ac as Document, ad as DocumentKind, ae as DocumentLayoutVariant, af as DocumentListOptions, ag as DocumentSlot, ah as DocumentWithSlots, ai as DocumentWithSubCount, aj as FolderPreset, ak as MAX_PRESET_DEPTH, al as NumberUnit, am as ObjectAttribute, an as ObjectRecord, ao as OptionPropertyAttribute, ap as PresetNode, aq as PropertyAttribute, ar as PropertyType, as as RELATION_TARGET_ANY, at as RESERVED_ATTRIBUTE_NAMES, au as RESERVED_OBJECT_NAMES, av as RecordDocuments, aw as ReservedAttributeName, ax as ReservedObjectName, ay as RichTextAttribute, az as SYSTEM_FIELD_NAMES, aA as SlotStatus, aB as StatusGroup, aC as SystemFieldName, aD as UpdateDocument, aE as UpdateDocumentSlot, aF as hasOptions, aG as inferInverseCardinality, aH as isAttributeSortable, aI as isBilateralRelation, aJ as isUniversalRelation, aK as parseComputedFormula, aL as resolvePropertyDefinitions } from './attributes-DZj9iuri.js';
3
3
  import { IconName, MimeType, ColorId, CountryIso3, CurrencyCode } from '@stndrds/constants';
4
4
  import { Uuid, TenantId } from './utils.js';
5
5
  export { UserId, asTenantId, asUserId, deepEqual, generateId, indexBy } from './utils.js';
6
6
  import { StandardSchemaV1 } from '@standard-schema/spec';
7
7
  export { StandardSchemaV1 } from '@standard-schema/spec';
8
8
  import z from 'zod';
9
- export { V as ValidationMessages } from './types-BKIuJHdj.js';
9
+ export { V as ValidationMessages } from './types-DyJSoFa8.js';
10
10
  export { DEFAULT_VALIDATION_MESSAGES, formatZodErrors } from './validation/core/index.js';
11
11
  export { parseAttributeConfig } from './validation/config/index.js';
12
- export { c as computeRecordStatus, a as createFormAttributeValidator, r as rejectUnknownAttributesOrThrow, v as validateDraft, b as validateDraftOrThrow, d as validateObject, e as validateObjectOrThrow } from './helpers-DOn86mSK.js';
12
+ export { c as computeRecordStatus, a as createFormAttributeValidator, r as rejectUnknownAttributesOrThrow, v as validateDraft, b as validateDraftOrThrow, d as validateObject, e as validateObjectOrThrow } from './helpers-qyvuR_QS.js';
13
13
 
14
14
  declare const COMPUTED_FUNCTION_NAMES: readonly ["if", "concat", "sum", "avg", "count", "min", "max", "earliest", "latest", "unique", "first", "percent_empty", "percent_not_empty", "count_empty", "count_not_empty", "count_unique"];
15
15
  type ComputedFunctionName = (typeof COMPUTED_FUNCTION_NAMES)[number];
@@ -718,6 +718,7 @@ interface DBObject extends Timestamps {
718
718
  description?: string;
719
719
  icon?: IconName;
720
720
  labelExpression: string;
721
+ embeddingExpression?: string;
721
722
  system: boolean;
722
723
  metadata?: Record<string, unknown>;
723
724
  /** Smart-folder layout convention for documents attached to records of this object. */
@@ -734,6 +735,7 @@ interface CreateDBObject {
734
735
  description?: string;
735
736
  icon?: IconName;
736
737
  labelExpression: string;
738
+ embeddingExpression?: string;
737
739
  system?: boolean;
738
740
  metadata?: Record<string, unknown>;
739
741
  documentLayout?: DocumentLayout;
@@ -744,6 +746,7 @@ interface UpdateDBObject {
744
746
  description?: string;
745
747
  icon?: IconName;
746
748
  labelExpression?: string;
749
+ embeddingExpression?: string;
747
750
  metadata?: Record<string, unknown>;
748
751
  documentLayout?: DocumentLayout;
749
752
  }
@@ -762,6 +765,11 @@ interface DBAttribute extends Timestamps {
762
765
  objectId: Uuid;
763
766
  name: string;
764
767
  label: string;
768
+ /**
769
+ * Computed semantic text from embeddingExpression.
770
+ * Stored for Meilisearch vector generation; empty string opts the record out.
771
+ */
772
+ embeddingText?: string;
765
773
  type: AttributeType;
766
774
  description?: string;
767
775
  icon?: IconName;
@@ -821,6 +829,11 @@ interface CreateObjectRecord {
821
829
  * Stored for performance - avoids recomputation on every read.
822
830
  */
823
831
  label: string;
832
+ /**
833
+ * Computed semantic text from embeddingExpression.
834
+ * Stored for search adapters that generate vectors from persisted text.
835
+ */
836
+ embeddingText?: string;
824
837
  /**
825
838
  * Completion status of the record.
826
839
  * - `draft`: Record is incomplete (missing required values)
@@ -1383,6 +1396,8 @@ interface CreateRoleInput {
1383
1396
  name: string;
1384
1397
  label: string;
1385
1398
  description?: string;
1399
+ /** Framework-owned default roles are system:true (immutable, auto-assignable). Custom roles default false. */
1400
+ system?: boolean;
1386
1401
  }
1387
1402
  /**
1388
1403
  * Input for updating an existing role.
@@ -3023,7 +3038,7 @@ declare class RecordReferencedError extends SchemaError {
3023
3038
  /**
3024
3039
  * Usage context where an attribute is being used.
3025
3040
  */
3026
- type AttributeUsage = "labelExpression" | "view" | "filter";
3041
+ type AttributeUsage = "labelExpression" | "embeddingExpression" | "view" | "filter";
3027
3042
  /**
3028
3043
  * Thrown when attempting to delete an attribute that is in use.
3029
3044
  *
@@ -4085,6 +4100,7 @@ interface CreateCustomObjectInput {
4085
4100
  label: string;
4086
4101
  pluralLabel?: string;
4087
4102
  labelExpression: string;
4103
+ embeddingExpression?: string;
4088
4104
  description?: string;
4089
4105
  icon?: IconName;
4090
4106
  attributes?: (Attribute | {
@@ -4098,6 +4114,7 @@ interface UpdateObjectInput {
4098
4114
  description?: string;
4099
4115
  icon?: IconName;
4100
4116
  labelExpression?: string;
4117
+ embeddingExpression?: string;
4101
4118
  metadata?: Record<string, unknown>;
4102
4119
  }
4103
4120
  interface CreateViewInput {
@@ -5526,6 +5543,7 @@ type AddAttribute<TRecord extends Record<string, unknown>, TName extends string,
5526
5543
  declare class ObjectBuilder<TRecord extends Record<string, unknown> = {}> implements StandardSchemaV1<unknown, Record<string, unknown>> {
5527
5544
  private obj;
5528
5545
  private _labelExpression?;
5546
+ private _embeddingExpression?;
5529
5547
  private _pluralLabel?;
5530
5548
  private _migrations;
5531
5549
  private _sealed;
@@ -5685,6 +5703,13 @@ declare class ObjectBuilder<TRecord extends Record<string, unknown> = {}> implem
5685
5703
  * ```
5686
5704
  */
5687
5705
  labelExpression(template: string): this;
5706
+ /**
5707
+ * Set the optional semantic expression template for Meilisearch embeddings.
5708
+ *
5709
+ * Records of objects without this expression render an empty embedding text
5710
+ * and explicitly opt out of vector generation.
5711
+ */
5712
+ embeddingExpression(template: string): this;
5688
5713
  /**
5689
5714
  * Attach a document layout convention to this object. Defines named variant
5690
5715
  * sub-folders and installable preset structures inside a record's drive.
@@ -7216,6 +7241,7 @@ declare const registry: NativeObjectRegistryClass;
7216
7241
 
7217
7242
  declare const SKILL_OBJECT: ObjectDefinition;
7218
7243
  declare const SKILL_VIEW: DetailViewDefinition;
7244
+ declare const SKILL_LIST_VIEW: ListViewDefinition;
7219
7245
 
7220
7246
  /**
7221
7247
  * Registry for developer-defined view definitions
@@ -7851,4 +7877,4 @@ interface DynamicValueResolver<K extends DynamicValue["dynamic"]> {
7851
7877
  }>, ctx: ResolutionContext): FilterValue | undefined;
7852
7878
  }
7853
7879
 
7854
- export { type AIAvailableModel, type AIBatchQuestion, type AIBatchQuestionAnswer, type AIBatchQuestionOption, type AIChatMessage, type AIChatMessagePart, type AIChatMessagePartType, type AICompactionSummary, type AIGenerationInputMap, type AIGenerationResult, type AIGenerationType, type AIGenerationUsage, type AIMemoryEntry, type AIMemoryType, type AIMessageRole, type AIProviderMetrics, type AIQuestion, type AIQuestionAnswer, type AIQuestionOption, type AIQuestionType, type AITodoItem, type AITodoList, type AITodoStatus, type AIToolCall, type AIToolCallStatus, type AIUsageMetrics, ALLOWED_PROPERTY_TYPES, ALL_ACTIONS, ALL_SYSTEM_RESOURCES, ATTRIBUTE_FILTER_OPERATORS, AccessDeniedError, type AccessLevel, type Action, type ActivityTab, ActivityTabConfig, type Actor, type ActorRoleAssignment, type ActorStatus, type ActorType, type AddAttributeInput, type AdvancedFilterState, type AgentConfig, type AgentDashboard, type AgentDefinition, type AgentEvent, type AgentExecutionConfig, type AgentMessageAttachment, type AgentMessagePart, type AgentRun, type AgentRunStatus, type AgentSchedule, type AgentSession, type AgentSessionMessage, type AgentSessionMode, type AgentSessionPatchLiveEvent, type AgentSessionStatus, type AgentToolCall, type AgentTriggerDefinition, type AgentTriggerType, type AgentUnreadPatchLiveEvent, type ApiKey, type ApiKeyAuthContext, type ApiKeyPermission, type ApiKeyWithSecret, type AssignActorRoleInput, type AssignRoleInput, Attribute, type AttributeAgentCapabilities, type AttributeAuthoringCapabilities, type AttributeCapabilities, type AttributeCardinality, type AttributeDefaultValueCapability, type AttributeExchangeCapabilities, type AttributeGroupField, AttributeInUseError, type AttributeLifecycleCapabilities, AttributeNotFoundError, type AttributePolymorphicCapability, type AttributePresentationCapabilities, type AttributeQueryCapabilities, type AttributeRequiredCapability, type AttributeStorageCapabilities, type AttributeStorageMode, AttributeType, type AttributeUsage, type AuditAction, type AuditActorType, type AuditChange, type AuditListOptions, type AuditLogEntry, type AuditResourceType, type AuditServiceOptions, type AuditSortField, AutofillConfig, type AutofillGenerationInput, type AutofillTargetSpec, BEHAVIOR_PROPERTIES, BilateralConfig, type BoundingBox, type BuilderConfig, COMPUTED_FUNCTIONS, COMPUTED_FUNCTION_METADATA, COMPUTED_FUNCTION_NAMES, ChangeTypeNotSupportedError, type ChannelRevokedLiveEvent, CheckboxAttribute, type CompactionStrategy, type CompileComputedFormulaInput, CompletionStatus, type ComputedCompileAttribute, type ComputedCompileObject, type ComputedCompileSchema, ComputedDependency, type ComputedDependencyGraphNode, ComputedFormulaAstNode, ComputedFormulaCompileError, type ComputedFormulaResult, type ComputedFunctionCategory, type ComputedFunctionMetadata, type ComputedFunctionName, type ComputedFunctionSignature, ComputedOptionsSource, ComputedPlan, ComputedReturnType, ComputedValueType, ConcurrentModificationError, type ConfigOverrides, type ConversationRenamedLiveEvent, type CountMode, type CreateActorInput, type CreateApiKeyInput, type CreateAuditLogInput, type CreateCustomObjectInput, type CreateDBAttribute, type CreateDBForm, type CreateDBFormSubmission, type CreateDBObject, type CreateDBView, type CreateDBViewOverlay, type CreateFile, type CreateMode, type CreateNotificationInput, type CreateNotificationRecipientInput, type CreateObjectRecord, type CreatePermissionInput, type CreateRoleInput, type CreateUserProfile, type CreateViewInput, type CriticConfig, Currency, CurrencyAttribute, type CurrencyFilterValue, type CustomAttributeValue, type CustomTab, CustomTabConfig, type DBAttribute, type DBForm, type DBFormSubmission, type DBObject, type DBView, type DBViewOverlay, DB_COLUMN_FIELDS, DEFAULT_ROLES, DEFAULT_ROLE_DESCRIPTIONS, DEFAULT_ROLE_LABELS, DEFAULT_ROLE_PERMISSIONS, DOCUMENT_SYSTEM_ATTRIBUTES, DateAttribute, type DefaultRoleName, type DeletedMode, DestructiveSyncNotAllowedError, DetailViewBuilder, type DetailViewConfig, type DetailViewDefinition, type DetailViewLayout, DocumentAttribute, DocumentLayout, DocumentSlotConfig, DocumentSlotValidationError, type DocumentsTab, DocumentsTabConfig, type DomainEvent, DuplicateError, type DynamicValue, type DynamicValueResolver, EMPTY_VALUE_PLACEHOLDER, type Eager, type EdgeQuantifier, type EffectivePermissions, type EnvVarEntry, type EnvVarScope, type EventDataMap, type EventType, type ExtendedFilterRule, type ExtractRecord, type ExtractRecordInput, type ExtractRecordInputStrict, type ExtractRecordStrict, type ExtractRecordUpdate, type ExtractRecordUpdateStrict, FORM_FORBIDDEN_ATTRIBUTE_TYPES, type FeatureFlagDefinition, type FeatureFlagsConfig, type FeatureFlagsRepository, type FeatureGate, type Field, type FieldGroup, type FieldHistoryEntry, type File, FileAttribute, type FileListOptions, type FilterCombinator, type FilterGroup, type FilterOperator, type FilterRule, type FilterState, type FilterValue, type FlagLevel, type FlagOverride, FlagRegistry, FlagService, type FlagValueType, ForbiddenError, FormBuilder, type FormDefinition, type FormDensity, type FormFieldRef, type FormFieldsRow, type FormFreeFieldRef, type FormHeadingRow, FormRegistry, type FormRow, FormRowBuilder, type FormSeparatorRow, type FormSlot, type FormSlotFieldRef, type FormStatus, type FormStep, FormStepBuilder, type FormSubmission, type FormSubmissionStatus, type FormSubmittedAgentEvent, type FormTab, type FormTextRow, type FormsTab, FormulaAttribute, type FormulaGenerationAttribute, type FormulaGenerationInput, FormulaReturnType, type GeocodingAdapter, type GeocodingAutocompleteParams, type GeocodingParams, type GeocodingSuggestion, type GlobalSearchGroupedOptions, type GlobalSearchGroupedResult, type GlobalSearchOptions, type GlobalSearchResultItem, type Group, GroupBuilder, IDENTITY_PROPERTIES, type InferAttributeValue, type InferQualifiedProps, type InverseSource, type InviteUserInput, LIVE_EVENT_TYPES, LIVE_STREAM_START_CURSOR, type ListOptions, ListViewBuilder, type ListViewConfig, type ListViewDefinition, type ListViewLayout, type ListViewTab, ListViewTabConfigBuilder, type LiveChannel, type LiveChannelKind, type LiveErrorPayload, type LiveEventEnvelope, type LiveEventPayload, type LiveEventType, type LiveGapPayload, type LiveNotification, type LiveNotificationRecipient, type LiveNotificationRecipientPatch, type LiveReplayCompletePayload, type LiveSubscribePayload, type LiveUnsubscribePayload, Location, LocationAttribute, LocationGranularity, MemoryNotFoundError, type MentionEntityType, type MentionReference, type MentionedContext, type MentionedEntityContext, MigrationDefinition, MigrationTimeoutError, type ModelDefinition, MultiRelationAttribute, MultiselectAttribute, NOTIFICATION_INBOX_STATES, NOTIFICATION_KINDS, NOTIFICATION_PRIORITIES, NOTIFICATION_SENSITIVITIES, NOTIFICATION_TYPES_V1, NOTIFICATION_TYPE_AGENT_QUESTION_REQUESTED, NOTIFICATION_TYPE_AGENT_SESSION_COMPLETED, NOTIFICATION_TYPE_AGENT_SESSION_FAILED, NOTIFICATION_TYPE_AGENT_SESSION_TIMEOUT, NOTIFICATION_TYPE_AGENT_SESSION_WAITING_HUMAN, NOTIFICATION_TYPE_AGENT_TASK_ASSIGNED, NOTIFICATION_WORK_STATES, NO_VALUE_OPERATORS, type NoValueOperator, NoopGeocodingAdapter, NotFoundError, NotImplementedError, type Notification, type NotificationCountPatchLiveEvent, type NotificationCounts, type NotificationCreatedLiveEvent, type NotificationInboxState, type NotificationKind, type NotificationListParams, type NotificationListResult, type NotificationPriority, type NotificationRecipient, type NotificationRecipientPatchLiveEvent, type NotificationSensitivity, type NotificationSubject, type NotificationType, type NotificationV1Type, type NotificationWithRecipient, type NotificationWorkState, NumberAttribute, OPERATORS_BY_TYPE, OPERATOR_SPECS, ObjectBuilder, type ObjectConfig, ObjectDefinition, ObjectNotFoundError, type ObjectPermissions, ObjectReferencedError, type OcrAdapter, type OcrInput, type OcrOptions, type OcrPage, type OcrResult, type OcrTextBlock, type OperatorSpec, Option, OrphanSystemAttributeError, PRESENTATION_PROPERTIES, type PageInfo, type PageOptions, type PageResponse, type ParsedAttribute, type Permission, type PermissionScope, Phone, PhoneAttribute, type PhoneFilterValue, PropertySchema, ProtectedResourceError, ProtectedRoleError, type ProviderName, QUALIFIED_SEPARATOR, type QualifiedDocumentAttributeBuilder, type QualifiedDocumentBrand, type QueryState, type ReasoningPartData, type RecordAgentEvent, type RecordDeletedLiveEvent, type RecordFieldPatch, type RecordMetadata, RecordNotFoundError, type RecordPatchLiveEvent, type RecordReference, RecordReferencedError, type RegexGenerationInput, RelationAttribute, type RelationGroup, RelationGroupBuilder, type RelationOption, type RelationOptionsResponse, type RelationSource, RelationTarget, type RelativeDateValue, RepositoryError, type RepositoryOperation, type ResolutionContext, type ResolvedFlag, type RetryPolicy, type ReverseGeocodingParams, RichtextAttribute, type RichtextTab, RichtextTabConfig, type Role, RoleNotFoundError, RollupAttribute, RollupFunction, SKILL_OBJECT, SKILL_VIEW, STANDARD_SCHEMA_VENDOR, SYSTEM_ATTRIBUTES, SYSTEM_ATTRIBUTE_I18N_KEYS, SYSTEM_RESOURCES, SYSTEM_RESOURCE_LABELS, SchemaError, SchemaErrorCode, SchemaOperation, SearchBackendError, type SearchOptions, SelectAttribute, type SidePanelConfig, type SidebarExtraItem, SingleRelationAttribute, type SlotMode, type SortDirection, type SortRule, type StandardSchemaIssue, type StandardSchemaResult, type StaticFlagDefault, StatusAttribute, StorageError, type StorageOperation, type StorageProvider, type StreamEventCompactionEnd, type StreamEventCompactionFailed, type StreamEventCompactionStart, type StreamEventMessagePersisted, type StreamEventMessageUpdated, type StreamEventUsage, SyncCascadeError, SyncConflictError, SyncError, type SystemAttribute, type SystemAttributeI18nKey, SystemEntityImmutableError, type SystemFields, type SystemPermissions, type SystemResource, type Tab, TabBuilder, type TabType, type TableSource, type TableTab, TableTabConfig, TenantId, type TenantSettings, TextAttribute, type TextPartData, type ThinkingPartData, Timestamps, type ToolPartData, type ToolPartErrorCode, type ToolPartState, type TriggerEventType, USER_STATUSES, type UpdateActorInput, type UpdateDBAttribute, type UpdateDBForm, type UpdateDBFormSubmission, type UpdateDBObject, type UpdateDBView, type UpdateDBViewOverlay, type UpdateFile, type UpdateObjectInput, type UpdateRoleInput, type UpdateUserProfile, type UpdateViewInput, type UpsertDBAttribute, type UpsertDBObject, type UpsertDBView, UserAttribute, type UserProfile, UserReferenceType, type UserRoleAssignment, type UserStatus, Uuid, ValidationError, type ValidationErrorDetail, type ViewConfig, type ViewDefinition, type ViewOverlay, type ViewProjectionStaleLiveEvent, type ViewType, type WithCustomAttributes$1 as WithCustomAttributes, accessLevelToActions, actionsToAccessLevel, applyPipes, assertAcyclicComputedDependencies, assertLiveStreamCursor, booleanFlag, buildPropertySchema, buildQualifiedAttribute, checkbox, compareLiveStreamCursors, compileComputedFormula, compileRollupAttribute, createFlagRegistry, createFlagService, createStandardSchemaProps, currency, currentActor, date, detailView, document, evaluateComputedAst, evaluateComputedFormula, evaluateComputedFormulaWithResult, evaluateFilterState, extractAttributeNames, file, flagRegistry, form, formRegistry, formatAttributeValue, formatComputedResult, formatLocationValue, formula, generateDefaultDetailView, generateDefaultListView, getActiveTab, getAttributeCapabilities, getAttributeFilterOperators, getErrorMessage, getLiveProtocolPayloadChannel, getOperatorPolarity, getRollupFilterOperators, getSystemAttributeI18nKey, getSystemAttributeList, group, inferRollupReturnType, isAttributeFilterable, isAttributeGroupable, isAttributeInUseError, isAttributeKanbanGroupable, isAttributeSearchable, isComputedFunctionName, isDefaultRole, isDetailView, isDocumentAttribute, isDynamicValue, isEmptyObject, isFieldGroup, isFormDefinition, isFormFieldsRow, isFormFreeFieldRef, isFormHeadingRow, isFormSeparatorRow, isFormSlotFieldRef, isFormTextRow, isLabelExpression, isListView, isLiveErrorPayload, isLiveEventEnvelope, isLiveEventPayload, isLiveEventPayloadForType, isLiveEventType, isLiveGapPayload, isLiveReplayCompletePayload, isLiveStreamCursor, isNoValueOperator, isNotEmpty, isNotFoundError, isObjectReferencedError, isPlainRecord, isProtectedResourceError, isRecordReferencedError, isRelationGroup, isSchemaError, isStandardSchema, isValidationError, jsonFlag, listView, liveChannelKey, location, matchesMime, multiselect, normaliseDocumentSlots, normalizeForEdgeRpc, now, number, numberFlag, object, parseLiveChannelKey, parseLiveSubscribePayload, parseLiveUnsubscribePayload, parseQualifiedAttribute, phone, registry, relation, relationGroup, renderLabelExpression, resetViewToDefault, richtext, rollup, rollupToFormulaExpression, select, status, stringFlag, text, toUndefinedIfEmpty, today, user, validateAttributeName, validateQualifiedRule, validateSlotAgainstConfig, viewRegistry };
7880
+ export { type AIAvailableModel, type AIBatchQuestion, type AIBatchQuestionAnswer, type AIBatchQuestionOption, type AIChatMessage, type AIChatMessagePart, type AIChatMessagePartType, type AICompactionSummary, type AIGenerationInputMap, type AIGenerationResult, type AIGenerationType, type AIGenerationUsage, type AIMemoryEntry, type AIMemoryType, type AIMessageRole, type AIProviderMetrics, type AIQuestion, type AIQuestionAnswer, type AIQuestionOption, type AIQuestionType, type AITodoItem, type AITodoList, type AITodoStatus, type AIToolCall, type AIToolCallStatus, type AIUsageMetrics, ALLOWED_PROPERTY_TYPES, ALL_ACTIONS, ALL_SYSTEM_RESOURCES, ATTRIBUTE_FILTER_OPERATORS, AccessDeniedError, type AccessLevel, type Action, type ActivityTab, ActivityTabConfig, type Actor, type ActorRoleAssignment, type ActorStatus, type ActorType, type AddAttributeInput, type AdvancedFilterState, type AgentConfig, type AgentDashboard, type AgentDefinition, type AgentEvent, type AgentExecutionConfig, type AgentMessageAttachment, type AgentMessagePart, type AgentRun, type AgentRunStatus, type AgentSchedule, type AgentSession, type AgentSessionMessage, type AgentSessionMode, type AgentSessionPatchLiveEvent, type AgentSessionStatus, type AgentToolCall, type AgentTriggerDefinition, type AgentTriggerType, type AgentUnreadPatchLiveEvent, type ApiKey, type ApiKeyAuthContext, type ApiKeyPermission, type ApiKeyWithSecret, type AssignActorRoleInput, type AssignRoleInput, Attribute, type AttributeAgentCapabilities, type AttributeAuthoringCapabilities, type AttributeCapabilities, type AttributeCardinality, type AttributeDefaultValueCapability, type AttributeExchangeCapabilities, type AttributeGroupField, AttributeInUseError, type AttributeLifecycleCapabilities, AttributeNotFoundError, type AttributePolymorphicCapability, type AttributePresentationCapabilities, type AttributeQueryCapabilities, type AttributeRequiredCapability, type AttributeStorageCapabilities, type AttributeStorageMode, AttributeType, type AttributeUsage, type AuditAction, type AuditActorType, type AuditChange, type AuditListOptions, type AuditLogEntry, type AuditResourceType, type AuditServiceOptions, type AuditSortField, AutofillConfig, type AutofillGenerationInput, type AutofillTargetSpec, BEHAVIOR_PROPERTIES, BilateralConfig, type BoundingBox, type BuilderConfig, COMPUTED_FUNCTIONS, COMPUTED_FUNCTION_METADATA, COMPUTED_FUNCTION_NAMES, ChangeTypeNotSupportedError, type ChannelRevokedLiveEvent, CheckboxAttribute, type CompactionStrategy, type CompileComputedFormulaInput, CompletionStatus, type ComputedCompileAttribute, type ComputedCompileObject, type ComputedCompileSchema, ComputedDependency, type ComputedDependencyGraphNode, ComputedFormulaAstNode, ComputedFormulaCompileError, type ComputedFormulaResult, type ComputedFunctionCategory, type ComputedFunctionMetadata, type ComputedFunctionName, type ComputedFunctionSignature, ComputedOptionsSource, ComputedPlan, ComputedReturnType, ComputedValueType, ConcurrentModificationError, type ConfigOverrides, type ConversationRenamedLiveEvent, type CountMode, type CreateActorInput, type CreateApiKeyInput, type CreateAuditLogInput, type CreateCustomObjectInput, type CreateDBAttribute, type CreateDBForm, type CreateDBFormSubmission, type CreateDBObject, type CreateDBView, type CreateDBViewOverlay, type CreateFile, type CreateMode, type CreateNotificationInput, type CreateNotificationRecipientInput, type CreateObjectRecord, type CreatePermissionInput, type CreateRoleInput, type CreateUserProfile, type CreateViewInput, type CriticConfig, Currency, CurrencyAttribute, type CurrencyFilterValue, type CustomAttributeValue, type CustomTab, CustomTabConfig, type DBAttribute, type DBForm, type DBFormSubmission, type DBObject, type DBView, type DBViewOverlay, DB_COLUMN_FIELDS, DEFAULT_ROLES, DEFAULT_ROLE_DESCRIPTIONS, DEFAULT_ROLE_LABELS, DEFAULT_ROLE_PERMISSIONS, DOCUMENT_SYSTEM_ATTRIBUTES, DateAttribute, type DefaultRoleName, type DeletedMode, DestructiveSyncNotAllowedError, DetailViewBuilder, type DetailViewConfig, type DetailViewDefinition, type DetailViewLayout, DocumentAttribute, DocumentLayout, DocumentSlotConfig, DocumentSlotValidationError, type DocumentsTab, DocumentsTabConfig, type DomainEvent, DuplicateError, type DynamicValue, type DynamicValueResolver, EMPTY_VALUE_PLACEHOLDER, type Eager, type EdgeQuantifier, type EffectivePermissions, type EnvVarEntry, type EnvVarScope, type EventDataMap, type EventType, type ExtendedFilterRule, type ExtractRecord, type ExtractRecordInput, type ExtractRecordInputStrict, type ExtractRecordStrict, type ExtractRecordUpdate, type ExtractRecordUpdateStrict, FORM_FORBIDDEN_ATTRIBUTE_TYPES, type FeatureFlagDefinition, type FeatureFlagsConfig, type FeatureFlagsRepository, type FeatureGate, type Field, type FieldGroup, type FieldHistoryEntry, type File, FileAttribute, type FileListOptions, type FilterCombinator, type FilterGroup, type FilterOperator, type FilterRule, type FilterState, type FilterValue, type FlagLevel, type FlagOverride, FlagRegistry, FlagService, type FlagValueType, ForbiddenError, FormBuilder, type FormDefinition, type FormDensity, type FormFieldRef, type FormFieldsRow, type FormFreeFieldRef, type FormHeadingRow, FormRegistry, type FormRow, FormRowBuilder, type FormSeparatorRow, type FormSlot, type FormSlotFieldRef, type FormStatus, type FormStep, FormStepBuilder, type FormSubmission, type FormSubmissionStatus, type FormSubmittedAgentEvent, type FormTab, type FormTextRow, type FormsTab, FormulaAttribute, type FormulaGenerationAttribute, type FormulaGenerationInput, FormulaReturnType, type GeocodingAdapter, type GeocodingAutocompleteParams, type GeocodingParams, type GeocodingSuggestion, type GlobalSearchGroupedOptions, type GlobalSearchGroupedResult, type GlobalSearchOptions, type GlobalSearchResultItem, type Group, GroupBuilder, IDENTITY_PROPERTIES, type InferAttributeValue, type InferQualifiedProps, type InverseSource, type InviteUserInput, LIVE_EVENT_TYPES, LIVE_STREAM_START_CURSOR, type ListOptions, ListViewBuilder, type ListViewConfig, type ListViewDefinition, type ListViewLayout, type ListViewTab, ListViewTabConfigBuilder, type LiveChannel, type LiveChannelKind, type LiveErrorPayload, type LiveEventEnvelope, type LiveEventPayload, type LiveEventType, type LiveGapPayload, type LiveNotification, type LiveNotificationRecipient, type LiveNotificationRecipientPatch, type LiveReplayCompletePayload, type LiveSubscribePayload, type LiveUnsubscribePayload, Location, LocationAttribute, LocationGranularity, MemoryNotFoundError, type MentionEntityType, type MentionReference, type MentionedContext, type MentionedEntityContext, MigrationDefinition, MigrationTimeoutError, type ModelDefinition, MultiRelationAttribute, MultiselectAttribute, NOTIFICATION_INBOX_STATES, NOTIFICATION_KINDS, NOTIFICATION_PRIORITIES, NOTIFICATION_SENSITIVITIES, NOTIFICATION_TYPES_V1, NOTIFICATION_TYPE_AGENT_QUESTION_REQUESTED, NOTIFICATION_TYPE_AGENT_SESSION_COMPLETED, NOTIFICATION_TYPE_AGENT_SESSION_FAILED, NOTIFICATION_TYPE_AGENT_SESSION_TIMEOUT, NOTIFICATION_TYPE_AGENT_SESSION_WAITING_HUMAN, NOTIFICATION_TYPE_AGENT_TASK_ASSIGNED, NOTIFICATION_WORK_STATES, NO_VALUE_OPERATORS, type NoValueOperator, NoopGeocodingAdapter, NotFoundError, NotImplementedError, type Notification, type NotificationCountPatchLiveEvent, type NotificationCounts, type NotificationCreatedLiveEvent, type NotificationInboxState, type NotificationKind, type NotificationListParams, type NotificationListResult, type NotificationPriority, type NotificationRecipient, type NotificationRecipientPatchLiveEvent, type NotificationSensitivity, type NotificationSubject, type NotificationType, type NotificationV1Type, type NotificationWithRecipient, type NotificationWorkState, NumberAttribute, OPERATORS_BY_TYPE, OPERATOR_SPECS, ObjectBuilder, type ObjectConfig, ObjectDefinition, ObjectNotFoundError, type ObjectPermissions, ObjectReferencedError, type OcrAdapter, type OcrInput, type OcrOptions, type OcrPage, type OcrResult, type OcrTextBlock, type OperatorSpec, Option, OrphanSystemAttributeError, PRESENTATION_PROPERTIES, type PageInfo, type PageOptions, type PageResponse, type ParsedAttribute, type Permission, type PermissionScope, Phone, PhoneAttribute, type PhoneFilterValue, PropertySchema, ProtectedResourceError, ProtectedRoleError, type ProviderName, QUALIFIED_SEPARATOR, type QualifiedDocumentAttributeBuilder, type QualifiedDocumentBrand, type QueryState, type ReasoningPartData, type RecordAgentEvent, type RecordDeletedLiveEvent, type RecordFieldPatch, type RecordMetadata, RecordNotFoundError, type RecordPatchLiveEvent, type RecordReference, RecordReferencedError, type RegexGenerationInput, RelationAttribute, type RelationGroup, RelationGroupBuilder, type RelationOption, type RelationOptionsResponse, type RelationSource, RelationTarget, type RelativeDateValue, RepositoryError, type RepositoryOperation, type ResolutionContext, type ResolvedFlag, type RetryPolicy, type ReverseGeocodingParams, RichtextAttribute, type RichtextTab, RichtextTabConfig, type Role, RoleNotFoundError, RollupAttribute, RollupFunction, SKILL_LIST_VIEW, SKILL_OBJECT, SKILL_VIEW, STANDARD_SCHEMA_VENDOR, SYSTEM_ATTRIBUTES, SYSTEM_ATTRIBUTE_I18N_KEYS, SYSTEM_RESOURCES, SYSTEM_RESOURCE_LABELS, SchemaError, SchemaErrorCode, SchemaOperation, SearchBackendError, type SearchOptions, SelectAttribute, type SidePanelConfig, type SidebarExtraItem, SingleRelationAttribute, type SlotMode, type SortDirection, type SortRule, type StandardSchemaIssue, type StandardSchemaResult, type StaticFlagDefault, StatusAttribute, StorageError, type StorageOperation, type StorageProvider, type StreamEventCompactionEnd, type StreamEventCompactionFailed, type StreamEventCompactionStart, type StreamEventMessagePersisted, type StreamEventMessageUpdated, type StreamEventUsage, SyncCascadeError, SyncConflictError, SyncError, type SystemAttribute, type SystemAttributeI18nKey, SystemEntityImmutableError, type SystemFields, type SystemPermissions, type SystemResource, type Tab, TabBuilder, type TabType, type TableSource, type TableTab, TableTabConfig, TenantId, type TenantSettings, TextAttribute, type TextPartData, type ThinkingPartData, Timestamps, type ToolPartData, type ToolPartErrorCode, type ToolPartState, type TriggerEventType, USER_STATUSES, type UpdateActorInput, type UpdateDBAttribute, type UpdateDBForm, type UpdateDBFormSubmission, type UpdateDBObject, type UpdateDBView, type UpdateDBViewOverlay, type UpdateFile, type UpdateObjectInput, type UpdateRoleInput, type UpdateUserProfile, type UpdateViewInput, type UpsertDBAttribute, type UpsertDBObject, type UpsertDBView, UserAttribute, type UserProfile, UserReferenceType, type UserRoleAssignment, type UserStatus, Uuid, ValidationError, type ValidationErrorDetail, type ViewConfig, type ViewDefinition, type ViewOverlay, type ViewProjectionStaleLiveEvent, type ViewType, type WithCustomAttributes$1 as WithCustomAttributes, accessLevelToActions, actionsToAccessLevel, applyPipes, assertAcyclicComputedDependencies, assertLiveStreamCursor, booleanFlag, buildPropertySchema, buildQualifiedAttribute, checkbox, compareLiveStreamCursors, compileComputedFormula, compileRollupAttribute, createFlagRegistry, createFlagService, createStandardSchemaProps, currency, currentActor, date, detailView, document, evaluateComputedAst, evaluateComputedFormula, evaluateComputedFormulaWithResult, evaluateFilterState, extractAttributeNames, file, flagRegistry, form, formRegistry, formatAttributeValue, formatComputedResult, formatLocationValue, formula, generateDefaultDetailView, generateDefaultListView, getActiveTab, getAttributeCapabilities, getAttributeFilterOperators, getErrorMessage, getLiveProtocolPayloadChannel, getOperatorPolarity, getRollupFilterOperators, getSystemAttributeI18nKey, getSystemAttributeList, group, inferRollupReturnType, isAttributeFilterable, isAttributeGroupable, isAttributeInUseError, isAttributeKanbanGroupable, isAttributeSearchable, isComputedFunctionName, isDefaultRole, isDetailView, isDocumentAttribute, isDynamicValue, isEmptyObject, isFieldGroup, isFormDefinition, isFormFieldsRow, isFormFreeFieldRef, isFormHeadingRow, isFormSeparatorRow, isFormSlotFieldRef, isFormTextRow, isLabelExpression, isListView, isLiveErrorPayload, isLiveEventEnvelope, isLiveEventPayload, isLiveEventPayloadForType, isLiveEventType, isLiveGapPayload, isLiveReplayCompletePayload, isLiveStreamCursor, isNoValueOperator, isNotEmpty, isNotFoundError, isObjectReferencedError, isPlainRecord, isProtectedResourceError, isRecordReferencedError, isRelationGroup, isSchemaError, isStandardSchema, isValidationError, jsonFlag, listView, liveChannelKey, location, matchesMime, multiselect, normaliseDocumentSlots, normalizeForEdgeRpc, now, number, numberFlag, object, parseLiveChannelKey, parseLiveSubscribePayload, parseLiveUnsubscribePayload, parseQualifiedAttribute, phone, registry, relation, relationGroup, renderLabelExpression, resetViewToDefault, richtext, rollup, rollupToFormulaExpression, select, status, stringFlag, text, toUndefinedIfEmpty, today, user, validateAttributeName, validateQualifiedRule, validateSlotAgainstConfig, viewRegistry };