@stndrds/schema 1.0.0-alpha.244 → 1.0.0-alpha.246
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{attributes-B4847Nul.d.ts → attributes-C-iyjLqJ.d.ts} +3 -23
- package/dist/{attributes-BpMes5H_.d.mts → attributes-Jji7TfFG.d.mts} +3 -23
- package/dist/{chunk-PZJN5IJW.js → chunk-RHNSWKMJ.js} +0 -4
- package/dist/{chunk-NAS2HJ3Y.mjs → chunk-VKJVBXHS.mjs} +1 -4
- package/dist/{helpers-DsJff5r-.d.ts → helpers-CMryP45K.d.mts} +3 -7
- package/dist/{helpers-ow7sORSi.d.mts → helpers-Chppkv0E.d.ts} +3 -7
- package/dist/index.d.mts +24 -57
- package/dist/index.d.ts +24 -57
- package/dist/index.js +171 -213
- package/dist/index.mjs +91 -130
- package/dist/{types-C8nztuFF.d.ts → types-D7VH7GrO.d.ts} +1 -1
- package/dist/{types-CyxVuV_d.d.mts → types-DgpsvFnh.d.mts} +1 -1
- package/dist/validation/all.d.mts +3 -3
- package/dist/validation/all.d.ts +3 -3
- package/dist/validation/all.js +7 -11
- package/dist/validation/all.mjs +1 -1
- package/dist/validation/complex/currency.d.mts +2 -2
- package/dist/validation/complex/currency.d.ts +2 -2
- package/dist/validation/complex/file.d.mts +2 -2
- package/dist/validation/complex/file.d.ts +2 -2
- package/dist/validation/complex/location.d.mts +2 -2
- package/dist/validation/complex/location.d.ts +2 -2
- package/dist/validation/complex/phone.d.mts +2 -2
- package/dist/validation/complex/phone.d.ts +2 -2
- package/dist/validation/complex/relation.d.mts +2 -2
- package/dist/validation/complex/relation.d.ts +2 -2
- package/dist/validation/complex/richtext.d.mts +2 -2
- package/dist/validation/complex/richtext.d.ts +2 -2
- package/dist/validation/complex/select.d.mts +2 -2
- package/dist/validation/complex/select.d.ts +2 -2
- package/dist/validation/complex/user.d.mts +2 -2
- package/dist/validation/complex/user.d.ts +2 -2
- package/dist/validation/computed/formula.d.mts +2 -2
- package/dist/validation/computed/formula.d.ts +2 -2
- package/dist/validation/computed/rollup.d.mts +2 -2
- package/dist/validation/computed/rollup.d.ts +2 -2
- package/dist/validation/config/index.d.mts +1 -1
- package/dist/validation/config/index.d.ts +1 -1
- package/dist/validation/core/index.d.mts +3 -3
- package/dist/validation/core/index.d.ts +3 -3
- package/dist/validation/object/index.d.mts +3 -3
- package/dist/validation/object/index.d.ts +3 -3
- package/dist/validation/object/index.js +13 -17
- package/dist/validation/object/index.mjs +1 -1
- package/dist/validation/primitives/checkbox.d.mts +2 -2
- package/dist/validation/primitives/checkbox.d.ts +2 -2
- package/dist/validation/primitives/date.d.mts +2 -2
- package/dist/validation/primitives/date.d.ts +2 -2
- package/dist/validation/primitives/number.d.mts +2 -2
- package/dist/validation/primitives/number.d.ts +2 -2
- package/dist/validation/primitives/text.d.mts +2 -2
- package/dist/validation/primitives/text.d.ts +2 -2
- package/package.json +2 -2
|
@@ -238,18 +238,6 @@ interface ObjectAttribute {
|
|
|
238
238
|
order?: number;
|
|
239
239
|
required?: boolean;
|
|
240
240
|
}
|
|
241
|
-
/**
|
|
242
|
-
* Completion status of a record based on data completeness.
|
|
243
|
-
*
|
|
244
|
-
* - `draft`: Record is missing one or more required attribute values.
|
|
245
|
-
* Can be saved but is considered incomplete.
|
|
246
|
-
* - `complete`: All required attribute values are present and valid.
|
|
247
|
-
* Record is ready for use.
|
|
248
|
-
*
|
|
249
|
-
* This is different from workflow status (e.g., "pending", "approved").
|
|
250
|
-
* Completion status is computed dynamically based on the object schema.
|
|
251
|
-
*/
|
|
252
|
-
type CompletionStatus = "draft" | "complete";
|
|
253
241
|
/**
|
|
254
242
|
* Record - Instance of an Object (a row in the database)
|
|
255
243
|
*/
|
|
@@ -268,14 +256,6 @@ interface ObjectRecord<TValues extends Record<string, unknown> = Record<string,
|
|
|
268
256
|
* for Meilisearch documentTemplate-based vector generation.
|
|
269
257
|
*/
|
|
270
258
|
embeddingText?: string;
|
|
271
|
-
/**
|
|
272
|
-
* Completion status of the record.
|
|
273
|
-
* - `draft`: Missing required values, record is incomplete
|
|
274
|
-
* - `complete`: All required values present and valid
|
|
275
|
-
*
|
|
276
|
-
* Computed dynamically based on the object's schema.
|
|
277
|
-
*/
|
|
278
|
-
completionStatus: CompletionStatus;
|
|
279
259
|
values: TValues;
|
|
280
260
|
/** Per-computed-attribute state keyed by attribute name. */
|
|
281
261
|
computedStates?: Record<string, ComputedAttributeState>;
|
|
@@ -338,7 +318,7 @@ type SystemFieldName = (typeof SYSTEM_FIELD_NAMES)[number];
|
|
|
338
318
|
*
|
|
339
319
|
* Includes:
|
|
340
320
|
* - System fields (id, createdAt, updatedAt, createdBy, lastUpdatedBy)
|
|
341
|
-
* - Other ObjectRecord properties (objectId, label,
|
|
321
|
+
* - Other ObjectRecord properties (objectId, label, values, metadata, deletedAt)
|
|
342
322
|
*
|
|
343
323
|
* @example
|
|
344
324
|
* ```typescript
|
|
@@ -347,7 +327,7 @@ type SystemFieldName = (typeof SYSTEM_FIELD_NAMES)[number];
|
|
|
347
327
|
* }
|
|
348
328
|
* ```
|
|
349
329
|
*/
|
|
350
|
-
declare const RESERVED_ATTRIBUTE_NAMES: readonly ["id", "createdAt", "updatedAt", "createdBy", "lastUpdatedBy", "objectId", "label", "embeddingText", "
|
|
330
|
+
declare const RESERVED_ATTRIBUTE_NAMES: readonly ["id", "createdAt", "updatedAt", "createdBy", "lastUpdatedBy", "objectId", "label", "embeddingText", "values", "metadata", "deletedAt", "deletedBy", "schemaVersion"];
|
|
351
331
|
/**
|
|
352
332
|
* Type for reserved attribute names
|
|
353
333
|
*/
|
|
@@ -975,4 +955,4 @@ declare function isAttributeSortable(attr: {
|
|
|
975
955
|
type: AttributeType;
|
|
976
956
|
}): boolean;
|
|
977
957
|
|
|
978
|
-
export { type
|
|
958
|
+
export { type ComputedFieldKind as $, type Attribute as A, type TimeFormat as B, type CurrencyAttribute as C, type DateAttribute as D, type Option as E, type FileAttribute as F, type FormulaReturnType as G, type BilateralConfig as H, type RelationTarget as I, type RollupFunction as J, type UserReferenceType as K, type LocationAttribute as L, type MultiRelationAttribute as M, type NumberAttribute as N, type ObjectDefinition as O, type PhoneAttribute as P, type MigrationDefinition as Q, type RelationAttribute as R, type SingleRelationAttribute as S, type TextAttribute as T, type UserAttribute as U, AUTOFILL_ELIGIBLE_TYPES as V, type AttributeGroup as W, type AutofillEligibleType as X, type BaseAttribute as Y, type BuiltInTransform as Z, type ComputedAttributeState as _, type RichtextAttribute as a, type ComputedFormulaBinaryNode as a0, type ComputedFormulaBinaryOperator as a1, type ComputedFormulaCallNode as a2, type ComputedFormulaLiteralNode as a3, ComputedFormulaParseError as a4, type ComputedFormulaPathNode as a5, type ComputedStateStatus as a6, type CreateDocument as a7, type CreateDocumentLink as a8, type CreateDocumentSlot as a9, SYSTEM_FIELD_NAMES as aA, type SlotStatus as aB, type StatusGroup as aC, type SystemFieldName as aD, type UpdateDocument as aE, type UpdateDocumentSlot as aF, hasOptions as aG, inferInverseCardinality as aH, isAttributeSortable as aI, isBilateralRelation as aJ, isUniversalRelation as aK, parseComputedFormula as aL, resolvePropertyDefinitions as aM, DEFAULT_DOCUMENT_SLOT as aa, type DateFormat as ab, type DateValue as ac, type Document as ad, type DocumentKind as ae, type DocumentLayoutVariant as af, type DocumentListOptions as ag, type DocumentSlot as ah, type DocumentWithSlots as ai, type DocumentWithSubCount as aj, type FolderPreset as ak, MAX_PRESET_DEPTH as al, type NumberUnit as am, type ObjectAttribute as an, type ObjectRecord as ao, type OptionPropertyAttribute as ap, type PresetNode as aq, type PropertyAttribute as ar, type PropertyType as as, RELATION_TARGET_ANY as at, RESERVED_ATTRIBUTE_NAMES as au, RESERVED_OBJECT_NAMES as av, type RecordDocuments as aw, type ReservedAttributeName as ax, type ReservedObjectName as ay, type RichTextAttribute 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 ComputedValueType as h, type ComputedReturnType as i, type AttributeType as j, type ComputedOptionsSource as k, type ComputedDependency as l, type ComputedPlan as m, type ComputedFormulaAstNode as n, type DocumentLayout as o, type Timestamps as p, type SchemaOperation as q, type LocationGranularity as r, type Location as s, type DateRangeValue 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 };
|
|
@@ -238,18 +238,6 @@ interface ObjectAttribute {
|
|
|
238
238
|
order?: number;
|
|
239
239
|
required?: boolean;
|
|
240
240
|
}
|
|
241
|
-
/**
|
|
242
|
-
* Completion status of a record based on data completeness.
|
|
243
|
-
*
|
|
244
|
-
* - `draft`: Record is missing one or more required attribute values.
|
|
245
|
-
* Can be saved but is considered incomplete.
|
|
246
|
-
* - `complete`: All required attribute values are present and valid.
|
|
247
|
-
* Record is ready for use.
|
|
248
|
-
*
|
|
249
|
-
* This is different from workflow status (e.g., "pending", "approved").
|
|
250
|
-
* Completion status is computed dynamically based on the object schema.
|
|
251
|
-
*/
|
|
252
|
-
type CompletionStatus = "draft" | "complete";
|
|
253
241
|
/**
|
|
254
242
|
* Record - Instance of an Object (a row in the database)
|
|
255
243
|
*/
|
|
@@ -268,14 +256,6 @@ interface ObjectRecord<TValues extends Record<string, unknown> = Record<string,
|
|
|
268
256
|
* for Meilisearch documentTemplate-based vector generation.
|
|
269
257
|
*/
|
|
270
258
|
embeddingText?: string;
|
|
271
|
-
/**
|
|
272
|
-
* Completion status of the record.
|
|
273
|
-
* - `draft`: Missing required values, record is incomplete
|
|
274
|
-
* - `complete`: All required values present and valid
|
|
275
|
-
*
|
|
276
|
-
* Computed dynamically based on the object's schema.
|
|
277
|
-
*/
|
|
278
|
-
completionStatus: CompletionStatus;
|
|
279
259
|
values: TValues;
|
|
280
260
|
/** Per-computed-attribute state keyed by attribute name. */
|
|
281
261
|
computedStates?: Record<string, ComputedAttributeState>;
|
|
@@ -338,7 +318,7 @@ type SystemFieldName = (typeof SYSTEM_FIELD_NAMES)[number];
|
|
|
338
318
|
*
|
|
339
319
|
* Includes:
|
|
340
320
|
* - System fields (id, createdAt, updatedAt, createdBy, lastUpdatedBy)
|
|
341
|
-
* - Other ObjectRecord properties (objectId, label,
|
|
321
|
+
* - Other ObjectRecord properties (objectId, label, values, metadata, deletedAt)
|
|
342
322
|
*
|
|
343
323
|
* @example
|
|
344
324
|
* ```typescript
|
|
@@ -347,7 +327,7 @@ type SystemFieldName = (typeof SYSTEM_FIELD_NAMES)[number];
|
|
|
347
327
|
* }
|
|
348
328
|
* ```
|
|
349
329
|
*/
|
|
350
|
-
declare const RESERVED_ATTRIBUTE_NAMES: readonly ["id", "createdAt", "updatedAt", "createdBy", "lastUpdatedBy", "objectId", "label", "embeddingText", "
|
|
330
|
+
declare const RESERVED_ATTRIBUTE_NAMES: readonly ["id", "createdAt", "updatedAt", "createdBy", "lastUpdatedBy", "objectId", "label", "embeddingText", "values", "metadata", "deletedAt", "deletedBy", "schemaVersion"];
|
|
351
331
|
/**
|
|
352
332
|
* Type for reserved attribute names
|
|
353
333
|
*/
|
|
@@ -975,4 +955,4 @@ declare function isAttributeSortable(attr: {
|
|
|
975
955
|
type: AttributeType;
|
|
976
956
|
}): boolean;
|
|
977
957
|
|
|
978
|
-
export { type
|
|
958
|
+
export { type ComputedFieldKind as $, type Attribute as A, type TimeFormat as B, type CurrencyAttribute as C, type DateAttribute as D, type Option as E, type FileAttribute as F, type FormulaReturnType as G, type BilateralConfig as H, type RelationTarget as I, type RollupFunction as J, type UserReferenceType as K, type LocationAttribute as L, type MultiRelationAttribute as M, type NumberAttribute as N, type ObjectDefinition as O, type PhoneAttribute as P, type MigrationDefinition as Q, type RelationAttribute as R, type SingleRelationAttribute as S, type TextAttribute as T, type UserAttribute as U, AUTOFILL_ELIGIBLE_TYPES as V, type AttributeGroup as W, type AutofillEligibleType as X, type BaseAttribute as Y, type BuiltInTransform as Z, type ComputedAttributeState as _, type RichtextAttribute as a, type ComputedFormulaBinaryNode as a0, type ComputedFormulaBinaryOperator as a1, type ComputedFormulaCallNode as a2, type ComputedFormulaLiteralNode as a3, ComputedFormulaParseError as a4, type ComputedFormulaPathNode as a5, type ComputedStateStatus as a6, type CreateDocument as a7, type CreateDocumentLink as a8, type CreateDocumentSlot as a9, SYSTEM_FIELD_NAMES as aA, type SlotStatus as aB, type StatusGroup as aC, type SystemFieldName as aD, type UpdateDocument as aE, type UpdateDocumentSlot as aF, hasOptions as aG, inferInverseCardinality as aH, isAttributeSortable as aI, isBilateralRelation as aJ, isUniversalRelation as aK, parseComputedFormula as aL, resolvePropertyDefinitions as aM, DEFAULT_DOCUMENT_SLOT as aa, type DateFormat as ab, type DateValue as ac, type Document as ad, type DocumentKind as ae, type DocumentLayoutVariant as af, type DocumentListOptions as ag, type DocumentSlot as ah, type DocumentWithSlots as ai, type DocumentWithSubCount as aj, type FolderPreset as ak, MAX_PRESET_DEPTH as al, type NumberUnit as am, type ObjectAttribute as an, type ObjectRecord as ao, type OptionPropertyAttribute as ap, type PresetNode as aq, type PropertyAttribute as ar, type PropertyType as as, RELATION_TARGET_ANY as at, RESERVED_ATTRIBUTE_NAMES as au, RESERVED_OBJECT_NAMES as av, type RecordDocuments as aw, type ReservedAttributeName as ax, type ReservedObjectName as ay, type RichTextAttribute 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 ComputedValueType as h, type ComputedReturnType as i, type AttributeType as j, type ComputedOptionsSource as k, type ComputedDependency as l, type ComputedPlan as m, type ComputedFormulaAstNode as n, type DocumentLayout as o, type Timestamps as p, type SchemaOperation as q, type LocationGranularity as r, type Location as s, type DateRangeValue 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 };
|
|
@@ -712,9 +712,6 @@ function isRecordComplete(objectDef, data) {
|
|
|
712
712
|
const validation = validateObject(objectDef, data);
|
|
713
713
|
return validation.success;
|
|
714
714
|
}
|
|
715
|
-
function computeRecordStatus(objectDef, data) {
|
|
716
|
-
return isRecordComplete(objectDef, data) ? "complete" : "draft";
|
|
717
|
-
}
|
|
718
715
|
|
|
719
716
|
exports.AccessDeniedError = AccessDeniedError;
|
|
720
717
|
exports.AttributeInUseError = AttributeInUseError;
|
|
@@ -746,7 +743,6 @@ exports.SyncConflictError = SyncConflictError;
|
|
|
746
743
|
exports.SyncError = SyncError;
|
|
747
744
|
exports.SystemEntityImmutableError = SystemEntityImmutableError;
|
|
748
745
|
exports.ValidationError = ValidationError;
|
|
749
|
-
exports.computeRecordStatus = computeRecordStatus;
|
|
750
746
|
exports.createAttributeValidator = createAttributeValidator;
|
|
751
747
|
exports.createDraftValidator = createDraftValidator;
|
|
752
748
|
exports.createFormAttributeValidator = createFormAttributeValidator;
|
|
@@ -710,8 +710,5 @@ function isRecordComplete(objectDef, data) {
|
|
|
710
710
|
const validation = validateObject(objectDef, data);
|
|
711
711
|
return validation.success;
|
|
712
712
|
}
|
|
713
|
-
function computeRecordStatus(objectDef, data) {
|
|
714
|
-
return isRecordComplete(objectDef, data) ? "complete" : "draft";
|
|
715
|
-
}
|
|
716
713
|
|
|
717
|
-
export { AccessDeniedError, AttributeInUseError, AttributeNotFoundError, ChangeTypeNotSupportedError, ConcurrentModificationError, DestructiveSyncNotAllowedError, DuplicateError, ForbiddenError, MemoryNotFoundError, MigrationTimeoutError, NotFoundError, NotImplementedError, ObjectNotFoundError, ObjectReferencedError, OrphanSystemAttributeError, ProtectedResourceError, ProtectedRoleError, RecordNotFoundError, RecordReferencedError, RepositoryError, RoleNotFoundError, SchemaError, SchemaErrorCode, SearchBackendError, StorageError, SyncCascadeError, SyncConflictError, SyncError, SystemEntityImmutableError, ValidationError,
|
|
714
|
+
export { AccessDeniedError, AttributeInUseError, AttributeNotFoundError, ChangeTypeNotSupportedError, ConcurrentModificationError, DestructiveSyncNotAllowedError, DuplicateError, ForbiddenError, MemoryNotFoundError, MigrationTimeoutError, NotFoundError, NotImplementedError, ObjectNotFoundError, ObjectReferencedError, OrphanSystemAttributeError, ProtectedResourceError, ProtectedRoleError, RecordNotFoundError, RecordReferencedError, RepositoryError, RoleNotFoundError, SchemaError, SchemaErrorCode, SearchBackendError, StorageError, SyncCascadeError, SyncConflictError, SyncError, SystemEntityImmutableError, ValidationError, createAttributeValidator, createDraftValidator, createFormAttributeValidator, createObjectValidator, getMissingRequiredAttributes, isAttributeInUseError, isNotFoundError, isObjectReferencedError, isProtectedResourceError, isRecordComplete, isRecordReferencedError, isSchemaError, isValidationError, rejectUnknownAttributesOrThrow, validateAttribute, validateDraft, validateDraftOrThrow, validateObject, validateObjectOrThrow };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { A as Attribute, O as ObjectDefinition
|
|
3
|
-
import { V as ValidationMessages, a as ValidationResult } from './types-
|
|
2
|
+
import { A as Attribute, O as ObjectDefinition } from './attributes-Jji7TfFG.mjs';
|
|
3
|
+
import { V as ValidationMessages, a as ValidationResult } from './types-DgpsvFnh.mjs';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Create a Zod schema for any attribute type.
|
|
@@ -71,9 +71,5 @@ declare function getMissingRequiredAttributes(objectDef: ObjectDefinition, data:
|
|
|
71
71
|
* Check if a record is complete (all required attributes have valid values).
|
|
72
72
|
*/
|
|
73
73
|
declare function isRecordComplete(objectDef: ObjectDefinition, data: Record<string, unknown>): boolean;
|
|
74
|
-
/**
|
|
75
|
-
* Compute the completion status of a record based on its data.
|
|
76
|
-
*/
|
|
77
|
-
declare function computeRecordStatus(objectDef: ObjectDefinition, data: Record<string, unknown>): CompletionStatus;
|
|
78
74
|
|
|
79
|
-
export {
|
|
75
|
+
export { validateDraftOrThrow as a, validateObject as b, createFormAttributeValidator as c, validateObjectOrThrow as d, createAttributeValidator as e, validateAttribute as f, getMissingRequiredAttributes as g, isRecordComplete as i, rejectUnknownAttributesOrThrow as r, validateDraft as v };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { A as Attribute, O as ObjectDefinition
|
|
3
|
-
import { V as ValidationMessages, a as ValidationResult } from './types-
|
|
2
|
+
import { A as Attribute, O as ObjectDefinition } from './attributes-C-iyjLqJ.js';
|
|
3
|
+
import { V as ValidationMessages, a as ValidationResult } from './types-D7VH7GrO.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Create a Zod schema for any attribute type.
|
|
@@ -71,9 +71,5 @@ declare function getMissingRequiredAttributes(objectDef: ObjectDefinition, data:
|
|
|
71
71
|
* Check if a record is complete (all required attributes have valid values).
|
|
72
72
|
*/
|
|
73
73
|
declare function isRecordComplete(objectDef: ObjectDefinition, data: Record<string, unknown>): boolean;
|
|
74
|
-
/**
|
|
75
|
-
* Compute the completion status of a record based on its data.
|
|
76
|
-
*/
|
|
77
|
-
declare function computeRecordStatus(objectDef: ObjectDefinition, data: Record<string, unknown>): CompletionStatus;
|
|
78
74
|
|
|
79
|
-
export {
|
|
75
|
+
export { validateDraftOrThrow as a, validateObject as b, createFormAttributeValidator as c, validateObjectOrThrow as d, createAttributeValidator as e, validateAttribute as f, getMissingRequiredAttributes as g, isRecordComplete as i, rejectUnknownAttributesOrThrow as r, validateDraft as v };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { h as ComputedValueType, i as ComputedReturnType, j as AttributeType, k as ComputedOptionsSource, l as ComputedDependency, m as ComputedPlan, f as RollupAttribute, n as ComputedFormulaAstNode, A as Attribute, o as DocumentLayout, p as Timestamps, q as SchemaOperation, r as LocationGranularity, s as Location, e as FormulaAttribute, D as DateAttribute, t as DateRangeValue, u as DocumentAttribute, d as StatusAttribute, c as SelectAttribute, b as MultiselectAttribute, v as Phone, w as Currency, U as UserAttribute, x as DocumentSlotConfig, y as PropertySchema, z as AutofillConfig, g as CheckboxAttribute, C as CurrencyAttribute, B as TimeFormat, T as TextAttribute, N as NumberAttribute, P as PhoneAttribute, E as Option, L as LocationAttribute, F as FileAttribute, G as FormulaReturnType, R as RelationAttribute, H as BilateralConfig, S as SingleRelationAttribute, M as MultiRelationAttribute, I as RelationTarget, a as RichtextAttribute, J as RollupFunction, K as UserReferenceType, Q as MigrationDefinition, O as ObjectDefinition } from './attributes-Jji7TfFG.mjs';
|
|
2
|
+
export { V as AUTOFILL_ELIGIBLE_TYPES, W as AttributeGroup, X as AutofillEligibleType, Y as BaseAttribute, Z as BuiltInTransform, _ as ComputedAttributeState, $ as ComputedFieldKind, a0 as ComputedFormulaBinaryNode, a1 as ComputedFormulaBinaryOperator, a2 as ComputedFormulaCallNode, a3 as ComputedFormulaLiteralNode, a4 as ComputedFormulaParseError, a5 as ComputedFormulaPathNode, a6 as ComputedStateStatus, a7 as CreateDocument, a8 as CreateDocumentLink, a9 as CreateDocumentSlot, aa as DEFAULT_DOCUMENT_SLOT, ab as DateFormat, ac as DateValue, ad as Document, ae as DocumentKind, af as DocumentLayoutVariant, ag as DocumentListOptions, ah as DocumentSlot, ai as DocumentWithSlots, aj as DocumentWithSubCount, ak as FolderPreset, al as MAX_PRESET_DEPTH, am as NumberUnit, an as ObjectAttribute, ao as ObjectRecord, ap as OptionPropertyAttribute, aq as PresetNode, ar as PropertyAttribute, as as PropertyType, at as RELATION_TARGET_ANY, au as RESERVED_ATTRIBUTE_NAMES, av as RESERVED_OBJECT_NAMES, aw as RecordDocuments, ax as ReservedAttributeName, ay as ReservedObjectName, az as RichTextAttribute, aA as SYSTEM_FIELD_NAMES, aB as SlotStatus, aC as StatusGroup, aD as SystemFieldName, aE as UpdateDocument, aF as UpdateDocumentSlot, aG as hasOptions, aH as inferInverseCardinality, aI as isAttributeSortable, aJ as isBilateralRelation, aK as isUniversalRelation, aL as parseComputedFormula, aM as resolvePropertyDefinitions } from './attributes-Jji7TfFG.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-
|
|
9
|
+
export { V as ValidationMessages } from './types-DgpsvFnh.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
|
|
12
|
+
export { c as createFormAttributeValidator, r as rejectUnknownAttributesOrThrow, v as validateDraft, a as validateDraftOrThrow, b as validateObject, d as validateObjectOrThrow } from './helpers-CMryP45K.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];
|
|
@@ -293,9 +293,9 @@ type ViewType = "detail" | "list";
|
|
|
293
293
|
* Creation behavior when clicking the "+" button
|
|
294
294
|
* - `redirect`: Create the record then navigate to its detail page
|
|
295
295
|
* - `inline`: Insert an empty row in the table (no navigation)
|
|
296
|
-
* - `
|
|
296
|
+
* - `peek`: Create a draft immediately and open it in the record stack side panel
|
|
297
297
|
*/
|
|
298
|
-
type CreateMode = "redirect" | "inline" | "
|
|
298
|
+
type CreateMode = "redirect" | "inline" | "peek";
|
|
299
299
|
/**
|
|
300
300
|
* Inline attribute group configuration
|
|
301
301
|
* Groups multiple attributes into a single composite field with dropdown editing
|
|
@@ -530,12 +530,6 @@ interface EmailsTab extends BaseTab {
|
|
|
530
530
|
* Union of all tab types (for detail views)
|
|
531
531
|
*/
|
|
532
532
|
type Tab = FormTab | TableTab | CustomTab | ActivityTab | RichtextTab | DocumentsTab | FormsTab | EmailsTab;
|
|
533
|
-
/**
|
|
534
|
-
* Detail view layout mode
|
|
535
|
-
* - `page`: Full view with multiple tabs
|
|
536
|
-
* - `modal`: Simplified view for modals (single FormTab, no tabs UI)
|
|
537
|
-
*/
|
|
538
|
-
type DetailViewLayout = "page" | "modal";
|
|
539
533
|
/**
|
|
540
534
|
* List view layout mode
|
|
541
535
|
* - `table`: Table/grid layout
|
|
@@ -604,11 +598,9 @@ interface SidePanelConfig {
|
|
|
604
598
|
* Configuration for detail views (RecordEditView)
|
|
605
599
|
*/
|
|
606
600
|
interface DetailViewConfig {
|
|
607
|
-
/** Layout mode */
|
|
608
|
-
layout: DetailViewLayout;
|
|
609
601
|
/** Tabs in this view */
|
|
610
602
|
tabs: Tab[];
|
|
611
|
-
/** Optional side panel with flat attribute fields
|
|
603
|
+
/** Optional side panel with flat attribute fields */
|
|
612
604
|
sidePanel?: SidePanelConfig;
|
|
613
605
|
}
|
|
614
606
|
/**
|
|
@@ -843,12 +835,6 @@ interface CreateObjectRecord {
|
|
|
843
835
|
* Stored for search adapters that generate vectors from persisted text.
|
|
844
836
|
*/
|
|
845
837
|
embeddingText?: string;
|
|
846
|
-
/**
|
|
847
|
-
* Completion status of the record.
|
|
848
|
-
* - `draft`: Record is incomplete (missing required values)
|
|
849
|
-
* - `complete`: All required values are present and valid
|
|
850
|
-
*/
|
|
851
|
-
completionStatus: CompletionStatus;
|
|
852
838
|
/**
|
|
853
839
|
* Developer-managed metadata for storing custom data.
|
|
854
840
|
* Defaults to empty object if not provided.
|
|
@@ -927,7 +913,6 @@ interface GlobalSearchResultItem {
|
|
|
927
913
|
/** Computed label from labelExpression */
|
|
928
914
|
label: string;
|
|
929
915
|
recordId: string;
|
|
930
|
-
completionStatus: CompletionStatus;
|
|
931
916
|
createdAt: Date;
|
|
932
917
|
updatedAt: Date;
|
|
933
918
|
/** Present when the record is soft-deleted (deletedMode: archivedOnly or all). */
|
|
@@ -1990,7 +1975,6 @@ interface AgentConfig {
|
|
|
1990
1975
|
systemPrompt: string;
|
|
1991
1976
|
model: ModelDefinition;
|
|
1992
1977
|
tools?: string[];
|
|
1993
|
-
maxIterations?: number;
|
|
1994
1978
|
timeoutMs?: number;
|
|
1995
1979
|
canDelegate: boolean;
|
|
1996
1980
|
maxDepth: number;
|
|
@@ -2050,7 +2034,6 @@ interface AgentDefinition {
|
|
|
2050
2034
|
systemPrompt: string;
|
|
2051
2035
|
model: ModelDefinition;
|
|
2052
2036
|
tools?: string[];
|
|
2053
|
-
maxIterations?: number;
|
|
2054
2037
|
schedule?: AgentSchedule;
|
|
2055
2038
|
config: AgentExecutionConfig;
|
|
2056
2039
|
createdBy: string;
|
|
@@ -3938,6 +3921,18 @@ declare const SYSTEM_ATTRIBUTES: Record<string, SystemAttribute>;
|
|
|
3938
3921
|
* Use this to append system attributes to an object's attribute list
|
|
3939
3922
|
*/
|
|
3940
3923
|
declare function getSystemAttributeList(): SystemAttribute[];
|
|
3924
|
+
/**
|
|
3925
|
+
* Whether an attribute is an auto-managed system attribute (createdAt, updatedAt,
|
|
3926
|
+
* createdBy, lastUpdatedBy, attachments). Their values are stamped by the system and
|
|
3927
|
+
* must never be user-editable.
|
|
3928
|
+
*
|
|
3929
|
+
* Keyed on the stable `"system:"` id prefix — NOT on `attribute.system`, which is `true`
|
|
3930
|
+
* by default on every code-declared attribute and would wrongly lock developer fields.
|
|
3931
|
+
* Any future `system:*` attribute is covered automatically.
|
|
3932
|
+
*/
|
|
3933
|
+
declare function isManagedSystemAttribute(attribute: {
|
|
3934
|
+
id?: string;
|
|
3935
|
+
}): boolean;
|
|
3941
3936
|
|
|
3942
3937
|
/**
|
|
3943
3938
|
* Tenant-level settings.
|
|
@@ -6099,8 +6094,8 @@ declare class TableTabConfig {
|
|
|
6099
6094
|
create(): this;
|
|
6100
6095
|
/**
|
|
6101
6096
|
* Set creation behavior when clicking "+"
|
|
6102
|
-
* @param mode - "redirect" (navigate to detail), "inline" (empty row), or "
|
|
6103
|
-
* @example .createMode("inline") or .createMode("
|
|
6097
|
+
* @param mode - "redirect" (navigate to detail), "inline" (empty row), or "peek" (instant-create a draft and open it in the record stack side panel)
|
|
6098
|
+
* @example .createMode("inline") or .createMode("peek")
|
|
6104
6099
|
*/
|
|
6105
6100
|
createMode(mode: CreateMode): this;
|
|
6106
6101
|
/**
|
|
@@ -6465,17 +6460,6 @@ declare class DetailViewBuilder {
|
|
|
6465
6460
|
* Mark as default view for the object
|
|
6466
6461
|
*/
|
|
6467
6462
|
default(): this;
|
|
6468
|
-
/**
|
|
6469
|
-
* Set the layout mode for the view
|
|
6470
|
-
* @param value - "page" for full tabs, "modal" for single form
|
|
6471
|
-
* @default "page"
|
|
6472
|
-
*/
|
|
6473
|
-
layout(value: DetailViewLayout): this;
|
|
6474
|
-
/**
|
|
6475
|
-
* Shorthand for .layout("modal")
|
|
6476
|
-
* Modal views have a single form tab without tabs UI
|
|
6477
|
-
*/
|
|
6478
|
-
modal(): this;
|
|
6479
6463
|
/**
|
|
6480
6464
|
* Set metadata
|
|
6481
6465
|
*/
|
|
@@ -6489,7 +6473,6 @@ declare class DetailViewBuilder {
|
|
|
6489
6473
|
version(v: number): this;
|
|
6490
6474
|
/**
|
|
6491
6475
|
* Configure a side panel with flat attribute fields displayed alongside tab content.
|
|
6492
|
-
* Not available for modal layout.
|
|
6493
6476
|
*
|
|
6494
6477
|
* @example .sidePanel({ attributes: ["visibility", "linkedTo"] })
|
|
6495
6478
|
*/
|
|
@@ -6519,22 +6502,12 @@ declare class DetailViewBuilder {
|
|
|
6519
6502
|
*
|
|
6520
6503
|
* @example
|
|
6521
6504
|
* ```typescript
|
|
6522
|
-
* // Page view (default) with multiple tabs
|
|
6523
6505
|
* const COMPANY_VIEW = detailView("detail", "Company Detail")
|
|
6524
6506
|
* .for("companies")
|
|
6525
6507
|
* .default()
|
|
6526
6508
|
* .tab("general", "Info")
|
|
6527
6509
|
* .form(group("main", "Main").fields("name", "status"))
|
|
6528
6510
|
* .build();
|
|
6529
|
-
*
|
|
6530
|
-
* // Modal view with single form tab
|
|
6531
|
-
* const COMPANY_MODAL = detailView("quick-edit", "Quick Edit")
|
|
6532
|
-
* .for("companies")
|
|
6533
|
-
* .modal()
|
|
6534
|
-
* .default()
|
|
6535
|
-
* .tab("form", "Form")
|
|
6536
|
-
* .form(group("main", "Main").fields("name", "status"))
|
|
6537
|
-
* .build();
|
|
6538
6511
|
* ```
|
|
6539
6512
|
*/
|
|
6540
6513
|
declare function detailView(name: string, label: string): DetailViewBuilder;
|
|
@@ -6740,8 +6713,8 @@ declare class ListViewTabConfigBuilder {
|
|
|
6740
6713
|
kanbanPinnedColumns(pinnedColumns: string[]): this;
|
|
6741
6714
|
/**
|
|
6742
6715
|
* Set creation behavior when clicking "+"
|
|
6743
|
-
* @param mode - "redirect" (navigate to detail), "inline" (empty row), or "
|
|
6744
|
-
* @example .createMode("inline") or .createMode("
|
|
6716
|
+
* @param mode - "redirect" (navigate to detail), "inline" (empty row), or "peek" (instant-create a draft and open it in the record stack side panel)
|
|
6717
|
+
* @example .createMode("inline") or .createMode("peek")
|
|
6745
6718
|
*/
|
|
6746
6719
|
createMode(mode: CreateMode): this;
|
|
6747
6720
|
/**
|
|
@@ -7577,11 +7550,6 @@ interface GenerateFallbackViewOptions {
|
|
|
7577
7550
|
* @default 5
|
|
7578
7551
|
*/
|
|
7579
7552
|
maxListColumns?: number;
|
|
7580
|
-
/**
|
|
7581
|
-
* Layout mode for detail views.
|
|
7582
|
-
* @default "page"
|
|
7583
|
-
*/
|
|
7584
|
-
layout?: "page" | "modal";
|
|
7585
7553
|
}
|
|
7586
7554
|
/**
|
|
7587
7555
|
* Generate a default detail view from an object definition.
|
|
@@ -7876,7 +7844,6 @@ type RecordPatchLiveEvent = {
|
|
|
7876
7844
|
recordId: string;
|
|
7877
7845
|
recordVersion: number;
|
|
7878
7846
|
label?: string;
|
|
7879
|
-
completionStatus?: CompletionStatus;
|
|
7880
7847
|
metadata?: Record<string, unknown>;
|
|
7881
7848
|
fieldPatches: RecordFieldPatch[];
|
|
7882
7849
|
updatedAt: string;
|
|
@@ -8236,4 +8203,4 @@ interface MailboxThreadDetail {
|
|
|
8236
8203
|
emails: MailboxEmail[];
|
|
8237
8204
|
}
|
|
8238
8205
|
|
|
8239
|
-
export { type AIAvailableModel, type AIBatchQuestion, type AIBatchQuestionAnswer, type AIBatchQuestionOption, type AIChatMessage, type AIChatMessagePart, type AIChatMessagePartType, type AIChatNotification, 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 AISubagentStatus, type AITodoItem, type AITodoList, type AITodoStatus, type AIToolCall, type AIToolCallStatus, type AIUsageMetrics, ALLOWED_PROPERTY_TYPES, ALL_ACTIONS, ALL_SYSTEM_RESOURCES, ATTRIBUTE_FILTER_OPERATORS, AUDIT_ACTIONS, AUDIT_RESOURCE_TYPES, 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, CONNECTOR_CALLBACK_PARAM, 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 ConnectionStatus, type ConnectionStatusId, type ConnectionView, type ConnectorCallbackStatusValue, type ConnectorProviderId, type ConnectorScope, 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, DateRangeValue, 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 EmailAttachmentMeta, type EmailDirection, type EmailParticipantRef, type EmailParticipantRole, type EmailProvider, type EmailVisibility, type EmailsTab, EmailsTabConfig, 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, MEMORY_LIST_VIEW, MEMORY_OBJECT, MEMORY_VIEW, type MailboxAccount, type MailboxCursor, type MailboxEmail, type MailboxListResponse, type MailboxQuery, type MailboxReadState, type MailboxThread, type MailboxThreadDetail, 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 StartConnectorAuthInput, type StartConnectorAuthResult, 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, TimeFormat, 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 UserLike, type UserProfile, UserReferenceType, type UserRoleAssignment, type UserStatus, Uuid, ValidationError, type ValidationErrorDetail, type ValueRef, type ViewConfig, type ViewDefinition, type ViewOverlay, type ViewProjectionStaleLiveEvent, type ViewType, type WithCustomAttributes$1 as WithCustomAttributes, accessLevelToActions, actionsToAccessLevel, applyPipes, applyRelationProps, assertAcyclicComputedDependencies, assertLiveStreamCursor, booleanFlag, buildPropertySchema, buildQualifiedAttribute, checkbox, compareLiveStreamCursors, compileComputedFormula, compileRollupAttribute, createFlagRegistry, createFlagService, createStandardSchemaProps, currency, currentActor, date, dateValueStart, detailView, document, evaluateComputedAst, evaluateComputedFormula, evaluateComputedFormulaWithResult, evaluateFilterState, extractAttributeNames, extractValueRefs, file, flagRegistry, form, formRegistry, formatAttributeValue, formatComputedResult, formatLocationValue, formula, generateDefaultDetailView, generateDefaultListView, getActiveTab, getAttributeCapabilities, getAttributeFilterOperators, getErrorMessage, getLiveProtocolPayloadChannel, getOperatorPolarity, getRollupFilterOperators, getSlotFieldTargets, getSystemAttributeI18nKey, getSystemAttributeList, getUserDisplayName, group, inferRollupReturnType, isAttributeFilterable, isAttributeGroupable, isAttributeInUseError, isAttributeKanbanGroupable, isAttributeSearchable, isComputedFunctionName, isDateRangeValue, 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, normalizeDateValue, normalizeForEdgeRpc, now, number, numberFlag, object, parseLiveChannelKey, parseLiveSubscribePayload, parseLiveUnsubscribePayload, parseQualifiedAttribute, phone, registry, relation, relationGroup, renderLabelExpression, resetViewToDefault, richtext, rollup, rollupToFormulaExpression, select, status, stringFlag, text, toMultiValueOperator, toUndefinedIfEmpty, today, user, validateAttributeName, validateQualifiedRule, validateSlotAgainstConfig, viewRegistry };
|
|
8206
|
+
export { type AIAvailableModel, type AIBatchQuestion, type AIBatchQuestionAnswer, type AIBatchQuestionOption, type AIChatMessage, type AIChatMessagePart, type AIChatMessagePartType, type AIChatNotification, 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 AISubagentStatus, type AITodoItem, type AITodoList, type AITodoStatus, type AIToolCall, type AIToolCallStatus, type AIUsageMetrics, ALLOWED_PROPERTY_TYPES, ALL_ACTIONS, ALL_SYSTEM_RESOURCES, ATTRIBUTE_FILTER_OPERATORS, AUDIT_ACTIONS, AUDIT_RESOURCE_TYPES, 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, CONNECTOR_CALLBACK_PARAM, ChangeTypeNotSupportedError, type ChannelRevokedLiveEvent, CheckboxAttribute, type CompactionStrategy, type CompileComputedFormulaInput, 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 ConnectionStatus, type ConnectionStatusId, type ConnectionView, type ConnectorCallbackStatusValue, type ConnectorProviderId, type ConnectorScope, 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, DateRangeValue, type DefaultRoleName, type DeletedMode, DestructiveSyncNotAllowedError, DetailViewBuilder, type DetailViewConfig, type DetailViewDefinition, DocumentAttribute, DocumentLayout, DocumentSlotConfig, DocumentSlotValidationError, type DocumentsTab, DocumentsTabConfig, type DomainEvent, DuplicateError, type DynamicValue, type DynamicValueResolver, EMPTY_VALUE_PLACEHOLDER, type Eager, type EdgeQuantifier, type EffectivePermissions, type EmailAttachmentMeta, type EmailDirection, type EmailParticipantRef, type EmailParticipantRole, type EmailProvider, type EmailVisibility, type EmailsTab, EmailsTabConfig, 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, MEMORY_LIST_VIEW, MEMORY_OBJECT, MEMORY_VIEW, type MailboxAccount, type MailboxCursor, type MailboxEmail, type MailboxListResponse, type MailboxQuery, type MailboxReadState, type MailboxThread, type MailboxThreadDetail, 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 StartConnectorAuthInput, type StartConnectorAuthResult, 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, TimeFormat, 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 UserLike, type UserProfile, UserReferenceType, type UserRoleAssignment, type UserStatus, Uuid, ValidationError, type ValidationErrorDetail, type ValueRef, type ViewConfig, type ViewDefinition, type ViewOverlay, type ViewProjectionStaleLiveEvent, type ViewType, type WithCustomAttributes$1 as WithCustomAttributes, accessLevelToActions, actionsToAccessLevel, applyPipes, applyRelationProps, assertAcyclicComputedDependencies, assertLiveStreamCursor, booleanFlag, buildPropertySchema, buildQualifiedAttribute, checkbox, compareLiveStreamCursors, compileComputedFormula, compileRollupAttribute, createFlagRegistry, createFlagService, createStandardSchemaProps, currency, currentActor, date, dateValueStart, detailView, document, evaluateComputedAst, evaluateComputedFormula, evaluateComputedFormulaWithResult, evaluateFilterState, extractAttributeNames, extractValueRefs, file, flagRegistry, form, formRegistry, formatAttributeValue, formatComputedResult, formatLocationValue, formula, generateDefaultDetailView, generateDefaultListView, getActiveTab, getAttributeCapabilities, getAttributeFilterOperators, getErrorMessage, getLiveProtocolPayloadChannel, getOperatorPolarity, getRollupFilterOperators, getSlotFieldTargets, getSystemAttributeI18nKey, getSystemAttributeList, getUserDisplayName, group, inferRollupReturnType, isAttributeFilterable, isAttributeGroupable, isAttributeInUseError, isAttributeKanbanGroupable, isAttributeSearchable, isComputedFunctionName, isDateRangeValue, isDefaultRole, isDetailView, isDocumentAttribute, isDynamicValue, isEmptyObject, isFieldGroup, isFormDefinition, isFormFieldsRow, isFormFreeFieldRef, isFormHeadingRow, isFormSeparatorRow, isFormSlotFieldRef, isFormTextRow, isLabelExpression, isListView, isLiveErrorPayload, isLiveEventEnvelope, isLiveEventPayload, isLiveEventPayloadForType, isLiveEventType, isLiveGapPayload, isLiveReplayCompletePayload, isLiveStreamCursor, isManagedSystemAttribute, isNoValueOperator, isNotEmpty, isNotFoundError, isObjectReferencedError, isPlainRecord, isProtectedResourceError, isRecordReferencedError, isRelationGroup, isSchemaError, isStandardSchema, isValidationError, jsonFlag, listView, liveChannelKey, location, matchesMime, multiselect, normaliseDocumentSlots, normalizeDateValue, normalizeForEdgeRpc, now, number, numberFlag, object, parseLiveChannelKey, parseLiveSubscribePayload, parseLiveUnsubscribePayload, parseQualifiedAttribute, phone, registry, relation, relationGroup, renderLabelExpression, resetViewToDefault, richtext, rollup, rollupToFormulaExpression, select, status, stringFlag, text, toMultiValueOperator, toUndefinedIfEmpty, today, user, validateAttributeName, validateQualifiedRule, validateSlotAgainstConfig, viewRegistry };
|