@stndrds/schema 0.1.0-alpha.57 → 0.1.0-alpha.58
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/{chunk-DPRLHGPO.js → chunk-2OS63USQ.js} +270 -916
- package/dist/{chunk-YVUSATKC.mjs → chunk-JRY236AO.mjs} +76 -722
- package/dist/chunk-NEVERCM3.js +41 -0
- package/dist/chunk-SV4BCGQU.mjs +617 -0
- package/dist/chunk-U4AB53AM.js +617 -0
- package/dist/chunk-V2RPPE2Y.mjs +41 -0
- package/dist/index.d.mts +51 -29
- package/dist/index.d.ts +51 -29
- package/dist/index.js +10 -100
- package/dist/index.mjs +76 -166
- package/dist/{runtime-BqJdmg_4.d.mts → runtime-C4vB_EcQ.d.ts} +5 -1645
- package/dist/{runtime-BqJdmg_4.d.ts → runtime-SCsDOQi0.d.mts} +5 -1645
- package/dist/runtime.d.mts +3 -1
- package/dist/runtime.d.ts +3 -1
- package/dist/runtime.js +4 -2
- package/dist/runtime.mjs +3 -1
- package/dist/utils.d.mts +154 -0
- package/dist/utils.d.ts +154 -0
- package/dist/utils.js +19 -0
- package/dist/utils.mjs +19 -0
- package/dist/validation/validators.d.mts +4 -0
- package/dist/validation/validators.d.ts +4 -0
- package/dist/validation/validators.js +121 -0
- package/dist/validation/validators.mjs +121 -0
- package/dist/validators-BgmWgr-G.d.mts +1488 -0
- package/dist/validators-miARInAq.d.ts +1488 -0
- package/package.json +12 -2
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { aJ as AIBatchQuestion, aK as AIBatchQuestionAnswer, aI as AIBatchQuestionOption, aD as AIChatMessage, aC as AIChatMessagePart, ax as AIChatMessagePartType, aP as AIConversation, i0 as AIConversationsRepository, aQ as AIMessage, aO as AIMessageAttachment, at as AIMessageRole, aU as AIProviderMetrics, aG as AIQuestion, aH as AIQuestionAnswer, aF as AIQuestionOption, aE as AIQuestionType, au as AIThinkingLevel, aM as AITodoItem, aN as AITodoList, aL as AITodoStatus, aw as AIToolCall, aR as AIToolCallRecord, av as AIToolCallStatus, aT as AIUsageMetrics, i1 as AIUsageMetricsRepository, aS as AIUserMemory, i2 as AIUserMemoryRepository, dk as ActivityTab, cy as AddAttribute, is as AddAttributeInput, c4 as AdvancedFilterState, d7 as AssignRoleInput, hQ as AttributeChange, aX as AttributeGroup, cx as AttributeMap, ct as AttributeSchema, i3 as AttributesRepository, b8 as AuditAction, b9 as AuditActorType, ba as AuditChange, bd as AuditListOptions, bb as AuditLogEntry, i4 as AuditRepository, b7 as AuditResourceType, jF as AuditService, be as AuditServiceOptions, aY as BaseAttribute, io as BaseRepository, im as BaseService, af as BoundingBox, ge as CacheAdapter, gc as CacheKeyType, gf as CacheOptions, du as CalendarViewConfig, dy as CalendarViewDefinition, ee as CanvasViewport, bS as CheckboxFilterOperator, cX as CompletionStatus, hh as ConditionExecutor, dR as ConditionNode, e4 as ConditionOperator, dB as ConfigOverrides, aV as CreateAIMessageInput, bc as CreateAuditLogInput, ir as CreateCustomObjectInput, kz as CreateDBAttribute, kv as CreateDBObject, kJ as CreateDBView, kN as CreateDBViewOverlay, kQ as CreateDBWorkflow, kZ as CreateDBWorkflowAccessGrant, kT as CreateDBWorkflowInstance, kW as CreateDBWorkflowInvitation, bz as CreateDocument, bj as CreateDocumentGenerationTemplate, bD as CreateDocumentSlot, bB as CreateDocumentTemplate, bO as CreateFile, eB as CreateGrantInput, ji as CreateGrantResult, eu as CreateInvitationInput, ev as CreateInvitationResult, kC as CreateObjectRecord, d6 as CreatePermissionInput, bF as CreateProcessingJob, jU as CreateRecordDocumentInput, jV as CreateRecordDocumentResult, d4 as CreateRoleInput, ah as CreateSignatureInput, de as CreateUserProfile, k2 as CreateViewInput, jw as CreateWorkflowInput, b1 as Currency, bZ as CurrencyFilterValue, cC as CustomAttributeValue, dj as CustomTab, ky as DBAttribute, ku as DBObject, kI as DBView, kM as DBViewOverlay, kP as DBWorkflow, kY as DBWorkflowAccessGrant, kS as DBWorkflowInstance, kV as DBWorkflowInvitation, kl as DEFAULT_LABEL_FALLBACK, eX as DEFAULT_THEME, fa as DEFAULT_VALIDATION_MESSAGES, g5 as DatabaseAdapter, bT as DateFilterOperator, a_ as DateFormat, a$ as DateValue, ds as DetailViewConfig, bs as Document, bp as DocumentAutoProcessing, ar as DocumentData, hi as DocumentExecutor, jI as DocumentGenerationNotConfiguredError, jJ as DocumentGenerationService, bi as DocumentGenerationTemplate, i5 as DocumentGenerationTemplateListOptions, jH as DocumentGenerationTemplateNotFoundError, i6 as DocumentGenerationTemplatesRepository, i7 as DocumentJobsRepository, bH as DocumentListOptions, dS as DocumentNode, jK as DocumentProcessingConfig, jc as DocumentProcessingHook, jb as DocumentProcessingHookOptions, jL as DocumentProcessingService, jP as DocumentRenderError, jN as DocumentRendererOptions, jR as DocumentRendererService, jX as DocumentService, jW as DocumentServiceOptions, bu as DocumentSlot, bo as DocumentSlotDefinition, i8 as DocumentSlotsRepository, bt as DocumentStatus, bI as DocumentTemplateListOptions, jS as DocumentTemplateService, ia as DocumentTemplatesRepository, i9 as DocumentsRepository, dn as DocumentsTab, d1 as EffectivePermissions, hj as EndExecutor, dT as EndNode, gB as EvaluationResult, gC as EvaluationTrace, h5 as ExecutorCompleteResult, h6 as ExecutorContext, h7 as ExecutorErrorResult, he as ExecutorRegistry, h8 as ExecutorResult, h9 as ExecutorSuccessResult, ha as ExecutorWaitResult, c1 as ExtendedFilterRule, cM as ExtractAttributes, cO as ExtractObjectRecord, cP as ExtractObjectRecordWithCustom, cG as ExtractRecord, cI as ExtractRecordInput, cJ as ExtractRecordInputStrict, cH as ExtractRecordStrict, cK as ExtractRecordUpdate, cL as ExtractRecordUpdateStrict, br as ExtractionField, bq as ExtractionMapping, bK as FeatureFlagsConfig, gP as FeatureFlagsContext, gH as FeatureFlagsContextError, gk as FetchResult, ju as FieldReadOnlyResult, bN as File, k7 as FileContent, kH as FileListOptions, jZ as FileService, jY as FileServiceOptions, bM as FileVisibility, ib as FilesRepository, c2 as FilterCombinator, c3 as FilterGroup, bX as FilterOperator, c0 as FilterRule, b$ as FilterValue, bJ as FlagOverride, cj as FlowDefinition, cg as FlowPage, ch as FlowRelation, cf as FlowRowField, ce as FlowSlot, ci as FlowStatus, dm as FlowsTab, eO as FormContextResponse, hk as FormExecutor, eP as FormFieldContext, dU as FormFieldRef, eQ as FormFieldRow, dV as FormNode, eR as FormNodeInfo, di as FormTab, gl as FormattedRecord, iP as FormulaResolverService, iO as FormulaResolverServiceOptions, hy as FormulaResult, kj as FullSyncOptions, ki as FullSyncResult, dw as GalleryViewConfig, dA as GalleryViewDefinition, eI as GeneratedDocument, cr as GeocodingAdapter, co as GeocodingAutocompleteParams, cq as GeocodingParams, j_ as GeocodingService, cn as GeocodingSuggestion, iH as GetRelationOptionsParams, k5 as GetViewOptions, k4 as GetViewsOptions, kF as GlobalSearchOptions, kG as GlobalSearchResultItem, j$ as GlobalSearchService, je as GrantExpiredError, jd as GrantNotFoundError, jf as GrantRevokedError, jh as GrantServiceConfig, gm as GroupedFetchResult, hR as HookContext, hS as HookDefinition, hT as HookHandler, hW as HookRegistry, hU as HookType, ao as IdentityVerificationAdapter, cz as InferRecord, cu as InferRecordFromSchema, cA as InferRecordInput, cB as InferRecordUpdate, cv as InferRecordWithRequirements, gn as InsertOptions, hC as InvalidPathError, jr as InvitationAlreadyAcceptedError, jq as InvitationExpiredError, jp as InvitationNotFoundError, js as InvitationRevokedError, jo as InvitationServiceConfig, ew as InvitationStatus, dg as InviteUserInput, g7 as JwtVerificationResult, j2 as LabelResolver, kD as ListOptions, dt as ListViewConfig, dp as ListViewLayout, b2 as Location, b3 as LocationGranularity, g8 as MagicLinkPayload, hD as MaxDepthExceededError, hY as MockStores, bV as MultiselectFilterOperator, cc as NO_VALUE_OPERATORS, cb as NoValueOperator, hb as NodeExecutor, ef as NodePosition, gj as NoopCacheAdapter, cs as NoopGeocodingAdapter, hV as NoopHookRegistry, dl as NotesTab, bR as NumberFilterOperator, aZ as NumberUnit, ca as OPERATORS_BY_TYPE, cW as ObjectAttribute, d2 as ObjectPermissions, cY as ObjectRecord, ic as ObjectRecordsRepository, iv as ObjectSchemaService, iu as ObjectSchemaServiceOptions, id as ObjectsRepository, a9 as OcrAdapter, aa as OcrInput, ab as OcrOptions, ad as OcrPage, ac as OcrResult, ae as OcrTextBlock, k$ as OperationResult, hH as PathCardinality, hI as PathSegment, hJ as PathSegmentType, bg as PdfTemplateField, em as PendingAction, bl as PendingDocumentRequest, c$ as Permission, cZ as PermissionScope, k1 as PermissionService, k0 as PermissionServiceOptions, ie as PermissionsRepository, b0 as Phone, b_ as PhoneFilterValue, d8 as PolicyContext, h_ as PolicyRegistry, da as PolicyViolationError, bw as ProcessingJob, by as ProcessingJobStatus, bx as ProcessingJobType, gz as QueryBuilder, gA as QueryBuilderOptions, go as QueryBuilderState, gv as QueryMultipleResultsError, gw as QueryNoResultError, iz as QueryOptions, iB as QueryResult, c9 as QueryState, b4 as RELATION_TARGET_ANY, cQ as RESERVED_ATTRIBUTE_NAMES, eS as ReadOnlyReason, aB as ReasoningPartData, jT as RecordDocumentsResult, cE as RecordMetadata, d9 as RecordPolicy, iC as RecordQueryService, iy as RecordQueryServiceOptions, iM as RecordResolverService, ix as RecordService, iw as RecordServiceOptions, gp as RegistryMap, gq as RegistryObjectNames, b5 as RelationAttribute, bW as RelationFilterOperator, ks as RelationLabelResolver, iF as RelationOption, iG as RelationOptionsResponse, iL as RelationService, iI as RelationServiceOptions, iE as RelationValidationError, iD as RelationValidationResult, bY as RelativeDateValue, jM as RenderDocumentInput, jO as RenderDocumentResult, cS as ReservedAttributeName, iJ as ResolveIdsBatchRequest, iK as ResolveIdsBatchResponse, iN as ResolvedRelations, jl as ResumeWorkflowInput, cp as ReverseGeocodingParams, c_ as Role, ja as RollupCascadeContext, iQ as RollupResult, iU as RollupScheduler, iT as RollupSchedulerOptions, iS as RollupService, iR as RollupServiceOptions, gx as SHORTCUT_TO_FILTER_OPERATOR, cR as SYSTEM_FIELD_NAMES, gX as SchemaContext, ip as SchemaContextAware, iq as SchemaContextAwareRepository, hK as SchemaResolver, kE as SearchOptions, iA as SearchQueryOptions, bU as SelectFilterOperator, cV as SharingMode, gr as ShortcutOperator, ag as SignatureAdapter, aj as SignaturePosition, ak as SignatureRequestResult, an as SignatureStatus, al as SignatureStatusResult, ka as SignedUrlOptions, ai as SignerRequest, am as SignerStatus, bv as SlotStatus, c8 as SortDirection, hl as StartExecutor, dW as StartNode, jk as StartWorkflowInput, aW as StatusGroup, kb as StorageAdapter, jQ as StorageDownloadNotSupportedError, bL as StorageProvider, k8 as StorageUploadInput, k9 as StorageUploadResult, ke as SyncOptions, kd as SyncResult, cT as SystemFieldName, cF as SystemFields, d3 as SystemPermissions, dh as TabType, bh as TemplateSource, h2 as TenantContext, gG as TenantContextError, e$ as TenantId, bQ as TextFilterOperator, ay as TextPartData, eU as ThemeColors, eV as ThemeLogo, eW as ThemeTypography, aA as ThinkingPartData, dv as TimelineViewConfig, dz as TimelineViewDefinition, cU as Timestamps, jg as TokenRevokedError, az as ToolPartData, hO as TraversalOptions, hP as TraversalResult, cw as TypedAttribute, cN as TypedObjectRecord, kA as UpdateDBAttribute, kw as UpdateDBObject, kK as UpdateDBView, kO as UpdateDBViewOverlay, kR as UpdateDBWorkflow, k_ as UpdateDBWorkflowAccessGrant, kU as UpdateDBWorkflowInstance, kX as UpdateDBWorkflowInvitation, bA as UpdateDocument, bk as UpdateDocumentGenerationTemplate, bE as UpdateDocumentSlot, bC as UpdateDocumentTemplate, bP as UpdateFile, it as UpdateObjectInput, bG as UpdateProcessingJob, d5 as UpdateRoleInput, df as UpdateUserProfile, k3 as UpdateViewInput, jx as UpdateWorkflowInput, kc as UploadFileInput, kB as UpsertDBAttribute, kx as UpsertDBObject, kL as UpsertDBView, f0 as UserId, dd as UserProfile, jE as UserProfileService, jD as UserProfileServiceOptions, ig as UserProfilesRepository, db as UserRole, d0 as UserRoleAssignment, jC as UserService, dc as UserStatus, jB as UserValidationError, jA as UserValidationResult, e_ as Uuid, f9 as ValidationMessages, fW as ValidationResult, bf as VariableMapping, as as VerificationCheck, aq as VerificationResult, ap as VerifyInput, dx as ViewConfig, dq as ViewLayout, dC as ViewOverlay, g4 as ViewOverlaysRepository, k6 as ViewService, l1 as ViewSyncLogger, l2 as ViewSyncOptions, l0 as ViewSyncResult, dr as ViewTab, ih as ViewsRepository, cD as WithCustomAttributes, eC as WorkflowAccessGrant, jj as WorkflowAccessGrantService, ii as WorkflowAccessGrantsRepository, eT as WorkflowAccessMode, g9 as WorkflowAccessPayload, en as WorkflowError, eJ as WorkflowExecutionContext, eo as WorkflowInstance, jn as WorkflowInstanceService, jm as WorkflowInstanceServiceOptions, ij as WorkflowInstancesRepository, ex as WorkflowInvitation, jt as WorkflowInvitationService, ik as WorkflowInvitationsRepository, ga as WorkflowJwtConfig, gb as WorkflowJwtPayload, g6 as WorkflowJwtService, eg as WorkflowLayout, dX as WorkflowNodeType, jv as WorkflowRelationService, jz as WorkflowService, jy as WorkflowServiceOptions, eh as WorkflowSlot, ei as WorkflowStatus, ep as WorkflowTransition, il as WorkflowsRepository, gQ as addSchemaToContext, e5 as and, iV as applyDefaultValues, f1 as asTenantId, f2 as asUserId, fu as attributeConfigSchemas, jG as buildAuditChanges, iY as buildPolicyContext, gg as cacheKeys, gh as cacheTtl, eD as canAccessNode, eq as canResumeInstance, iW as checkPermission, iZ as checkRecordAccess, i$ as checkRecordDeleteOrThrow, i_ as checkRecordModifyOrThrow, j0 as checkSharedObjectWriteAccess, ff as checkboxConfigSchema, hc as complete, j1 as computeLabel, kt as computeLabelWithRelations, g3 as computeRecordStatus, fT as createAttributeValidator, fB as createCheckboxValidator, j5 as createContextForCreate, j7 as createContextForDelete, j8 as createContextForRestore, j6 as createContextForUpdate, fE as createCurrencyValidator, fC as createDateValidator, h3 as createDefaultExecutorRegistry, gs as createDefaultState, f_ as createDraftValidator, eK as createEmptyContext, fJ as createFileValidator, fU as createFormAttributeValidator, fP as createFormulaValidator, fI as createLocationValidator, hX as createMockAdapter, fM as createMultiRelationValidator, fH as createMultiselectValidator, fA as createNumberValidator, fV as createObjectValidator, fD as createPhoneValidator, gy as createQueryBuilder, fO as createRatingValidator, fN as createRelationValidator, fS as createRichtextValidator, fQ as createRollupValidator, fG as createSelectValidator, fL as createSingleRelationValidator, er as createStartTransition, fF as createStatusValidator, fR as createTextAreaValidator, fz as createTextValidator, fK as createUserValidator, fi as currencyConfigSchema, fg as dateConfigSchema, hZ as defaultPolicyRegistry, gi as defaultTtl, ft as documentConfigSchema, j4 as enrichRecordsWithFormulas, kp as enrichValuesForDisplay, kq as enrichValuesWithSelectLabels, j3 as enrichWithFormulas, e6 as eq, hd as error, gE as evaluate, gD as evaluateCondition, hm as evaluateFormula, hn as evaluateFormulaAttribute, ho as evaluateFormulaAttributeWithRelations, hp as evaluateFormulaWithRelations, hq as evaluateFormulaWithResult, gF as evaluateWithTrace, ko as extractAttributeNames, hr as extractFormulaVariables, kr as extractRelationIds, hs as extractRelationNames, ht as extractRelationReferences, fn as fileConfigSchema, hu as flattenRelationsForEval, hv as formatFormulaResult, gt as formatRecord, gu as formatRecords, fr as formulaConfigSchema, eY as generateCssVariables, f3 as generateId, f4 as generatePrefixedId, f6 as generateTemplateName, fv as getAttributeConfigSchema, gY as getContext, eL as getContextValue, h4 as getDefaultExecutorRegistry, gI as getFeatureFlags, gJ as getFeatureValue, g1 as getMissingRequiredAttributes, dY as getNodeOutputs, hz as getPathDepth, iX as getPolicy, hA as getRelationPath, gR as getSchemaByNameFromContext, gS as getSchemaContext, gT as getSchemaFromContext, kh as getSyncPreview, hB as getTargetAttributeName, gZ as getTenantId, g_ as getUserId, l7 as getViewSeedPreview, l8 as getViewSyncPreview, g$ as hasContext, gK as hasFeatureFlagsContext, hw as hasRelationReferences, gU as hasSchemaContext, gd as hashOptions, e7 as inValues, dN as isActivityTab, c5 as isAdvancedFilterState, dZ as isAdvancedFormNode, dF as isCalendarView, e8 as isConditionGroup, d_ as isConditionNode, e9 as isConditionRule, dM as isCustomTab, dD as isDetailView, dK as isDirectTableTab, d$ as isDocumentNode, dQ as isDocumentsTab, bn as isDocxTemplateSource, ea as isEmpty, e0 as isEndNode, gL as isFeatureEnabled, ck as isFlowDefinition, cl as isFlowPublished, dP as isFlowsTab, e1 as isFormNode, dI as isFormTab, dH as isGalleryView, eE as isGrantExpired, eF as isGrantRevoked, eG as isGrantValid, es as isInstanceTerminal, et as isInstanceWaiting, dL as isInverseTableTab, ey as isInvitationAccepted, ez as isInvitationExpired, eA as isInvitationValid, kn as isLabelExpression, dE as isListView, cd as isNoValueOperator, eb as isNotEmpty, dO as isNotesTab, bm as isPdfTemplateSource, g2 as isRecordComplete, e2 as isSimpleFormNode, e3 as isStartNode, cm as isSystemFlow, ej as isSystemWorkflow, dJ as isTableTab, dG as isTimelineView, eH as isTokenRevoked, b6 as isUniversalRelation, ek as isWorkflowDefinition, el as isWorkflowPublished, fk as locationConfigSchema, eM as mergeFormToSlot, eZ as mergeWithDefaults, fm as multiselectConfigSchema, ec as neq, h$ as notesPolicy, fe as numberConfigSchema, ed as or, fx as parseAttributeConfig, hE as parsePath, hF as pathHasManyCardinality, fh as phoneConfigSchema, fq as ratingConfigSchema, j9 as recalculateParentRollups, f7 as registry, fp as relationConfigSchema, km as renderLabelExpression, hL as resolveMultiplePaths, hM as resolveSingleValue, fd as richtextConfigSchema, fs as rollupConfigSchema, h0 as runWithContext, gM as runWithFeatureFlags, gV as runWithMergedSchemaContext, gW as runWithSchemaContext, fy as safeParseAttributeConfig, l3 as seedRegistryViews, fl as selectConfigSchema, eN as setContextValue, f5 as slugify, fj as statusConfigSchema, hf as success, kk as syncAll, kf as syncNativeObjects, l4 as syncNativeViews, fb as textConfigSchema, fc as textareaConfigSchema, c6 as toAdvancedFilterState, c7 as toSimpleFilterState, hN as traversePath, gN as tryGetFeatureValue, fo as userConfigSchema, fX as validateAttribute, fw as validateAttributeConfig, f$ as validateDraft, g0 as validateDraftOrThrow, hx as validateFormulaExpression, fY as validateObject, fZ as validateObjectOrThrow, hG as validatePath, kg as verifyNativeObjectsSync, l6 as verifyNativeViewsSync, l5 as verifyRegistryViewsSeeded, f8 as viewRegistry, hg as wait, gO as withFeatureFlags, h1 as withTenantContext } from './runtime-BqJdmg_4.mjs';
|
|
1
|
+
import { S as SystemResource, a as SystemAction, O as ObjectAction, I as InferAttributeValue, F as Field, A as AttributeGroupField, G as Group, T as TableTab, D as DetailViewLayout, b as InverseTableTab, c as DetailViewDefinition, d as InstanceStatus, e as Tab, f as FilterState, g as SortRule, h as DirectTableTab, L as ListViewDefinition, W as WorkflowTheme, i as WorkflowConfig, j as SlotMode, C as ConditionGroup, k as ConditionRule, l as WorkflowNode, m as WorkflowDefinition, n as FlowRow, V as ViewType, o as ViewDefinition, p as DocumentTemplate } from './runtime-SCsDOQi0.mjs';
|
|
2
|
+
export { aa as AIBatchQuestion, ab as AIBatchQuestionAnswer, a9 as AIBatchQuestionOption, a4 as AIChatMessage, a3 as AIChatMessagePart, _ as AIChatMessagePartType, ag as AIConversation, fV as AIConversationsRepository, ah as AIMessage, af as AIMessageAttachment, U as AIMessageRole, al as AIProviderMetrics, a7 as AIQuestion, a8 as AIQuestionAnswer, a6 as AIQuestionOption, a5 as AIQuestionType, X as AIThinkingLevel, ad as AITodoItem, ae as AITodoList, ac as AITodoStatus, Z as AIToolCall, ai as AIToolCallRecord, Y as AIToolCallStatus, ak as AIUsageMetrics, fW as AIUsageMetricsRepository, aj as AIUserMemory, fX as AIUserMemoryRepository, ck as ActivityTab, bH as AddAttribute, gj as AddAttributeInput, bg as AdvancedFilterState, c7 as AssignRoleInput, fJ as AttributeChange, bG as AttributeMap, bC as AttributeSchema, fY as AttributesRepository, ao as AuditAction, ap as AuditActorType, aq as AuditChange, at as AuditListOptions, ar as AuditLogEntry, fZ as AuditRepository, an as AuditResourceType, hv as AuditService, au as AuditServiceOptions, gf as BaseRepository, ge as BaseService, B as BoundingBox, e7 as CacheAdapter, e5 as CacheKeyType, e8 as CacheOptions, ct as CalendarViewConfig, cx as CalendarViewDefinition, db as CanvasViewport, b2 as CheckboxFilterOperator, fa as ConditionExecutor, cQ as ConditionNode, d3 as ConditionOperator, cA as ConfigOverrides, am as CreateAIMessageInput, as as CreateAuditLogInput, gi as CreateCustomObjectInput, ir as CreateDBAttribute, im as CreateDBObject, iB as CreateDBView, iF as CreateDBViewOverlay, iI as CreateDBWorkflow, iR as CreateDBWorkflowAccessGrant, iL as CreateDBWorkflowInstance, iO as CreateDBWorkflowInvitation, aN as CreateDocument, az as CreateDocumentGenerationTemplate, aR as CreateDocumentSlot, aP as CreateDocumentTemplate, a_ as CreateFile, dz as CreateGrantInput, h9 as CreateGrantResult, ds as CreateInvitationInput, dt as CreateInvitationResult, iu as CreateObjectRecord, c6 as CreatePermissionInput, aT as CreateProcessingJob, hK as CreateRecordDocumentInput, hL as CreateRecordDocumentResult, c4 as CreateRoleInput, x as CreateSignatureInput, ce as CreateUserProfile, hU as CreateViewInput, hm as CreateWorkflowInput, b9 as CurrencyFilterValue, bL as CustomAttributeValue, cj as CustomTab, iq as DBAttribute, il as DBObject, iA as DBView, iE as DBViewOverlay, iH as DBWorkflow, iQ as DBWorkflowAccessGrant, iK as DBWorkflowInstance, iN as DBWorkflowInvitation, ib as DEFAULT_LABEL_FALLBACK, dU as DEFAULT_THEME, d_ as DatabaseAdapter, b3 as DateFilterOperator, cr as DetailViewConfig, aG as Document, aD as DocumentAutoProcessing, Q as DocumentData, fb as DocumentExecutor, hy as DocumentGenerationNotConfiguredError, hz as DocumentGenerationService, ay as DocumentGenerationTemplate, f_ as DocumentGenerationTemplateListOptions, hx as DocumentGenerationTemplateNotFoundError, f$ as DocumentGenerationTemplatesRepository, g0 as DocumentJobsRepository, aV as DocumentListOptions, cR as DocumentNode, hA as DocumentProcessingConfig, h3 as DocumentProcessingHook, h2 as DocumentProcessingHookOptions, hB as DocumentProcessingService, hF as DocumentRenderError, hD as DocumentRendererOptions, hH as DocumentRendererService, hN as DocumentService, hM as DocumentServiceOptions, aI as DocumentSlot, aC as DocumentSlotDefinition, g1 as DocumentSlotsRepository, aH as DocumentStatus, aW as DocumentTemplateListOptions, hI as DocumentTemplateService, g3 as DocumentTemplatesRepository, g2 as DocumentsRepository, cn as DocumentsTab, c1 as EffectivePermissions, fc as EndExecutor, cS as EndNode, eu as EvaluationResult, ev as EvaluationTrace, e_ as ExecutorCompleteResult, e$ as ExecutorContext, f0 as ExecutorErrorResult, f7 as ExecutorRegistry, f1 as ExecutorResult, f2 as ExecutorSuccessResult, f3 as ExecutorWaitResult, bd as ExtendedFilterRule, bV as ExtractAttributes, bX as ExtractObjectRecord, bY as ExtractObjectRecordWithCustom, bP as ExtractRecord, bR as ExtractRecordInput, bS as ExtractRecordInputStrict, bQ as ExtractRecordStrict, bT as ExtractRecordUpdate, bU as ExtractRecordUpdateStrict, aF as ExtractionField, aE as ExtractionMapping, eI as FeatureFlagsContext, eA as FeatureFlagsContextError, ed as FetchResult, aZ as File, hZ as FileContent, iz as FileListOptions, hP as FileService, hO as FileServiceOptions, aY as FileVisibility, g4 as FilesRepository, be as FilterCombinator, bf as FilterGroup, b7 as FilterOperator, bc as FilterRule, bb as FilterValue, bs as FlowDefinition, bp as FlowPage, bq as FlowRelation, bo as FlowRowField, bn as FlowSlot, br as FlowStatus, cm as FlowsTab, dL as FormContextResponse, fd as FormExecutor, dM as FormFieldContext, cT as FormFieldRef, dN as FormFieldRow, cU as FormNode, dO as FormNodeInfo, ci as FormTab, ee as FormattedRecord, gG as FormulaResolverService, gF as FormulaResolverServiceOptions, fr as FormulaResult, i9 as FullSyncOptions, i8 as FullSyncResult, cv as GalleryViewConfig, cz as GalleryViewDefinition, dG as GeneratedDocument, bA as GeocodingAdapter, bx as GeocodingAutocompleteParams, bz as GeocodingParams, hQ as GeocodingService, bw as GeocodingSuggestion, gy as GetRelationOptionsParams, hX as GetViewOptions, hW as GetViewsOptions, ix as GlobalSearchOptions, iy as GlobalSearchResultItem, hR as GlobalSearchService, h5 as GrantExpiredError, h4 as GrantNotFoundError, h6 as GrantRevokedError, h8 as GrantServiceConfig, ef as GroupedFetchResult, fK as HookContext, fL as HookDefinition, fM as HookHandler, fP as HookRegistry, fN as HookType, M as IdentityVerificationAdapter, bI as InferRecord, bD as InferRecordFromSchema, bJ as InferRecordInput, bK as InferRecordUpdate, bE as InferRecordWithRequirements, eg as InsertOptions, fv as InvalidPathError, hi as InvitationAlreadyAcceptedError, hh as InvitationExpiredError, hg as InvitationNotFoundError, hj as InvitationRevokedError, hf as InvitationServiceConfig, du as InvitationStatus, cg as InviteUserInput, e0 as JwtVerificationResult, gV as LabelResolver, iv as ListOptions, cs as ListViewConfig, co as ListViewLayout, e1 as MagicLinkPayload, fw as MaxDepthExceededError, fR as MockStores, b5 as MultiselectFilterOperator, bl as NO_VALUE_OPERATORS, bk as NoValueOperator, f4 as NodeExecutor, dc as NodePosition, ec as NoopCacheAdapter, bB as NoopGeocodingAdapter, fO as NoopHookRegistry, cl as NotesTab, b1 as NumberFilterOperator, bj as OPERATORS_BY_TYPE, c2 as ObjectPermissions, g5 as ObjectRecordsRepository, gm as ObjectSchemaService, gl as ObjectSchemaServiceOptions, g6 as ObjectsRepository, q as OcrAdapter, r as OcrInput, s as OcrOptions, u as OcrPage, t as OcrResult, v as OcrTextBlock, iT as OperationResult, fA as PathCardinality, fB as PathSegment, fC as PathSegmentType, aw as PdfTemplateField, dj as PendingAction, aB as PendingDocumentRequest, b$ as Permission, bZ as PermissionScope, hT as PermissionService, hS as PermissionServiceOptions, g7 as PermissionsRepository, ba as PhoneFilterValue, c8 as PolicyContext, fT as PolicyRegistry, ca as PolicyViolationError, aK as ProcessingJob, aM as ProcessingJobStatus, aL as ProcessingJobType, es as QueryBuilder, et as QueryBuilderOptions, eh as QueryBuilderState, eo as QueryMultipleResultsError, ep as QueryNoResultError, gq as QueryOptions, gs as QueryResult, bi as QueryState, dP as ReadOnlyReason, a2 as ReasoningPartData, hJ as RecordDocumentsResult, bN as RecordMetadata, c9 as RecordPolicy, gt as RecordQueryService, gp as RecordQueryServiceOptions, gD as RecordResolverService, go as RecordService, gn as RecordServiceOptions, ei as RegistryMap, ej as RegistryObjectNames, b6 as RelationFilterOperator, ij as RelationLabelResolver, gw as RelationOption, gx as RelationOptionsResponse, gC as RelationService, gz as RelationServiceOptions, gv as RelationValidationError, gu as RelationValidationResult, b8 as RelativeDateValue, hC as RenderDocumentInput, hE as RenderDocumentResult, gA as ResolveIdsBatchRequest, gB as ResolveIdsBatchResponse, gE as ResolvedRelations, hc as ResumeWorkflowInput, by as ReverseGeocodingParams, b_ as Role, h1 as RollupCascadeContext, gH as RollupResult, gL as RollupScheduler, gK as RollupSchedulerOptions, gJ as RollupService, gI as RollupServiceOptions, eq as SHORTCUT_TO_FILTER_OPERATOR, eQ as SchemaContext, gg as SchemaContextAware, gh as SchemaContextAwareRepository, fD as SchemaResolver, iw as SearchOptions, gr as SearchQueryOptions, b4 as SelectFilterOperator, ek as ShortcutOperator, w as SignatureAdapter, z as SignaturePosition, E as SignatureRequestResult, K as SignatureStatus, H as SignatureStatusResult, i0 as SignedUrlOptions, y as SignerRequest, J as SignerStatus, aJ as SlotStatus, bh as SortDirection, fe as StartExecutor, cV as StartNode, hb as StartWorkflowInput, i1 as StorageAdapter, hG as StorageDownloadNotSupportedError, aX as StorageProvider, h_ as StorageUploadInput, h$ as StorageUploadResult, i4 as SyncOptions, i3 as SyncResult, bO as SystemFields, c3 as SystemPermissions, ch as TabType, ax as TemplateSource, eX as TenantContext, ez as TenantContextError, b0 as TextFilterOperator, $ as TextPartData, dR as ThemeColors, dS as ThemeLogo, dT as ThemeTypography, a1 as ThinkingPartData, cu as TimelineViewConfig, cy as TimelineViewDefinition, h7 as TokenRevokedError, a0 as ToolPartData, fH as TraversalOptions, fI as TraversalResult, bF as TypedAttribute, bW as TypedObjectRecord, is as UpdateDBAttribute, io as UpdateDBObject, iC as UpdateDBView, iG as UpdateDBViewOverlay, iJ as UpdateDBWorkflow, iS as UpdateDBWorkflowAccessGrant, iM as UpdateDBWorkflowInstance, iP as UpdateDBWorkflowInvitation, aO as UpdateDocument, aA as UpdateDocumentGenerationTemplate, aS as UpdateDocumentSlot, aQ as UpdateDocumentTemplate, a$ as UpdateFile, gk as UpdateObjectInput, aU as UpdateProcessingJob, c5 as UpdateRoleInput, cf as UpdateUserProfile, hV as UpdateViewInput, hn as UpdateWorkflowInput, i2 as UploadFileInput, it as UpsertDBAttribute, ip as UpsertDBObject, iD as UpsertDBView, cd as UserProfile, hu as UserProfileService, ht as UserProfileServiceOptions, g8 as UserProfilesRepository, cb as UserRole, c0 as UserRoleAssignment, hs as UserService, cc as UserStatus, hr as UserValidationError, hq as UserValidationResult, av as VariableMapping, R as VerificationCheck, P as VerificationResult, N as VerifyInput, cw as ViewConfig, cp as ViewLayout, cB as ViewOverlay, dZ as ViewOverlaysRepository, hY as ViewService, iV as ViewSyncLogger, iW as ViewSyncOptions, iU as ViewSyncResult, cq as ViewTab, g9 as ViewsRepository, bM as WithCustomAttributes, dA as WorkflowAccessGrant, ha as WorkflowAccessGrantService, ga as WorkflowAccessGrantsRepository, dQ as WorkflowAccessMode, e2 as WorkflowAccessPayload, dk as WorkflowError, dH as WorkflowExecutionContext, dl as WorkflowInstance, he as WorkflowInstanceService, hd as WorkflowInstanceServiceOptions, gb as WorkflowInstancesRepository, dv as WorkflowInvitation, hk as WorkflowInvitationService, gc as WorkflowInvitationsRepository, e3 as WorkflowJwtConfig, e4 as WorkflowJwtPayload, d$ as WorkflowJwtService, dd as WorkflowLayout, cW as WorkflowNodeType, hl as WorkflowRelationService, hp as WorkflowService, ho as WorkflowServiceOptions, de as WorkflowSlot, df as WorkflowStatus, dm as WorkflowTransition, gd as WorkflowsRepository, eJ as addSchemaToContext, d4 as and, gM as applyDefaultValues, hw as buildAuditChanges, gP as buildPolicyContext, e9 as cacheKeys, ea as cacheTtl, dB as canAccessNode, dn as canResumeInstance, gN as checkPermission, gQ as checkRecordAccess, gS as checkRecordDeleteOrThrow, gR as checkRecordModifyOrThrow, gT as checkSharedObjectWriteAccess, f5 as complete, gU as computeLabel, ik as computeLabelWithRelations, gY as createContextForCreate, g_ as createContextForDelete, g$ as createContextForRestore, gZ as createContextForUpdate, eY as createDefaultExecutorRegistry, el as createDefaultState, dI as createEmptyContext, fQ as createMockAdapter, er as createQueryBuilder, dp as createStartTransition, fS as defaultPolicyRegistry, eb as defaultTtl, gX as enrichRecordsWithFormulas, ig as enrichValuesForDisplay, ih as enrichValuesWithSelectLabels, gW as enrichWithFormulas, d5 as eq, f6 as error, ex as evaluate, ew as evaluateCondition, ff as evaluateFormula, fg as evaluateFormulaAttribute, fh as evaluateFormulaAttributeWithRelations, fi as evaluateFormulaWithRelations, fj as evaluateFormulaWithResult, ey as evaluateWithTrace, ie as extractAttributeNames, fk as extractFormulaVariables, ii as extractRelationIds, fl as extractRelationNames, fm as extractRelationReferences, fn as flattenRelationsForEval, fo as formatFormulaResult, em as formatRecord, en as formatRecords, dV as generateCssVariables, eR as getContext, dJ as getContextValue, eZ as getDefaultExecutorRegistry, eB as getFeatureFlags, eC as getFeatureValue, cX as getNodeOutputs, fs as getPathDepth, gO as getPolicy, ft as getRelationPath, eK as getSchemaByNameFromContext, eL as getSchemaContext, eM as getSchemaFromContext, i7 as getSyncPreview, fu as getTargetAttributeName, eS as getTenantId, eT as getUserId, i$ as getViewSeedPreview, j0 as getViewSyncPreview, eU as hasContext, eD as hasFeatureFlagsContext, fp as hasRelationReferences, eN as hasSchemaContext, e6 as hashOptions, d6 as inValues, cM as isActivityTab, cY as isAdvancedFormNode, cE as isCalendarView, d7 as isConditionGroup, cZ as isConditionNode, d8 as isConditionRule, cL as isCustomTab, cC as isDetailView, cJ as isDirectTableTab, c_ as isDocumentNode, cP as isDocumentsTab, c$ as isEndNode, eE as isFeatureEnabled, bt as isFlowDefinition, bu as isFlowPublished, cO as isFlowsTab, d0 as isFormNode, cH as isFormTab, cG as isGalleryView, dC as isGrantExpired, dD as isGrantRevoked, dE as isGrantValid, dq as isInstanceTerminal, dr as isInstanceWaiting, cK as isInverseTableTab, dw as isInvitationAccepted, dx as isInvitationExpired, dy as isInvitationValid, id as isLabelExpression, cD as isListView, bm as isNoValueOperator, cN as isNotesTab, d1 as isSimpleFormNode, d2 as isStartNode, bv as isSystemFlow, dg as isSystemWorkflow, cI as isTableTab, cF as isTimelineView, dF as isTokenRevoked, dh as isWorkflowDefinition, di as isWorkflowPublished, dW as mergeWithDefaults, d9 as neq, fU as notesPolicy, da as or, fx as parsePath, fy as pathHasManyCardinality, h0 as recalculateParentRollups, dX as registry, ic as renderLabelExpression, fE as resolveMultiplePaths, fF as resolveSingleValue, eV as runWithContext, eF as runWithFeatureFlags, eO as runWithMergedSchemaContext, eP as runWithSchemaContext, iX as seedRegistryViews, dK as setContextValue, f8 as success, ia as syncAll, i5 as syncNativeObjects, iY as syncNativeViews, fG as traversePath, eG as tryGetFeatureValue, fq as validateFormulaExpression, fz as validatePath, i6 as verifyNativeObjectsSync, i_ as verifyNativeViewsSync, iZ as verifyRegistryViewsSeeded, dY as viewRegistry, f9 as wait, eH as withFeatureFlags, eW as withTenantContext } from './runtime-SCsDOQi0.mjs';
|
|
3
|
+
import { D as DateAttribute, U as UserAttribute, a as DocumentAttribute, A as Attribute, F as FeatureGate, T as TextAttribute, b as TextAreaAttribute, R as RichtextAttribute, c as RichtextFeature, N as NumberAttribute, C as CheckboxAttribute, P as PhoneAttribute, d as CurrencyAttribute, O as Option, S as StatusAttribute, e as SelectAttribute, M as MultiselectAttribute, L as LocationAttribute, f as FileAttribute, g as SingleRelationAttribute, h as MultiRelationAttribute, i as RelationTarget, j as RatingAttribute, k as FormulaAttribute, l as FormulaReturnType, m as RollupAttribute, n as RollupFunction, o as AttributeType, p as ObjectDefinition, q as FlagValueType, r as FeatureFlagDefinition, s as FlagLevel, t as FeatureFlagsRepository, u as StaticFlagDefault, v as ResolvedFlag } from './validators-BgmWgr-G.mjs';
|
|
4
|
+
export { x as AttributeGroup, B as BaseAttribute, a3 as CompletionStatus, H as Currency, a7 as DEFAULT_VALIDATION_MESSAGES, z as DateFormat, E as DateValue, X as FeatureFlagsConfig, W as FlagOverride, I as Location, J as LocationGranularity, y as NumberUnit, a2 as ObjectAttribute, a4 as ObjectRecord, G as Phone, K as RELATION_TARGET_ANY, Y as RESERVED_ATTRIBUTE_NAMES, Q as RelationAttribute, _ as ReservedAttributeName, Z as SYSTEM_FIELD_NAMES, a1 as SharingMode, w as StatusGroup, $ as SystemFieldName, a0 as Timestamps, a6 as ValidationMessages, aT as ValidationResult, ar as attributeConfigSchemas, ac as checkboxConfigSchema, b0 as computeRecordStatus, aQ as createAttributeValidator, ay as createCheckboxValidator, aB as createCurrencyValidator, az as createDateValidator, aX as createDraftValidator, aG as createFileValidator, aR as createFormAttributeValidator, aM as createFormulaValidator, aF as createLocationValidator, aJ as createMultiRelationValidator, aE as createMultiselectValidator, ax as createNumberValidator, aS as createObjectValidator, aA as createPhoneValidator, aL as createRatingValidator, aK as createRelationValidator, aP as createRichtextValidator, aN as createRollupValidator, aD as createSelectValidator, aI as createSingleRelationValidator, aC as createStatusValidator, aO as createTextAreaValidator, aw as createTextValidator, aH as createUserValidator, af as currencyConfigSchema, ad as dateConfigSchema, aq as documentConfigSchema, ak as fileConfigSchema, a5 as formatZodErrors, ao as formulaConfigSchema, as as getAttributeConfigSchema, a_ as getMissingRequiredAttributes, a$ as isRecordComplete, V as isUniversalRelation, ah as locationConfigSchema, aj as multiselectConfigSchema, ab as numberConfigSchema, au as parseAttributeConfig, ae as phoneConfigSchema, an as ratingConfigSchema, am as relationConfigSchema, aa as richtextConfigSchema, ap as rollupConfigSchema, av as safeParseAttributeConfig, ai as selectConfigSchema, ag as statusConfigSchema, a8 as textConfigSchema, a9 as textareaConfigSchema, al as userConfigSchema, aU as validateAttribute, at as validateAttributeConfig, aY as validateDraft, aZ as validateDraftOrThrow, aV as validateObject, aW as validateObjectOrThrow } from './validators-BgmWgr-G.mjs';
|
|
3
5
|
import { z } from 'zod';
|
|
6
|
+
export { TenantId, UserId, Uuid, asTenantId, asUserId, generateId, generatePrefixedId, generateTemplateName, indexBy, slugify } from './utils.mjs';
|
|
4
7
|
import { IconName, CountryIso3, CurrencyCode, MimeType, ColorId } from '@stndrds/constants';
|
|
5
8
|
import 'jose';
|
|
6
9
|
|
|
@@ -111,14 +114,6 @@ declare function isBehaviorProperty(property: string): property is BehaviorPrope
|
|
|
111
114
|
* Check if a property is a presentation property (always modifiable)
|
|
112
115
|
*/
|
|
113
116
|
declare function isPresentationProperty(property: string): property is PresentationProperty;
|
|
114
|
-
/**
|
|
115
|
-
* Get the protection level of a property
|
|
116
|
-
*/
|
|
117
|
-
declare function getPropertyProtectionLevel(property: string): "identity" | "behavior" | "presentation" | "unknown";
|
|
118
|
-
/**
|
|
119
|
-
* Filter properties by category
|
|
120
|
-
*/
|
|
121
|
-
declare function filterPropertiesByCategory(properties: string[], category: "identity" | "behavior" | "presentation"): string[];
|
|
122
117
|
|
|
123
118
|
/**
|
|
124
119
|
* Common configuration for all builders (Objects & Attributes)
|
|
@@ -1072,6 +1067,51 @@ interface ResumeWorkflowApiInput {
|
|
|
1072
1067
|
input: Record<string, unknown>;
|
|
1073
1068
|
}
|
|
1074
1069
|
|
|
1070
|
+
/**
|
|
1071
|
+
* Utility functions for working with objects.
|
|
1072
|
+
* Provides type-safe helpers to avoid common anti-patterns like Object.keys().length checks.
|
|
1073
|
+
*/
|
|
1074
|
+
/**
|
|
1075
|
+
* Checks if an object is empty (has no own enumerable properties).
|
|
1076
|
+
* Handles null/undefined safely.
|
|
1077
|
+
*
|
|
1078
|
+
* @example
|
|
1079
|
+
* isEmpty({}) // true
|
|
1080
|
+
* isEmpty({ foo: 'bar' }) // false
|
|
1081
|
+
* isEmpty(null) // true
|
|
1082
|
+
* isEmpty(undefined) // true
|
|
1083
|
+
*/
|
|
1084
|
+
declare function isEmpty(obj: unknown): boolean;
|
|
1085
|
+
/**
|
|
1086
|
+
* Type guard to check if an object is not empty.
|
|
1087
|
+
* Narrows the type to Record<string, unknown>.
|
|
1088
|
+
*
|
|
1089
|
+
* @example
|
|
1090
|
+
* if (isNotEmpty(params)) {
|
|
1091
|
+
* // params is Record<string, unknown> here
|
|
1092
|
+
* }
|
|
1093
|
+
*/
|
|
1094
|
+
declare function isNotEmpty(obj: unknown): obj is Record<string, unknown>;
|
|
1095
|
+
/**
|
|
1096
|
+
* Returns the object if it has properties, otherwise returns undefined.
|
|
1097
|
+
* Useful for conditional parameter passing.
|
|
1098
|
+
*
|
|
1099
|
+
* @example
|
|
1100
|
+
* const params = toUndefinedIfEmpty({ foo: 'bar' }); // { foo: 'bar' }
|
|
1101
|
+
* const empty = toUndefinedIfEmpty({}); // undefined
|
|
1102
|
+
*/
|
|
1103
|
+
declare function toUndefinedIfEmpty<T extends Record<string, unknown>>(obj: T | undefined | null): T | undefined;
|
|
1104
|
+
/**
|
|
1105
|
+
* Checks if an object has at least one own enumerable property.
|
|
1106
|
+
* Alias for isNotEmpty for better readability in some contexts.
|
|
1107
|
+
*
|
|
1108
|
+
* @example
|
|
1109
|
+
* if (hasProperties(config)) {
|
|
1110
|
+
* // config has at least one property
|
|
1111
|
+
* }
|
|
1112
|
+
*/
|
|
1113
|
+
declare function hasProperties(obj: unknown): obj is Record<string, unknown>;
|
|
1114
|
+
|
|
1075
1115
|
/**
|
|
1076
1116
|
* Default empty value placeholder
|
|
1077
1117
|
*/
|
|
@@ -1368,7 +1408,6 @@ declare function isForbiddenError(error: unknown): error is ForbiddenError;
|
|
|
1368
1408
|
declare class ConcurrentModificationError extends SchemaError {
|
|
1369
1409
|
constructor(recordId: string);
|
|
1370
1410
|
}
|
|
1371
|
-
declare function isConcurrentModificationError(error: unknown): error is ConcurrentModificationError;
|
|
1372
1411
|
|
|
1373
1412
|
/**
|
|
1374
1413
|
* Builder config with literal name type preservation
|
|
@@ -3858,23 +3897,6 @@ declare function generateDefaultListView(object: ObjectDefinition, options?: Gen
|
|
|
3858
3897
|
* @returns A generated ViewDefinition
|
|
3859
3898
|
*/
|
|
3860
3899
|
declare function generateFallbackView(object: ObjectDefinition, type: ViewType, options?: GenerateFallbackViewOptions): ViewDefinition;
|
|
3861
|
-
/**
|
|
3862
|
-
* Generate a modal detail view (simplified, single form tab).
|
|
3863
|
-
*
|
|
3864
|
-
* @param object - The object definition
|
|
3865
|
-
* @param attributeNames - Specific attributes to include (optional)
|
|
3866
|
-
* @returns A generated DetailViewDefinition for modal layout
|
|
3867
|
-
*/
|
|
3868
|
-
declare function generateModalDetailView(object: ObjectDefinition, attributeNames?: string[]): DetailViewDefinition;
|
|
3869
|
-
/**
|
|
3870
|
-
* Generate a kanban list view.
|
|
3871
|
-
*
|
|
3872
|
-
* @param object - The object definition
|
|
3873
|
-
* @param groupByAttribute - Attribute to group by (must be select/status type)
|
|
3874
|
-
* @param options - Generation options
|
|
3875
|
-
* @returns A generated ListViewDefinition with kanban layout
|
|
3876
|
-
*/
|
|
3877
|
-
declare function generateKanbanListView(object: ObjectDefinition, groupByAttribute: string, options?: GenerateFallbackViewOptions): ListViewDefinition;
|
|
3878
3900
|
|
|
3879
3901
|
/**
|
|
3880
3902
|
* View Reset Utilities
|
|
@@ -3980,4 +4002,4 @@ declare function getSystemTemplate(name: string): DocumentTemplate | undefined;
|
|
|
3980
4002
|
*/
|
|
3981
4003
|
declare function isSystemTemplate(name: string): boolean;
|
|
3982
4004
|
|
|
3983
|
-
export { ALL_SYSTEM_RESOURCES, ActivityTabConfig, type AgentContentPart, type AgentMessage, type AnyAttributeBuilder, Attribute, AttributeGroupField, AttributeInUseError, AttributeNotFoundError, AttributeType, type AttributeUsage, AuthMethodSchema, BEHAVIOR_PROPERTIES, type BehaviorProperty, type BuilderConfig, type ChatFileAttachment, CheckboxAttribute, ConcurrentModificationError, ConditionGroup, ConditionGroupSchema, ConditionNodeSchema, ConditionOperatorSchema, ConditionRule, ConditionRuleSchema, CreateShareInputSchema, CurrencyAttribute, CustomTabConfig, DEFAULT_ROLES, DEFAULT_ROLE_DESCRIPTIONS, DEFAULT_ROLE_LABELS, DEFAULT_ROLE_PERMISSIONS, DRIVING_LICENSE, DateAttribute, type DefaultRoleName, type DefaultRolePermissionConfig, DetailViewBuilder, DetailViewDefinition, DetailViewLayout, DirectTableTab, DirectTableTabConfig, DocumentAttribute, DocumentNodeSchema, DocumentTemplate, DocumentsTabConfig, DuplicateError, EMPTY_VALUE_PLACEHOLDER, EndNodeSchema, type ExtractAttributeName, type ExtractAttributeRequired, FRENCH_ID_CARD, FeatureFlagDefinition, FeatureFlagsRepository, FeatureGate, Field, FileAttribute, FileNotFoundError, FilterState, FlagLevel, FlagRegistry, type FlagResolutionContext, FlagService, type FlagServiceOptions, FlagValueType, FlowRow, FlowRowFieldSchema, FlowRowSchema, FlowsTabConfig, ForbiddenError, FormFieldRefSchema, FormNodeSchema, FormulaAttribute, FormulaReturnType, GENERIC_DOCUMENT, type GenerateFallbackViewOptions, Group, GroupBuilder, IDENTITY_PROPERTIES, type IdentityProperty, InferAttributeValue, InstanceStatus, InverseTableTab, InverseTableTabConfig, ListViewBuilder, ListViewDefinition, ListViewTabConfigBuilder, LocationAttribute, MultiRelationAttribute, MultiselectAttribute, NOTES, NodePositionSchema, NotFoundError, NotSystemObjectError, NotesTabConfig, NumberAttribute, ObjectAction, ObjectBuilder, ObjectDefinition, ObjectNotFoundError, ObjectReferencedError, Option, PASSPORT, PRESENTATION_PROPERTIES, PROOF_OF_ADDRESS, PhoneAttribute, type PresentationProperty, ProtectedResourceError, ProtectedRoleError, RatingAttribute, RecordNotFoundError, type RecordReference, RecordReferencedError, RelationTarget, type ResetViewOptions, ResolvedFlag, type ResumeWorkflowApiInput, RichtextAttribute, RichtextFeature, RoleNotFoundError, RollupAttribute, RollupFunction, SIGNABLE_CONTRACT, SYSTEM_ATTRIBUTES, SYSTEM_RESOURCES, SYSTEM_RESOURCE_LABELS, SYSTEM_TEMPLATES, SYSTEM_TEMPLATE_IDS, SchemaError, SchemaErrorCode, SelectAttribute, ShareStatusSchema, SingleRelationAttribute, SlotMode, SlotModeSchema, SortRule, StartNodeSchema, type StartWorkflowApiInput, StaticFlagDefault, StatusAttribute, SyncError, SystemAction, type SystemAttribute, type SystemAttributeName, SystemResource, Tab, TabBuilder, TableTab, TextAreaAttribute, TextAttribute, ThemeColorsSchema, ThemeLogoSchema, type TypedBuilderConfig, UserAttribute, UserProfileNotFoundError, type ValidatedConditionGroup, type ValidatedWorkflowDefinition, type ValidatedWorkflowNode, ValidationError, type ValidationErrorDetail, ViewBuilder, ViewDefinition, ViewType, ViewportSchema, WorkflowBuilder, WorkflowConditionBuilder, WorkflowConfig, WorkflowConfigSchema, WorkflowDefinition, WorkflowDefinitionSchema, WorkflowEndBuilder, type WorkflowEvent, type WorkflowEventType, WorkflowFormBuilder, WorkflowFormRowBuilder, type WorkflowGrantRevokedEvent, type WorkflowInstanceCancelledEvent, type WorkflowInstanceCompletedEvent, type WorkflowInstanceFailedEvent, type WorkflowInstanceStartedEvent, type WorkflowInvitationAcceptedEvent, type WorkflowInvitationCreatedEvent, type WorkflowInvitationExpiredEvent, WorkflowLayoutSchema, WorkflowNode, type WorkflowNodeCompletedEvent, type WorkflowNodeEnteredEvent, type WorkflowNodeFailedEvent, WorkflowNodeSchema, WorkflowShareSchema, WorkflowSimpleFormBuilder, WorkflowSlotSchema, WorkflowStartBuilder, WorkflowStatusSchema, WorkflowTheme, WorkflowThemeSchema, booleanFlag, checkbox, createFlagRegistry, createFlagService, currency, date, detailView, document, file,
|
|
4005
|
+
export { ALL_SYSTEM_RESOURCES, ActivityTabConfig, type AgentContentPart, type AgentMessage, type AnyAttributeBuilder, Attribute, AttributeGroupField, AttributeInUseError, AttributeNotFoundError, AttributeType, type AttributeUsage, AuthMethodSchema, BEHAVIOR_PROPERTIES, type BehaviorProperty, type BuilderConfig, type ChatFileAttachment, CheckboxAttribute, ConcurrentModificationError, ConditionGroup, ConditionGroupSchema, ConditionNodeSchema, ConditionOperatorSchema, ConditionRule, ConditionRuleSchema, CreateShareInputSchema, CurrencyAttribute, CustomTabConfig, DEFAULT_ROLES, DEFAULT_ROLE_DESCRIPTIONS, DEFAULT_ROLE_LABELS, DEFAULT_ROLE_PERMISSIONS, DRIVING_LICENSE, DateAttribute, type DefaultRoleName, type DefaultRolePermissionConfig, DetailViewBuilder, DetailViewDefinition, DetailViewLayout, DirectTableTab, DirectTableTabConfig, DocumentAttribute, DocumentNodeSchema, DocumentTemplate, DocumentsTabConfig, DuplicateError, EMPTY_VALUE_PLACEHOLDER, EndNodeSchema, type ExtractAttributeName, type ExtractAttributeRequired, FRENCH_ID_CARD, FeatureFlagDefinition, FeatureFlagsRepository, FeatureGate, Field, FileAttribute, FileNotFoundError, FilterState, FlagLevel, FlagRegistry, type FlagResolutionContext, FlagService, type FlagServiceOptions, FlagValueType, FlowRow, FlowRowFieldSchema, FlowRowSchema, FlowsTabConfig, ForbiddenError, FormFieldRefSchema, FormNodeSchema, FormulaAttribute, FormulaReturnType, GENERIC_DOCUMENT, type GenerateFallbackViewOptions, Group, GroupBuilder, IDENTITY_PROPERTIES, type IdentityProperty, InferAttributeValue, InstanceStatus, InverseTableTab, InverseTableTabConfig, ListViewBuilder, ListViewDefinition, ListViewTabConfigBuilder, LocationAttribute, MultiRelationAttribute, MultiselectAttribute, NOTES, NodePositionSchema, NotFoundError, NotSystemObjectError, NotesTabConfig, NumberAttribute, ObjectAction, ObjectBuilder, ObjectDefinition, ObjectNotFoundError, ObjectReferencedError, Option, PASSPORT, PRESENTATION_PROPERTIES, PROOF_OF_ADDRESS, PhoneAttribute, type PresentationProperty, ProtectedResourceError, ProtectedRoleError, RatingAttribute, RecordNotFoundError, type RecordReference, RecordReferencedError, RelationTarget, type ResetViewOptions, ResolvedFlag, type ResumeWorkflowApiInput, RichtextAttribute, RichtextFeature, RoleNotFoundError, RollupAttribute, RollupFunction, SIGNABLE_CONTRACT, SYSTEM_ATTRIBUTES, SYSTEM_RESOURCES, SYSTEM_RESOURCE_LABELS, SYSTEM_TEMPLATES, SYSTEM_TEMPLATE_IDS, SchemaError, SchemaErrorCode, SelectAttribute, ShareStatusSchema, SingleRelationAttribute, SlotMode, SlotModeSchema, SortRule, StartNodeSchema, type StartWorkflowApiInput, StaticFlagDefault, StatusAttribute, SyncError, SystemAction, type SystemAttribute, type SystemAttributeName, SystemResource, Tab, TabBuilder, TableTab, TextAreaAttribute, TextAttribute, ThemeColorsSchema, ThemeLogoSchema, type TypedBuilderConfig, UserAttribute, UserProfileNotFoundError, type ValidatedConditionGroup, type ValidatedWorkflowDefinition, type ValidatedWorkflowNode, ValidationError, type ValidationErrorDetail, ViewBuilder, ViewDefinition, ViewType, ViewportSchema, WorkflowBuilder, WorkflowConditionBuilder, WorkflowConfig, WorkflowConfigSchema, WorkflowDefinition, WorkflowDefinitionSchema, WorkflowEndBuilder, type WorkflowEvent, type WorkflowEventType, WorkflowFormBuilder, WorkflowFormRowBuilder, type WorkflowGrantRevokedEvent, type WorkflowInstanceCancelledEvent, type WorkflowInstanceCompletedEvent, type WorkflowInstanceFailedEvent, type WorkflowInstanceStartedEvent, type WorkflowInvitationAcceptedEvent, type WorkflowInvitationCreatedEvent, type WorkflowInvitationExpiredEvent, WorkflowLayoutSchema, WorkflowNode, type WorkflowNodeCompletedEvent, type WorkflowNodeEnteredEvent, type WorkflowNodeFailedEvent, WorkflowNodeSchema, WorkflowShareSchema, WorkflowSimpleFormBuilder, WorkflowSlotSchema, WorkflowStartBuilder, WorkflowStatusSchema, WorkflowTheme, WorkflowThemeSchema, booleanFlag, checkbox, createFlagRegistry, createFlagService, currency, date, detailView, document, file, flagRegistry, formatAttributeValue, formula, generateDefaultDetailView, generateDefaultListView, generateFallbackView, getSystemAttributeList, getSystemTemplate, group, hasProperties, isBehaviorProperty, isDefaultRole, isEmpty, isForbiddenError, isIdentityProperty, isInstanceEvent, isInvitationOrGrantEvent, isNodeEvent, isNotEmpty, isNotFoundError, isPresentationProperty, isProtectedResourceError, isSchemaError, isSystemAttribute, isSystemAttributeObject, isSystemTemplate, isValidationError, isViewCustomized, jsonFlag, listView, location, multiselect, number, numberFlag, object, phone, rating, relation, resetViewToDefault, richtext, rollup, select, status, stringFlag, text, textarea, toUndefinedIfEmpty, user, view, workflow };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { aJ as AIBatchQuestion, aK as AIBatchQuestionAnswer, aI as AIBatchQuestionOption, aD as AIChatMessage, aC as AIChatMessagePart, ax as AIChatMessagePartType, aP as AIConversation, i0 as AIConversationsRepository, aQ as AIMessage, aO as AIMessageAttachment, at as AIMessageRole, aU as AIProviderMetrics, aG as AIQuestion, aH as AIQuestionAnswer, aF as AIQuestionOption, aE as AIQuestionType, au as AIThinkingLevel, aM as AITodoItem, aN as AITodoList, aL as AITodoStatus, aw as AIToolCall, aR as AIToolCallRecord, av as AIToolCallStatus, aT as AIUsageMetrics, i1 as AIUsageMetricsRepository, aS as AIUserMemory, i2 as AIUserMemoryRepository, dk as ActivityTab, cy as AddAttribute, is as AddAttributeInput, c4 as AdvancedFilterState, d7 as AssignRoleInput, hQ as AttributeChange, aX as AttributeGroup, cx as AttributeMap, ct as AttributeSchema, i3 as AttributesRepository, b8 as AuditAction, b9 as AuditActorType, ba as AuditChange, bd as AuditListOptions, bb as AuditLogEntry, i4 as AuditRepository, b7 as AuditResourceType, jF as AuditService, be as AuditServiceOptions, aY as BaseAttribute, io as BaseRepository, im as BaseService, af as BoundingBox, ge as CacheAdapter, gc as CacheKeyType, gf as CacheOptions, du as CalendarViewConfig, dy as CalendarViewDefinition, ee as CanvasViewport, bS as CheckboxFilterOperator, cX as CompletionStatus, hh as ConditionExecutor, dR as ConditionNode, e4 as ConditionOperator, dB as ConfigOverrides, aV as CreateAIMessageInput, bc as CreateAuditLogInput, ir as CreateCustomObjectInput, kz as CreateDBAttribute, kv as CreateDBObject, kJ as CreateDBView, kN as CreateDBViewOverlay, kQ as CreateDBWorkflow, kZ as CreateDBWorkflowAccessGrant, kT as CreateDBWorkflowInstance, kW as CreateDBWorkflowInvitation, bz as CreateDocument, bj as CreateDocumentGenerationTemplate, bD as CreateDocumentSlot, bB as CreateDocumentTemplate, bO as CreateFile, eB as CreateGrantInput, ji as CreateGrantResult, eu as CreateInvitationInput, ev as CreateInvitationResult, kC as CreateObjectRecord, d6 as CreatePermissionInput, bF as CreateProcessingJob, jU as CreateRecordDocumentInput, jV as CreateRecordDocumentResult, d4 as CreateRoleInput, ah as CreateSignatureInput, de as CreateUserProfile, k2 as CreateViewInput, jw as CreateWorkflowInput, b1 as Currency, bZ as CurrencyFilterValue, cC as CustomAttributeValue, dj as CustomTab, ky as DBAttribute, ku as DBObject, kI as DBView, kM as DBViewOverlay, kP as DBWorkflow, kY as DBWorkflowAccessGrant, kS as DBWorkflowInstance, kV as DBWorkflowInvitation, kl as DEFAULT_LABEL_FALLBACK, eX as DEFAULT_THEME, fa as DEFAULT_VALIDATION_MESSAGES, g5 as DatabaseAdapter, bT as DateFilterOperator, a_ as DateFormat, a$ as DateValue, ds as DetailViewConfig, bs as Document, bp as DocumentAutoProcessing, ar as DocumentData, hi as DocumentExecutor, jI as DocumentGenerationNotConfiguredError, jJ as DocumentGenerationService, bi as DocumentGenerationTemplate, i5 as DocumentGenerationTemplateListOptions, jH as DocumentGenerationTemplateNotFoundError, i6 as DocumentGenerationTemplatesRepository, i7 as DocumentJobsRepository, bH as DocumentListOptions, dS as DocumentNode, jK as DocumentProcessingConfig, jc as DocumentProcessingHook, jb as DocumentProcessingHookOptions, jL as DocumentProcessingService, jP as DocumentRenderError, jN as DocumentRendererOptions, jR as DocumentRendererService, jX as DocumentService, jW as DocumentServiceOptions, bu as DocumentSlot, bo as DocumentSlotDefinition, i8 as DocumentSlotsRepository, bt as DocumentStatus, bI as DocumentTemplateListOptions, jS as DocumentTemplateService, ia as DocumentTemplatesRepository, i9 as DocumentsRepository, dn as DocumentsTab, d1 as EffectivePermissions, hj as EndExecutor, dT as EndNode, gB as EvaluationResult, gC as EvaluationTrace, h5 as ExecutorCompleteResult, h6 as ExecutorContext, h7 as ExecutorErrorResult, he as ExecutorRegistry, h8 as ExecutorResult, h9 as ExecutorSuccessResult, ha as ExecutorWaitResult, c1 as ExtendedFilterRule, cM as ExtractAttributes, cO as ExtractObjectRecord, cP as ExtractObjectRecordWithCustom, cG as ExtractRecord, cI as ExtractRecordInput, cJ as ExtractRecordInputStrict, cH as ExtractRecordStrict, cK as ExtractRecordUpdate, cL as ExtractRecordUpdateStrict, br as ExtractionField, bq as ExtractionMapping, bK as FeatureFlagsConfig, gP as FeatureFlagsContext, gH as FeatureFlagsContextError, gk as FetchResult, ju as FieldReadOnlyResult, bN as File, k7 as FileContent, kH as FileListOptions, jZ as FileService, jY as FileServiceOptions, bM as FileVisibility, ib as FilesRepository, c2 as FilterCombinator, c3 as FilterGroup, bX as FilterOperator, c0 as FilterRule, b$ as FilterValue, bJ as FlagOverride, cj as FlowDefinition, cg as FlowPage, ch as FlowRelation, cf as FlowRowField, ce as FlowSlot, ci as FlowStatus, dm as FlowsTab, eO as FormContextResponse, hk as FormExecutor, eP as FormFieldContext, dU as FormFieldRef, eQ as FormFieldRow, dV as FormNode, eR as FormNodeInfo, di as FormTab, gl as FormattedRecord, iP as FormulaResolverService, iO as FormulaResolverServiceOptions, hy as FormulaResult, kj as FullSyncOptions, ki as FullSyncResult, dw as GalleryViewConfig, dA as GalleryViewDefinition, eI as GeneratedDocument, cr as GeocodingAdapter, co as GeocodingAutocompleteParams, cq as GeocodingParams, j_ as GeocodingService, cn as GeocodingSuggestion, iH as GetRelationOptionsParams, k5 as GetViewOptions, k4 as GetViewsOptions, kF as GlobalSearchOptions, kG as GlobalSearchResultItem, j$ as GlobalSearchService, je as GrantExpiredError, jd as GrantNotFoundError, jf as GrantRevokedError, jh as GrantServiceConfig, gm as GroupedFetchResult, hR as HookContext, hS as HookDefinition, hT as HookHandler, hW as HookRegistry, hU as HookType, ao as IdentityVerificationAdapter, cz as InferRecord, cu as InferRecordFromSchema, cA as InferRecordInput, cB as InferRecordUpdate, cv as InferRecordWithRequirements, gn as InsertOptions, hC as InvalidPathError, jr as InvitationAlreadyAcceptedError, jq as InvitationExpiredError, jp as InvitationNotFoundError, js as InvitationRevokedError, jo as InvitationServiceConfig, ew as InvitationStatus, dg as InviteUserInput, g7 as JwtVerificationResult, j2 as LabelResolver, kD as ListOptions, dt as ListViewConfig, dp as ListViewLayout, b2 as Location, b3 as LocationGranularity, g8 as MagicLinkPayload, hD as MaxDepthExceededError, hY as MockStores, bV as MultiselectFilterOperator, cc as NO_VALUE_OPERATORS, cb as NoValueOperator, hb as NodeExecutor, ef as NodePosition, gj as NoopCacheAdapter, cs as NoopGeocodingAdapter, hV as NoopHookRegistry, dl as NotesTab, bR as NumberFilterOperator, aZ as NumberUnit, ca as OPERATORS_BY_TYPE, cW as ObjectAttribute, d2 as ObjectPermissions, cY as ObjectRecord, ic as ObjectRecordsRepository, iv as ObjectSchemaService, iu as ObjectSchemaServiceOptions, id as ObjectsRepository, a9 as OcrAdapter, aa as OcrInput, ab as OcrOptions, ad as OcrPage, ac as OcrResult, ae as OcrTextBlock, k$ as OperationResult, hH as PathCardinality, hI as PathSegment, hJ as PathSegmentType, bg as PdfTemplateField, em as PendingAction, bl as PendingDocumentRequest, c$ as Permission, cZ as PermissionScope, k1 as PermissionService, k0 as PermissionServiceOptions, ie as PermissionsRepository, b0 as Phone, b_ as PhoneFilterValue, d8 as PolicyContext, h_ as PolicyRegistry, da as PolicyViolationError, bw as ProcessingJob, by as ProcessingJobStatus, bx as ProcessingJobType, gz as QueryBuilder, gA as QueryBuilderOptions, go as QueryBuilderState, gv as QueryMultipleResultsError, gw as QueryNoResultError, iz as QueryOptions, iB as QueryResult, c9 as QueryState, b4 as RELATION_TARGET_ANY, cQ as RESERVED_ATTRIBUTE_NAMES, eS as ReadOnlyReason, aB as ReasoningPartData, jT as RecordDocumentsResult, cE as RecordMetadata, d9 as RecordPolicy, iC as RecordQueryService, iy as RecordQueryServiceOptions, iM as RecordResolverService, ix as RecordService, iw as RecordServiceOptions, gp as RegistryMap, gq as RegistryObjectNames, b5 as RelationAttribute, bW as RelationFilterOperator, ks as RelationLabelResolver, iF as RelationOption, iG as RelationOptionsResponse, iL as RelationService, iI as RelationServiceOptions, iE as RelationValidationError, iD as RelationValidationResult, bY as RelativeDateValue, jM as RenderDocumentInput, jO as RenderDocumentResult, cS as ReservedAttributeName, iJ as ResolveIdsBatchRequest, iK as ResolveIdsBatchResponse, iN as ResolvedRelations, jl as ResumeWorkflowInput, cp as ReverseGeocodingParams, c_ as Role, ja as RollupCascadeContext, iQ as RollupResult, iU as RollupScheduler, iT as RollupSchedulerOptions, iS as RollupService, iR as RollupServiceOptions, gx as SHORTCUT_TO_FILTER_OPERATOR, cR as SYSTEM_FIELD_NAMES, gX as SchemaContext, ip as SchemaContextAware, iq as SchemaContextAwareRepository, hK as SchemaResolver, kE as SearchOptions, iA as SearchQueryOptions, bU as SelectFilterOperator, cV as SharingMode, gr as ShortcutOperator, ag as SignatureAdapter, aj as SignaturePosition, ak as SignatureRequestResult, an as SignatureStatus, al as SignatureStatusResult, ka as SignedUrlOptions, ai as SignerRequest, am as SignerStatus, bv as SlotStatus, c8 as SortDirection, hl as StartExecutor, dW as StartNode, jk as StartWorkflowInput, aW as StatusGroup, kb as StorageAdapter, jQ as StorageDownloadNotSupportedError, bL as StorageProvider, k8 as StorageUploadInput, k9 as StorageUploadResult, ke as SyncOptions, kd as SyncResult, cT as SystemFieldName, cF as SystemFields, d3 as SystemPermissions, dh as TabType, bh as TemplateSource, h2 as TenantContext, gG as TenantContextError, e$ as TenantId, bQ as TextFilterOperator, ay as TextPartData, eU as ThemeColors, eV as ThemeLogo, eW as ThemeTypography, aA as ThinkingPartData, dv as TimelineViewConfig, dz as TimelineViewDefinition, cU as Timestamps, jg as TokenRevokedError, az as ToolPartData, hO as TraversalOptions, hP as TraversalResult, cw as TypedAttribute, cN as TypedObjectRecord, kA as UpdateDBAttribute, kw as UpdateDBObject, kK as UpdateDBView, kO as UpdateDBViewOverlay, kR as UpdateDBWorkflow, k_ as UpdateDBWorkflowAccessGrant, kU as UpdateDBWorkflowInstance, kX as UpdateDBWorkflowInvitation, bA as UpdateDocument, bk as UpdateDocumentGenerationTemplate, bE as UpdateDocumentSlot, bC as UpdateDocumentTemplate, bP as UpdateFile, it as UpdateObjectInput, bG as UpdateProcessingJob, d5 as UpdateRoleInput, df as UpdateUserProfile, k3 as UpdateViewInput, jx as UpdateWorkflowInput, kc as UploadFileInput, kB as UpsertDBAttribute, kx as UpsertDBObject, kL as UpsertDBView, f0 as UserId, dd as UserProfile, jE as UserProfileService, jD as UserProfileServiceOptions, ig as UserProfilesRepository, db as UserRole, d0 as UserRoleAssignment, jC as UserService, dc as UserStatus, jB as UserValidationError, jA as UserValidationResult, e_ as Uuid, f9 as ValidationMessages, fW as ValidationResult, bf as VariableMapping, as as VerificationCheck, aq as VerificationResult, ap as VerifyInput, dx as ViewConfig, dq as ViewLayout, dC as ViewOverlay, g4 as ViewOverlaysRepository, k6 as ViewService, l1 as ViewSyncLogger, l2 as ViewSyncOptions, l0 as ViewSyncResult, dr as ViewTab, ih as ViewsRepository, cD as WithCustomAttributes, eC as WorkflowAccessGrant, jj as WorkflowAccessGrantService, ii as WorkflowAccessGrantsRepository, eT as WorkflowAccessMode, g9 as WorkflowAccessPayload, en as WorkflowError, eJ as WorkflowExecutionContext, eo as WorkflowInstance, jn as WorkflowInstanceService, jm as WorkflowInstanceServiceOptions, ij as WorkflowInstancesRepository, ex as WorkflowInvitation, jt as WorkflowInvitationService, ik as WorkflowInvitationsRepository, ga as WorkflowJwtConfig, gb as WorkflowJwtPayload, g6 as WorkflowJwtService, eg as WorkflowLayout, dX as WorkflowNodeType, jv as WorkflowRelationService, jz as WorkflowService, jy as WorkflowServiceOptions, eh as WorkflowSlot, ei as WorkflowStatus, ep as WorkflowTransition, il as WorkflowsRepository, gQ as addSchemaToContext, e5 as and, iV as applyDefaultValues, f1 as asTenantId, f2 as asUserId, fu as attributeConfigSchemas, jG as buildAuditChanges, iY as buildPolicyContext, gg as cacheKeys, gh as cacheTtl, eD as canAccessNode, eq as canResumeInstance, iW as checkPermission, iZ as checkRecordAccess, i$ as checkRecordDeleteOrThrow, i_ as checkRecordModifyOrThrow, j0 as checkSharedObjectWriteAccess, ff as checkboxConfigSchema, hc as complete, j1 as computeLabel, kt as computeLabelWithRelations, g3 as computeRecordStatus, fT as createAttributeValidator, fB as createCheckboxValidator, j5 as createContextForCreate, j7 as createContextForDelete, j8 as createContextForRestore, j6 as createContextForUpdate, fE as createCurrencyValidator, fC as createDateValidator, h3 as createDefaultExecutorRegistry, gs as createDefaultState, f_ as createDraftValidator, eK as createEmptyContext, fJ as createFileValidator, fU as createFormAttributeValidator, fP as createFormulaValidator, fI as createLocationValidator, hX as createMockAdapter, fM as createMultiRelationValidator, fH as createMultiselectValidator, fA as createNumberValidator, fV as createObjectValidator, fD as createPhoneValidator, gy as createQueryBuilder, fO as createRatingValidator, fN as createRelationValidator, fS as createRichtextValidator, fQ as createRollupValidator, fG as createSelectValidator, fL as createSingleRelationValidator, er as createStartTransition, fF as createStatusValidator, fR as createTextAreaValidator, fz as createTextValidator, fK as createUserValidator, fi as currencyConfigSchema, fg as dateConfigSchema, hZ as defaultPolicyRegistry, gi as defaultTtl, ft as documentConfigSchema, j4 as enrichRecordsWithFormulas, kp as enrichValuesForDisplay, kq as enrichValuesWithSelectLabels, j3 as enrichWithFormulas, e6 as eq, hd as error, gE as evaluate, gD as evaluateCondition, hm as evaluateFormula, hn as evaluateFormulaAttribute, ho as evaluateFormulaAttributeWithRelations, hp as evaluateFormulaWithRelations, hq as evaluateFormulaWithResult, gF as evaluateWithTrace, ko as extractAttributeNames, hr as extractFormulaVariables, kr as extractRelationIds, hs as extractRelationNames, ht as extractRelationReferences, fn as fileConfigSchema, hu as flattenRelationsForEval, hv as formatFormulaResult, gt as formatRecord, gu as formatRecords, fr as formulaConfigSchema, eY as generateCssVariables, f3 as generateId, f4 as generatePrefixedId, f6 as generateTemplateName, fv as getAttributeConfigSchema, gY as getContext, eL as getContextValue, h4 as getDefaultExecutorRegistry, gI as getFeatureFlags, gJ as getFeatureValue, g1 as getMissingRequiredAttributes, dY as getNodeOutputs, hz as getPathDepth, iX as getPolicy, hA as getRelationPath, gR as getSchemaByNameFromContext, gS as getSchemaContext, gT as getSchemaFromContext, kh as getSyncPreview, hB as getTargetAttributeName, gZ as getTenantId, g_ as getUserId, l7 as getViewSeedPreview, l8 as getViewSyncPreview, g$ as hasContext, gK as hasFeatureFlagsContext, hw as hasRelationReferences, gU as hasSchemaContext, gd as hashOptions, e7 as inValues, dN as isActivityTab, c5 as isAdvancedFilterState, dZ as isAdvancedFormNode, dF as isCalendarView, e8 as isConditionGroup, d_ as isConditionNode, e9 as isConditionRule, dM as isCustomTab, dD as isDetailView, dK as isDirectTableTab, d$ as isDocumentNode, dQ as isDocumentsTab, bn as isDocxTemplateSource, ea as isEmpty, e0 as isEndNode, gL as isFeatureEnabled, ck as isFlowDefinition, cl as isFlowPublished, dP as isFlowsTab, e1 as isFormNode, dI as isFormTab, dH as isGalleryView, eE as isGrantExpired, eF as isGrantRevoked, eG as isGrantValid, es as isInstanceTerminal, et as isInstanceWaiting, dL as isInverseTableTab, ey as isInvitationAccepted, ez as isInvitationExpired, eA as isInvitationValid, kn as isLabelExpression, dE as isListView, cd as isNoValueOperator, eb as isNotEmpty, dO as isNotesTab, bm as isPdfTemplateSource, g2 as isRecordComplete, e2 as isSimpleFormNode, e3 as isStartNode, cm as isSystemFlow, ej as isSystemWorkflow, dJ as isTableTab, dG as isTimelineView, eH as isTokenRevoked, b6 as isUniversalRelation, ek as isWorkflowDefinition, el as isWorkflowPublished, fk as locationConfigSchema, eM as mergeFormToSlot, eZ as mergeWithDefaults, fm as multiselectConfigSchema, ec as neq, h$ as notesPolicy, fe as numberConfigSchema, ed as or, fx as parseAttributeConfig, hE as parsePath, hF as pathHasManyCardinality, fh as phoneConfigSchema, fq as ratingConfigSchema, j9 as recalculateParentRollups, f7 as registry, fp as relationConfigSchema, km as renderLabelExpression, hL as resolveMultiplePaths, hM as resolveSingleValue, fd as richtextConfigSchema, fs as rollupConfigSchema, h0 as runWithContext, gM as runWithFeatureFlags, gV as runWithMergedSchemaContext, gW as runWithSchemaContext, fy as safeParseAttributeConfig, l3 as seedRegistryViews, fl as selectConfigSchema, eN as setContextValue, f5 as slugify, fj as statusConfigSchema, hf as success, kk as syncAll, kf as syncNativeObjects, l4 as syncNativeViews, fb as textConfigSchema, fc as textareaConfigSchema, c6 as toAdvancedFilterState, c7 as toSimpleFilterState, hN as traversePath, gN as tryGetFeatureValue, fo as userConfigSchema, fX as validateAttribute, fw as validateAttributeConfig, f$ as validateDraft, g0 as validateDraftOrThrow, hx as validateFormulaExpression, fY as validateObject, fZ as validateObjectOrThrow, hG as validatePath, kg as verifyNativeObjectsSync, l6 as verifyNativeViewsSync, l5 as verifyRegistryViewsSeeded, f8 as viewRegistry, hg as wait, gO as withFeatureFlags, h1 as withTenantContext } from './runtime-BqJdmg_4.js';
|
|
1
|
+
import { S as SystemResource, a as SystemAction, O as ObjectAction, I as InferAttributeValue, F as Field, A as AttributeGroupField, G as Group, T as TableTab, D as DetailViewLayout, b as InverseTableTab, c as DetailViewDefinition, d as InstanceStatus, e as Tab, f as FilterState, g as SortRule, h as DirectTableTab, L as ListViewDefinition, W as WorkflowTheme, i as WorkflowConfig, j as SlotMode, C as ConditionGroup, k as ConditionRule, l as WorkflowNode, m as WorkflowDefinition, n as FlowRow, V as ViewType, o as ViewDefinition, p as DocumentTemplate } from './runtime-C4vB_EcQ.js';
|
|
2
|
+
export { aa as AIBatchQuestion, ab as AIBatchQuestionAnswer, a9 as AIBatchQuestionOption, a4 as AIChatMessage, a3 as AIChatMessagePart, _ as AIChatMessagePartType, ag as AIConversation, fV as AIConversationsRepository, ah as AIMessage, af as AIMessageAttachment, U as AIMessageRole, al as AIProviderMetrics, a7 as AIQuestion, a8 as AIQuestionAnswer, a6 as AIQuestionOption, a5 as AIQuestionType, X as AIThinkingLevel, ad as AITodoItem, ae as AITodoList, ac as AITodoStatus, Z as AIToolCall, ai as AIToolCallRecord, Y as AIToolCallStatus, ak as AIUsageMetrics, fW as AIUsageMetricsRepository, aj as AIUserMemory, fX as AIUserMemoryRepository, ck as ActivityTab, bH as AddAttribute, gj as AddAttributeInput, bg as AdvancedFilterState, c7 as AssignRoleInput, fJ as AttributeChange, bG as AttributeMap, bC as AttributeSchema, fY as AttributesRepository, ao as AuditAction, ap as AuditActorType, aq as AuditChange, at as AuditListOptions, ar as AuditLogEntry, fZ as AuditRepository, an as AuditResourceType, hv as AuditService, au as AuditServiceOptions, gf as BaseRepository, ge as BaseService, B as BoundingBox, e7 as CacheAdapter, e5 as CacheKeyType, e8 as CacheOptions, ct as CalendarViewConfig, cx as CalendarViewDefinition, db as CanvasViewport, b2 as CheckboxFilterOperator, fa as ConditionExecutor, cQ as ConditionNode, d3 as ConditionOperator, cA as ConfigOverrides, am as CreateAIMessageInput, as as CreateAuditLogInput, gi as CreateCustomObjectInput, ir as CreateDBAttribute, im as CreateDBObject, iB as CreateDBView, iF as CreateDBViewOverlay, iI as CreateDBWorkflow, iR as CreateDBWorkflowAccessGrant, iL as CreateDBWorkflowInstance, iO as CreateDBWorkflowInvitation, aN as CreateDocument, az as CreateDocumentGenerationTemplate, aR as CreateDocumentSlot, aP as CreateDocumentTemplate, a_ as CreateFile, dz as CreateGrantInput, h9 as CreateGrantResult, ds as CreateInvitationInput, dt as CreateInvitationResult, iu as CreateObjectRecord, c6 as CreatePermissionInput, aT as CreateProcessingJob, hK as CreateRecordDocumentInput, hL as CreateRecordDocumentResult, c4 as CreateRoleInput, x as CreateSignatureInput, ce as CreateUserProfile, hU as CreateViewInput, hm as CreateWorkflowInput, b9 as CurrencyFilterValue, bL as CustomAttributeValue, cj as CustomTab, iq as DBAttribute, il as DBObject, iA as DBView, iE as DBViewOverlay, iH as DBWorkflow, iQ as DBWorkflowAccessGrant, iK as DBWorkflowInstance, iN as DBWorkflowInvitation, ib as DEFAULT_LABEL_FALLBACK, dU as DEFAULT_THEME, d_ as DatabaseAdapter, b3 as DateFilterOperator, cr as DetailViewConfig, aG as Document, aD as DocumentAutoProcessing, Q as DocumentData, fb as DocumentExecutor, hy as DocumentGenerationNotConfiguredError, hz as DocumentGenerationService, ay as DocumentGenerationTemplate, f_ as DocumentGenerationTemplateListOptions, hx as DocumentGenerationTemplateNotFoundError, f$ as DocumentGenerationTemplatesRepository, g0 as DocumentJobsRepository, aV as DocumentListOptions, cR as DocumentNode, hA as DocumentProcessingConfig, h3 as DocumentProcessingHook, h2 as DocumentProcessingHookOptions, hB as DocumentProcessingService, hF as DocumentRenderError, hD as DocumentRendererOptions, hH as DocumentRendererService, hN as DocumentService, hM as DocumentServiceOptions, aI as DocumentSlot, aC as DocumentSlotDefinition, g1 as DocumentSlotsRepository, aH as DocumentStatus, aW as DocumentTemplateListOptions, hI as DocumentTemplateService, g3 as DocumentTemplatesRepository, g2 as DocumentsRepository, cn as DocumentsTab, c1 as EffectivePermissions, fc as EndExecutor, cS as EndNode, eu as EvaluationResult, ev as EvaluationTrace, e_ as ExecutorCompleteResult, e$ as ExecutorContext, f0 as ExecutorErrorResult, f7 as ExecutorRegistry, f1 as ExecutorResult, f2 as ExecutorSuccessResult, f3 as ExecutorWaitResult, bd as ExtendedFilterRule, bV as ExtractAttributes, bX as ExtractObjectRecord, bY as ExtractObjectRecordWithCustom, bP as ExtractRecord, bR as ExtractRecordInput, bS as ExtractRecordInputStrict, bQ as ExtractRecordStrict, bT as ExtractRecordUpdate, bU as ExtractRecordUpdateStrict, aF as ExtractionField, aE as ExtractionMapping, eI as FeatureFlagsContext, eA as FeatureFlagsContextError, ed as FetchResult, aZ as File, hZ as FileContent, iz as FileListOptions, hP as FileService, hO as FileServiceOptions, aY as FileVisibility, g4 as FilesRepository, be as FilterCombinator, bf as FilterGroup, b7 as FilterOperator, bc as FilterRule, bb as FilterValue, bs as FlowDefinition, bp as FlowPage, bq as FlowRelation, bo as FlowRowField, bn as FlowSlot, br as FlowStatus, cm as FlowsTab, dL as FormContextResponse, fd as FormExecutor, dM as FormFieldContext, cT as FormFieldRef, dN as FormFieldRow, cU as FormNode, dO as FormNodeInfo, ci as FormTab, ee as FormattedRecord, gG as FormulaResolverService, gF as FormulaResolverServiceOptions, fr as FormulaResult, i9 as FullSyncOptions, i8 as FullSyncResult, cv as GalleryViewConfig, cz as GalleryViewDefinition, dG as GeneratedDocument, bA as GeocodingAdapter, bx as GeocodingAutocompleteParams, bz as GeocodingParams, hQ as GeocodingService, bw as GeocodingSuggestion, gy as GetRelationOptionsParams, hX as GetViewOptions, hW as GetViewsOptions, ix as GlobalSearchOptions, iy as GlobalSearchResultItem, hR as GlobalSearchService, h5 as GrantExpiredError, h4 as GrantNotFoundError, h6 as GrantRevokedError, h8 as GrantServiceConfig, ef as GroupedFetchResult, fK as HookContext, fL as HookDefinition, fM as HookHandler, fP as HookRegistry, fN as HookType, M as IdentityVerificationAdapter, bI as InferRecord, bD as InferRecordFromSchema, bJ as InferRecordInput, bK as InferRecordUpdate, bE as InferRecordWithRequirements, eg as InsertOptions, fv as InvalidPathError, hi as InvitationAlreadyAcceptedError, hh as InvitationExpiredError, hg as InvitationNotFoundError, hj as InvitationRevokedError, hf as InvitationServiceConfig, du as InvitationStatus, cg as InviteUserInput, e0 as JwtVerificationResult, gV as LabelResolver, iv as ListOptions, cs as ListViewConfig, co as ListViewLayout, e1 as MagicLinkPayload, fw as MaxDepthExceededError, fR as MockStores, b5 as MultiselectFilterOperator, bl as NO_VALUE_OPERATORS, bk as NoValueOperator, f4 as NodeExecutor, dc as NodePosition, ec as NoopCacheAdapter, bB as NoopGeocodingAdapter, fO as NoopHookRegistry, cl as NotesTab, b1 as NumberFilterOperator, bj as OPERATORS_BY_TYPE, c2 as ObjectPermissions, g5 as ObjectRecordsRepository, gm as ObjectSchemaService, gl as ObjectSchemaServiceOptions, g6 as ObjectsRepository, q as OcrAdapter, r as OcrInput, s as OcrOptions, u as OcrPage, t as OcrResult, v as OcrTextBlock, iT as OperationResult, fA as PathCardinality, fB as PathSegment, fC as PathSegmentType, aw as PdfTemplateField, dj as PendingAction, aB as PendingDocumentRequest, b$ as Permission, bZ as PermissionScope, hT as PermissionService, hS as PermissionServiceOptions, g7 as PermissionsRepository, ba as PhoneFilterValue, c8 as PolicyContext, fT as PolicyRegistry, ca as PolicyViolationError, aK as ProcessingJob, aM as ProcessingJobStatus, aL as ProcessingJobType, es as QueryBuilder, et as QueryBuilderOptions, eh as QueryBuilderState, eo as QueryMultipleResultsError, ep as QueryNoResultError, gq as QueryOptions, gs as QueryResult, bi as QueryState, dP as ReadOnlyReason, a2 as ReasoningPartData, hJ as RecordDocumentsResult, bN as RecordMetadata, c9 as RecordPolicy, gt as RecordQueryService, gp as RecordQueryServiceOptions, gD as RecordResolverService, go as RecordService, gn as RecordServiceOptions, ei as RegistryMap, ej as RegistryObjectNames, b6 as RelationFilterOperator, ij as RelationLabelResolver, gw as RelationOption, gx as RelationOptionsResponse, gC as RelationService, gz as RelationServiceOptions, gv as RelationValidationError, gu as RelationValidationResult, b8 as RelativeDateValue, hC as RenderDocumentInput, hE as RenderDocumentResult, gA as ResolveIdsBatchRequest, gB as ResolveIdsBatchResponse, gE as ResolvedRelations, hc as ResumeWorkflowInput, by as ReverseGeocodingParams, b_ as Role, h1 as RollupCascadeContext, gH as RollupResult, gL as RollupScheduler, gK as RollupSchedulerOptions, gJ as RollupService, gI as RollupServiceOptions, eq as SHORTCUT_TO_FILTER_OPERATOR, eQ as SchemaContext, gg as SchemaContextAware, gh as SchemaContextAwareRepository, fD as SchemaResolver, iw as SearchOptions, gr as SearchQueryOptions, b4 as SelectFilterOperator, ek as ShortcutOperator, w as SignatureAdapter, z as SignaturePosition, E as SignatureRequestResult, K as SignatureStatus, H as SignatureStatusResult, i0 as SignedUrlOptions, y as SignerRequest, J as SignerStatus, aJ as SlotStatus, bh as SortDirection, fe as StartExecutor, cV as StartNode, hb as StartWorkflowInput, i1 as StorageAdapter, hG as StorageDownloadNotSupportedError, aX as StorageProvider, h_ as StorageUploadInput, h$ as StorageUploadResult, i4 as SyncOptions, i3 as SyncResult, bO as SystemFields, c3 as SystemPermissions, ch as TabType, ax as TemplateSource, eX as TenantContext, ez as TenantContextError, b0 as TextFilterOperator, $ as TextPartData, dR as ThemeColors, dS as ThemeLogo, dT as ThemeTypography, a1 as ThinkingPartData, cu as TimelineViewConfig, cy as TimelineViewDefinition, h7 as TokenRevokedError, a0 as ToolPartData, fH as TraversalOptions, fI as TraversalResult, bF as TypedAttribute, bW as TypedObjectRecord, is as UpdateDBAttribute, io as UpdateDBObject, iC as UpdateDBView, iG as UpdateDBViewOverlay, iJ as UpdateDBWorkflow, iS as UpdateDBWorkflowAccessGrant, iM as UpdateDBWorkflowInstance, iP as UpdateDBWorkflowInvitation, aO as UpdateDocument, aA as UpdateDocumentGenerationTemplate, aS as UpdateDocumentSlot, aQ as UpdateDocumentTemplate, a$ as UpdateFile, gk as UpdateObjectInput, aU as UpdateProcessingJob, c5 as UpdateRoleInput, cf as UpdateUserProfile, hV as UpdateViewInput, hn as UpdateWorkflowInput, i2 as UploadFileInput, it as UpsertDBAttribute, ip as UpsertDBObject, iD as UpsertDBView, cd as UserProfile, hu as UserProfileService, ht as UserProfileServiceOptions, g8 as UserProfilesRepository, cb as UserRole, c0 as UserRoleAssignment, hs as UserService, cc as UserStatus, hr as UserValidationError, hq as UserValidationResult, av as VariableMapping, R as VerificationCheck, P as VerificationResult, N as VerifyInput, cw as ViewConfig, cp as ViewLayout, cB as ViewOverlay, dZ as ViewOverlaysRepository, hY as ViewService, iV as ViewSyncLogger, iW as ViewSyncOptions, iU as ViewSyncResult, cq as ViewTab, g9 as ViewsRepository, bM as WithCustomAttributes, dA as WorkflowAccessGrant, ha as WorkflowAccessGrantService, ga as WorkflowAccessGrantsRepository, dQ as WorkflowAccessMode, e2 as WorkflowAccessPayload, dk as WorkflowError, dH as WorkflowExecutionContext, dl as WorkflowInstance, he as WorkflowInstanceService, hd as WorkflowInstanceServiceOptions, gb as WorkflowInstancesRepository, dv as WorkflowInvitation, hk as WorkflowInvitationService, gc as WorkflowInvitationsRepository, e3 as WorkflowJwtConfig, e4 as WorkflowJwtPayload, d$ as WorkflowJwtService, dd as WorkflowLayout, cW as WorkflowNodeType, hl as WorkflowRelationService, hp as WorkflowService, ho as WorkflowServiceOptions, de as WorkflowSlot, df as WorkflowStatus, dm as WorkflowTransition, gd as WorkflowsRepository, eJ as addSchemaToContext, d4 as and, gM as applyDefaultValues, hw as buildAuditChanges, gP as buildPolicyContext, e9 as cacheKeys, ea as cacheTtl, dB as canAccessNode, dn as canResumeInstance, gN as checkPermission, gQ as checkRecordAccess, gS as checkRecordDeleteOrThrow, gR as checkRecordModifyOrThrow, gT as checkSharedObjectWriteAccess, f5 as complete, gU as computeLabel, ik as computeLabelWithRelations, gY as createContextForCreate, g_ as createContextForDelete, g$ as createContextForRestore, gZ as createContextForUpdate, eY as createDefaultExecutorRegistry, el as createDefaultState, dI as createEmptyContext, fQ as createMockAdapter, er as createQueryBuilder, dp as createStartTransition, fS as defaultPolicyRegistry, eb as defaultTtl, gX as enrichRecordsWithFormulas, ig as enrichValuesForDisplay, ih as enrichValuesWithSelectLabels, gW as enrichWithFormulas, d5 as eq, f6 as error, ex as evaluate, ew as evaluateCondition, ff as evaluateFormula, fg as evaluateFormulaAttribute, fh as evaluateFormulaAttributeWithRelations, fi as evaluateFormulaWithRelations, fj as evaluateFormulaWithResult, ey as evaluateWithTrace, ie as extractAttributeNames, fk as extractFormulaVariables, ii as extractRelationIds, fl as extractRelationNames, fm as extractRelationReferences, fn as flattenRelationsForEval, fo as formatFormulaResult, em as formatRecord, en as formatRecords, dV as generateCssVariables, eR as getContext, dJ as getContextValue, eZ as getDefaultExecutorRegistry, eB as getFeatureFlags, eC as getFeatureValue, cX as getNodeOutputs, fs as getPathDepth, gO as getPolicy, ft as getRelationPath, eK as getSchemaByNameFromContext, eL as getSchemaContext, eM as getSchemaFromContext, i7 as getSyncPreview, fu as getTargetAttributeName, eS as getTenantId, eT as getUserId, i$ as getViewSeedPreview, j0 as getViewSyncPreview, eU as hasContext, eD as hasFeatureFlagsContext, fp as hasRelationReferences, eN as hasSchemaContext, e6 as hashOptions, d6 as inValues, cM as isActivityTab, cY as isAdvancedFormNode, cE as isCalendarView, d7 as isConditionGroup, cZ as isConditionNode, d8 as isConditionRule, cL as isCustomTab, cC as isDetailView, cJ as isDirectTableTab, c_ as isDocumentNode, cP as isDocumentsTab, c$ as isEndNode, eE as isFeatureEnabled, bt as isFlowDefinition, bu as isFlowPublished, cO as isFlowsTab, d0 as isFormNode, cH as isFormTab, cG as isGalleryView, dC as isGrantExpired, dD as isGrantRevoked, dE as isGrantValid, dq as isInstanceTerminal, dr as isInstanceWaiting, cK as isInverseTableTab, dw as isInvitationAccepted, dx as isInvitationExpired, dy as isInvitationValid, id as isLabelExpression, cD as isListView, bm as isNoValueOperator, cN as isNotesTab, d1 as isSimpleFormNode, d2 as isStartNode, bv as isSystemFlow, dg as isSystemWorkflow, cI as isTableTab, cF as isTimelineView, dF as isTokenRevoked, dh as isWorkflowDefinition, di as isWorkflowPublished, dW as mergeWithDefaults, d9 as neq, fU as notesPolicy, da as or, fx as parsePath, fy as pathHasManyCardinality, h0 as recalculateParentRollups, dX as registry, ic as renderLabelExpression, fE as resolveMultiplePaths, fF as resolveSingleValue, eV as runWithContext, eF as runWithFeatureFlags, eO as runWithMergedSchemaContext, eP as runWithSchemaContext, iX as seedRegistryViews, dK as setContextValue, f8 as success, ia as syncAll, i5 as syncNativeObjects, iY as syncNativeViews, fG as traversePath, eG as tryGetFeatureValue, fq as validateFormulaExpression, fz as validatePath, i6 as verifyNativeObjectsSync, i_ as verifyNativeViewsSync, iZ as verifyRegistryViewsSeeded, dY as viewRegistry, f9 as wait, eH as withFeatureFlags, eW as withTenantContext } from './runtime-C4vB_EcQ.js';
|
|
3
|
+
import { D as DateAttribute, U as UserAttribute, a as DocumentAttribute, A as Attribute, F as FeatureGate, T as TextAttribute, b as TextAreaAttribute, R as RichtextAttribute, c as RichtextFeature, N as NumberAttribute, C as CheckboxAttribute, P as PhoneAttribute, d as CurrencyAttribute, O as Option, S as StatusAttribute, e as SelectAttribute, M as MultiselectAttribute, L as LocationAttribute, f as FileAttribute, g as SingleRelationAttribute, h as MultiRelationAttribute, i as RelationTarget, j as RatingAttribute, k as FormulaAttribute, l as FormulaReturnType, m as RollupAttribute, n as RollupFunction, o as AttributeType, p as ObjectDefinition, q as FlagValueType, r as FeatureFlagDefinition, s as FlagLevel, t as FeatureFlagsRepository, u as StaticFlagDefault, v as ResolvedFlag } from './validators-miARInAq.js';
|
|
4
|
+
export { x as AttributeGroup, B as BaseAttribute, a3 as CompletionStatus, H as Currency, a7 as DEFAULT_VALIDATION_MESSAGES, z as DateFormat, E as DateValue, X as FeatureFlagsConfig, W as FlagOverride, I as Location, J as LocationGranularity, y as NumberUnit, a2 as ObjectAttribute, a4 as ObjectRecord, G as Phone, K as RELATION_TARGET_ANY, Y as RESERVED_ATTRIBUTE_NAMES, Q as RelationAttribute, _ as ReservedAttributeName, Z as SYSTEM_FIELD_NAMES, a1 as SharingMode, w as StatusGroup, $ as SystemFieldName, a0 as Timestamps, a6 as ValidationMessages, aT as ValidationResult, ar as attributeConfigSchemas, ac as checkboxConfigSchema, b0 as computeRecordStatus, aQ as createAttributeValidator, ay as createCheckboxValidator, aB as createCurrencyValidator, az as createDateValidator, aX as createDraftValidator, aG as createFileValidator, aR as createFormAttributeValidator, aM as createFormulaValidator, aF as createLocationValidator, aJ as createMultiRelationValidator, aE as createMultiselectValidator, ax as createNumberValidator, aS as createObjectValidator, aA as createPhoneValidator, aL as createRatingValidator, aK as createRelationValidator, aP as createRichtextValidator, aN as createRollupValidator, aD as createSelectValidator, aI as createSingleRelationValidator, aC as createStatusValidator, aO as createTextAreaValidator, aw as createTextValidator, aH as createUserValidator, af as currencyConfigSchema, ad as dateConfigSchema, aq as documentConfigSchema, ak as fileConfigSchema, a5 as formatZodErrors, ao as formulaConfigSchema, as as getAttributeConfigSchema, a_ as getMissingRequiredAttributes, a$ as isRecordComplete, V as isUniversalRelation, ah as locationConfigSchema, aj as multiselectConfigSchema, ab as numberConfigSchema, au as parseAttributeConfig, ae as phoneConfigSchema, an as ratingConfigSchema, am as relationConfigSchema, aa as richtextConfigSchema, ap as rollupConfigSchema, av as safeParseAttributeConfig, ai as selectConfigSchema, ag as statusConfigSchema, a8 as textConfigSchema, a9 as textareaConfigSchema, al as userConfigSchema, aU as validateAttribute, at as validateAttributeConfig, aY as validateDraft, aZ as validateDraftOrThrow, aV as validateObject, aW as validateObjectOrThrow } from './validators-miARInAq.js';
|
|
3
5
|
import { z } from 'zod';
|
|
6
|
+
export { TenantId, UserId, Uuid, asTenantId, asUserId, generateId, generatePrefixedId, generateTemplateName, indexBy, slugify } from './utils.js';
|
|
4
7
|
import { IconName, CountryIso3, CurrencyCode, MimeType, ColorId } from '@stndrds/constants';
|
|
5
8
|
import 'jose';
|
|
6
9
|
|
|
@@ -111,14 +114,6 @@ declare function isBehaviorProperty(property: string): property is BehaviorPrope
|
|
|
111
114
|
* Check if a property is a presentation property (always modifiable)
|
|
112
115
|
*/
|
|
113
116
|
declare function isPresentationProperty(property: string): property is PresentationProperty;
|
|
114
|
-
/**
|
|
115
|
-
* Get the protection level of a property
|
|
116
|
-
*/
|
|
117
|
-
declare function getPropertyProtectionLevel(property: string): "identity" | "behavior" | "presentation" | "unknown";
|
|
118
|
-
/**
|
|
119
|
-
* Filter properties by category
|
|
120
|
-
*/
|
|
121
|
-
declare function filterPropertiesByCategory(properties: string[], category: "identity" | "behavior" | "presentation"): string[];
|
|
122
117
|
|
|
123
118
|
/**
|
|
124
119
|
* Common configuration for all builders (Objects & Attributes)
|
|
@@ -1072,6 +1067,51 @@ interface ResumeWorkflowApiInput {
|
|
|
1072
1067
|
input: Record<string, unknown>;
|
|
1073
1068
|
}
|
|
1074
1069
|
|
|
1070
|
+
/**
|
|
1071
|
+
* Utility functions for working with objects.
|
|
1072
|
+
* Provides type-safe helpers to avoid common anti-patterns like Object.keys().length checks.
|
|
1073
|
+
*/
|
|
1074
|
+
/**
|
|
1075
|
+
* Checks if an object is empty (has no own enumerable properties).
|
|
1076
|
+
* Handles null/undefined safely.
|
|
1077
|
+
*
|
|
1078
|
+
* @example
|
|
1079
|
+
* isEmpty({}) // true
|
|
1080
|
+
* isEmpty({ foo: 'bar' }) // false
|
|
1081
|
+
* isEmpty(null) // true
|
|
1082
|
+
* isEmpty(undefined) // true
|
|
1083
|
+
*/
|
|
1084
|
+
declare function isEmpty(obj: unknown): boolean;
|
|
1085
|
+
/**
|
|
1086
|
+
* Type guard to check if an object is not empty.
|
|
1087
|
+
* Narrows the type to Record<string, unknown>.
|
|
1088
|
+
*
|
|
1089
|
+
* @example
|
|
1090
|
+
* if (isNotEmpty(params)) {
|
|
1091
|
+
* // params is Record<string, unknown> here
|
|
1092
|
+
* }
|
|
1093
|
+
*/
|
|
1094
|
+
declare function isNotEmpty(obj: unknown): obj is Record<string, unknown>;
|
|
1095
|
+
/**
|
|
1096
|
+
* Returns the object if it has properties, otherwise returns undefined.
|
|
1097
|
+
* Useful for conditional parameter passing.
|
|
1098
|
+
*
|
|
1099
|
+
* @example
|
|
1100
|
+
* const params = toUndefinedIfEmpty({ foo: 'bar' }); // { foo: 'bar' }
|
|
1101
|
+
* const empty = toUndefinedIfEmpty({}); // undefined
|
|
1102
|
+
*/
|
|
1103
|
+
declare function toUndefinedIfEmpty<T extends Record<string, unknown>>(obj: T | undefined | null): T | undefined;
|
|
1104
|
+
/**
|
|
1105
|
+
* Checks if an object has at least one own enumerable property.
|
|
1106
|
+
* Alias for isNotEmpty for better readability in some contexts.
|
|
1107
|
+
*
|
|
1108
|
+
* @example
|
|
1109
|
+
* if (hasProperties(config)) {
|
|
1110
|
+
* // config has at least one property
|
|
1111
|
+
* }
|
|
1112
|
+
*/
|
|
1113
|
+
declare function hasProperties(obj: unknown): obj is Record<string, unknown>;
|
|
1114
|
+
|
|
1075
1115
|
/**
|
|
1076
1116
|
* Default empty value placeholder
|
|
1077
1117
|
*/
|
|
@@ -1368,7 +1408,6 @@ declare function isForbiddenError(error: unknown): error is ForbiddenError;
|
|
|
1368
1408
|
declare class ConcurrentModificationError extends SchemaError {
|
|
1369
1409
|
constructor(recordId: string);
|
|
1370
1410
|
}
|
|
1371
|
-
declare function isConcurrentModificationError(error: unknown): error is ConcurrentModificationError;
|
|
1372
1411
|
|
|
1373
1412
|
/**
|
|
1374
1413
|
* Builder config with literal name type preservation
|
|
@@ -3858,23 +3897,6 @@ declare function generateDefaultListView(object: ObjectDefinition, options?: Gen
|
|
|
3858
3897
|
* @returns A generated ViewDefinition
|
|
3859
3898
|
*/
|
|
3860
3899
|
declare function generateFallbackView(object: ObjectDefinition, type: ViewType, options?: GenerateFallbackViewOptions): ViewDefinition;
|
|
3861
|
-
/**
|
|
3862
|
-
* Generate a modal detail view (simplified, single form tab).
|
|
3863
|
-
*
|
|
3864
|
-
* @param object - The object definition
|
|
3865
|
-
* @param attributeNames - Specific attributes to include (optional)
|
|
3866
|
-
* @returns A generated DetailViewDefinition for modal layout
|
|
3867
|
-
*/
|
|
3868
|
-
declare function generateModalDetailView(object: ObjectDefinition, attributeNames?: string[]): DetailViewDefinition;
|
|
3869
|
-
/**
|
|
3870
|
-
* Generate a kanban list view.
|
|
3871
|
-
*
|
|
3872
|
-
* @param object - The object definition
|
|
3873
|
-
* @param groupByAttribute - Attribute to group by (must be select/status type)
|
|
3874
|
-
* @param options - Generation options
|
|
3875
|
-
* @returns A generated ListViewDefinition with kanban layout
|
|
3876
|
-
*/
|
|
3877
|
-
declare function generateKanbanListView(object: ObjectDefinition, groupByAttribute: string, options?: GenerateFallbackViewOptions): ListViewDefinition;
|
|
3878
3900
|
|
|
3879
3901
|
/**
|
|
3880
3902
|
* View Reset Utilities
|
|
@@ -3980,4 +4002,4 @@ declare function getSystemTemplate(name: string): DocumentTemplate | undefined;
|
|
|
3980
4002
|
*/
|
|
3981
4003
|
declare function isSystemTemplate(name: string): boolean;
|
|
3982
4004
|
|
|
3983
|
-
export { ALL_SYSTEM_RESOURCES, ActivityTabConfig, type AgentContentPart, type AgentMessage, type AnyAttributeBuilder, Attribute, AttributeGroupField, AttributeInUseError, AttributeNotFoundError, AttributeType, type AttributeUsage, AuthMethodSchema, BEHAVIOR_PROPERTIES, type BehaviorProperty, type BuilderConfig, type ChatFileAttachment, CheckboxAttribute, ConcurrentModificationError, ConditionGroup, ConditionGroupSchema, ConditionNodeSchema, ConditionOperatorSchema, ConditionRule, ConditionRuleSchema, CreateShareInputSchema, CurrencyAttribute, CustomTabConfig, DEFAULT_ROLES, DEFAULT_ROLE_DESCRIPTIONS, DEFAULT_ROLE_LABELS, DEFAULT_ROLE_PERMISSIONS, DRIVING_LICENSE, DateAttribute, type DefaultRoleName, type DefaultRolePermissionConfig, DetailViewBuilder, DetailViewDefinition, DetailViewLayout, DirectTableTab, DirectTableTabConfig, DocumentAttribute, DocumentNodeSchema, DocumentTemplate, DocumentsTabConfig, DuplicateError, EMPTY_VALUE_PLACEHOLDER, EndNodeSchema, type ExtractAttributeName, type ExtractAttributeRequired, FRENCH_ID_CARD, FeatureFlagDefinition, FeatureFlagsRepository, FeatureGate, Field, FileAttribute, FileNotFoundError, FilterState, FlagLevel, FlagRegistry, type FlagResolutionContext, FlagService, type FlagServiceOptions, FlagValueType, FlowRow, FlowRowFieldSchema, FlowRowSchema, FlowsTabConfig, ForbiddenError, FormFieldRefSchema, FormNodeSchema, FormulaAttribute, FormulaReturnType, GENERIC_DOCUMENT, type GenerateFallbackViewOptions, Group, GroupBuilder, IDENTITY_PROPERTIES, type IdentityProperty, InferAttributeValue, InstanceStatus, InverseTableTab, InverseTableTabConfig, ListViewBuilder, ListViewDefinition, ListViewTabConfigBuilder, LocationAttribute, MultiRelationAttribute, MultiselectAttribute, NOTES, NodePositionSchema, NotFoundError, NotSystemObjectError, NotesTabConfig, NumberAttribute, ObjectAction, ObjectBuilder, ObjectDefinition, ObjectNotFoundError, ObjectReferencedError, Option, PASSPORT, PRESENTATION_PROPERTIES, PROOF_OF_ADDRESS, PhoneAttribute, type PresentationProperty, ProtectedResourceError, ProtectedRoleError, RatingAttribute, RecordNotFoundError, type RecordReference, RecordReferencedError, RelationTarget, type ResetViewOptions, ResolvedFlag, type ResumeWorkflowApiInput, RichtextAttribute, RichtextFeature, RoleNotFoundError, RollupAttribute, RollupFunction, SIGNABLE_CONTRACT, SYSTEM_ATTRIBUTES, SYSTEM_RESOURCES, SYSTEM_RESOURCE_LABELS, SYSTEM_TEMPLATES, SYSTEM_TEMPLATE_IDS, SchemaError, SchemaErrorCode, SelectAttribute, ShareStatusSchema, SingleRelationAttribute, SlotMode, SlotModeSchema, SortRule, StartNodeSchema, type StartWorkflowApiInput, StaticFlagDefault, StatusAttribute, SyncError, SystemAction, type SystemAttribute, type SystemAttributeName, SystemResource, Tab, TabBuilder, TableTab, TextAreaAttribute, TextAttribute, ThemeColorsSchema, ThemeLogoSchema, type TypedBuilderConfig, UserAttribute, UserProfileNotFoundError, type ValidatedConditionGroup, type ValidatedWorkflowDefinition, type ValidatedWorkflowNode, ValidationError, type ValidationErrorDetail, ViewBuilder, ViewDefinition, ViewType, ViewportSchema, WorkflowBuilder, WorkflowConditionBuilder, WorkflowConfig, WorkflowConfigSchema, WorkflowDefinition, WorkflowDefinitionSchema, WorkflowEndBuilder, type WorkflowEvent, type WorkflowEventType, WorkflowFormBuilder, WorkflowFormRowBuilder, type WorkflowGrantRevokedEvent, type WorkflowInstanceCancelledEvent, type WorkflowInstanceCompletedEvent, type WorkflowInstanceFailedEvent, type WorkflowInstanceStartedEvent, type WorkflowInvitationAcceptedEvent, type WorkflowInvitationCreatedEvent, type WorkflowInvitationExpiredEvent, WorkflowLayoutSchema, WorkflowNode, type WorkflowNodeCompletedEvent, type WorkflowNodeEnteredEvent, type WorkflowNodeFailedEvent, WorkflowNodeSchema, WorkflowShareSchema, WorkflowSimpleFormBuilder, WorkflowSlotSchema, WorkflowStartBuilder, WorkflowStatusSchema, WorkflowTheme, WorkflowThemeSchema, booleanFlag, checkbox, createFlagRegistry, createFlagService, currency, date, detailView, document, file,
|
|
4005
|
+
export { ALL_SYSTEM_RESOURCES, ActivityTabConfig, type AgentContentPart, type AgentMessage, type AnyAttributeBuilder, Attribute, AttributeGroupField, AttributeInUseError, AttributeNotFoundError, AttributeType, type AttributeUsage, AuthMethodSchema, BEHAVIOR_PROPERTIES, type BehaviorProperty, type BuilderConfig, type ChatFileAttachment, CheckboxAttribute, ConcurrentModificationError, ConditionGroup, ConditionGroupSchema, ConditionNodeSchema, ConditionOperatorSchema, ConditionRule, ConditionRuleSchema, CreateShareInputSchema, CurrencyAttribute, CustomTabConfig, DEFAULT_ROLES, DEFAULT_ROLE_DESCRIPTIONS, DEFAULT_ROLE_LABELS, DEFAULT_ROLE_PERMISSIONS, DRIVING_LICENSE, DateAttribute, type DefaultRoleName, type DefaultRolePermissionConfig, DetailViewBuilder, DetailViewDefinition, DetailViewLayout, DirectTableTab, DirectTableTabConfig, DocumentAttribute, DocumentNodeSchema, DocumentTemplate, DocumentsTabConfig, DuplicateError, EMPTY_VALUE_PLACEHOLDER, EndNodeSchema, type ExtractAttributeName, type ExtractAttributeRequired, FRENCH_ID_CARD, FeatureFlagDefinition, FeatureFlagsRepository, FeatureGate, Field, FileAttribute, FileNotFoundError, FilterState, FlagLevel, FlagRegistry, type FlagResolutionContext, FlagService, type FlagServiceOptions, FlagValueType, FlowRow, FlowRowFieldSchema, FlowRowSchema, FlowsTabConfig, ForbiddenError, FormFieldRefSchema, FormNodeSchema, FormulaAttribute, FormulaReturnType, GENERIC_DOCUMENT, type GenerateFallbackViewOptions, Group, GroupBuilder, IDENTITY_PROPERTIES, type IdentityProperty, InferAttributeValue, InstanceStatus, InverseTableTab, InverseTableTabConfig, ListViewBuilder, ListViewDefinition, ListViewTabConfigBuilder, LocationAttribute, MultiRelationAttribute, MultiselectAttribute, NOTES, NodePositionSchema, NotFoundError, NotSystemObjectError, NotesTabConfig, NumberAttribute, ObjectAction, ObjectBuilder, ObjectDefinition, ObjectNotFoundError, ObjectReferencedError, Option, PASSPORT, PRESENTATION_PROPERTIES, PROOF_OF_ADDRESS, PhoneAttribute, type PresentationProperty, ProtectedResourceError, ProtectedRoleError, RatingAttribute, RecordNotFoundError, type RecordReference, RecordReferencedError, RelationTarget, type ResetViewOptions, ResolvedFlag, type ResumeWorkflowApiInput, RichtextAttribute, RichtextFeature, RoleNotFoundError, RollupAttribute, RollupFunction, SIGNABLE_CONTRACT, SYSTEM_ATTRIBUTES, SYSTEM_RESOURCES, SYSTEM_RESOURCE_LABELS, SYSTEM_TEMPLATES, SYSTEM_TEMPLATE_IDS, SchemaError, SchemaErrorCode, SelectAttribute, ShareStatusSchema, SingleRelationAttribute, SlotMode, SlotModeSchema, SortRule, StartNodeSchema, type StartWorkflowApiInput, StaticFlagDefault, StatusAttribute, SyncError, SystemAction, type SystemAttribute, type SystemAttributeName, SystemResource, Tab, TabBuilder, TableTab, TextAreaAttribute, TextAttribute, ThemeColorsSchema, ThemeLogoSchema, type TypedBuilderConfig, UserAttribute, UserProfileNotFoundError, type ValidatedConditionGroup, type ValidatedWorkflowDefinition, type ValidatedWorkflowNode, ValidationError, type ValidationErrorDetail, ViewBuilder, ViewDefinition, ViewType, ViewportSchema, WorkflowBuilder, WorkflowConditionBuilder, WorkflowConfig, WorkflowConfigSchema, WorkflowDefinition, WorkflowDefinitionSchema, WorkflowEndBuilder, type WorkflowEvent, type WorkflowEventType, WorkflowFormBuilder, WorkflowFormRowBuilder, type WorkflowGrantRevokedEvent, type WorkflowInstanceCancelledEvent, type WorkflowInstanceCompletedEvent, type WorkflowInstanceFailedEvent, type WorkflowInstanceStartedEvent, type WorkflowInvitationAcceptedEvent, type WorkflowInvitationCreatedEvent, type WorkflowInvitationExpiredEvent, WorkflowLayoutSchema, WorkflowNode, type WorkflowNodeCompletedEvent, type WorkflowNodeEnteredEvent, type WorkflowNodeFailedEvent, WorkflowNodeSchema, WorkflowShareSchema, WorkflowSimpleFormBuilder, WorkflowSlotSchema, WorkflowStartBuilder, WorkflowStatusSchema, WorkflowTheme, WorkflowThemeSchema, booleanFlag, checkbox, createFlagRegistry, createFlagService, currency, date, detailView, document, file, flagRegistry, formatAttributeValue, formula, generateDefaultDetailView, generateDefaultListView, generateFallbackView, getSystemAttributeList, getSystemTemplate, group, hasProperties, isBehaviorProperty, isDefaultRole, isEmpty, isForbiddenError, isIdentityProperty, isInstanceEvent, isInvitationOrGrantEvent, isNodeEvent, isNotEmpty, isNotFoundError, isPresentationProperty, isProtectedResourceError, isSchemaError, isSystemAttribute, isSystemAttributeObject, isSystemTemplate, isValidationError, isViewCustomized, jsonFlag, listView, location, multiselect, number, numberFlag, object, phone, rating, relation, resetViewToDefault, richtext, rollup, select, status, stringFlag, text, textarea, toUndefinedIfEmpty, user, view, workflow };
|