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

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 (47) 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 +34 -2
  8. package/dist/index.mjs +33 -3
  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/complex/currency.d.mts +2 -2
  14. package/dist/validation/complex/currency.d.ts +2 -2
  15. package/dist/validation/complex/file.d.mts +2 -2
  16. package/dist/validation/complex/file.d.ts +2 -2
  17. package/dist/validation/complex/location.d.mts +2 -2
  18. package/dist/validation/complex/location.d.ts +2 -2
  19. package/dist/validation/complex/phone.d.mts +2 -2
  20. package/dist/validation/complex/phone.d.ts +2 -2
  21. package/dist/validation/complex/relation.d.mts +2 -2
  22. package/dist/validation/complex/relation.d.ts +2 -2
  23. package/dist/validation/complex/richtext.d.mts +2 -2
  24. package/dist/validation/complex/richtext.d.ts +2 -2
  25. package/dist/validation/complex/select.d.mts +2 -2
  26. package/dist/validation/complex/select.d.ts +2 -2
  27. package/dist/validation/complex/user.d.mts +2 -2
  28. package/dist/validation/complex/user.d.ts +2 -2
  29. package/dist/validation/computed/formula.d.mts +2 -2
  30. package/dist/validation/computed/formula.d.ts +2 -2
  31. package/dist/validation/computed/rollup.d.mts +2 -2
  32. package/dist/validation/computed/rollup.d.ts +2 -2
  33. package/dist/validation/config/index.d.mts +1 -1
  34. package/dist/validation/config/index.d.ts +1 -1
  35. package/dist/validation/core/index.d.mts +3 -3
  36. package/dist/validation/core/index.d.ts +3 -3
  37. package/dist/validation/object/index.d.mts +3 -3
  38. package/dist/validation/object/index.d.ts +3 -3
  39. package/dist/validation/primitives/checkbox.d.mts +2 -2
  40. package/dist/validation/primitives/checkbox.d.ts +2 -2
  41. package/dist/validation/primitives/date.d.mts +2 -2
  42. package/dist/validation/primitives/date.d.ts +2 -2
  43. package/dist/validation/primitives/number.d.mts +2 -2
  44. package/dist/validation/primitives/number.d.ts +2 -2
  45. package/dist/validation/primitives/text.d.mts +2 -2
  46. package/dist/validation/primitives/text.d.ts +2 -2
  47. package/package.json +2 -2
