@stndrds/schema 0.1.0-alpha.61 → 0.1.0-alpha.63
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-W7A7AQUF.js → chunk-KMAKDHCL.js} +158 -93
- package/dist/{chunk-533TTNPT.mjs → chunk-MUJVBSBL.mjs} +158 -93
- package/dist/index.d.mts +147 -95
- package/dist/index.d.ts +147 -95
- package/dist/index.js +43 -14
- package/dist/index.mjs +38 -9
- package/dist/{runtime-Cx6QJ4QV.d.ts → runtime-7G9tZJYC.d.ts} +72 -37
- package/dist/{runtime-D0XMDY1D.d.mts → runtime-C4U2ppAk.d.mts} +72 -37
- package/dist/runtime.d.mts +1 -1
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +2 -2
- package/dist/runtime.mjs +1 -1
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
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,
|
|
2
|
-
export { aa as AIBatchQuestion, ab as AIBatchQuestionAnswer, a9 as AIBatchQuestionOption, a4 as AIChatMessage, a3 as AIChatMessagePart, _ as AIChatMessagePartType, ag as AIConversation, fY 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, fZ as AIUsageMetricsRepository, aj as AIUserMemory, f_ as AIUserMemoryRepository, ck as ActivityTab, bH as AddAttribute, gm as AddAttributeInput, bg as AdvancedFilterState, c7 as AssignRoleInput, fM as AttributeChange, bG as AttributeMap, bC as AttributeSchema, f$ as AttributesRepository, ao as AuditAction, ap as AuditActorType, aq as AuditChange, at as AuditListOptions, ar as AuditLogEntry, g0 as AuditRepository, an as AuditResourceType, hC as AuditService, au as AuditServiceOptions, gi as BaseRepository, gh as BaseService, B as BoundingBox, ea as CacheAdapter, e8 as CacheKeyType, eb as CacheOptions, ct as CalendarViewConfig, cx as CalendarViewDefinition, db as CanvasViewport, b2 as CheckboxFilterOperator, fd as ConditionExecutor, cQ as ConditionNode, d3 as ConditionOperator, cA as ConfigOverrides, am as CreateAIMessageInput, as as CreateAuditLogInput, gl as CreateCustomObjectInput, iy as CreateDBAttribute, iu as CreateDBObject, iK as CreateDBView, iO as CreateDBViewOverlay, iR as CreateDBWorkflow, i_ as CreateDBWorkflowAccessGrant, iU as CreateDBWorkflowInstance, iX as CreateDBWorkflowInvitation, aN as CreateDocument, az as CreateDocumentGenerationTemplate, aR as CreateDocumentSlot, aP as CreateDocumentTemplate, a_ as CreateFile, dz as CreateGrantInput, hg as CreateGrantResult, ds as CreateInvitationInput, dt as CreateInvitationResult, iB as CreateObjectRecord, c6 as CreatePermissionInput, aT as CreateProcessingJob, hR as CreateRecordDocumentInput, hS as CreateRecordDocumentResult, c4 as CreateRoleInput, x as CreateSignatureInput, ce as CreateUserProfile, h$ as CreateViewInput, ht as CreateWorkflowInput, b9 as CurrencyFilterValue, bL as CustomAttributeValue, cj as CustomTab, ix as DBAttribute, it as DBObject, iJ as DBView, iN as DBViewOverlay, iQ as DBWorkflow, iZ as DBWorkflowAccessGrant, iT as DBWorkflowInstance, iW as DBWorkflowInvitation, ij as DEFAULT_LABEL_FALLBACK, dU as DEFAULT_THEME, e1 as DatabaseAdapter, b3 as DateFilterOperator, cr as DetailViewConfig, aG as Document, aD as DocumentAutoProcessing, Q as DocumentData, fe as DocumentExecutor, hF as DocumentGenerationNotConfiguredError, hG as DocumentGenerationService, ay as DocumentGenerationTemplate, g1 as DocumentGenerationTemplateListOptions, hE as DocumentGenerationTemplateNotFoundError, g2 as DocumentGenerationTemplatesRepository, g3 as DocumentJobsRepository, aV as DocumentListOptions, cR as DocumentNode, hH as DocumentProcessingConfig, ha as DocumentProcessingHook, h9 as DocumentProcessingHookOptions, hI as DocumentProcessingService, hM as DocumentRenderError, hK as DocumentRendererOptions, hO as DocumentRendererService, hU as DocumentService, hT as DocumentServiceOptions, aI as DocumentSlot, aC as DocumentSlotDefinition, g4 as DocumentSlotsRepository, aH as DocumentStatus, aW as DocumentTemplateListOptions, hP as DocumentTemplateService, g6 as DocumentTemplatesRepository, g5 as DocumentsRepository, cn as DocumentsTab, c1 as EffectivePermissions, ff as EndExecutor, cS as EndNode, ex as EvaluationResult, ey as EvaluationTrace, f1 as ExecutorCompleteResult, f2 as ExecutorContext, f3 as ExecutorErrorResult, fa as ExecutorRegistry, f4 as ExecutorResult, f5 as ExecutorSuccessResult, f6 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, eL as FeatureFlagsContext, eD as FeatureFlagsContextError, eg as FetchResult, aZ as File, i4 as FileContent, iI as FileListOptions, hW as FileService, hV as FileServiceOptions, aY as FileVisibility, g7 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, fg as FormExecutor, dM as FormFieldContext, cT as FormFieldRef, dN as FormFieldRow, cU as FormNode, dO as FormNodeInfo, ci as FormTab, eh as FormattedRecord, gN as FormulaResolverService, gM as FormulaResolverServiceOptions, fu as FormulaResult, ih as FullSyncOptions, ig as FullSyncResult, cv as GalleryViewConfig, cz as GalleryViewDefinition, dG as GeneratedDocument, bA as GeocodingAdapter, bx as GeocodingAutocompleteParams, bz as GeocodingParams, hX as GeocodingService, bw as GeocodingSuggestion, gB as GetRelationOptionsParams, i2 as GetViewOptions, i1 as GetViewsOptions, iF as GlobalSearchGroupedOptions, iH as GlobalSearchGroupedResult, iE as GlobalSearchOptions, iG as GlobalSearchResultItem, hY as GlobalSearchService, hc as GrantExpiredError, hb as GrantNotFoundError, hd as GrantRevokedError, hf as GrantServiceConfig, ei as GroupedFetchResult, fN as HookContext, fO as HookDefinition, fP as HookHandler, fS as HookRegistry, fQ as HookType, gI as HybridRelationValue, M as IdentityVerificationAdapter, bI as InferRecord, bD as InferRecordFromSchema, bJ as InferRecordInput, bK as InferRecordUpdate, bE as InferRecordWithRequirements, ej as InsertOptions, fy as InvalidPathError, hp as InvitationAlreadyAcceptedError, ho as InvitationExpiredError, hn as InvitationNotFoundError, hq as InvitationRevokedError, hm as InvitationServiceConfig, du as InvitationStatus, cg as InviteUserInput, e3 as JwtVerificationResult, h0 as LabelResolver, iC as ListOptions, cs as ListViewConfig, co as ListViewLayout, e4 as MagicLinkPayload, fz as MaxDepthExceededError, fU as MockStores, gG as MultiRelationValue, b5 as MultiselectFilterOperator, bl as NO_VALUE_OPERATORS, bk as NoValueOperator, f7 as NodeExecutor, dc as NodePosition, ef as NoopCacheAdapter, bB as NoopGeocodingAdapter, fR as NoopHookRegistry, cl as NotesTab, b1 as NumberFilterOperator, bj as OPERATORS_BY_TYPE, c2 as ObjectPermissions, g8 as ObjectRecordsRepository, gp as ObjectSchemaService, go as ObjectSchemaServiceOptions, g9 as ObjectsRepository, q as OcrAdapter, r as OcrInput, s as OcrOptions, u as OcrPage, t as OcrResult, v as OcrTextBlock, j0 as OperationResult, fD as PathCardinality, fE as PathSegment, fF as PathSegmentType, aw as PdfTemplateField, dj as PendingAction, aB as PendingDocumentRequest, b$ as Permission, bZ as PermissionScope, h_ as PermissionService, hZ as PermissionServiceOptions, ga as PermissionsRepository, ba as PhoneFilterValue, c8 as PolicyContext, fW as PolicyRegistry, ca as PolicyViolationError, aK as ProcessingJob, aM as ProcessingJobStatus, aL as ProcessingJobType, ev as QueryBuilder, ew as QueryBuilderOptions, ek as QueryBuilderState, er as QueryMultipleResultsError, es as QueryNoResultError, gt as QueryOptions, gv as QueryResult, bi as QueryState, dP as ReadOnlyReason, a2 as ReasoningPartData, hQ as RecordDocumentsResult, bN as RecordMetadata, c9 as RecordPolicy, gw as RecordQueryService, gs as RecordQueryServiceOptions, gK as RecordResolverService, gr as RecordService, gq as RecordServiceOptions, el as RegistryMap, em as RegistryObjectNames, d_ as RelationAttributeInput, d$ as RelationAttributeRow, e0 as RelationAttributesRepository, b6 as RelationFilterOperator, ir as RelationLabelResolver, gz as RelationOption, gA as RelationOptionsResponse, gJ as RelationPropertiesService, gF as RelationService, gC as RelationServiceOptions, gy as RelationValidationError, gx as RelationValidationResult, b8 as RelativeDateValue, hJ as RenderDocumentInput, hL as RenderDocumentResult, gD as ResolveIdsBatchRequest, gE as ResolveIdsBatchResponse, gL as ResolvedRelations, hj as ResumeWorkflowInput, by as ReverseGeocodingParams, b_ as Role, h8 as RollupCascadeContext, gO as RollupResult, gS as RollupScheduler, gR as RollupSchedulerOptions, gQ as RollupService, gP as RollupServiceOptions, et as SHORTCUT_TO_FILTER_OPERATOR, eT as SchemaContext, gj as SchemaContextAware, gk as SchemaContextAwareRepository, fG as SchemaResolver, iD as SearchOptions, gu as SearchQueryOptions, b4 as SelectFilterOperator, en as ShortcutOperator, w as SignatureAdapter, z as SignaturePosition, E as SignatureRequestResult, K as SignatureStatus, H as SignatureStatusResult, i7 as SignedUrlOptions, y as SignerRequest, J as SignerStatus, gH as SingleRelationValue, aJ as SlotStatus, bh as SortDirection, fh as StartExecutor, cV as StartNode, hi as StartWorkflowInput, i8 as StorageAdapter, hN as StorageDownloadNotSupportedError, aX as StorageProvider, i5 as StorageUploadInput, i6 as StorageUploadResult, ib as SyncOptions, ia as SyncResult, bO as SystemFields, c3 as SystemPermissions, ch as TabType, ax as TemplateSource, e_ as TenantContext, eC 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, he as TokenRevokedError, a0 as ToolPartData, fK as TraversalOptions, fL as TraversalResult, bF as TypedAttribute, bW as TypedObjectRecord, iz as UpdateDBAttribute, iv as UpdateDBObject, iL as UpdateDBView, iP as UpdateDBViewOverlay, iS as UpdateDBWorkflow, i$ as UpdateDBWorkflowAccessGrant, iV as UpdateDBWorkflowInstance, iY as UpdateDBWorkflowInvitation, aO as UpdateDocument, aA as UpdateDocumentGenerationTemplate, aS as UpdateDocumentSlot, aQ as UpdateDocumentTemplate, a$ as UpdateFile, gn as UpdateObjectInput, aU as UpdateProcessingJob, c5 as UpdateRoleInput, cf as UpdateUserProfile, i0 as UpdateViewInput, hu as UpdateWorkflowInput, i9 as UploadFileInput, iA as UpsertDBAttribute, iw as UpsertDBObject, iM as UpsertDBView, cd as UserProfile, hB as UserProfileService, hA as UserProfileServiceOptions, gb as UserProfilesRepository, cb as UserRole, c0 as UserRoleAssignment, hz as UserService, cc as UserStatus, hy as UserValidationError, hx 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, i3 as ViewService, j2 as ViewSyncLogger, j3 as ViewSyncOptions, j1 as ViewSyncResult, cq as ViewTab, gc as ViewsRepository, bM as WithCustomAttributes, dA as WorkflowAccessGrant, hh as WorkflowAccessGrantService, gd as WorkflowAccessGrantsRepository, dQ as WorkflowAccessMode, e5 as WorkflowAccessPayload, dk as WorkflowError, dH as WorkflowExecutionContext, dl as WorkflowInstance, hl as WorkflowInstanceService, hk as WorkflowInstanceServiceOptions, ge as WorkflowInstancesRepository, dv as WorkflowInvitation, hr as WorkflowInvitationService, gf as WorkflowInvitationsRepository, e6 as WorkflowJwtConfig, e7 as WorkflowJwtPayload, e2 as WorkflowJwtService, dd as WorkflowLayout, cW as WorkflowNodeType, hs as WorkflowRelationService, hw as WorkflowService, hv as WorkflowServiceOptions, de as WorkflowSlot, df as WorkflowStatus, dm as WorkflowTransition, gg as WorkflowsRepository, eM as addSchemaToContext, d4 as and, gT as applyDefaultValues, hD as buildAuditChanges, gW as buildPolicyContext, ec as cacheKeys, ed as cacheTtl, dB as canAccessNode, dn as canResumeInstance, gU as checkPermission, gX as checkRecordAccess, gZ as checkRecordDeleteOrThrow, gY as checkRecordModifyOrThrow, g_ as checkSharedObjectWriteAccess, f8 as complete, g$ as computeLabel, is as computeLabelWithRelations, h3 as createContextForCreate, h5 as createContextForDelete, h6 as createContextForRestore, h4 as createContextForUpdate, e$ as createDefaultExecutorRegistry, eo as createDefaultState, dI as createEmptyContext, fT as createMockAdapter, eu as createQueryBuilder, dp as createStartTransition, fV as defaultPolicyRegistry, ee as defaultTtl, h2 as enrichRecordsWithFormulas, io as enrichValuesForDisplay, ip as enrichValuesWithSelectLabels, h1 as enrichWithFormulas, d5 as eq, f9 as error, eA as evaluate, ez as evaluateCondition, fi as evaluateFormula, fj as evaluateFormulaAttribute, fk as evaluateFormulaAttributeWithRelations, fl as evaluateFormulaWithRelations, fm as evaluateFormulaWithResult, eB as evaluateWithTrace, im as extractAttributeNames, fn as extractFormulaVariables, iq as extractRelationIds, fo as extractRelationNames, fp as extractRelationReferences, fq as flattenRelationsForEval, fr as formatFormulaResult, ep as formatRecord, eq as formatRecords, dV as generateCssVariables, eU as getContext, dJ as getContextValue, f0 as getDefaultExecutorRegistry, eE as getFeatureFlags, eF as getFeatureValue, cX as getNodeOutputs, fv as getPathDepth, gV as getPolicy, fw as getRelationPath, eN as getSchemaByNameFromContext, eO as getSchemaContext, eP as getSchemaFromContext, ie as getSyncPreview, fx as getTargetAttributeName, eV as getTenantId, eW as getUserId, j8 as getViewSeedPreview, j9 as getViewSyncPreview, eX as hasContext, eG as hasFeatureFlagsContext, fs as hasRelationReferences, eQ as hasSchemaContext, e9 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, eH 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, il 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, fX as notesPolicy, da as or, fA as parsePath, fB as pathHasManyCardinality, h7 as recalculateParentRollups, dX as registry, ik as renderLabelExpression, fH as resolveMultiplePaths, fI as resolveSingleValue, eY as runWithContext, eI as runWithFeatureFlags, eR as runWithMergedSchemaContext, eS as runWithSchemaContext, j4 as seedRegistryViews, dK as setContextValue, fb as success, ii as syncAll, ic as syncNativeObjects, j5 as syncNativeViews, fJ as traversePath, eJ as tryGetFeatureValue, ft as validateFormulaExpression, fC as validatePath, id as verifyNativeObjectsSync, j7 as verifyNativeViewsSync, j6 as verifyRegistryViewsSeeded, dY as viewRegistry, fc as wait, eK as withFeatureFlags, eZ as withTenantContext } from './runtime-D0XMDY1D.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, C as CreateMode, f as FilterState, g as SortRule, h as DirectTableTab, L as ListViewDefinition, W as WorkflowTheme, i as WorkflowConfig, j as SlotMode, k as ConditionGroup, l as ConditionRule, m as WorkflowNode, n as WorkflowDefinition, o as FlowRow, p as ListViewConfig, q as ListViewTab, V as ViewType, r as ViewDefinition, s as DocumentTemplate } from './runtime-C4U2ppAk.mjs';
|
|
2
|
+
export { ad as AIBatchQuestion, ae as AIBatchQuestionAnswer, ac as AIBatchQuestionOption, a7 as AIChatMessage, a6 as AIChatMessagePart, a1 as AIChatMessagePartType, aj as AIConversation, f$ as AIConversationsRepository, ak as AIMessage, ai as AIMessageAttachment, Z as AIMessageRole, ao as AIProviderMetrics, aa as AIQuestion, ab as AIQuestionAnswer, a9 as AIQuestionOption, a8 as AIQuestionType, _ as AIThinkingLevel, ag as AITodoItem, ah as AITodoList, af as AITodoStatus, a0 as AIToolCall, al as AIToolCallRecord, $ as AIToolCallStatus, an as AIUsageMetrics, g0 as AIUsageMetricsRepository, am as AIUserMemory, g1 as AIUserMemoryRepository, co as ActivityTab, bK as AddAttribute, gp as AddAttributeInput, bj as AdvancedFilterState, ca as AssignRoleInput, fP as AttributeChange, bJ as AttributeMap, bF as AttributeSchema, g2 as AttributesRepository, ar as AuditAction, as as AuditActorType, at as AuditChange, aw as AuditListOptions, au as AuditLogEntry, g3 as AuditRepository, aq as AuditResourceType, hF as AuditService, ax as AuditServiceOptions, gl as BaseRepository, gk as BaseService, B as BoundingBox, ed as CacheAdapter, eb as CacheKeyType, ee as CacheOptions, cw as CalendarViewConfig, cA as CalendarViewDefinition, de as CanvasViewport, b5 as CheckboxFilterOperator, fg as ConditionExecutor, cT as ConditionNode, d6 as ConditionOperator, cD as ConfigOverrides, ap as CreateAIMessageInput, av as CreateAuditLogInput, go as CreateCustomObjectInput, iB as CreateDBAttribute, ix as CreateDBObject, iN as CreateDBView, iR as CreateDBViewOverlay, iU as CreateDBWorkflow, j1 as CreateDBWorkflowAccessGrant, iX as CreateDBWorkflowInstance, i_ as CreateDBWorkflowInvitation, aQ as CreateDocument, aC as CreateDocumentGenerationTemplate, aU as CreateDocumentSlot, aS as CreateDocumentTemplate, b1 as CreateFile, dC as CreateGrantInput, hj as CreateGrantResult, dv as CreateInvitationInput, dw as CreateInvitationResult, iE as CreateObjectRecord, c9 as CreatePermissionInput, aW as CreateProcessingJob, hU as CreateRecordDocumentInput, hV as CreateRecordDocumentResult, c7 as CreateRoleInput, E as CreateSignatureInput, ch as CreateUserProfile, i2 as CreateViewInput, hw as CreateWorkflowInput, bc as CurrencyFilterValue, bO as CustomAttributeValue, cn as CustomTab, iA as DBAttribute, iw as DBObject, iM as DBView, iQ as DBViewOverlay, iT as DBWorkflow, j0 as DBWorkflowAccessGrant, iW as DBWorkflowInstance, iZ as DBWorkflowInvitation, im as DEFAULT_LABEL_FALLBACK, dX as DEFAULT_THEME, e4 as DatabaseAdapter, b6 as DateFilterOperator, cv as DetailViewConfig, aJ as Document, aG as DocumentAutoProcessing, X as DocumentData, fh as DocumentExecutor, hI as DocumentGenerationNotConfiguredError, hJ as DocumentGenerationService, aB as DocumentGenerationTemplate, g4 as DocumentGenerationTemplateListOptions, hH as DocumentGenerationTemplateNotFoundError, g5 as DocumentGenerationTemplatesRepository, g6 as DocumentJobsRepository, aY as DocumentListOptions, cU as DocumentNode, hK as DocumentProcessingConfig, hd as DocumentProcessingHook, hc as DocumentProcessingHookOptions, hL as DocumentProcessingService, hP as DocumentRenderError, hN as DocumentRendererOptions, hR as DocumentRendererService, hX as DocumentService, hW as DocumentServiceOptions, aL as DocumentSlot, aF as DocumentSlotDefinition, g7 as DocumentSlotsRepository, aK as DocumentStatus, aZ as DocumentTemplateListOptions, hS as DocumentTemplateService, g9 as DocumentTemplatesRepository, g8 as DocumentsRepository, cr as DocumentsTab, c4 as EffectivePermissions, fi as EndExecutor, cV as EndNode, eA as EvaluationResult, eB as EvaluationTrace, f4 as ExecutorCompleteResult, f5 as ExecutorContext, f6 as ExecutorErrorResult, fd as ExecutorRegistry, f7 as ExecutorResult, f8 as ExecutorSuccessResult, f9 as ExecutorWaitResult, bg as ExtendedFilterRule, bY as ExtractAttributes, b_ as ExtractObjectRecord, b$ as ExtractObjectRecordWithCustom, bS as ExtractRecord, bU as ExtractRecordInput, bV as ExtractRecordInputStrict, bT as ExtractRecordStrict, bW as ExtractRecordUpdate, bX as ExtractRecordUpdateStrict, aI as ExtractionField, aH as ExtractionMapping, eO as FeatureFlagsContext, eG as FeatureFlagsContextError, ej as FetchResult, b0 as File, i7 as FileContent, iL as FileListOptions, hZ as FileService, hY as FileServiceOptions, a$ as FileVisibility, ga as FilesRepository, bh as FilterCombinator, bi as FilterGroup, ba as FilterOperator, bf as FilterRule, be as FilterValue, bv as FlowDefinition, bs as FlowPage, bt as FlowRelation, br as FlowRowField, bq as FlowSlot, bu as FlowStatus, cq as FlowsTab, dO as FormContextResponse, cl as FormDensity, fj as FormExecutor, dP as FormFieldContext, cW as FormFieldRef, dQ as FormFieldRow, cX as FormNode, dR as FormNodeInfo, cm as FormTab, ek as FormattedRecord, gQ as FormulaResolverService, gP as FormulaResolverServiceOptions, fx as FormulaResult, ik as FullSyncOptions, ij as FullSyncResult, cy as GalleryViewConfig, cC as GalleryViewDefinition, dJ as GeneratedDocument, bD as GeocodingAdapter, bA as GeocodingAutocompleteParams, bC as GeocodingParams, h_ as GeocodingService, bz as GeocodingSuggestion, gE as GetRelationOptionsParams, i5 as GetViewOptions, i4 as GetViewsOptions, iI as GlobalSearchGroupedOptions, iK as GlobalSearchGroupedResult, iH as GlobalSearchOptions, iJ as GlobalSearchResultItem, h$ as GlobalSearchService, hf as GrantExpiredError, he as GrantNotFoundError, hg as GrantRevokedError, hi as GrantServiceConfig, el as GroupedFetchResult, fQ as HookContext, fR as HookDefinition, fS as HookHandler, fV as HookRegistry, fT as HookType, gL as HybridRelationValue, Q as IdentityVerificationAdapter, bL as InferRecord, bG as InferRecordFromSchema, bM as InferRecordInput, bN as InferRecordUpdate, bH as InferRecordWithRequirements, em as InsertOptions, fB as InvalidPathError, hs as InvitationAlreadyAcceptedError, hr as InvitationExpiredError, hq as InvitationNotFoundError, ht as InvitationRevokedError, hp as InvitationServiceConfig, dx as InvitationStatus, cj as InviteUserInput, e6 as JwtVerificationResult, h3 as LabelResolver, iF as ListOptions, cs as ListViewLayout, e7 as MagicLinkPayload, fC as MaxDepthExceededError, fX as MockStores, gJ as MultiRelationValue, b8 as MultiselectFilterOperator, bo as NO_VALUE_OPERATORS, bn as NoValueOperator, fa as NodeExecutor, df as NodePosition, ei as NoopCacheAdapter, bE as NoopGeocodingAdapter, fU as NoopHookRegistry, cp as NotesTab, b4 as NumberFilterOperator, bm as OPERATORS_BY_TYPE, c5 as ObjectPermissions, gb as ObjectRecordsRepository, gs as ObjectSchemaService, gr as ObjectSchemaServiceOptions, gc as ObjectsRepository, t as OcrAdapter, u as OcrInput, v as OcrOptions, x as OcrPage, w as OcrResult, y as OcrTextBlock, j3 as OperationResult, fG as PathCardinality, fH as PathSegment, fI as PathSegmentType, az as PdfTemplateField, dm as PendingAction, aE as PendingDocumentRequest, c2 as Permission, c0 as PermissionScope, i1 as PermissionService, i0 as PermissionServiceOptions, gd as PermissionsRepository, bd as PhoneFilterValue, cb as PolicyContext, fZ as PolicyRegistry, cd as PolicyViolationError, aN as ProcessingJob, aP as ProcessingJobStatus, aO as ProcessingJobType, ey as QueryBuilder, ez as QueryBuilderOptions, en as QueryBuilderState, eu as QueryMultipleResultsError, ev as QueryNoResultError, gw as QueryOptions, gy as QueryResult, bl as QueryState, dS as ReadOnlyReason, a5 as ReasoningPartData, hT as RecordDocumentsResult, bQ as RecordMetadata, cc as RecordPolicy, gz as RecordQueryService, gv as RecordQueryServiceOptions, gN as RecordResolverService, gu as RecordService, gt as RecordServiceOptions, eo as RegistryMap, ep as RegistryObjectNames, e1 as RelationAttributeInput, e2 as RelationAttributeRow, e3 as RelationAttributesRepository, b9 as RelationFilterOperator, iu as RelationLabelResolver, gC as RelationOption, gD as RelationOptionsResponse, gM as RelationPropertiesService, gI as RelationService, gF as RelationServiceOptions, gB as RelationValidationError, gA as RelationValidationResult, bb as RelativeDateValue, hM as RenderDocumentInput, hO as RenderDocumentResult, gG as ResolveIdsBatchRequest, gH as ResolveIdsBatchResponse, gO as ResolvedRelations, hm as ResumeWorkflowInput, bB as ReverseGeocodingParams, c1 as Role, hb as RollupCascadeContext, gR as RollupResult, gV as RollupScheduler, gU as RollupSchedulerOptions, gT as RollupService, gS as RollupServiceOptions, ew as SHORTCUT_TO_FILTER_OPERATOR, eW as SchemaContext, gm as SchemaContextAware, gn as SchemaContextAwareRepository, fJ as SchemaResolver, iG as SearchOptions, gx as SearchQueryOptions, b7 as SelectFilterOperator, eq as ShortcutOperator, z as SignatureAdapter, J as SignaturePosition, K as SignatureRequestResult, P as SignatureStatus, M as SignatureStatusResult, ia as SignedUrlOptions, H as SignerRequest, N as SignerStatus, gK as SingleRelationValue, aM as SlotStatus, bk as SortDirection, fk as StartExecutor, cY as StartNode, hl as StartWorkflowInput, ib as StorageAdapter, hQ as StorageDownloadNotSupportedError, a_ as StorageProvider, i8 as StorageUploadInput, i9 as StorageUploadResult, ie as SyncOptions, id as SyncResult, bR as SystemFields, c6 as SystemPermissions, ck as TabType, aA as TemplateSource, f1 as TenantContext, eF as TenantContextError, b3 as TextFilterOperator, a2 as TextPartData, dU as ThemeColors, dV as ThemeLogo, dW as ThemeTypography, a4 as ThinkingPartData, cx as TimelineViewConfig, cB as TimelineViewDefinition, hh as TokenRevokedError, a3 as ToolPartData, fN as TraversalOptions, fO as TraversalResult, bI as TypedAttribute, bZ as TypedObjectRecord, iC as UpdateDBAttribute, iy as UpdateDBObject, iO as UpdateDBView, iS as UpdateDBViewOverlay, iV as UpdateDBWorkflow, j2 as UpdateDBWorkflowAccessGrant, iY as UpdateDBWorkflowInstance, i$ as UpdateDBWorkflowInvitation, aR as UpdateDocument, aD as UpdateDocumentGenerationTemplate, aV as UpdateDocumentSlot, aT as UpdateDocumentTemplate, b2 as UpdateFile, gq as UpdateObjectInput, aX as UpdateProcessingJob, c8 as UpdateRoleInput, ci as UpdateUserProfile, i3 as UpdateViewInput, hx as UpdateWorkflowInput, ic as UploadFileInput, iD as UpsertDBAttribute, iz as UpsertDBObject, iP as UpsertDBView, cg as UserProfile, hE as UserProfileService, hD as UserProfileServiceOptions, ge as UserProfilesRepository, ce as UserRole, c3 as UserRoleAssignment, hC as UserService, cf as UserStatus, hB as UserValidationError, hA as UserValidationResult, ay as VariableMapping, Y as VerificationCheck, U as VerificationResult, R as VerifyInput, cz as ViewConfig, ct as ViewLayout, cE as ViewOverlay, e0 as ViewOverlaysRepository, i6 as ViewService, j5 as ViewSyncLogger, j6 as ViewSyncOptions, j4 as ViewSyncResult, cu as ViewTab, gf as ViewsRepository, bP as WithCustomAttributes, dD as WorkflowAccessGrant, hk as WorkflowAccessGrantService, gg as WorkflowAccessGrantsRepository, dT as WorkflowAccessMode, e8 as WorkflowAccessPayload, dn as WorkflowError, dK as WorkflowExecutionContext, dp as WorkflowInstance, ho as WorkflowInstanceService, hn as WorkflowInstanceServiceOptions, gh as WorkflowInstancesRepository, dy as WorkflowInvitation, hu as WorkflowInvitationService, gi as WorkflowInvitationsRepository, e9 as WorkflowJwtConfig, ea as WorkflowJwtPayload, e5 as WorkflowJwtService, dg as WorkflowLayout, cZ as WorkflowNodeType, hv as WorkflowRelationService, hz as WorkflowService, hy as WorkflowServiceOptions, dh as WorkflowSlot, di as WorkflowStatus, dq as WorkflowTransition, gj as WorkflowsRepository, eP as addSchemaToContext, d7 as and, gW as applyDefaultValues, hG as buildAuditChanges, gZ as buildPolicyContext, ef as cacheKeys, eg as cacheTtl, dE as canAccessNode, dr as canResumeInstance, gX as checkPermission, g_ as checkRecordAccess, h0 as checkRecordDeleteOrThrow, g$ as checkRecordModifyOrThrow, h1 as checkSharedObjectWriteAccess, fb as complete, h2 as computeLabel, iv as computeLabelWithRelations, h6 as createContextForCreate, h8 as createContextForDelete, h9 as createContextForRestore, h7 as createContextForUpdate, f2 as createDefaultExecutorRegistry, er as createDefaultState, dL as createEmptyContext, fW as createMockAdapter, ex as createQueryBuilder, ds as createStartTransition, fY as defaultPolicyRegistry, eh as defaultTtl, h5 as enrichRecordsWithFormulas, ir as enrichValuesForDisplay, is as enrichValuesWithSelectLabels, h4 as enrichWithFormulas, d8 as eq, fc as error, eD as evaluate, eC as evaluateCondition, fl as evaluateFormula, fm as evaluateFormulaAttribute, fn as evaluateFormulaAttributeWithRelations, fo as evaluateFormulaWithRelations, fp as evaluateFormulaWithResult, eE as evaluateWithTrace, iq as extractAttributeNames, fq as extractFormulaVariables, it as extractRelationIds, fr as extractRelationNames, fs as extractRelationReferences, ft as flattenRelationsForEval, fu as formatFormulaResult, es as formatRecord, et as formatRecords, dY as generateCssVariables, eX as getContext, dM as getContextValue, f3 as getDefaultExecutorRegistry, eH as getFeatureFlags, eI as getFeatureValue, c_ as getNodeOutputs, fy as getPathDepth, gY as getPolicy, fz as getRelationPath, eQ as getSchemaByNameFromContext, eR as getSchemaContext, eS as getSchemaFromContext, ii as getSyncPreview, fA as getTargetAttributeName, eY as getTenantId, eZ as getUserId, jb as getViewSeedPreview, jc as getViewSyncPreview, e_ as hasContext, eJ as hasFeatureFlagsContext, fv as hasRelationReferences, eT as hasSchemaContext, ec as hashOptions, d9 as inValues, cP as isActivityTab, c$ as isAdvancedFormNode, cH as isCalendarView, da as isConditionGroup, d0 as isConditionNode, db as isConditionRule, cO as isCustomTab, cF as isDetailView, cM as isDirectTableTab, d1 as isDocumentNode, cS as isDocumentsTab, d2 as isEndNode, eK as isFeatureEnabled, bw as isFlowDefinition, bx as isFlowPublished, cR as isFlowsTab, d3 as isFormNode, cK as isFormTab, cJ as isGalleryView, dF as isGrantExpired, dG as isGrantRevoked, dH as isGrantValid, dt as isInstanceTerminal, du as isInstanceWaiting, cN as isInverseTableTab, dz as isInvitationAccepted, dA as isInvitationExpired, dB as isInvitationValid, ip as isLabelExpression, cG as isListView, bp as isNoValueOperator, cQ as isNotesTab, d4 as isSimpleFormNode, d5 as isStartNode, by as isSystemFlow, dj as isSystemWorkflow, cL as isTableTab, cI as isTimelineView, dI as isTokenRevoked, dk as isWorkflowDefinition, dl as isWorkflowPublished, dZ as mergeWithDefaults, dc as neq, f_ as notesPolicy, dd as or, fD as parsePath, fE as pathHasManyCardinality, ha as recalculateParentRollups, d_ as registry, io as renderLabelExpression, fK as resolveMultiplePaths, fL as resolveSingleValue, e$ as runWithContext, eL as runWithFeatureFlags, eU as runWithMergedSchemaContext, eV as runWithSchemaContext, j7 as seedRegistryViews, dN as setContextValue, fe as success, il as syncAll, ig as syncNativeObjects, j8 as syncNativeViews, fM as traversePath, eM as tryGetFeatureValue, fw as validateFormulaExpression, fF as validatePath, ih as verifyNativeObjectsSync, ja as verifyNativeViewsSync, j9 as verifyRegistryViewsSeeded, d$ as viewRegistry, ff as wait, eN as withFeatureFlags, f0 as withTenantContext } from './runtime-C4U2ppAk.mjs';
|
|
3
3
|
import { D as DateAttribute, U as UserAttribute, a as DocumentAttribute, A as Attribute, P as PropertyDefinition, T as TextPropertyDefinition, b as TextareaPropertyDefinition, N as NumberPropertyDefinition, C as CheckboxPropertyDefinition, c as DatePropertyDefinition, d as PhonePropertyDefinition, e as CurrencyPropertyDefinition, S as StatusPropertyDefinition, O as Option, f as StatusGroup, g as SelectPropertyDefinition, M as MultiselectPropertyDefinition, R as RatingPropertyDefinition, L as LocationPropertyDefinition, h as PropertySchema, F as FeatureGate, i as TextAttribute, j as TextAreaAttribute, k as RichtextAttribute, l as RichtextFeature, m as NumberAttribute, n as CheckboxAttribute, o as PhoneAttribute, p as CurrencyAttribute, q as StatusAttribute, r as SelectAttribute, s as MultiselectAttribute, t as LocationAttribute, u as FileAttribute, v as SingleRelationAttribute, w as MultiRelationAttribute, x as RelationTarget, y as RatingAttribute, z as FormulaAttribute, B as FormulaReturnType, E as RollupAttribute, G as RollupFunction, H as AttributeType, I as ObjectDefinition, J as FlagValueType, K as FeatureFlagDefinition, Q as FlagLevel, V as FeatureFlagsRepository, W as StaticFlagDefault, X as ResolvedFlag } from './validators-BIAmz0CD.mjs';
|
|
4
4
|
export { Y as AttributeGroup, Z as BaseAttribute, ah as CompletionStatus, a2 as Currency, ao as DEFAULT_VALIDATION_MESSAGES, $ as DateFormat, a0 as DateValue, ak as FORBIDDEN_PROPERTY_TYPES, a9 as FeatureFlagsConfig, a8 as FlagOverride, al as ForbiddenPropertyType, a3 as Location, a4 as LocationGranularity, _ as NumberUnit, ag as ObjectAttribute, ai as ObjectRecord, a1 as Phone, aj as PropertyType, a5 as RELATION_TARGET_ANY, aa as RESERVED_ATTRIBUTE_NAMES, a6 as RelationAttribute, ac as ReservedAttributeName, ab as SYSTEM_FIELD_NAMES, af as SharingMode, ad as SystemFieldName, ae as Timestamps, an as ValidationMessages, b8 as ValidationResult, aI as attributeConfigSchemas, at as checkboxConfigSchema, bh as computeRecordStatus, b5 as createAttributeValidator, aP as createCheckboxValidator, aS as createCurrencyValidator, aQ as createDateValidator, bc as createDraftValidator, aX as createFileValidator, b6 as createFormAttributeValidator, b1 as createFormulaValidator, aW as createLocationValidator, a_ as createMultiRelationValidator, aV as createMultiselectValidator, aO as createNumberValidator, b7 as createObjectValidator, aR as createPhoneValidator, b0 as createRatingValidator, a$ as createRelationValidator, b4 as createRichtextValidator, b2 as createRollupValidator, aU as createSelectValidator, aZ as createSingleRelationValidator, aT as createStatusValidator, b3 as createTextAreaValidator, aN as createTextValidator, aY as createUserValidator, aw as currencyConfigSchema, au as dateConfigSchema, aH as documentConfigSchema, aB as fileConfigSchema, am as formatZodErrors, aF as formulaConfigSchema, aJ as getAttributeConfigSchema, bf as getMissingRequiredAttributes, bg as isRecordComplete, a7 as isUniversalRelation, ay as locationConfigSchema, aA as multiselectConfigSchema, as as numberConfigSchema, aL as parseAttributeConfig, av as phoneConfigSchema, aE as ratingConfigSchema, aD as relationConfigSchema, ar as richtextConfigSchema, aG as rollupConfigSchema, aM as safeParseAttributeConfig, az as selectConfigSchema, ax as statusConfigSchema, ap as textConfigSchema, aq as textareaConfigSchema, aC as userConfigSchema, b9 as validateAttribute, aK as validateAttributeConfig, bd as validateDraft, be as validateDraftOrThrow, ba as validateObject, bb as validateObjectOrThrow } from './validators-BIAmz0CD.mjs';
|
|
5
5
|
import { z } from 'zod';
|
|
@@ -2546,6 +2546,12 @@ declare abstract class BaseTableTabConfig<T extends TableTab> {
|
|
|
2546
2546
|
* Allow creating new records
|
|
2547
2547
|
*/
|
|
2548
2548
|
create(): this;
|
|
2549
|
+
/**
|
|
2550
|
+
* Set creation behavior when clicking "+"
|
|
2551
|
+
* @param mode - "redirect" (navigate to detail), "inline" (empty row), or "modal" (stacked modal)
|
|
2552
|
+
* @example .createMode("inline") or .createMode("modal")
|
|
2553
|
+
*/
|
|
2554
|
+
createMode(mode: CreateMode): this;
|
|
2549
2555
|
/**
|
|
2550
2556
|
* Allow inline editing
|
|
2551
2557
|
*/
|
|
@@ -3001,35 +3007,55 @@ declare function detailView(name: string, label: string): DetailViewBuilder;
|
|
|
3001
3007
|
* @deprecated Use detailView() instead
|
|
3002
3008
|
*/
|
|
3003
3009
|
declare function view(name: string, label: string): DetailViewBuilder;
|
|
3010
|
+
/**
|
|
3011
|
+
* Internal tab data for the list view builder
|
|
3012
|
+
*/
|
|
3013
|
+
interface ListViewTabData {
|
|
3014
|
+
id: string;
|
|
3015
|
+
label: string;
|
|
3016
|
+
icon?: IconName;
|
|
3017
|
+
default?: boolean;
|
|
3018
|
+
layout: "table" | "kanban";
|
|
3019
|
+
columns: string[];
|
|
3020
|
+
columnSizing?: Record<string, number>;
|
|
3021
|
+
filters?: FilterState;
|
|
3022
|
+
sorts?: SortRule[];
|
|
3023
|
+
groupByAttribute?: string;
|
|
3024
|
+
cardUserAttribute?: string;
|
|
3025
|
+
cardDateAttribute?: string;
|
|
3026
|
+
createMode?: CreateMode;
|
|
3027
|
+
}
|
|
3004
3028
|
/**
|
|
3005
3029
|
* Builder for creating list view definitions (RecordsView)
|
|
3006
3030
|
*
|
|
3031
|
+
* Each tab carries its own full config (layout, columns, filters, sorts, groupBy).
|
|
3032
|
+
* The view only holds shared base filters applied to ALL tabs.
|
|
3033
|
+
*
|
|
3007
3034
|
* @example
|
|
3008
3035
|
* ```typescript
|
|
3036
|
+
* // Table view with a single tab
|
|
3009
3037
|
* const CONTACTS_LIST = listView("default", "All Contacts")
|
|
3010
3038
|
* .for("contacts")
|
|
3011
3039
|
* .default()
|
|
3012
3040
|
* .icon("users")
|
|
3013
|
-
* .
|
|
3014
|
-
*
|
|
3015
|
-
*
|
|
3016
|
-
*
|
|
3017
|
-
*
|
|
3018
|
-
* rules: [{ attribute: "status", operator: "is", value: "active" }]
|
|
3019
|
-
* })
|
|
3020
|
-
* .tab("all", "All").default()
|
|
3021
|
-
* .tab("active", "Active").filter({
|
|
3022
|
-
* combinator: "and",
|
|
3023
|
-
* rules: [{ attribute: "status", operator: "is", value: "active" }]
|
|
3024
|
-
* })
|
|
3041
|
+
* .tab("all", "All Contacts")
|
|
3042
|
+
* .columns("firstName", "lastName", "email", "company", "status")
|
|
3043
|
+
* .columnWidth("email", 200)
|
|
3044
|
+
* .sort("lastName", "asc")
|
|
3045
|
+
* .default()
|
|
3025
3046
|
* .build();
|
|
3026
3047
|
*
|
|
3027
|
-
* //
|
|
3028
|
-
* const
|
|
3048
|
+
* // Multiple tabs with different layouts
|
|
3049
|
+
* const DEALS_VIEW = listView("default", "Deals")
|
|
3029
3050
|
* .for("deals")
|
|
3030
|
-
* .
|
|
3031
|
-
* .
|
|
3032
|
-
*
|
|
3051
|
+
* .default()
|
|
3052
|
+
* .tab("all", "All Deals")
|
|
3053
|
+
* .columns("name", "amount", "company", "stage")
|
|
3054
|
+
* .sort("createdAt", "desc")
|
|
3055
|
+
* .default()
|
|
3056
|
+
* .tab("pipeline", "Pipeline")
|
|
3057
|
+
* .kanban("stage")
|
|
3058
|
+
* .columns("name", "amount", "company")
|
|
3033
3059
|
* .build();
|
|
3034
3060
|
* ```
|
|
3035
3061
|
*/
|
|
@@ -3058,64 +3084,25 @@ declare class ListViewBuilder {
|
|
|
3058
3084
|
*/
|
|
3059
3085
|
metadata(value: Record<string, unknown>): this;
|
|
3060
3086
|
/**
|
|
3061
|
-
* Set
|
|
3062
|
-
|
|
3063
|
-
table(): this;
|
|
3064
|
-
/**
|
|
3065
|
-
* Set the layout to kanban and specify the grouping attribute
|
|
3066
|
-
* @param groupByAttribute - Attribute to group by (must be a select/status type)
|
|
3067
|
-
*/
|
|
3068
|
-
kanban(groupByAttribute: string): this;
|
|
3069
|
-
/**
|
|
3070
|
-
* Set columns to display
|
|
3071
|
-
* @example .columns("name", "email", "status", "createdAt")
|
|
3072
|
-
*/
|
|
3073
|
-
columns(...names: string[]): this;
|
|
3074
|
-
/**
|
|
3075
|
-
* Set width for a specific column in pixels
|
|
3076
|
-
* @example .columnWidth("email", 200)
|
|
3077
|
-
*/
|
|
3078
|
-
columnWidth(columnName: string, width: number): this;
|
|
3079
|
-
/**
|
|
3080
|
-
* Set widths for multiple columns
|
|
3081
|
-
* @example .columnWidths({ email: 200, name: 300, status: 100 })
|
|
3087
|
+
* Set base filters applied to ALL tabs (scoping, tenant, etc.)
|
|
3088
|
+
* @example .baseFilter({ combinator: "and", rules: [{ attribute: "tenant", operator: "is", value: "acme" }] })
|
|
3082
3089
|
*/
|
|
3083
|
-
|
|
3090
|
+
baseFilter(filters: FilterState): this;
|
|
3084
3091
|
/**
|
|
3085
|
-
*
|
|
3086
|
-
*
|
|
3087
|
-
*/
|
|
3088
|
-
filter(filters: FilterState): this;
|
|
3089
|
-
/**
|
|
3090
|
-
* Add a single sort rule
|
|
3091
|
-
* @example .sort("lastName", "asc")
|
|
3092
|
-
*/
|
|
3093
|
-
sort(attribute: string, direction?: "asc" | "desc"): this;
|
|
3094
|
-
/**
|
|
3095
|
-
* Set multiple sort rules
|
|
3096
|
-
* @example .sorts([{ attribute: "lastName", direction: "asc" }, { attribute: "firstName", direction: "asc" }])
|
|
3097
|
-
*/
|
|
3098
|
-
sorts(rules: SortRule[]): this;
|
|
3099
|
-
/**
|
|
3100
|
-
* Add an internal tab (filter preset)
|
|
3101
|
-
* Returns a TabConfigBuilder for chaining tab configuration
|
|
3092
|
+
* Add a tab with its own full configuration (layout, columns, filters, sorts, groupBy)
|
|
3093
|
+
* Returns a ListViewTabConfigBuilder for chaining tab configuration
|
|
3102
3094
|
* @example
|
|
3103
3095
|
* ```typescript
|
|
3104
|
-
* .tab("all", "All Contacts").
|
|
3105
|
-
* .tab("active", "Active").
|
|
3096
|
+
* .tab("all", "All Contacts").columns("name", "email").default()
|
|
3097
|
+
* .tab("active", "Active").columns("name", "email").filter({ ... })
|
|
3098
|
+
* .tab("pipeline", "Pipeline").kanban("stage").columns("name", "amount")
|
|
3106
3099
|
* ```
|
|
3107
3100
|
*/
|
|
3108
3101
|
tab(id: string, label: string): ListViewTabConfigBuilder;
|
|
3109
3102
|
/**
|
|
3110
3103
|
* @internal Used by ListViewTabConfigBuilder to add tabs
|
|
3111
3104
|
*/
|
|
3112
|
-
_addTab(tab:
|
|
3113
|
-
id: string;
|
|
3114
|
-
label: string;
|
|
3115
|
-
icon?: IconName;
|
|
3116
|
-
filters?: FilterState;
|
|
3117
|
-
default?: boolean;
|
|
3118
|
-
}): this;
|
|
3105
|
+
_addTab(tab: ListViewTabData): this;
|
|
3119
3106
|
/**
|
|
3120
3107
|
* Build the final list view definition
|
|
3121
3108
|
*/
|
|
@@ -3126,7 +3113,19 @@ declare class ListViewBuilder {
|
|
|
3126
3113
|
private validateName;
|
|
3127
3114
|
}
|
|
3128
3115
|
/**
|
|
3129
|
-
* Builder for configuring
|
|
3116
|
+
* Builder for configuring tabs in list views.
|
|
3117
|
+
* Each tab carries its own full configuration: layout, columns, filters, sorts, groupBy.
|
|
3118
|
+
*
|
|
3119
|
+
* @example
|
|
3120
|
+
* ```typescript
|
|
3121
|
+
* .tab("all", "All Contacts")
|
|
3122
|
+
* .columns("name", "email", "status")
|
|
3123
|
+
* .sort("name")
|
|
3124
|
+
* .default()
|
|
3125
|
+
* .tab("pipeline", "Pipeline")
|
|
3126
|
+
* .kanban("stage")
|
|
3127
|
+
* .columns("name", "amount")
|
|
3128
|
+
* ```
|
|
3130
3129
|
*/
|
|
3131
3130
|
declare class ListViewTabConfigBuilder {
|
|
3132
3131
|
private view;
|
|
@@ -3138,14 +3137,59 @@ declare class ListViewTabConfigBuilder {
|
|
|
3138
3137
|
*/
|
|
3139
3138
|
icon(value: IconName): this;
|
|
3140
3139
|
/**
|
|
3141
|
-
*
|
|
3140
|
+
* Mark this tab as the default tab
|
|
3141
|
+
*/
|
|
3142
|
+
default(): this;
|
|
3143
|
+
/**
|
|
3144
|
+
* Set the layout to table (default)
|
|
3145
|
+
*/
|
|
3146
|
+
table(): this;
|
|
3147
|
+
/**
|
|
3148
|
+
* Set the layout to kanban and specify the grouping attribute
|
|
3149
|
+
* @param groupByAttribute - Attribute to group by (must be a select/status type)
|
|
3150
|
+
*/
|
|
3151
|
+
kanban(groupByAttribute: string): this;
|
|
3152
|
+
/**
|
|
3153
|
+
* Set the user attribute to display on kanban cards (bottom-left)
|
|
3154
|
+
* @param attributeName - Name of a user-type attribute
|
|
3155
|
+
*/
|
|
3156
|
+
cardUserAttribute(attributeName: string): this;
|
|
3157
|
+
/**
|
|
3158
|
+
* Set the date attribute to display on kanban cards (bottom-right)
|
|
3159
|
+
* @param attributeName - Name of a date-type attribute
|
|
3160
|
+
*/
|
|
3161
|
+
cardDateAttribute(attributeName: string): this;
|
|
3162
|
+
/**
|
|
3163
|
+
* Set creation behavior when clicking "+"
|
|
3164
|
+
* @param mode - "redirect" (navigate to detail), "inline" (empty row), or "modal" (stacked modal)
|
|
3165
|
+
* @example .createMode("inline") or .createMode("modal")
|
|
3166
|
+
*/
|
|
3167
|
+
createMode(mode: CreateMode): this;
|
|
3168
|
+
/**
|
|
3169
|
+
* Set columns to display
|
|
3170
|
+
* @example .columns("name", "email", "status", "createdAt")
|
|
3171
|
+
*/
|
|
3172
|
+
columns(...names: string[]): this;
|
|
3173
|
+
/**
|
|
3174
|
+
* Set width for a specific column in pixels
|
|
3175
|
+
* @example .columnWidth("email", 200)
|
|
3176
|
+
*/
|
|
3177
|
+
columnWidth(columnName: string, width: number): this;
|
|
3178
|
+
/**
|
|
3179
|
+
* Set filters for this tab
|
|
3142
3180
|
* @example .filter({ combinator: "and", rules: [{ attribute: "status", operator: "is", value: "active" }] })
|
|
3143
3181
|
*/
|
|
3144
3182
|
filter(filters: FilterState): this;
|
|
3145
3183
|
/**
|
|
3146
|
-
*
|
|
3184
|
+
* Add a single sort rule
|
|
3185
|
+
* @example .sort("lastName", "asc")
|
|
3147
3186
|
*/
|
|
3148
|
-
|
|
3187
|
+
sort(attribute: string, direction?: "asc" | "desc"): this;
|
|
3188
|
+
/**
|
|
3189
|
+
* Set multiple sort rules
|
|
3190
|
+
* @example .sorts([{ attribute: "lastName", direction: "asc" }, { attribute: "firstName", direction: "asc" }])
|
|
3191
|
+
*/
|
|
3192
|
+
sorts(rules: SortRule[]): this;
|
|
3149
3193
|
/**
|
|
3150
3194
|
* Continue building with a new tab
|
|
3151
3195
|
*/
|
|
@@ -3167,39 +3211,37 @@ declare class ListViewTabConfigBuilder {
|
|
|
3167
3211
|
*
|
|
3168
3212
|
* @example
|
|
3169
3213
|
* ```typescript
|
|
3170
|
-
* // Table view with
|
|
3214
|
+
* // Table view with a single tab
|
|
3171
3215
|
* const CONTACTS_LIST = listView("default", "All Contacts")
|
|
3172
3216
|
* .for("contacts")
|
|
3173
3217
|
* .default()
|
|
3174
|
-
* .
|
|
3175
|
-
*
|
|
3176
|
-
*
|
|
3177
|
-
*
|
|
3178
|
-
* rules: [{ attribute: "status", operator: "is", value: "active" }]
|
|
3179
|
-
* })
|
|
3218
|
+
* .tab("all", "All Contacts")
|
|
3219
|
+
* .columns("firstName", "lastName", "email", "status")
|
|
3220
|
+
* .sort("lastName", "asc")
|
|
3221
|
+
* .default()
|
|
3180
3222
|
* .build();
|
|
3181
3223
|
*
|
|
3182
|
-
* //
|
|
3183
|
-
* const
|
|
3224
|
+
* // Multiple tabs with different layouts
|
|
3225
|
+
* const DEALS_VIEW = listView("default", "Deals")
|
|
3184
3226
|
* .for("deals")
|
|
3185
|
-
* .
|
|
3186
|
-
* .
|
|
3227
|
+
* .default()
|
|
3228
|
+
* .tab("all", "All Deals")
|
|
3229
|
+
* .columns("name", "amount", "company", "stage")
|
|
3230
|
+
* .sort("createdAt", "desc")
|
|
3231
|
+
* .default()
|
|
3232
|
+
* .tab("pipeline", "Pipeline")
|
|
3233
|
+
* .kanban("stage")
|
|
3234
|
+
* .columns("name", "amount", "company")
|
|
3187
3235
|
* .build();
|
|
3188
3236
|
*
|
|
3189
|
-
* //
|
|
3190
|
-
* const
|
|
3237
|
+
* // Tabs with filters
|
|
3238
|
+
* const CONTACTS_TABS = listView("default", "Contacts")
|
|
3191
3239
|
* .for("contacts")
|
|
3192
3240
|
* .default()
|
|
3193
|
-
* .
|
|
3194
|
-
* .tab("
|
|
3195
|
-
*
|
|
3196
|
-
* combinator: "and",
|
|
3197
|
-
* rules: [{ attribute: "status", operator: "is", value: "active" }]
|
|
3198
|
-
* })
|
|
3199
|
-
* .tab("archived", "Archived").icon("archive").filter({
|
|
3200
|
-
* combinator: "and",
|
|
3201
|
-
* rules: [{ attribute: "status", operator: "is", value: "archived" }]
|
|
3202
|
-
* })
|
|
3241
|
+
* .tab("all", "All").columns("name", "email", "status").default()
|
|
3242
|
+
* .tab("active", "Active")
|
|
3243
|
+
* .columns("name", "email")
|
|
3244
|
+
* .filter({ combinator: "and", rules: [{ attribute: "status", operator: "is", value: "active" }] })
|
|
3203
3245
|
* .build();
|
|
3204
3246
|
* ```
|
|
3205
3247
|
*/
|
|
@@ -4014,6 +4056,16 @@ declare const NOTES: ObjectBuilder<{
|
|
|
4014
4056
|
linkedTo?: string | undefined;
|
|
4015
4057
|
}>;
|
|
4016
4058
|
|
|
4059
|
+
/**
|
|
4060
|
+
* Get the active tab from a list view config.
|
|
4061
|
+
*
|
|
4062
|
+
* Resolution order:
|
|
4063
|
+
* 1. Tab matching `tabId` (if provided)
|
|
4064
|
+
* 2. Tab marked as `default`
|
|
4065
|
+
* 3. First tab
|
|
4066
|
+
*/
|
|
4067
|
+
declare function getActiveTab(config: ListViewConfig, tabId?: string): ListViewTab;
|
|
4068
|
+
|
|
4017
4069
|
/**
|
|
4018
4070
|
* View Auto-Generator
|
|
4019
4071
|
*
|
|
@@ -4190,4 +4242,4 @@ declare function getSystemTemplate(name: string): DocumentTemplate | undefined;
|
|
|
4190
4242
|
*/
|
|
4191
4243
|
declare function isSystemTemplate(name: string): boolean;
|
|
4192
4244
|
|
|
4193
|
-
export { ALL_SYSTEM_RESOURCES, ActivityTabConfig, type AgentContentPart, type AgentMessage, type AnyAttributeBuilder, Attribute, AttributeGroupField, AttributeInUseError, AttributeNotFoundError, AttributeType, type AttributeUsage, AuthMethodSchema, BEHAVIOR_PROPERTIES, BasePropertyBuilder, type BehaviorProperty, type BuilderConfig, type ChatFileAttachment, CheckboxAttribute, CheckboxPropertyBuilder, CheckboxPropertyDefinition, ConcurrentModificationError, ConditionGroup, ConditionGroupSchema, ConditionNodeSchema, ConditionOperatorSchema, ConditionRule, ConditionRuleSchema, CreateShareInputSchema, CurrencyAttribute, CurrencyPropertyBuilder, CurrencyPropertyDefinition, CustomTabConfig, DEFAULT_ROLES, DEFAULT_ROLE_DESCRIPTIONS, DEFAULT_ROLE_LABELS, DEFAULT_ROLE_PERMISSIONS, DRIVING_LICENSE, DateAttribute, DatePropertyBuilder, DatePropertyDefinition, 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, LocationPropertyBuilder, LocationPropertyDefinition, MultiRelationAttribute, MultiselectAttribute, MultiselectPropertyBuilder, MultiselectPropertyDefinition, NOTES, NodePositionSchema, NotFoundError, NotSystemObjectError, NotesTabConfig, NumberAttribute, NumberPropertyBuilder, NumberPropertyDefinition, ObjectAction, ObjectBuilder, ObjectDefinition, ObjectNotFoundError, ObjectReferencedError, Option, PASSPORT, PRESENTATION_PROPERTIES, PROOF_OF_ADDRESS, PhoneAttribute, PhonePropertyBuilder, PhonePropertyDefinition, type PresentationProperty, PropertyDefinition, PropertySchema, PropertySchemaBuilder, PropertyTypeBuilder, ProtectedResourceError, ProtectedRoleError, RatingAttribute, RatingPropertyBuilder, RatingPropertyDefinition, 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, SelectPropertyBuilder, SelectPropertyDefinition, ShareStatusSchema, SingleRelationAttribute, SlotMode, SlotModeSchema, SortRule, StartNodeSchema, type StartWorkflowApiInput, StaticFlagDefault, StatusAttribute, StatusGroup, StatusPropertyBuilder, StatusPropertyDefinition, SyncError, SystemAction, type SystemAttribute, type SystemAttributeName, SystemResource, Tab, TabBuilder, TableTab, TextAreaAttribute, TextAttribute, TextPropertyBuilder, TextPropertyDefinition, TextareaPropertyBuilder, TextareaPropertyDefinition, 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, getErrorMessage, 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, validatePropertyType, view, workflow };
|
|
4245
|
+
export { ALL_SYSTEM_RESOURCES, ActivityTabConfig, type AgentContentPart, type AgentMessage, type AnyAttributeBuilder, Attribute, AttributeGroupField, AttributeInUseError, AttributeNotFoundError, AttributeType, type AttributeUsage, AuthMethodSchema, BEHAVIOR_PROPERTIES, BasePropertyBuilder, type BehaviorProperty, type BuilderConfig, type ChatFileAttachment, CheckboxAttribute, CheckboxPropertyBuilder, CheckboxPropertyDefinition, ConcurrentModificationError, ConditionGroup, ConditionGroupSchema, ConditionNodeSchema, ConditionOperatorSchema, ConditionRule, ConditionRuleSchema, CreateMode, CreateShareInputSchema, CurrencyAttribute, CurrencyPropertyBuilder, CurrencyPropertyDefinition, CustomTabConfig, DEFAULT_ROLES, DEFAULT_ROLE_DESCRIPTIONS, DEFAULT_ROLE_LABELS, DEFAULT_ROLE_PERMISSIONS, DRIVING_LICENSE, DateAttribute, DatePropertyBuilder, DatePropertyDefinition, 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, ListViewConfig, ListViewDefinition, ListViewTab, ListViewTabConfigBuilder, LocationAttribute, LocationPropertyBuilder, LocationPropertyDefinition, MultiRelationAttribute, MultiselectAttribute, MultiselectPropertyBuilder, MultiselectPropertyDefinition, NOTES, NodePositionSchema, NotFoundError, NotSystemObjectError, NotesTabConfig, NumberAttribute, NumberPropertyBuilder, NumberPropertyDefinition, ObjectAction, ObjectBuilder, ObjectDefinition, ObjectNotFoundError, ObjectReferencedError, Option, PASSPORT, PRESENTATION_PROPERTIES, PROOF_OF_ADDRESS, PhoneAttribute, PhonePropertyBuilder, PhonePropertyDefinition, type PresentationProperty, PropertyDefinition, PropertySchema, PropertySchemaBuilder, PropertyTypeBuilder, ProtectedResourceError, ProtectedRoleError, RatingAttribute, RatingPropertyBuilder, RatingPropertyDefinition, 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, SelectPropertyBuilder, SelectPropertyDefinition, ShareStatusSchema, SingleRelationAttribute, SlotMode, SlotModeSchema, SortRule, StartNodeSchema, type StartWorkflowApiInput, StaticFlagDefault, StatusAttribute, StatusGroup, StatusPropertyBuilder, StatusPropertyDefinition, SyncError, SystemAction, type SystemAttribute, type SystemAttributeName, SystemResource, Tab, TabBuilder, TableTab, TextAreaAttribute, TextAttribute, TextPropertyBuilder, TextPropertyDefinition, TextareaPropertyBuilder, TextareaPropertyDefinition, 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, getActiveTab, getErrorMessage, 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, validatePropertyType, view, workflow };
|