@@ -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 };
package/dist/index.js CHANGED
@@ -520,6 +520,7 @@ var RESERVED_ATTRIBUTE_NAMES = [
520
520
  // Other ObjectRecord properties
521
521
  "objectId",
522
522
  "label",
523
+ "embeddingText",
523
524
  "completionStatus",
524
525
  "values",
525
526
  "metadata",
@@ -550,6 +551,13 @@ function accessLevelToActions(level) {
550
551
  }
551
552
 
552
553
  // src/types/relation-properties.ts
554
+ function resolvePropertyDefinitions(attr) {
555
+ const raw = attr.properties;
556
+ if (!raw) return [];
557
+ if (Array.isArray(raw)) return raw;
558
+ const schema = raw;
559
+ return Array.isArray(schema.definitions) ? schema.definitions : [];
560
+ }
553
561
  function hasOptions(attr) {
554
562
  return attr.type === "select" || attr.type === "status" || attr.type === "multiselect";
555
563
  }
@@ -2705,6 +2713,16 @@ var ObjectBuilder = class {
2705
2713
  this._labelExpression = template;
2706
2714
  return this;
2707
2715
  }
2716
+ /**
2717
+ * Set the optional semantic expression template for Meilisearch embeddings.
2718
+ *
2719
+ * Records of objects without this expression render an empty embedding text
2720
+ * and explicitly opt out of vector generation.
2721
+ */
2722
+ embeddingExpression(template) {
2723
+ this._embeddingExpression = template;
2724
+ return this;
2725
+ }
2708
2726
  /**
2709
2727
  * Attach a document layout convention to this object. Defines named variant
2710
2728
  * sub-folders and installable preset structures inside a record's drive.
@@ -2774,6 +2792,16 @@ var ObjectBuilder = class {
2774
2792
  chunkXTPYL6OM_js.SchemaErrorCode.VALIDATION_FAILED
2775
2793
  );
2776
2794
  }
2795
+ if (this._embeddingExpression !== void 0) {
2796
+ const embeddingResult = labelExpressionSchema.safeParse(this._embeddingExpression);
2797
+ if (!embeddingResult.success) {
2798
+ const errorMsg = embeddingResult.error.issues[0]?.message ?? "Invalid embeddingExpression";
2799
+ throw new chunkXTPYL6OM_js.SchemaError(
2800
+ `Invalid embeddingExpression for "${this.obj.name}": ${errorMsg}`,
2801
+ chunkXTPYL6OM_js.SchemaErrorCode.VALIDATION_FAILED
2802
+ );
2803
+ }
2804
+ }
2777
2805
  const sortedVersions = [...this._migrations].sort((a, b) => a.version - b.version);
2778
2806
  for (let i = 0; i < sortedVersions.length; i++) {
2779
2807
  const expected = i + 2;
@@ -2788,6 +2816,7 @@ var ObjectBuilder = class {
2788
2816
  ...this.obj,
2789
2817
  pluralLabel: this._pluralLabel,
2790
2818
  labelExpression: this._labelExpression,
2819
+ embeddingExpression: this._embeddingExpression,
2791
2820
  schema_version,
2792
2821
  migrations: sortedVersions,
2793
2822
  sealed: this._sealed,
@@ -4529,8 +4558,9 @@ Available objects: ${this.listNames().join(", ")}`
4529
4558
  var registry = new NativeObjectRegistryClass();
4530
4559
 
4531
4560
  // src/native/skill.object.ts
4532
- var SKILL_OBJECT = object({ name: "skill", label: "Skill" }).sealed().icon("sparkles").order(Number.MAX_SAFE_INTEGER).labelExpression("{{ displayName }}").attribute(text({ name: "name", label: "Name" }).required()).attribute(text({ name: "displayName", label: "Display Name" }).required()).attribute(text({ name: "description", label: "Description" }).multiline().required()).attribute(richtext({ name: "content", label: "Content" })).attribute(document({ name: "attachments", label: "Attachments" })).attribute(checkbox({ name: "alwaysOn", label: "Always on" })).attribute(checkbox({ name: "enabled", label: "Enabled" })).build();
4533
- var SKILL_VIEW = detailView("skill-detail", "Skill").for("skill").default().sidePanel({ attributes: ["name", "displayName", "description", "alwaysOn", "enabled"] }).tab("content", "Content").richtext("content").done().tab("attachments", "Attachments").documents().done().build();
4561
+ var SKILL_OBJECT = object({ name: "skill", label: "Skill" }).sealed().icon("sparkles").order(Number.MAX_SAFE_INTEGER).pluralLabel("Skills").labelExpression("{{ name }}").embeddingExpression("{{ name }}\n{{ description }}\n{{ content }}").attribute(text({ name: "name", label: "Name" }).required()).attribute(text({ name: "description", label: "Description" }).multiline().required()).attribute(richtext({ name: "content", label: "Content" })).build();
4562
+ var SKILL_VIEW = detailView("skill-detail", "Skill").for("skill").default().sidePanel({ attributes: ["name", "description"] }).tab("content", "Content").richtext("content").titleAttribute("name").done().build();
4563
+ var SKILL_LIST_VIEW = listView("skill-list", "Skills").for("skill").default().tab("all", "All").table().columns("name", "description").sort("name", "asc").build();
4534
4564
 
4535
4565
  // src/views/registry.ts
4536
4566
  var ViewRegistry = class {
@@ -7128,6 +7158,7 @@ exports.RESERVED_ATTRIBUTE_NAMES = RESERVED_ATTRIBUTE_NAMES;
7128
7158
  exports.RESERVED_OBJECT_NAMES = RESERVED_OBJECT_NAMES;
7129
7159
  exports.RelationGroupBuilder = RelationGroupBuilder;
7130
7160
  exports.RichtextTabConfig = RichtextTabConfig;
7161
+ exports.SKILL_LIST_VIEW = SKILL_LIST_VIEW;
7131
7162
  exports.SKILL_OBJECT = SKILL_OBJECT;
7132
7163
  exports.SKILL_VIEW = SKILL_VIEW;
7133
7164
  exports.STANDARD_SCHEMA_VENDOR = STANDARD_SCHEMA_VENDOR;
@@ -7245,6 +7276,7 @@ exports.relation = relation;
7245
7276
  exports.relationGroup = relationGroup;
7246
7277
  exports.renderLabelExpression = renderLabelExpression;
7247
7278
  exports.resetViewToDefault = resetViewToDefault;
7279
+ exports.resolvePropertyDefinitions = resolvePropertyDefinitions;
7248
7280
  exports.richtext = richtext;
7249
7281
  exports.rollup = rollup;
7250
7282
  exports.rollupToFormulaExpression = rollupToFormulaExpression;
package/dist/index.mjs CHANGED
@@ -517,6 +517,7 @@ var RESERVED_ATTRIBUTE_NAMES = [
517
517
  // Other ObjectRecord properties
518
518
  "objectId",
519
519
  "label",
520
+ "embeddingText",
520
521
  "completionStatus",
521
522
  "values",
522
523
  "metadata",
@@ -547,6 +548,13 @@ function accessLevelToActions(level) {
547
548
  }
548
549
 
549
550
  // src/types/relation-properties.ts
551
+ function resolvePropertyDefinitions(attr) {
552
+ const raw = attr.properties;
553
+ if (!raw) return [];
554
+ if (Array.isArray(raw)) return raw;
555
+ const schema = raw;
556
+ return Array.isArray(schema.definitions) ? schema.definitions : [];
557
+ }
550
558
  function hasOptions(attr) {
551
559
  return attr.type === "select" || attr.type === "status" || attr.type === "multiselect";
552
560
  }
@@ -2702,6 +2710,16 @@ var ObjectBuilder = class {
2702
2710
  this._labelExpression = template;
2703
2711
  return this;
2704
2712
  }
2713
+ /**
2714
+ * Set the optional semantic expression template for Meilisearch embeddings.
2715
+ *
2716
+ * Records of objects without this expression render an empty embedding text
2717
+ * and explicitly opt out of vector generation.
2718
+ */
2719
+ embeddingExpression(template) {
2720
+ this._embeddingExpression = template;
2721
+ return this;
2722
+ }
2705
2723
  /**
2706
2724
  * Attach a document layout convention to this object. Defines named variant
2707
2725
  * sub-folders and installable preset structures inside a record's drive.
@@ -2771,6 +2789,16 @@ var ObjectBuilder = class {
2771
2789
  SchemaErrorCode.VALIDATION_FAILED
2772
2790
  );
2773
2791
  }
2792
+ if (this._embeddingExpression !== void 0) {
2793
+ const embeddingResult = labelExpressionSchema.safeParse(this._embeddingExpression);
2794
+ if (!embeddingResult.success) {
2795
+ const errorMsg = embeddingResult.error.issues[0]?.message ?? "Invalid embeddingExpression";
2796
+ throw new SchemaError(
2797
+ `Invalid embeddingExpression for "${this.obj.name}": ${errorMsg}`,
2798
+ SchemaErrorCode.VALIDATION_FAILED
2799
+ );
2800
+ }
2801
+ }
2774
2802
  const sortedVersions = [...this._migrations].sort((a, b) => a.version - b.version);
2775
2803
  for (let i = 0; i < sortedVersions.length; i++) {
2776
2804
  const expected = i + 2;
@@ -2785,6 +2813,7 @@ var ObjectBuilder = class {
2785
2813
  ...this.obj,
2786
2814
  pluralLabel: this._pluralLabel,
2787
2815
  labelExpression: this._labelExpression,
2816
+ embeddingExpression: this._embeddingExpression,
2788
2817
  schema_version,
2789
2818
  migrations: sortedVersions,
2790
2819
  sealed: this._sealed,
@@ -4526,8 +4555,9 @@ Available objects: ${this.listNames().join(", ")}`
4526
4555
  var registry = new NativeObjectRegistryClass();
4527
4556
 
4528
4557
  // src/native/skill.object.ts
4529
- var SKILL_OBJECT = object({ name: "skill", label: "Skill" }).sealed().icon("sparkles").order(Number.MAX_SAFE_INTEGER).labelExpression("{{ displayName }}").attribute(text({ name: "name", label: "Name" }).required()).attribute(text({ name: "displayName", label: "Display Name" }).required()).attribute(text({ name: "description", label: "Description" }).multiline().required()).attribute(richtext({ name: "content", label: "Content" })).attribute(document({ name: "attachments", label: "Attachments" })).attribute(checkbox({ name: "alwaysOn", label: "Always on" })).attribute(checkbox({ name: "enabled", label: "Enabled" })).build();
4530
- var SKILL_VIEW = detailView("skill-detail", "Skill").for("skill").default().sidePanel({ attributes: ["name", "displayName", "description", "alwaysOn", "enabled"] }).tab("content", "Content").richtext("content").done().tab("attachments", "Attachments").documents().done().build();
4558
+ var SKILL_OBJECT = object({ name: "skill", label: "Skill" }).sealed().icon("sparkles").order(Number.MAX_SAFE_INTEGER).pluralLabel("Skills").labelExpression("{{ name }}").embeddingExpression("{{ name }}\n{{ description }}\n{{ content }}").attribute(text({ name: "name", label: "Name" }).required()).attribute(text({ name: "description", label: "Description" }).multiline().required()).attribute(richtext({ name: "content", label: "Content" })).build();
4559
+ var SKILL_VIEW = detailView("skill-detail", "Skill").for("skill").default().sidePanel({ attributes: ["name", "description"] }).tab("content", "Content").richtext("content").titleAttribute("name").done().build();
4560
+ var SKILL_LIST_VIEW = listView("skill-list", "Skills").for("skill").default().tab("all", "All").table().columns("name", "description").sort("name", "asc").build();
4531
4561
 
4532
4562
  // src/views/registry.ts
4533
4563
  var ViewRegistry = class {
@@ -6848,4 +6878,4 @@ function validateQualifiedRule(rule, context) {
6848
6878
  assertRelativeDateValue(rule);
6849
6879
  }
6850
6880
 
6851
- export { ALLOWED_PROPERTY_TYPES, ALL_ACTIONS, ALL_SYSTEM_RESOURCES, ATTRIBUTE_FILTER_OPERATORS, AUTOFILL_ELIGIBLE_TYPES, ActivityTabConfig, BEHAVIOR_PROPERTIES, COMPUTED_FUNCTIONS, COMPUTED_FUNCTION_METADATA, COMPUTED_FUNCTION_NAMES, ComputedFormulaCompileError, CustomTabConfig, DB_COLUMN_FIELDS, DEFAULT_DOCUMENT_SLOT, DEFAULT_ROLES, DEFAULT_ROLE_DESCRIPTIONS, DEFAULT_ROLE_LABELS, DEFAULT_ROLE_PERMISSIONS, DOCUMENT_SYSTEM_ATTRIBUTES, DetailViewBuilder, DocumentSlotValidationError, DocumentsTabConfig, EMPTY_VALUE_PLACEHOLDER, FORM_FORBIDDEN_ATTRIBUTE_TYPES, FlagRegistry, FlagService, FormBuilder, FormRegistry, FormRowBuilder, FormStepBuilder, GroupBuilder, IDENTITY_PROPERTIES, LIVE_EVENT_TYPES, LIVE_STREAM_START_CURSOR, ListViewBuilder, ListViewTabConfigBuilder, MAX_PRESET_DEPTH, 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, NoopGeocodingAdapter, OPERATORS_BY_TYPE, OPERATOR_SPECS, ObjectBuilder, PRESENTATION_PROPERTIES, QUALIFIED_SEPARATOR, RELATION_TARGET_ANY, RESERVED_ATTRIBUTE_NAMES, RESERVED_OBJECT_NAMES, RelationGroupBuilder, RichtextTabConfig, SKILL_OBJECT, SKILL_VIEW, STANDARD_SCHEMA_VENDOR, SYSTEM_ATTRIBUTES, SYSTEM_ATTRIBUTE_I18N_KEYS, SYSTEM_FIELD_NAMES, SYSTEM_RESOURCES, SYSTEM_RESOURCE_LABELS, TabBuilder, TableTabConfig, USER_STATUSES, 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, getRollupFilterOperators2 as getRollupFilterOperators, getSystemAttributeI18nKey, getSystemAttributeList, group, hasOptions, inferInverseCardinality, inferRollupReturnType, isAttributeFilterable, isAttributeGroupable, isAttributeKanbanGroupable, isAttributeSearchable, isAttributeSortable2 as isAttributeSortable, isBilateralRelation, 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, isPlainRecord, isRelationGroup, isStandardSchema, isUniversalRelation, 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 };
6881
+ export { ALLOWED_PROPERTY_TYPES, ALL_ACTIONS, ALL_SYSTEM_RESOURCES, ATTRIBUTE_FILTER_OPERATORS, AUTOFILL_ELIGIBLE_TYPES, ActivityTabConfig, BEHAVIOR_PROPERTIES, COMPUTED_FUNCTIONS, COMPUTED_FUNCTION_METADATA, COMPUTED_FUNCTION_NAMES, ComputedFormulaCompileError, CustomTabConfig, DB_COLUMN_FIELDS, DEFAULT_DOCUMENT_SLOT, DEFAULT_ROLES, DEFAULT_ROLE_DESCRIPTIONS, DEFAULT_ROLE_LABELS, DEFAULT_ROLE_PERMISSIONS, DOCUMENT_SYSTEM_ATTRIBUTES, DetailViewBuilder, DocumentSlotValidationError, DocumentsTabConfig, EMPTY_VALUE_PLACEHOLDER, FORM_FORBIDDEN_ATTRIBUTE_TYPES, FlagRegistry, FlagService, FormBuilder, FormRegistry, FormRowBuilder, FormStepBuilder, GroupBuilder, IDENTITY_PROPERTIES, LIVE_EVENT_TYPES, LIVE_STREAM_START_CURSOR, ListViewBuilder, ListViewTabConfigBuilder, MAX_PRESET_DEPTH, 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, NoopGeocodingAdapter, OPERATORS_BY_TYPE, OPERATOR_SPECS, ObjectBuilder, PRESENTATION_PROPERTIES, QUALIFIED_SEPARATOR, RELATION_TARGET_ANY, RESERVED_ATTRIBUTE_NAMES, RESERVED_OBJECT_NAMES, RelationGroupBuilder, RichtextTabConfig, SKILL_LIST_VIEW, SKILL_OBJECT, SKILL_VIEW, STANDARD_SCHEMA_VENDOR, SYSTEM_ATTRIBUTES, SYSTEM_ATTRIBUTE_I18N_KEYS, SYSTEM_FIELD_NAMES, SYSTEM_RESOURCES, SYSTEM_RESOURCE_LABELS, TabBuilder, TableTabConfig, USER_STATUSES, 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, getRollupFilterOperators2 as getRollupFilterOperators, getSystemAttributeI18nKey, getSystemAttributeList, group, hasOptions, inferInverseCardinality, inferRollupReturnType, isAttributeFilterable, isAttributeGroupable, isAttributeKanbanGroupable, isAttributeSearchable, isAttributeSortable2 as isAttributeSortable, isBilateralRelation, 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, isPlainRecord, isRelationGroup, isStandardSchema, isUniversalRelation, jsonFlag, listView, liveChannelKey, location, matchesMime, multiselect, normaliseDocumentSlots, normalizeForEdgeRpc, now, number, numberFlag, object, parseLiveChannelKey, parseLiveSubscribePayload, parseLiveUnsubscribePayload, parseQualifiedAttribute, phone, registry, relation, relationGroup, renderLabelExpression, resetViewToDefault, resolvePropertyDefinitions, richtext, rollup, rollupToFormulaExpression, select, status, stringFlag, text, toUndefinedIfEmpty, today, user, validateAttributeName, validateQualifiedRule, validateSlotAgainstConfig, viewRegistry };
@@ -1,4 +1,4 @@
1
- import { A as Attribute } from './attributes-CUROLTVH.mjs';
1
+ import { A as Attribute } from './attributes-C-V9Lr25.mjs';
2
2
 
3
3
  /**
4
4
  * Validation messages for Zod validators.
@@ -1,4 +1,4 @@
1
- import { A as Attribute } from './attributes-BIngT-ky.js';
1
+ import { A as Attribute } from './attributes-DZj9iuri.js';
2
2
 
3
3
  /**
4
4
  * Validation messages for Zod validators.
@@ -1,8 +1,8 @@
1
- export { V as ValidationMessages } from '../types-BlMu1Nch.mjs';
1
+ export { V as ValidationMessages } from '../types-BwOWmTvQ.mjs';
2
2
  export { DEFAULT_VALIDATION_MESSAGES, formatZodErrors } from './core/index.mjs';
3
3
  export { parseAttributeConfig } from './config/index.mjs';
4
- 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';
5
- import '../attributes-CUROLTVH.mjs';
4
+ 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';
5
+ import '../attributes-C-V9Lr25.mjs';
6
6
  import '@stndrds/constants';
7
7
  import '../utils.mjs';
8
8
  import 'zod';
@@ -1,8 +1,8 @@
1
- export { V as ValidationMessages } from '../types-BKIuJHdj.js';
1
+ export { V as ValidationMessages } from '../types-DyJSoFa8.js';
2
2
  export { DEFAULT_VALIDATION_MESSAGES, formatZodErrors } from './core/index.js';
3
3
  export { parseAttributeConfig } from './config/index.js';
4
- 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';
5
- import '../attributes-BIngT-ky.js';
4
+ 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';
5
+ import '../attributes-DZj9iuri.js';
6
6
  import '@stndrds/constants';
7
7
  import '../utils.js';
8
8
  import 'zod';
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { C as CurrencyAttribute } from '../../attributes-CUROLTVH.mjs';
3
- import { V as ValidationMessages } from '../../types-BlMu1Nch.mjs';
2
+ import { C as CurrencyAttribute } from '../../attributes-C-V9Lr25.mjs';
3
+ import { V as ValidationMessages } from '../../types-BwOWmTvQ.mjs';
4
4
  import '@stndrds/constants';
5
5
  import '../../utils.mjs';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { C as CurrencyAttribute } from '../../attributes-BIngT-ky.js';
3
- import { V as ValidationMessages } from '../../types-BKIuJHdj.js';
2
+ import { C as CurrencyAttribute } from '../../attributes-DZj9iuri.js';
3
+ import { V as ValidationMessages } from '../../types-DyJSoFa8.js';
4
4
  import '@stndrds/constants';
5
5
  import '../../utils.js';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { F as FileAttribute } from '../../attributes-CUROLTVH.mjs';
3
- import { V as ValidationMessages } from '../../types-BlMu1Nch.mjs';
2
+ import { F as FileAttribute } from '../../attributes-C-V9Lr25.mjs';
3
+ import { V as ValidationMessages } from '../../types-BwOWmTvQ.mjs';
4
4
  import '@stndrds/constants';
5
5
  import '../../utils.mjs';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { F as FileAttribute } from '../../attributes-BIngT-ky.js';
3
- import { V as ValidationMessages } from '../../types-BKIuJHdj.js';
2
+ import { F as FileAttribute } from '../../attributes-DZj9iuri.js';
3
+ import { V as ValidationMessages } from '../../types-DyJSoFa8.js';
4
4
  import '@stndrds/constants';
5
5
  import '../../utils.js';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { L as LocationAttribute } from '../../attributes-CUROLTVH.mjs';
3
- import { V as ValidationMessages } from '../../types-BlMu1Nch.mjs';
2
+ import { L as LocationAttribute } from '../../attributes-C-V9Lr25.mjs';
3
+ import { V as ValidationMessages } from '../../types-BwOWmTvQ.mjs';
4
4
  import '@stndrds/constants';
5
5
  import '../../utils.mjs';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { L as LocationAttribute } from '../../attributes-BIngT-ky.js';
3
- import { V as ValidationMessages } from '../../types-BKIuJHdj.js';
2
+ import { L as LocationAttribute } from '../../attributes-DZj9iuri.js';
3
+ import { V as ValidationMessages } from '../../types-DyJSoFa8.js';
4
4
  import '@stndrds/constants';
5
5
  import '../../utils.js';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { P as PhoneAttribute } from '../../attributes-CUROLTVH.mjs';
3
- import { V as ValidationMessages } from '../../types-BlMu1Nch.mjs';
2
+ import { P as PhoneAttribute } from '../../attributes-C-V9Lr25.mjs';
3
+ import { V as ValidationMessages } from '../../types-BwOWmTvQ.mjs';
4
4
  import '@stndrds/constants';
5
5
  import '../../utils.mjs';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { P as PhoneAttribute } from '../../attributes-BIngT-ky.js';
3
- import { V as ValidationMessages } from '../../types-BKIuJHdj.js';
2
+ import { P as PhoneAttribute } from '../../attributes-DZj9iuri.js';
3
+ import { V as ValidationMessages } from '../../types-DyJSoFa8.js';
4
4
  import '@stndrds/constants';
5
5
  import '../../utils.js';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { M as MultiRelationAttribute, R as RelationAttribute, S as SingleRelationAttribute } from '../../attributes-CUROLTVH.mjs';
3
- import { V as ValidationMessages } from '../../types-BlMu1Nch.mjs';
2
+ import { M as MultiRelationAttribute, R as RelationAttribute, S as SingleRelationAttribute } from '../../attributes-C-V9Lr25.mjs';
3
+ import { V as ValidationMessages } from '../../types-BwOWmTvQ.mjs';
4
4
  import '@stndrds/constants';
5
5
  import '../../utils.mjs';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { M as MultiRelationAttribute, R as RelationAttribute, S as SingleRelationAttribute } from '../../attributes-BIngT-ky.js';
3
- import { V as ValidationMessages } from '../../types-BKIuJHdj.js';
2
+ import { M as MultiRelationAttribute, R as RelationAttribute, S as SingleRelationAttribute } from '../../attributes-DZj9iuri.js';
3
+ import { V as ValidationMessages } from '../../types-DyJSoFa8.js';
4
4
  import '@stndrds/constants';
5
5
  import '../../utils.js';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { a as RichtextAttribute } from '../../attributes-CUROLTVH.mjs';
3
- import { V as ValidationMessages } from '../../types-BlMu1Nch.mjs';
2
+ import { a as RichtextAttribute } from '../../attributes-C-V9Lr25.mjs';
3
+ import { V as ValidationMessages } from '../../types-BwOWmTvQ.mjs';
4
4
  import '@stndrds/constants';
5
5
  import '../../utils.mjs';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { a as RichtextAttribute } from '../../attributes-BIngT-ky.js';
3
- import { V as ValidationMessages } from '../../types-BKIuJHdj.js';
2
+ import { a as RichtextAttribute } from '../../attributes-DZj9iuri.js';
3
+ import { V as ValidationMessages } from '../../types-DyJSoFa8.js';
4
4
  import '@stndrds/constants';
5
5
  import '../../utils.js';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { b as MultiselectAttribute, c as SelectAttribute, d as StatusAttribute } from '../../attributes-CUROLTVH.mjs';
3
- import { V as ValidationMessages } from '../../types-BlMu1Nch.mjs';
2
+ import { b as MultiselectAttribute, c as SelectAttribute, d as StatusAttribute } from '../../attributes-C-V9Lr25.mjs';
3
+ import { V as ValidationMessages } from '../../types-BwOWmTvQ.mjs';
4
4
  import '@stndrds/constants';
5
5
  import '../../utils.mjs';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { b as MultiselectAttribute, c as SelectAttribute, d as StatusAttribute } from '../../attributes-BIngT-ky.js';
3
- import { V as ValidationMessages } from '../../types-BKIuJHdj.js';
2
+ import { b as MultiselectAttribute, c as SelectAttribute, d as StatusAttribute } from '../../attributes-DZj9iuri.js';
3
+ import { V as ValidationMessages } from '../../types-DyJSoFa8.js';
4
4
  import '@stndrds/constants';
5
5
  import '../../utils.js';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { U as UserAttribute } from '../../attributes-CUROLTVH.mjs';
3
- import { V as ValidationMessages } from '../../types-BlMu1Nch.mjs';
2
+ import { U as UserAttribute } from '../../attributes-C-V9Lr25.mjs';
3
+ import { V as ValidationMessages } from '../../types-BwOWmTvQ.mjs';
4
4
  import '@stndrds/constants';
5
5
  import '../../utils.mjs';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { U as UserAttribute } from '../../attributes-BIngT-ky.js';
3
- import { V as ValidationMessages } from '../../types-BKIuJHdj.js';
2
+ import { U as UserAttribute } from '../../attributes-DZj9iuri.js';
3
+ import { V as ValidationMessages } from '../../types-DyJSoFa8.js';
4
4
  import '@stndrds/constants';
5
5
  import '../../utils.js';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { e as FormulaAttribute } from '../../attributes-CUROLTVH.mjs';
3
- import { V as ValidationMessages } from '../../types-BlMu1Nch.mjs';
2
+ import { e as FormulaAttribute } from '../../attributes-C-V9Lr25.mjs';
3
+ import { V as ValidationMessages } from '../../types-BwOWmTvQ.mjs';
4
4
  import '@stndrds/constants';
5
5
  import '../../utils.mjs';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { e as FormulaAttribute } from '../../attributes-BIngT-ky.js';
3
- import { V as ValidationMessages } from '../../types-BKIuJHdj.js';
2
+ import { e as FormulaAttribute } from '../../attributes-DZj9iuri.js';
3
+ import { V as ValidationMessages } from '../../types-DyJSoFa8.js';
4
4
  import '@stndrds/constants';
5
5
  import '../../utils.js';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { f as RollupAttribute } from '../../attributes-CUROLTVH.mjs';
3
- import { V as ValidationMessages } from '../../types-BlMu1Nch.mjs';
2
+ import { f as RollupAttribute } from '../../attributes-C-V9Lr25.mjs';
3
+ import { V as ValidationMessages } from '../../types-BwOWmTvQ.mjs';
4
4
  import '@stndrds/constants';
5
5
  import '../../utils.mjs';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { f as RollupAttribute } from '../../attributes-BIngT-ky.js';
3
- import { V as ValidationMessages } from '../../types-BKIuJHdj.js';
2
+ import { f as RollupAttribute } from '../../attributes-DZj9iuri.js';
3
+ import { V as ValidationMessages } from '../../types-DyJSoFa8.js';
4
4
  import '@stndrds/constants';
5
5
  import '../../utils.js';
6
6
 
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- import { k as AttributeType } from '../../attributes-CUROLTVH.mjs';
2
+ import { k as AttributeType } from '../../attributes-C-V9Lr25.mjs';
3
3
  import '@stndrds/constants';
4
4
  import '../../utils.mjs';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- import { k as AttributeType } from '../../attributes-BIngT-ky.js';
2
+ import { k as AttributeType } from '../../attributes-DZj9iuri.js';
3
3
  import '@stndrds/constants';
4
4
  import '../../utils.js';
5
5
 
@@ -1,7 +1,7 @@
1
- import { V as ValidationMessages } from '../../types-BlMu1Nch.mjs';
2
- export { a as ValidationResult } from '../../types-BlMu1Nch.mjs';
1
+ import { V as ValidationMessages } from '../../types-BwOWmTvQ.mjs';
2
+ export { a as ValidationResult } from '../../types-BwOWmTvQ.mjs';
3
3
  import { z } from 'zod';
4
- import '../../attributes-CUROLTVH.mjs';
4
+ import '../../attributes-C-V9Lr25.mjs';
5
5
  import '@stndrds/constants';
6
6
  import '../../utils.mjs';
7
7
 
@@ -1,7 +1,7 @@
1
- import { V as ValidationMessages } from '../../types-BKIuJHdj.js';
2
- export { a as ValidationResult } from '../../types-BKIuJHdj.js';
1
+ import { V as ValidationMessages } from '../../types-DyJSoFa8.js';
2
+ export { a as ValidationResult } from '../../types-DyJSoFa8.js';
3
3
  import { z } from 'zod';
4
- import '../../attributes-BIngT-ky.js';
4
+ import '../../attributes-DZj9iuri.js';
5
5
  import '@stndrds/constants';
6
6
  import '../../utils.js';
7
7
 
@@ -1,7 +1,7 @@
1
- export { c as computeRecordStatus, f as createAttributeValidator, a as createFormAttributeValidator, g as getMissingRequiredAttributes, i as isRecordComplete, r as rejectUnknownAttributesOrThrow, h as validateAttribute, v as validateDraft, b as validateDraftOrThrow, d as validateObject, e as validateObjectOrThrow } from '../../helpers-B-Y9kDoP.mjs';
1
+ export { c as computeRecordStatus, f as createAttributeValidator, a as createFormAttributeValidator, g as getMissingRequiredAttributes, i as isRecordComplete, r as rejectUnknownAttributesOrThrow, h as validateAttribute, v as validateDraft, b as validateDraftOrThrow, d as validateObject, e as validateObjectOrThrow } from '../../helpers-YQiY20E2.mjs';
2
2
  import { z } from 'zod';
3
- import { O as ObjectDefinition } from '../../attributes-CUROLTVH.mjs';
4
- import '../../types-BlMu1Nch.mjs';
3
+ import { O as ObjectDefinition } from '../../attributes-C-V9Lr25.mjs';
4
+ import '../../types-BwOWmTvQ.mjs';
5
5
  import '@stndrds/constants';
6
6
  import '../../utils.mjs';
7
7
 
@@ -1,7 +1,7 @@
1
- export { c as computeRecordStatus, f as createAttributeValidator, a as createFormAttributeValidator, g as getMissingRequiredAttributes, i as isRecordComplete, r as rejectUnknownAttributesOrThrow, h as validateAttribute, v as validateDraft, b as validateDraftOrThrow, d as validateObject, e as validateObjectOrThrow } from '../../helpers-DOn86mSK.js';
1
+ export { c as computeRecordStatus, f as createAttributeValidator, a as createFormAttributeValidator, g as getMissingRequiredAttributes, i as isRecordComplete, r as rejectUnknownAttributesOrThrow, h as validateAttribute, v as validateDraft, b as validateDraftOrThrow, d as validateObject, e as validateObjectOrThrow } from '../../helpers-qyvuR_QS.js';
2
2
  import { z } from 'zod';
3
- import { O as ObjectDefinition } from '../../attributes-BIngT-ky.js';
4
- import '../../types-BKIuJHdj.js';
3
+ import { O as ObjectDefinition } from '../../attributes-DZj9iuri.js';
4
+ import '../../types-DyJSoFa8.js';
5
5
  import '@stndrds/constants';
6
6
  import '../../utils.js';
7
7
 
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { g as CheckboxAttribute } from '../../attributes-CUROLTVH.mjs';
3
- import { V as ValidationMessages } from '../../types-BlMu1Nch.mjs';
2
+ import { g as CheckboxAttribute } from '../../attributes-C-V9Lr25.mjs';
3
+ import { V as ValidationMessages } from '../../types-BwOWmTvQ.mjs';
4
4
  import '@stndrds/constants';
5
5
  import '../../utils.mjs';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { g as CheckboxAttribute } from '../../attributes-BIngT-ky.js';
3
- import { V as ValidationMessages } from '../../types-BKIuJHdj.js';
2
+ import { g as CheckboxAttribute } from '../../attributes-DZj9iuri.js';
3
+ import { V as ValidationMessages } from '../../types-DyJSoFa8.js';
4
4
  import '@stndrds/constants';
5
5
  import '../../utils.js';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { D as DateAttribute } from '../../attributes-CUROLTVH.mjs';
3
- import { V as ValidationMessages } from '../../types-BlMu1Nch.mjs';
2
+ import { D as DateAttribute } from '../../attributes-C-V9Lr25.mjs';
3
+ import { V as ValidationMessages } from '../../types-BwOWmTvQ.mjs';
4
4
  import '@stndrds/constants';
5
5
  import '../../utils.mjs';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { D as DateAttribute } from '../../attributes-BIngT-ky.js';
3
- import { V as ValidationMessages } from '../../types-BKIuJHdj.js';
2
+ import { D as DateAttribute } from '../../attributes-DZj9iuri.js';
3
+ import { V as ValidationMessages } from '../../types-DyJSoFa8.js';
4
4
  import '@stndrds/constants';
5
5
  import '../../utils.js';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { N as NumberAttribute } from '../../attributes-CUROLTVH.mjs';
3
- import { V as ValidationMessages } from '../../types-BlMu1Nch.mjs';
2
+ import { N as NumberAttribute } from '../../attributes-C-V9Lr25.mjs';
3
+ import { V as ValidationMessages } from '../../types-BwOWmTvQ.mjs';
4
4
  import '@stndrds/constants';
5
5
  import '../../utils.mjs';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { N as NumberAttribute } from '../../attributes-BIngT-ky.js';
3
- import { V as ValidationMessages } from '../../types-BKIuJHdj.js';
2
+ import { N as NumberAttribute } from '../../attributes-DZj9iuri.js';
3
+ import { V as ValidationMessages } from '../../types-DyJSoFa8.js';
4
4
  import '@stndrds/constants';
5
5
  import '../../utils.js';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { T as TextAttribute } from '../../attributes-CUROLTVH.mjs';
3
- import { V as ValidationMessages } from '../../types-BlMu1Nch.mjs';
2
+ import { T as TextAttribute } from '../../attributes-C-V9Lr25.mjs';
3
+ import { V as ValidationMessages } from '../../types-BwOWmTvQ.mjs';
4
4
  import '@stndrds/constants';
5
5
  import '../../utils.mjs';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { T as TextAttribute } from '../../attributes-BIngT-ky.js';
3
- import { V as ValidationMessages } from '../../types-BKIuJHdj.js';
2
+ import { T as TextAttribute } from '../../attributes-DZj9iuri.js';
3
+ import { V as ValidationMessages } from '../../types-DyJSoFa8.js';
4
4
  import '@stndrds/constants';
5
5
  import '../../utils.js';
6
6
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stndrds/schema",
3
- "version": "1.0.0-alpha.216",
3
+ "version": "1.0.0-alpha.217",
4
4
  "description": "Standard schema definitions and utilities",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -120,7 +120,7 @@
120
120
  "@standard-schema/spec": "^1.1.0",
121
121
  "libphonenumber-js": "^1.12.31",
122
122
  "zod": "^4.2.1",
123
- "@stndrds/constants": "1.0.0-alpha.216"
123
+ "@stndrds/constants": "1.0.0-alpha.217"
124
124
  },
125
125
  "devDependencies": {
126
126
  "@types/node": "^25.0.3",