@stndrds/schema 1.0.0-alpha.72 → 1.0.0-alpha.73
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-6P3NPTYV.mjs +58 -0
- package/dist/{chunk-INXFKM4S.mjs → chunk-ABOLTRIR.mjs} +87 -55
- package/dist/{chunk-4GHZ6AUF.js → chunk-EWDCS5EE.js} +237 -205
- package/dist/chunk-JZO52C3F.js +58 -0
- package/dist/default-roles-76HUWY6T.js +23 -0
- package/dist/{default-roles-42X3TJI5.mjs → default-roles-OAMHLOCS.mjs} +3 -1
- package/dist/index.d.mts +18 -25
- package/dist/index.d.ts +18 -25
- package/dist/index.js +31 -6
- package/dist/index.mjs +27 -2
- package/dist/{runtime-BV9XBP1p.d.ts → runtime-CJVwSgr6.d.ts} +55 -104
- package/dist/{runtime-DzpQ5gRG.d.mts → runtime-Ca41jw8q.d.mts} +55 -104
- package/dist/runtime.d.mts +1 -1
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +3 -2
- package/dist/runtime.mjs +2 -1
- package/package.json +2 -2
- package/dist/chunk-36UBIXJN.js +0 -82
- package/dist/chunk-V5QXU2OK.mjs +0 -82
- package/dist/default-roles-C3FYDYMN.js +0 -21
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/constants/default-roles.ts
|
|
2
|
+
var SYSTEM_RESOURCES = {
|
|
3
|
+
/** User profiles, invitations, roles and permissions management */
|
|
4
|
+
PEOPLE: "people",
|
|
5
|
+
/** Object definitions, attributes, tenant settings and audit logs */
|
|
6
|
+
WORKSPACE: "workspace"
|
|
7
|
+
};
|
|
8
|
+
var ALL_SYSTEM_RESOURCES = [
|
|
9
|
+
SYSTEM_RESOURCES.PEOPLE,
|
|
10
|
+
SYSTEM_RESOURCES.WORKSPACE
|
|
11
|
+
];
|
|
12
|
+
var SYSTEM_RESOURCE_LABELS = {
|
|
13
|
+
people: "People",
|
|
14
|
+
workspace: "Workspace"
|
|
15
|
+
};
|
|
16
|
+
var DEFAULT_ROLES = {
|
|
17
|
+
/** Full platform access - can manage everything */
|
|
18
|
+
OWNER: "owner",
|
|
19
|
+
/** Standard user - can work with business data and view people */
|
|
20
|
+
MEMBER: "member"
|
|
21
|
+
};
|
|
22
|
+
var DEFAULT_ROLE_LABELS = {
|
|
23
|
+
owner: "Owner",
|
|
24
|
+
member: "Member"
|
|
25
|
+
};
|
|
26
|
+
var DEFAULT_ROLE_DESCRIPTIONS = {
|
|
27
|
+
owner: "Full access to all platform features and data",
|
|
28
|
+
member: "Can view, create, edit and delete business data"
|
|
29
|
+
};
|
|
30
|
+
var ALL_ACTIONS = ["read", "create", "update", "delete"];
|
|
31
|
+
var DEFAULT_ROLE_PERMISSIONS = {
|
|
32
|
+
owner: {
|
|
33
|
+
system: [{ target: "*", actions: ALL_ACTIONS }],
|
|
34
|
+
object: [{ target: "*", actions: ALL_ACTIONS }]
|
|
35
|
+
},
|
|
36
|
+
member: {
|
|
37
|
+
system: [{ target: "people", actions: ["read"] }],
|
|
38
|
+
object: [{ target: "*", actions: ALL_ACTIONS }]
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
function isDefaultRole(roleName) {
|
|
42
|
+
return Object.values(DEFAULT_ROLES).includes(roleName);
|
|
43
|
+
}
|
|
44
|
+
function isAdminRole(roleName) {
|
|
45
|
+
return roleName === DEFAULT_ROLES.OWNER;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
exports.SYSTEM_RESOURCES = SYSTEM_RESOURCES; exports.ALL_SYSTEM_RESOURCES = ALL_SYSTEM_RESOURCES; exports.SYSTEM_RESOURCE_LABELS = SYSTEM_RESOURCE_LABELS; exports.DEFAULT_ROLES = DEFAULT_ROLES; exports.DEFAULT_ROLE_LABELS = DEFAULT_ROLE_LABELS; exports.DEFAULT_ROLE_DESCRIPTIONS = DEFAULT_ROLE_DESCRIPTIONS; exports.DEFAULT_ROLE_PERMISSIONS = DEFAULT_ROLE_PERMISSIONS; exports.isDefaultRole = isDefaultRole; exports.isAdminRole = isAdminRole;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
var _chunkJZO52C3Fjs = require('./chunk-JZO52C3F.js');
|
|
12
|
+
require('./chunk-3RG5ZIWI.js');
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
exports.ALL_SYSTEM_RESOURCES = _chunkJZO52C3Fjs.ALL_SYSTEM_RESOURCES; exports.DEFAULT_ROLES = _chunkJZO52C3Fjs.DEFAULT_ROLES; exports.DEFAULT_ROLE_DESCRIPTIONS = _chunkJZO52C3Fjs.DEFAULT_ROLE_DESCRIPTIONS; exports.DEFAULT_ROLE_LABELS = _chunkJZO52C3Fjs.DEFAULT_ROLE_LABELS; exports.DEFAULT_ROLE_PERMISSIONS = _chunkJZO52C3Fjs.DEFAULT_ROLE_PERMISSIONS; exports.SYSTEM_RESOURCES = _chunkJZO52C3Fjs.SYSTEM_RESOURCES; exports.SYSTEM_RESOURCE_LABELS = _chunkJZO52C3Fjs.SYSTEM_RESOURCE_LABELS; exports.isAdminRole = _chunkJZO52C3Fjs.isAdminRole; exports.isDefaultRole = _chunkJZO52C3Fjs.isDefaultRole;
|
|
@@ -6,8 +6,9 @@ import {
|
|
|
6
6
|
DEFAULT_ROLE_PERMISSIONS,
|
|
7
7
|
SYSTEM_RESOURCES,
|
|
8
8
|
SYSTEM_RESOURCE_LABELS,
|
|
9
|
+
isAdminRole,
|
|
9
10
|
isDefaultRole
|
|
10
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-6P3NPTYV.mjs";
|
|
11
12
|
import "./chunk-Y6FXYEAI.mjs";
|
|
12
13
|
export {
|
|
13
14
|
ALL_SYSTEM_RESOURCES,
|
|
@@ -17,5 +18,6 @@ export {
|
|
|
17
18
|
DEFAULT_ROLE_PERMISSIONS,
|
|
18
19
|
SYSTEM_RESOURCES,
|
|
19
20
|
SYSTEM_RESOURCE_LABELS,
|
|
21
|
+
isAdminRole,
|
|
20
22
|
isDefaultRole
|
|
21
23
|
};
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as SystemResource,
|
|
2
|
-
export { ae as AIBatchQuestion, af as AIBatchQuestionAnswer, ad as AIBatchQuestionOption, a8 as AIChatMessage, a7 as AIChatMessagePart, a2 as AIChatMessagePartType, au as AICompactionSummary, ak as AIConversation, g6 as AIConversationsRepository, as as AIMemoryEntry, ar as AIMemoryType, al as AIMessage, aj as AIMessageAttachment, _ as AIMessageRole, ap as AIProviderMetrics, ab as AIQuestion, ac as AIQuestionAnswer, aa as AIQuestionOption, a9 as AIQuestionType, at as AITenantPersona, $ as AIThinkingLevel, ah as AITodoItem, ai as AITodoList, ag as AITodoStatus, a1 as AIToolCall, am as AIToolCallRecord, a0 as AIToolCallStatus, ao as AIUsageMetrics, g7 as AIUsageMetricsRepository, an as AIUserMemory, g8 as AIUserMemoryRepository, cw as ActivityTab, bP as AddAttribute, gw as AddAttributeInput, bo as AdvancedFilterState, cf as AssignRoleInput, fX as AttributeChange, bO as AttributeMap, bK as AttributeSchema, g9 as AttributesRepository, aw as AuditAction, ax as AuditActorType, ay as AuditChange, aB as AuditListOptions, az as AuditLogEntry, ga as AuditRepository, av as AuditResourceType, hM as AuditService, aC as AuditServiceOptions, gs as BaseRepository, gr as BaseService, B as BoundingBox, el as CacheAdapter, ej as CacheKeyType, em as CacheOptions, cC as CalendarViewConfig, cG as CalendarViewDefinition, dm as CanvasViewport, ba as CheckboxFilterOperator, fo as ConditionExecutor, c$ as ConditionNode, de as ConditionOperator, cJ as ConfigOverrides, aq as CreateAIMessageInput, aA as CreateAuditLogInput, gv as CreateCustomObjectInput, iI as CreateDBAttribute, iE as CreateDBObject, iU as CreateDBView, iY as CreateDBViewOverlay, i$ as CreateDBWorkflow, j8 as CreateDBWorkflowAccessGrant, j2 as CreateDBWorkflowInstance, j5 as CreateDBWorkflowInvitation, aV as CreateDocument, aH as CreateDocumentGenerationTemplate, aZ as CreateDocumentSlot, aX as CreateDocumentTemplate, b6 as CreateFile, dK as CreateGrantInput, hq as CreateGrantResult, dD as CreateInvitationInput, dE as CreateInvitationResult, iL as CreateObjectRecord, ce as CreatePermissionInput, a$ as CreateProcessingJob, h$ as CreateRecordDocumentInput, i0 as CreateRecordDocumentResult, cc as CreateRoleInput, E as CreateSignatureInput, cm as CreateUserProfile, i9 as CreateViewInput, hD as CreateWorkflowInput, bh as CurrencyFilterValue, bT as CustomAttributeValue, cv as CustomTab, iH as DBAttribute, iD as DBObject, iT as DBView, iX as DBViewOverlay, i_ as DBWorkflow, j7 as DBWorkflowAccessGrant, j1 as DBWorkflowInstance, j4 as DBWorkflowInvitation, iu as DEFAULT_LABEL_FALLBACK, e3 as DEFAULT_THEME, ec as DatabaseAdapter, bb as DateFilterOperator, cB as DetailViewConfig, aO as Document, aL as DocumentAutoProcessing, Y as DocumentData, fp as DocumentExecutor, hP as DocumentGenerationNotConfiguredError, hQ as DocumentGenerationService, aG as DocumentGenerationTemplate, gb as DocumentGenerationTemplateListOptions, hO as DocumentGenerationTemplateNotFoundError, gc as DocumentGenerationTemplatesRepository, gd as DocumentJobsRepository, b1 as DocumentListOptions, d0 as DocumentNode, hR as DocumentProcessingConfig, hk as DocumentProcessingHook, hj as DocumentProcessingHookOptions, hS as DocumentProcessingService, hW as DocumentRenderError, hU as DocumentRendererOptions, hY as DocumentRendererService, i2 as DocumentService, i1 as DocumentServiceOptions, aQ as DocumentSlot, aK as DocumentSlotDefinition, ge as DocumentSlotsRepository, aP as DocumentStatus, b2 as DocumentTemplateListOptions, hZ as DocumentTemplateService, gg as DocumentTemplatesRepository, gf as DocumentsRepository, cz as DocumentsTab, c9 as EffectivePermissions, fq as EndExecutor, d1 as EndNode, eI as EvaluationResult, eJ as EvaluationTrace, fc as ExecutorCompleteResult, fd as ExecutorContext, fe as ExecutorErrorResult, fl as ExecutorRegistry, ff as ExecutorResult, fg as ExecutorSuccessResult, fh as ExecutorWaitResult, bl as ExtendedFilterRule, c1 as ExtractAttributes, c3 as ExtractObjectRecord, c4 as ExtractObjectRecordWithCustom, bX as ExtractRecord, bZ as ExtractRecordInput, b_ as ExtractRecordInputStrict, bY as ExtractRecordStrict, b$ as ExtractRecordUpdate, c0 as ExtractRecordUpdateStrict, aN as ExtractionField, aM as ExtractionMapping, eW as FeatureFlagsContext, eO as FeatureFlagsContextError, er as FetchResult, b5 as File, ie as FileContent, iS as FileListOptions, i4 as FileService, i3 as FileServiceOptions, b4 as FileVisibility, gh as FilesRepository, bm as FilterCombinator, bn as FilterGroup, bf as FilterOperator, bk as FilterRule, bj as FilterValue, bA as FlowDefinition, bx as FlowPage, by as FlowRelation, bw as FlowRowField, bv as FlowSlot, bz as FlowStatus, cy as FlowsTab, dW as FormContextResponse, cq as FormDensity, fr as FormExecutor, dX as FormFieldContext, d2 as FormFieldRef, dY as FormFieldRow, d3 as FormNode, dZ as FormNodeInfo, cr as FormTab, es as FormattedRecord, gX as FormulaResolverService, gW as FormulaResolverServiceOptions, fF as FormulaResult, is as FullSyncOptions, ir as FullSyncResult, cE as GalleryViewConfig, cI as GalleryViewDefinition, dR as GeneratedDocument, bI as GeocodingAdapter, bF as GeocodingAutocompleteParams, bH as GeocodingParams, i5 as GeocodingService, bE as GeocodingSuggestion, gL as GetRelationOptionsParams, ic as GetViewOptions, ib as GetViewsOptions, iP as GlobalSearchGroupedOptions, iR as GlobalSearchGroupedResult, iO as GlobalSearchOptions, iQ as GlobalSearchResultItem, i6 as GlobalSearchService, hm as GrantExpiredError, hl as GrantNotFoundError, hn as GrantRevokedError, hp as GrantServiceConfig, et as GroupedFetchResult, fY as HookContext, fZ as HookDefinition, f_ as HookHandler, g1 as HookRegistry, f$ as HookType, gS as HybridRelationValue, Q as IdentityVerificationAdapter, bQ as InferRecord, bL as InferRecordFromSchema, bR as InferRecordInput, bS as InferRecordUpdate, bM as InferRecordWithRequirements, eu as InsertOptions, fJ as InvalidPathError, ct as InverseSource, hz as InvitationAlreadyAcceptedError, hy as InvitationExpiredError, hx as InvitationNotFoundError, hA as InvitationRevokedError, hw as InvitationServiceConfig, dF as InvitationStatus, co as InviteUserInput, ee as JwtVerificationResult, ha as LabelResolver, iM as ListOptions, cA as ListViewLayout, ef as MagicLinkPayload, fK as MaxDepthExceededError, g3 as MockStores, gQ as MultiRelationValue, bd as MultiselectFilterOperator, bt as NO_VALUE_OPERATORS, bs as NoValueOperator, fi as NodeExecutor, dn as NodePosition, eq as NoopCacheAdapter, bJ as NoopGeocodingAdapter, g0 as NoopHookRegistry, b9 as NumberFilterOperator, br as OPERATORS_BY_TYPE, ca as ObjectPermissions, gi as ObjectRecordsRepository, gz as ObjectSchemaService, gy as ObjectSchemaServiceOptions, gj as ObjectsRepository, t as OcrAdapter, u as OcrInput, v as OcrOptions, x as OcrPage, w as OcrResult, y as OcrTextBlock, ja as OperationResult, fO as PathCardinality, fP as PathSegment, fQ as PathSegmentType, aE as PdfTemplateField, dv as PendingAction, aJ as PendingDocumentRequest, c7 as Permission, c5 as PermissionScope, i8 as PermissionService, i7 as PermissionServiceOptions, gk as PermissionsRepository, bi as PhoneFilterValue, cg as PolicyContext, g5 as PolicyRegistry, ci as PolicyViolationError, aS as ProcessingJob, aU as ProcessingJobStatus, aT as ProcessingJobType, eG as QueryBuilder, eH as QueryBuilderOptions, ev as QueryBuilderState, eC as QueryMultipleResultsError, eD as QueryNoResultError, gD as QueryOptions, gF as QueryResult, bq as QueryState, d_ as ReadOnlyReason, a6 as ReasoningPartData, h_ as RecordDocumentsResult, bV as RecordMetadata, ch as RecordPolicy, gG as RecordQueryService, gC as RecordQueryServiceOptions, gU as RecordResolverService, gB as RecordService, gA as RecordServiceOptions, ew as RegistryMap, ex as RegistryObjectNames, e9 as RelationAttributeInput, ea as RelationAttributeRow, eb as RelationAttributesRepository, be as RelationFilterOperator, iB as RelationLabelResolver, gJ as RelationOption, gK as RelationOptionsResponse, gT as RelationPropertiesService, gP as RelationService, gM as RelationServiceOptions, cs as RelationSource, gI as RelationValidationError, gH as RelationValidationResult, bg as RelativeDateValue, hT as RenderDocumentInput, hV as RenderDocumentResult, gN as ResolveIdsBatchRequest, gO as ResolveIdsBatchResponse, gV as ResolvedRelations, ht as ResumeWorkflowInput, bG as ReverseGeocodingParams, cx as RichtextTab, c6 as Role, hi as RollupCascadeContext, gY as RollupResult, h0 as RollupScheduler, g$ as RollupSchedulerOptions, g_ as RollupService, gZ as RollupServiceOptions, eE as SHORTCUT_TO_FILTER_OPERATOR, f2 as SchemaContext, gt as SchemaContextAware, gu as SchemaContextAwareRepository, fR as SchemaResolver, iN as SearchOptions, gE as SearchQueryOptions, bc as SelectFilterOperator, ey as ShortcutOperator, z as SignatureAdapter, J as SignaturePosition, K as SignatureRequestResult, P as SignatureStatus, M as SignatureStatusResult, ii as SignedUrlOptions, H as SignerRequest, N as SignerStatus, gR as SingleRelationValue, aR as SlotStatus, bp as SortDirection, fs as StartExecutor, d4 as StartNode, hs as StartWorkflowInput, ij as StorageAdapter, hX as StorageDownloadNotSupportedError, b3 as StorageProvider, ig as StorageUploadInput, ih as StorageUploadResult, im as SyncOptions, il as SyncResult, bW as SystemFields, cb as SystemPermissions, cp as TabType, cu as TableSource, aF as TemplateSource, f9 as TenantContext, eN as TenantContextError, b8 as TextFilterOperator, a3 as TextPartData, e0 as ThemeColors, e1 as ThemeLogo, e2 as ThemeTypography, a5 as ThinkingPartData, cD as TimelineViewConfig, cH as TimelineViewDefinition, ho as TokenRevokedError, a4 as ToolPartData, fV as TraversalOptions, fW as TraversalResult, bN as TypedAttribute, c2 as TypedObjectRecord, iJ as UpdateDBAttribute, iF as UpdateDBObject, iV as UpdateDBView, iZ as UpdateDBViewOverlay, j0 as UpdateDBWorkflow, j9 as UpdateDBWorkflowAccessGrant, j3 as UpdateDBWorkflowInstance, j6 as UpdateDBWorkflowInvitation, aW as UpdateDocument, aI as UpdateDocumentGenerationTemplate, a_ as UpdateDocumentSlot, aY as UpdateDocumentTemplate, b7 as UpdateFile, gx as UpdateObjectInput, b0 as UpdateProcessingJob, cd as UpdateRoleInput, cn as UpdateUserProfile, ia as UpdateViewInput, hE as UpdateWorkflowInput, ik as UploadFileInput, iK as UpsertDBAttribute, iG as UpsertDBObject, iW as UpsertDBView, cl as UserProfile, hL as UserProfileService, hK as UserProfileServiceOptions, gl as UserProfilesRepository, cj as UserRole, c8 as UserRoleAssignment, hJ as UserService, ck as UserStatus, hI as UserValidationError, hH as UserValidationResult, aD as VariableMapping, Z as VerificationCheck, X as VerificationResult, U as VerifyInput, cF as ViewConfig, cK as ViewOverlay, e8 as ViewOverlaysRepository, id as ViewService, jc as ViewSyncLogger, jd as ViewSyncOptions, jb as ViewSyncResult, gm as ViewsRepository, bU as WithCustomAttributes, dL as WorkflowAccessGrant, hr as WorkflowAccessGrantService, gn as WorkflowAccessGrantsRepository, d$ as WorkflowAccessMode, eg as WorkflowAccessPayload, dw as WorkflowError, dS as WorkflowExecutionContext, dx as WorkflowInstance, hv as WorkflowInstanceService, hu as WorkflowInstanceServiceOptions, go as WorkflowInstancesRepository, dG as WorkflowInvitation, hB as WorkflowInvitationService, gp as WorkflowInvitationsRepository, eh as WorkflowJwtConfig, ei as WorkflowJwtPayload, ed as WorkflowJwtService, dp as WorkflowLayout, d5 as WorkflowNodeType, hC as WorkflowRelationService, hG as WorkflowService, hF as WorkflowServiceOptions, dq as WorkflowSlot, dr as WorkflowStatus, dy as WorkflowTransition, gq as WorkflowsRepository, eX as addSchemaToContext, df as and, h1 as applyDefaultValues, hN as buildAuditChanges, h4 as buildPolicyContext, en as cacheKeys, eo as cacheTtl, dM as canAccessNode, dz as canResumeInstance, h2 as checkPermission, h5 as checkRecordAccess, h7 as checkRecordDeleteOrThrow, h6 as checkRecordModifyOrThrow, h8 as checkSharedObjectWriteAccess, fj as complete, h9 as computeLabel, iC as computeLabelWithRelations, hd as createContextForCreate, hf as createContextForDelete, hg as createContextForRestore, he as createContextForUpdate, fa as createDefaultExecutorRegistry, ez as createDefaultState, dT as createEmptyContext, g2 as createMockAdapter, eF as createQueryBuilder, dA as createStartTransition, g4 as defaultPolicyRegistry, ep as defaultTtl, hc as enrichRecordsWithFormulas, iy as enrichValuesForDisplay, iz as enrichValuesWithSelectLabels, hb as enrichWithFormulas, dg as eq, fk as error, eL as evaluate, eK as evaluateCondition, ft as evaluateFormula, fu as evaluateFormulaAttribute, fv as evaluateFormulaAttributeWithRelations, fw as evaluateFormulaWithRelations, fx as evaluateFormulaWithResult, eM as evaluateWithTrace, ix as extractAttributeNames, fy as extractFormulaVariables, iA as extractRelationIds, fz as extractRelationNames, fA as extractRelationReferences, fB as flattenRelationsForEval, fC as formatFormulaResult, eA as formatRecord, eB as formatRecords, e4 as generateCssVariables, f3 as getContext, dU as getContextValue, fb as getDefaultExecutorRegistry, eP as getFeatureFlags, eQ as getFeatureValue, d6 as getNodeOutputs, fG as getPathDepth, h3 as getPolicy, fH as getRelationPath, eY as getSchemaByNameFromContext, eZ as getSchemaContext, e_ as getSchemaFromContext, iq as getSyncPreview, fI as getTargetAttributeName, f4 as getTenantId, f5 as getUserId, ji as getViewSeedPreview, jj as getViewSyncPreview, f6 as hasContext, eR as hasFeatureFlagsContext, fD as hasRelationReferences, e$ as hasSchemaContext, ek as hashOptions, dh as inValues, cX as isActivityTab, d7 as isAdvancedFormNode, cN as isCalendarView, di as isConditionGroup, d8 as isConditionNode, dj as isConditionRule, cW as isCustomTab, cL as isDetailView, d9 as isDocumentNode, c_ as isDocumentsTab, da as isEndNode, eS as isFeatureEnabled, cQ as isFieldGroup, bB as isFlowDefinition, bC as isFlowPublished, cZ as isFlowsTab, db as isFormNode, cS as isFormTab, cP as isGalleryView, dN as isGrantExpired, dO as isGrantRevoked, dP as isGrantValid, dB as isInstanceTerminal, dC as isInstanceWaiting, cV as isInverseSourceTab, dH as isInvitationAccepted, dI as isInvitationExpired, dJ as isInvitationValid, iw as isLabelExpression, cM as isListView, bu as isNoValueOperator, cR as isRelationGroup, cU as isRelationSourceTab, cY as isRichtextTab, dc as isSimpleFormNode, dd as isStartNode, bD as isSystemFlow, ds as isSystemWorkflow, cT as isTableTab, cO as isTimelineView, dQ as isTokenRevoked, dt as isWorkflowDefinition, du as isWorkflowPublished, e5 as mergeWithDefaults, dk as neq, dl as or, fL as parsePath, fM as pathHasManyCardinality, hh as recalculateParentRollups, e6 as registry, iv as renderLabelExpression, fS as resolveMultiplePaths, fT as resolveSingleValue, f7 as runWithContext, eT as runWithFeatureFlags, f0 as runWithMergedSchemaContext, f1 as runWithSchemaContext, je as seedRegistryViews, dV as setContextValue, fm as success, it as syncAll, io as syncNativeObjects, jf as syncNativeViews, fU as traversePath, eU as tryGetFeatureValue, fE as validateFormulaExpression, fN as validatePath, ip as verifyNativeObjectsSync, jh as verifyNativeViewsSync, jg as verifyRegistryViewsSeeded, e7 as viewRegistry, fn as wait, eV as withFeatureFlags, f8 as withTenantContext } from './runtime-DzpQ5gRG.mjs';
|
|
1
|
+
import { S as SystemResource, A as Action, I as InferAttributeValue, F as Field, a as AttributeGroupField, b as FieldGroup, R as RelationGroup, D as DetailViewLayout, c as SidePanelConfig, G as Group, d as DetailViewDefinition, e as InstanceStatus, T as Tab, f as TableTab, C as CreateMode, g as FilterState, h as SortRule, 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-Ca41jw8q.mjs';
|
|
2
|
+
export { ad as AIBatchQuestion, ae as AIBatchQuestionAnswer, ac as AIBatchQuestionOption, a7 as AIChatMessage, a6 as AIChatMessagePart, a1 as AIChatMessagePartType, at as AICompactionSummary, aj as AIConversation, ga as AIConversationsRepository, ar as AIMemoryEntry, aq as AIMemoryType, 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 as AITenantPersona, _ as AIThinkingLevel, ag as AITodoItem, ah as AITodoList, af as AITodoStatus, a0 as AIToolCall, al as AIToolCallRecord, $ as AIToolCallStatus, an as AIUsageMetrics, gb as AIUsageMetricsRepository, am as AIUserMemory, gc as AIUserMemoryRepository, c8 as ALL_ACTIONS, c7 as AccessLevel, cA as ActivityTab, bO as AddAttribute, gA as AddAttributeInput, bn as AdvancedFilterState, ck as AssignRoleInput, f$ as AttributeChange, bN as AttributeMap, bJ as AttributeSchema, gd as AttributesRepository, av as AuditAction, aw as AuditActorType, ax as AuditChange, aA as AuditListOptions, ay as AuditLogEntry, ge as AuditRepository, au as AuditResourceType, hQ as AuditService, aB as AuditServiceOptions, gw as BaseRepository, gv as BaseService, B as BoundingBox, ep as CacheAdapter, en as CacheKeyType, eq as CacheOptions, cG as CalendarViewConfig, cK as CalendarViewDefinition, dr as CanvasViewport, b9 as CheckboxFilterOperator, fs as ConditionExecutor, d3 as ConditionNode, di as ConditionOperator, cN as ConfigOverrides, ap as CreateAIMessageInput, az as CreateAuditLogInput, gz as CreateCustomObjectInput, iM as CreateDBAttribute, iI as CreateDBObject, iY as CreateDBView, j0 as CreateDBViewOverlay, j3 as CreateDBWorkflow, jc as CreateDBWorkflowAccessGrant, j6 as CreateDBWorkflowInstance, j9 as CreateDBWorkflowInvitation, aU as CreateDocument, aG as CreateDocumentGenerationTemplate, aY as CreateDocumentSlot, aW as CreateDocumentTemplate, b5 as CreateFile, dO as CreateGrantInput, hu as CreateGrantResult, dH as CreateInvitationInput, dI as CreateInvitationResult, iP as CreateObjectRecord, cj as CreatePermissionInput, a_ as CreateProcessingJob, i3 as CreateRecordDocumentInput, i4 as CreateRecordDocumentResult, ch as CreateRoleInput, z as CreateSignatureInput, cq as CreateUserProfile, id as CreateViewInput, hH as CreateWorkflowInput, bg as CurrencyFilterValue, bS as CustomAttributeValue, cz as CustomTab, iL as DBAttribute, iH as DBObject, iX as DBView, i$ as DBViewOverlay, j2 as DBWorkflow, jb as DBWorkflowAccessGrant, j5 as DBWorkflowInstance, j8 as DBWorkflowInvitation, iy as DEFAULT_LABEL_FALLBACK, e7 as DEFAULT_THEME, eg as DatabaseAdapter, ba as DateFilterOperator, cF as DetailViewConfig, aN as Document, aK as DocumentAutoProcessing, X as DocumentData, ft as DocumentExecutor, hT as DocumentGenerationNotConfiguredError, hU as DocumentGenerationService, aF as DocumentGenerationTemplate, gf as DocumentGenerationTemplateListOptions, hS as DocumentGenerationTemplateNotFoundError, gg as DocumentGenerationTemplatesRepository, gh as DocumentJobsRepository, b0 as DocumentListOptions, d4 as DocumentNode, hV as DocumentProcessingConfig, ho as DocumentProcessingHook, hn as DocumentProcessingHookOptions, hW as DocumentProcessingService, h_ as DocumentRenderError, hY as DocumentRendererOptions, i0 as DocumentRendererService, i6 as DocumentService, i5 as DocumentServiceOptions, aP as DocumentSlot, aJ as DocumentSlotDefinition, gi as DocumentSlotsRepository, aO as DocumentStatus, b1 as DocumentTemplateListOptions, i1 as DocumentTemplateService, gk as DocumentTemplatesRepository, gj as DocumentsRepository, cD as DocumentsTab, ce as EffectivePermissions, fu as EndExecutor, d5 as EndNode, eM as EvaluationResult, eN as EvaluationTrace, fg as ExecutorCompleteResult, fh as ExecutorContext, fi as ExecutorErrorResult, fp as ExecutorRegistry, fj as ExecutorResult, fk as ExecutorSuccessResult, fl as ExecutorWaitResult, bk as ExtendedFilterRule, c0 as ExtractAttributes, c2 as ExtractObjectRecord, c3 as ExtractObjectRecordWithCustom, bW as ExtractRecord, bY as ExtractRecordInput, bZ as ExtractRecordInputStrict, bX as ExtractRecordStrict, b_ as ExtractRecordUpdate, b$ as ExtractRecordUpdateStrict, aM as ExtractionField, aL as ExtractionMapping, e_ as FeatureFlagsContext, eS as FeatureFlagsContextError, ev as FetchResult, b4 as File, ij as FileContent, iW as FileListOptions, i8 as FileService, i7 as FileServiceOptions, b3 as FileVisibility, gl as FilesRepository, bl as FilterCombinator, bm as FilterGroup, be as FilterOperator, bj as FilterRule, bi as FilterValue, bz as FlowDefinition, bw as FlowPage, bx as FlowRelation, bv as FlowRowField, bu as FlowSlot, by as FlowStatus, cC as FlowsTab, d_ as FormContextResponse, cu as FormDensity, fv as FormExecutor, d$ as FormFieldContext, d6 as FormFieldRef, e0 as FormFieldRow, d7 as FormNode, e1 as FormNodeInfo, cv as FormTab, ew as FormattedRecord, g$ as FormulaResolverService, g_ as FormulaResolverServiceOptions, fJ as FormulaResult, iw as FullSyncOptions, iv as FullSyncResult, cI as GalleryViewConfig, cM as GalleryViewDefinition, dV as GeneratedDocument, bH as GeocodingAdapter, bE as GeocodingAutocompleteParams, bG as GeocodingParams, i9 as GeocodingService, bD as GeocodingSuggestion, gP as GetRelationOptionsParams, ih as GetViewOptions, ig as GetViewsOptions, iT as GlobalSearchGroupedOptions, iV as GlobalSearchGroupedResult, iS as GlobalSearchOptions, iU as GlobalSearchResultItem, ia as GlobalSearchService, hq as GrantExpiredError, hp as GrantNotFoundError, hr as GrantRevokedError, ht as GrantServiceConfig, ex as GroupedFetchResult, g0 as HookContext, g1 as HookDefinition, g2 as HookHandler, g5 as HookRegistry, g3 as HookType, gW as HybridRelationValue, P as IdentityVerificationAdapter, bP as InferRecord, bK as InferRecordFromSchema, bQ as InferRecordInput, bR as InferRecordUpdate, bL as InferRecordWithRequirements, ey as InsertOptions, fN as InvalidPathError, cx as InverseSource, hD as InvitationAlreadyAcceptedError, hC as InvitationExpiredError, hB as InvitationNotFoundError, hE as InvitationRevokedError, hA as InvitationServiceConfig, dJ as InvitationStatus, cs as InviteUserInput, ei as JwtVerificationResult, he as LabelResolver, iQ as ListOptions, cE as ListViewLayout, ej as MagicLinkPayload, fO as MaxDepthExceededError, g7 as MockStores, gU as MultiRelationValue, bc as MultiselectFilterOperator, bs as NO_VALUE_OPERATORS, br as NoValueOperator, fm as NodeExecutor, ds as NodePosition, eu as NoopCacheAdapter, bI as NoopGeocodingAdapter, g4 as NoopHookRegistry, b8 as NumberFilterOperator, bq as OPERATORS_BY_TYPE, c5 as ObjectAction, cf as ObjectPermissions, gm as ObjectRecordsRepository, gD as ObjectSchemaService, gC as ObjectSchemaServiceOptions, gn as ObjectsRepository, O as OcrAdapter, t as OcrInput, u as OcrOptions, w as OcrPage, v as OcrResult, x as OcrTextBlock, je as OperationResult, fS as PathCardinality, fT as PathSegment, fU as PathSegmentType, aD as PdfTemplateField, dz as PendingAction, aI as PendingDocumentRequest, cc as Permission, c4 as PermissionScope, ic as PermissionService, ib as PermissionServiceOptions, go as PermissionsRepository, bh as PhoneFilterValue, cl as PolicyContext, g9 as PolicyRegistry, cn as PolicyViolationError, aR as ProcessingJob, aT as ProcessingJobStatus, aS as ProcessingJobType, eK as QueryBuilder, eL as QueryBuilderOptions, ez as QueryBuilderState, eG as QueryMultipleResultsError, eH as QueryNoResultError, gH as QueryOptions, gJ as QueryResult, bp as QueryState, e2 as ReadOnlyReason, a5 as ReasoningPartData, i2 as RecordDocumentsResult, bU as RecordMetadata, cm as RecordPolicy, gK as RecordQueryService, gG as RecordQueryServiceOptions, gY as RecordResolverService, gF as RecordService, gE as RecordServiceOptions, eA as RegistryMap, eB as RegistryObjectNames, ed as RelationAttributeInput, ee as RelationAttributeRow, ef as RelationAttributesRepository, bd as RelationFilterOperator, iF as RelationLabelResolver, gN as RelationOption, gO as RelationOptionsResponse, gX as RelationPropertiesService, gT as RelationService, gQ as RelationServiceOptions, cw as RelationSource, gM as RelationValidationError, gL as RelationValidationResult, bf as RelativeDateValue, hX as RenderDocumentInput, hZ as RenderDocumentResult, gR as ResolveIdsBatchRequest, gS as ResolveIdsBatchResponse, gZ as ResolvedRelations, hx as ResumeWorkflowInput, bF as ReverseGeocodingParams, cB as RichtextTab, cb as Role, hm as RollupCascadeContext, h0 as RollupResult, h4 as RollupScheduler, h3 as RollupSchedulerOptions, h2 as RollupService, h1 as RollupServiceOptions, eI as SHORTCUT_TO_FILTER_OPERATOR, f6 as SchemaContext, gx as SchemaContextAware, gy as SchemaContextAwareRepository, fV as SchemaResolver, iR as SearchOptions, gI as SearchQueryOptions, bb as SelectFilterOperator, eC as ShortcutOperator, y as SignatureAdapter, H as SignaturePosition, J as SignatureRequestResult, N as SignatureStatus, K as SignatureStatusResult, im as SignedUrlOptions, E as SignerRequest, M as SignerStatus, gV as SingleRelationValue, aQ as SlotStatus, bo as SortDirection, fw as StartExecutor, d8 as StartNode, hw as StartWorkflowInput, io as StorageAdapter, h$ as StorageDownloadNotSupportedError, b2 as StorageProvider, ik as StorageUploadInput, il as StorageUploadResult, ir as SyncOptions, iq as SyncResult, c6 as SystemAction, bV as SystemFields, cg as SystemPermissions, ct as TabType, cy as TableSource, aE as TemplateSource, fd as TenantContext, eR as TenantContextError, b7 as TextFilterOperator, a2 as TextPartData, e4 as ThemeColors, e5 as ThemeLogo, e6 as ThemeTypography, a4 as ThinkingPartData, cH as TimelineViewConfig, cL as TimelineViewDefinition, hs as TokenRevokedError, a3 as ToolPartData, fZ as TraversalOptions, f_ as TraversalResult, bM as TypedAttribute, c1 as TypedObjectRecord, iN as UpdateDBAttribute, iJ as UpdateDBObject, iZ as UpdateDBView, j1 as UpdateDBViewOverlay, j4 as UpdateDBWorkflow, jd as UpdateDBWorkflowAccessGrant, j7 as UpdateDBWorkflowInstance, ja as UpdateDBWorkflowInvitation, aV as UpdateDocument, aH as UpdateDocumentGenerationTemplate, aZ as UpdateDocumentSlot, aX as UpdateDocumentTemplate, b6 as UpdateFile, gB as UpdateObjectInput, a$ as UpdateProcessingJob, ci as UpdateRoleInput, cr as UpdateUserProfile, ie as UpdateViewInput, hI as UpdateWorkflowInput, ip as UploadFileInput, iO as UpsertDBAttribute, iK as UpsertDBObject, i_ as UpsertDBView, cp as UserProfile, hP as UserProfileService, hO as UserProfileServiceOptions, gp as UserProfilesRepository, cd as UserRoleAssignment, hN as UserService, co as UserStatus, hM as UserValidationError, hL as UserValidationResult, aC as VariableMapping, Y as VerificationCheck, U as VerificationResult, Q as VerifyInput, cJ as ViewConfig, cO as ViewOverlay, ec as ViewOverlaysRepository, ii as ViewService, jg as ViewSyncLogger, jh as ViewSyncOptions, jf as ViewSyncResult, gq as ViewsRepository, bT as WithCustomAttributes, dP as WorkflowAccessGrant, hv as WorkflowAccessGrantService, gr as WorkflowAccessGrantsRepository, e3 as WorkflowAccessMode, ek as WorkflowAccessPayload, dA as WorkflowError, dW as WorkflowExecutionContext, dB as WorkflowInstance, hz as WorkflowInstanceService, hy as WorkflowInstanceServiceOptions, gs as WorkflowInstancesRepository, dK as WorkflowInvitation, hF as WorkflowInvitationService, gt as WorkflowInvitationsRepository, el as WorkflowJwtConfig, em as WorkflowJwtPayload, eh as WorkflowJwtService, dt as WorkflowLayout, d9 as WorkflowNodeType, hG as WorkflowRelationService, hK as WorkflowService, hJ as WorkflowServiceOptions, du as WorkflowSlot, dv as WorkflowStatus, dC as WorkflowTransition, gu as WorkflowsRepository, ca as accessLevelToActions, c9 as actionsToAccessLevel, e$ as addSchemaToContext, dj as and, h5 as applyDefaultValues, hR as buildAuditChanges, h8 as buildPolicyContext, er as cacheKeys, es as cacheTtl, dQ as canAccessNode, dD as canResumeInstance, h6 as checkPermission, h9 as checkRecordAccess, hb as checkRecordDeleteOrThrow, ha as checkRecordModifyOrThrow, hc as checkSharedObjectWriteAccess, fn as complete, hd as computeLabel, iG as computeLabelWithRelations, hh as createContextForCreate, hj as createContextForDelete, hk as createContextForRestore, hi as createContextForUpdate, fe as createDefaultExecutorRegistry, eD as createDefaultState, dX as createEmptyContext, g6 as createMockAdapter, eJ as createQueryBuilder, dE as createStartTransition, g8 as defaultPolicyRegistry, et as defaultTtl, hg as enrichRecordsWithFormulas, iC as enrichValuesForDisplay, iD as enrichValuesWithSelectLabels, hf as enrichWithFormulas, dk as eq, fo as error, eP as evaluate, eO as evaluateCondition, fx as evaluateFormula, fy as evaluateFormulaAttribute, fz as evaluateFormulaAttributeWithRelations, fA as evaluateFormulaWithRelations, fB as evaluateFormulaWithResult, eQ as evaluateWithTrace, iB as extractAttributeNames, fC as extractFormulaVariables, iE as extractRelationIds, fD as extractRelationNames, fE as extractRelationReferences, fF as flattenRelationsForEval, fG as formatFormulaResult, eE as formatRecord, eF as formatRecords, e8 as generateCssVariables, f7 as getContext, dY as getContextValue, ff as getDefaultExecutorRegistry, eT as getFeatureFlags, eU as getFeatureValue, da as getNodeOutputs, fK as getPathDepth, h7 as getPolicy, fL as getRelationPath, f0 as getSchemaByNameFromContext, f1 as getSchemaContext, f2 as getSchemaFromContext, iu as getSyncPreview, fM as getTargetAttributeName, f8 as getTenantId, f9 as getUserId, jm as getViewSeedPreview, jn as getViewSyncPreview, fa as hasContext, eV as hasFeatureFlagsContext, fH as hasRelationReferences, f3 as hasSchemaContext, eo as hashOptions, dl as inValues, c$ as isActivityTab, db as isAdvancedFormNode, cR as isCalendarView, dm as isConditionGroup, dc as isConditionNode, dn as isConditionRule, c_ as isCustomTab, cP as isDetailView, dd as isDocumentNode, d2 as isDocumentsTab, de as isEndNode, eW as isFeatureEnabled, cU as isFieldGroup, bA as isFlowDefinition, bB as isFlowPublished, d1 as isFlowsTab, df as isFormNode, cW as isFormTab, cT as isGalleryView, dR as isGrantExpired, dS as isGrantRevoked, dT as isGrantValid, dF as isInstanceTerminal, dG as isInstanceWaiting, cZ as isInverseSourceTab, dL as isInvitationAccepted, dM as isInvitationExpired, dN as isInvitationValid, iA as isLabelExpression, cQ as isListView, bt as isNoValueOperator, cV as isRelationGroup, cY as isRelationSourceTab, d0 as isRichtextTab, dg as isSimpleFormNode, dh as isStartNode, bC as isSystemFlow, dw as isSystemWorkflow, cX as isTableTab, cS as isTimelineView, dU as isTokenRevoked, dx as isWorkflowDefinition, dy as isWorkflowPublished, e9 as mergeWithDefaults, dp as neq, dq as or, fP as parsePath, fQ as pathHasManyCardinality, hl as recalculateParentRollups, ea as registry, iz as renderLabelExpression, fW as resolveMultiplePaths, fX as resolveSingleValue, fb as runWithContext, eX as runWithFeatureFlags, f4 as runWithMergedSchemaContext, f5 as runWithSchemaContext, ji as seedRegistryViews, dZ as setContextValue, fq as success, ix as syncAll, is as syncNativeObjects, jj as syncNativeViews, fY as traversePath, eY as tryGetFeatureValue, fI as validateFormulaExpression, fR as validatePath, it as verifyNativeObjectsSync, jl as verifyNativeViewsSync, jk as verifyRegistryViewsSeeded, eb as viewRegistry, fr as wait, eZ as withFeatureFlags, fc as withTenantContext } from './runtime-Ca41jw8q.mjs';
|
|
3
3
|
import { D as DateAttribute, U as UserAttribute, a as DocumentAttribute, A as Attribute, P as Phone, F as FeatureGate, T as TextAttribute, b as TextAreaAttribute, R as RichtextAttribute, c as RichtextFeature, N as NumberAttribute, C as CheckboxAttribute, d as PhoneAttribute, e as CurrencyAttribute, O as Option, S as StatusAttribute, f as SelectAttribute, M as MultiselectAttribute, L as LocationAttribute, g as FileAttribute, h as RatingAttribute, i as RelationAttribute, B as BilateralConfig, j as SingleRelationAttribute, k as MultiRelationAttribute, l as RelationTarget, m as FormulaAttribute, n as FormulaReturnType, o as RollupAttribute, p as RollupFunction, q as AttributeType, r as ObjectDefinition, s as FlagValueType, t as FeatureFlagDefinition, u as FlagLevel, v as FeatureFlagsRepository, w as StaticFlagDefault, x as ResolvedFlag } from './validators-CzHCpxVj.mjs';
|
|
4
4
|
export { z as AttributeGroup, E as BaseAttribute, a6 as CompletionStatus, J as Currency, af as DEFAULT_VALIDATION_MESSAGES, H as DateFormat, I as DateValue, a9 as FORBIDDEN_PROPERTY_TYPES, _ as FeatureFlagsConfig, Z as FlagOverride, aa as ForbiddenPropertyType, K as Location, Q as LocationGranularity, G as NumberUnit, a5 as ObjectAttribute, a7 as ObjectRecord, ab as PropertyAttribute, ac as PropertySchema, a8 as PropertyType, V as RELATION_TARGET_ANY, $ as RESERVED_ATTRIBUTE_NAMES, a1 as ReservedAttributeName, a0 as SYSTEM_FIELD_NAMES, a4 as SharingMode, y as StatusGroup, a2 as SystemFieldName, a3 as Timestamps, ae as ValidationMessages, a$ as ValidationResult, az as attributeConfigSchemas, ak as checkboxConfigSchema, b8 as computeRecordStatus, aY as createAttributeValidator, aG as createCheckboxValidator, aJ as createCurrencyValidator, aH as createDateValidator, b3 as createDraftValidator, aO as createFileValidator, aZ as createFormAttributeValidator, aU as createFormulaValidator, aN as createLocationValidator, aR as createMultiRelationValidator, aM as createMultiselectValidator, aF as createNumberValidator, a_ as createObjectValidator, aI as createPhoneValidator, aT as createRatingValidator, aS as createRelationValidator, aX as createRichtextValidator, aV as createRollupValidator, aL as createSelectValidator, aQ as createSingleRelationValidator, aK as createStatusValidator, aW as createTextAreaValidator, aE as createTextValidator, aP as createUserValidator, an as currencyConfigSchema, al as dateConfigSchema, ay as documentConfigSchema, as as fileConfigSchema, ad as formatZodErrors, aw as formulaConfigSchema, aA as getAttributeConfigSchema, b6 as getMissingRequiredAttributes, Y as inferInverseCardinality, X as isBilateralRelation, b7 as isRecordComplete, W as isUniversalRelation, ap as locationConfigSchema, ar as multiselectConfigSchema, aj as numberConfigSchema, aC as parseAttributeConfig, am as phoneConfigSchema, av as ratingConfigSchema, au as relationConfigSchema, ai as richtextConfigSchema, ax as rollupConfigSchema, aD as safeParseAttributeConfig, aq as selectConfigSchema, ao as statusConfigSchema, ag as textConfigSchema, ah as textareaConfigSchema, at as userConfigSchema, b0 as validateAttribute, aB as validateAttributeConfig, b4 as validateDraft, b5 as validateDraftOrThrow, b1 as validateObject, b2 as validateObjectOrThrow } from './validators-CzHCpxVj.mjs';
|
|
5
5
|
import { z } from 'zod';
|
|
@@ -1278,18 +1278,10 @@ declare function applyRelationProps(label: string, props: Record<string, unknown
|
|
|
1278
1278
|
* System resources that can be managed through permissions.
|
|
1279
1279
|
*/
|
|
1280
1280
|
declare const SYSTEM_RESOURCES: {
|
|
1281
|
-
/** User profiles and
|
|
1282
|
-
readonly
|
|
1283
|
-
/** Object definitions and
|
|
1284
|
-
readonly
|
|
1285
|
-
/** Roles and permissions management */
|
|
1286
|
-
readonly ROLES: "roles";
|
|
1287
|
-
/** Tenant settings and configuration */
|
|
1288
|
-
readonly SETTINGS: "settings";
|
|
1289
|
-
/** Audit logs and activity trail */
|
|
1290
|
-
readonly AUDIT: "audit";
|
|
1291
|
-
/** File uploads and storage management */
|
|
1292
|
-
readonly FILES: "files";
|
|
1281
|
+
/** User profiles, invitations, roles and permissions management */
|
|
1282
|
+
readonly PEOPLE: "people";
|
|
1283
|
+
/** Object definitions, attributes, tenant settings and audit logs */
|
|
1284
|
+
readonly WORKSPACE: "workspace";
|
|
1293
1285
|
};
|
|
1294
1286
|
/**
|
|
1295
1287
|
* All system resources as an array (for iteration)
|
|
@@ -1304,11 +1296,9 @@ declare const SYSTEM_RESOURCE_LABELS: Record<SystemResource, string>;
|
|
|
1304
1296
|
*/
|
|
1305
1297
|
declare const DEFAULT_ROLES: {
|
|
1306
1298
|
/** Full platform access - can manage everything */
|
|
1307
|
-
readonly
|
|
1308
|
-
/** Standard user - can work with business data
|
|
1299
|
+
readonly OWNER: "owner";
|
|
1300
|
+
/** Standard user - can work with business data and view people */
|
|
1309
1301
|
readonly MEMBER: "member";
|
|
1310
|
-
/** Read-only access - can view but not modify */
|
|
1311
|
-
readonly GUEST: "guest";
|
|
1312
1302
|
};
|
|
1313
1303
|
type DefaultRoleName = (typeof DEFAULT_ROLES)[keyof typeof DEFAULT_ROLES];
|
|
1314
1304
|
/**
|
|
@@ -1324,29 +1314,32 @@ declare const DEFAULT_ROLE_DESCRIPTIONS: Record<DefaultRoleName, string>;
|
|
|
1324
1314
|
* Used when initializing a new tenant.
|
|
1325
1315
|
*/
|
|
1326
1316
|
interface DefaultRolePermissionConfig {
|
|
1327
|
-
/** System resource permissions (
|
|
1317
|
+
/** System resource permissions (people, workspace) */
|
|
1328
1318
|
system: Array<{
|
|
1329
1319
|
target: SystemResource | "*";
|
|
1330
|
-
actions:
|
|
1320
|
+
actions: Action[];
|
|
1331
1321
|
}>;
|
|
1332
1322
|
/** Object permissions (business data) */
|
|
1333
1323
|
object: Array<{
|
|
1334
1324
|
target: string;
|
|
1335
|
-
actions:
|
|
1325
|
+
actions: Action[];
|
|
1336
1326
|
}>;
|
|
1337
1327
|
}
|
|
1338
1328
|
/**
|
|
1339
1329
|
* Default permissions for each built-in role.
|
|
1340
1330
|
*
|
|
1341
|
-
* - **
|
|
1342
|
-
* - **member**:
|
|
1343
|
-
* - **guest**: No system access, read-only on objects
|
|
1331
|
+
* - **owner**: Full access to everything (system + objects)
|
|
1332
|
+
* - **member**: Read-only people access, full CRUD on objects
|
|
1344
1333
|
*/
|
|
1345
1334
|
declare const DEFAULT_ROLE_PERMISSIONS: Record<DefaultRoleName, DefaultRolePermissionConfig>;
|
|
1346
1335
|
/**
|
|
1347
1336
|
* Check if a role name is a default/built-in role
|
|
1348
1337
|
*/
|
|
1349
1338
|
declare function isDefaultRole(roleName: string): roleName is DefaultRoleName;
|
|
1339
|
+
/**
|
|
1340
|
+
* Check if a role name is the admin/owner role (full platform access).
|
|
1341
|
+
*/
|
|
1342
|
+
declare function isAdminRole(roleName: string): boolean;
|
|
1350
1343
|
|
|
1351
1344
|
/**
|
|
1352
1345
|
* Error codes for schema exceptions
|
|
@@ -4206,4 +4199,4 @@ declare function getSystemTemplate(name: string): DocumentTemplate | undefined;
|
|
|
4206
4199
|
*/
|
|
4207
4200
|
declare function isSystemTemplate(name: string): boolean;
|
|
4208
4201
|
|
|
4209
|
-
export { ALL_SYSTEM_RESOURCES, ActivityTabConfig, type AgentContentPart, type AgentMessage, type AnyAttributeBuilder, Attribute, AttributeGroupField, AttributeInUseError, AttributeNotFoundError, AttributeType, type AttributeUsage, AuthMethodSchema, BEHAVIOR_PROPERTIES, type BehaviorProperty, BilateralConfig, type BilateralValidationError, type BilateralValidationResult, type BuilderConfig, type ChatFileAttachment, CheckboxAttribute, ConcurrentModificationError, ConditionGroup, ConditionGroupSchema, ConditionNodeSchema, ConditionOperatorSchema, ConditionRule, ConditionRuleSchema, CreateMode, CreateShareInputSchema, CurrencyAttribute, CustomTabConfig, DEFAULT_ROLES, DEFAULT_ROLE_DESCRIPTIONS, DEFAULT_ROLE_LABELS, DEFAULT_ROLE_PERMISSIONS, DRIVING_LICENSE, DateAttribute, type DefaultRoleName, type DefaultRolePermissionConfig, DetailViewBuilder, DetailViewDefinition, DetailViewLayout, DocumentAttribute, DocumentNodeSchema, DocumentTemplate, DocumentsTabConfig, DuplicateError, EMPTY_VALUE_PLACEHOLDER, EndNodeSchema, type ExtractAttributeName, type ExtractAttributeRequired, FRENCH_ID_CARD, FeatureFlagDefinition, FeatureFlagsRepository, FeatureGate, Field, FieldGroup, 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, ListViewBuilder, ListViewConfig, ListViewDefinition, ListViewTab, ListViewTabConfigBuilder, LocationAttribute, MultiRelationAttribute, MultiselectAttribute, NodePositionSchema, NotFoundError, NotSystemObjectError, NumberAttribute,
|
|
4202
|
+
export { ALL_SYSTEM_RESOURCES, Action, ActivityTabConfig, type AgentContentPart, type AgentMessage, type AnyAttributeBuilder, Attribute, AttributeGroupField, AttributeInUseError, AttributeNotFoundError, AttributeType, type AttributeUsage, AuthMethodSchema, BEHAVIOR_PROPERTIES, type BehaviorProperty, BilateralConfig, type BilateralValidationError, type BilateralValidationResult, type BuilderConfig, type ChatFileAttachment, CheckboxAttribute, ConcurrentModificationError, ConditionGroup, ConditionGroupSchema, ConditionNodeSchema, ConditionOperatorSchema, ConditionRule, ConditionRuleSchema, CreateMode, CreateShareInputSchema, CurrencyAttribute, CustomTabConfig, DEFAULT_ROLES, DEFAULT_ROLE_DESCRIPTIONS, DEFAULT_ROLE_LABELS, DEFAULT_ROLE_PERMISSIONS, DRIVING_LICENSE, DateAttribute, type DefaultRoleName, type DefaultRolePermissionConfig, DetailViewBuilder, DetailViewDefinition, DetailViewLayout, DocumentAttribute, DocumentNodeSchema, DocumentTemplate, DocumentsTabConfig, DuplicateError, EMPTY_VALUE_PLACEHOLDER, EndNodeSchema, type ExtractAttributeName, type ExtractAttributeRequired, FRENCH_ID_CARD, FeatureFlagDefinition, FeatureFlagsRepository, FeatureGate, Field, FieldGroup, 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, ListViewBuilder, ListViewConfig, ListViewDefinition, ListViewTab, ListViewTabConfigBuilder, LocationAttribute, MultiRelationAttribute, MultiselectAttribute, NodePositionSchema, NotFoundError, NotSystemObjectError, NumberAttribute, ObjectBuilder, ObjectDefinition, ObjectNotFoundError, ObjectReferencedError, Option, PASSPORT, PRESENTATION_PROPERTIES, PROOF_OF_ADDRESS, Phone, PhoneAttribute, type PhoneNormalizationResult, type PresentationProperty, type PropertyAttributeBuilder, ProtectedResourceError, ProtectedRoleError, RatingAttribute, RecordNotFoundError, type RecordReference, RecordReferencedError, RelationAttribute, RelationGroup, RelationGroupBuilder, RelationTarget, type ResetViewOptions, ResolvedFlag, type ResumeWorkflowApiInput, RichtextAttribute, RichtextFeature, RichtextTabConfig, RoleNotFoundError, RollupAttribute, RollupFunction, SIGNABLE_CONTRACT, SYSTEM_ATTRIBUTES, SYSTEM_RESOURCES, SYSTEM_RESOURCE_LABELS, SYSTEM_TEMPLATES, SYSTEM_TEMPLATE_IDS, SchemaError, SchemaErrorCode, SelectAttribute, ShareStatusSchema, SidePanelConfig, SingleRelationAttribute, SlotMode, SlotModeSchema, SortRule, StartNodeSchema, type StartWorkflowApiInput, StaticFlagDefault, StatusAttribute, SyncError, type SystemAttribute, type SystemAttributeName, SystemResource, Tab, TabBuilder, TableTab, TableTabConfig, 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, applyRelationProps, booleanFlag, checkbox, createFlagRegistry, createFlagService, currency, date, detailView, document, file, flagRegistry, formatAttributeValue, formatPhoneForDisplay, formula, generateDefaultDetailView, generateDefaultListView, generateFallbackView, getActiveTab, getErrorMessage, getSystemAttributeList, getSystemTemplate, group, hasProperties, isAdminRole, isBehaviorProperty, isDefaultRole, isEmpty, isForbiddenError, isIdentityProperty, isInstanceEvent, isInvitationOrGrantEvent, isNodeEvent, isNotEmpty, isNotFoundError, isPresentationProperty, isProtectedResourceError, isSchemaError, isSystemAttribute, isSystemAttributeObject, isSystemTemplate, isValidationError, isViewCustomized, jsonFlag, listView, location, multiselect, normalizePhoneNumber, number, numberFlag, object, parseRawPhoneInput, phone, rating, relation, relationGroup, resetViewToDefault, richtext, rollup, select, status, stringFlag, text, textarea, toUndefinedIfEmpty, user, validatePhoneNumber, view, workflow };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as SystemResource,
|
|
2
|
-
export { ae as AIBatchQuestion, af as AIBatchQuestionAnswer, ad as AIBatchQuestionOption, a8 as AIChatMessage, a7 as AIChatMessagePart, a2 as AIChatMessagePartType, au as AICompactionSummary, ak as AIConversation, g6 as AIConversationsRepository, as as AIMemoryEntry, ar as AIMemoryType, al as AIMessage, aj as AIMessageAttachment, _ as AIMessageRole, ap as AIProviderMetrics, ab as AIQuestion, ac as AIQuestionAnswer, aa as AIQuestionOption, a9 as AIQuestionType, at as AITenantPersona, $ as AIThinkingLevel, ah as AITodoItem, ai as AITodoList, ag as AITodoStatus, a1 as AIToolCall, am as AIToolCallRecord, a0 as AIToolCallStatus, ao as AIUsageMetrics, g7 as AIUsageMetricsRepository, an as AIUserMemory, g8 as AIUserMemoryRepository, cw as ActivityTab, bP as AddAttribute, gw as AddAttributeInput, bo as AdvancedFilterState, cf as AssignRoleInput, fX as AttributeChange, bO as AttributeMap, bK as AttributeSchema, g9 as AttributesRepository, aw as AuditAction, ax as AuditActorType, ay as AuditChange, aB as AuditListOptions, az as AuditLogEntry, ga as AuditRepository, av as AuditResourceType, hM as AuditService, aC as AuditServiceOptions, gs as BaseRepository, gr as BaseService, B as BoundingBox, el as CacheAdapter, ej as CacheKeyType, em as CacheOptions, cC as CalendarViewConfig, cG as CalendarViewDefinition, dm as CanvasViewport, ba as CheckboxFilterOperator, fo as ConditionExecutor, c$ as ConditionNode, de as ConditionOperator, cJ as ConfigOverrides, aq as CreateAIMessageInput, aA as CreateAuditLogInput, gv as CreateCustomObjectInput, iI as CreateDBAttribute, iE as CreateDBObject, iU as CreateDBView, iY as CreateDBViewOverlay, i$ as CreateDBWorkflow, j8 as CreateDBWorkflowAccessGrant, j2 as CreateDBWorkflowInstance, j5 as CreateDBWorkflowInvitation, aV as CreateDocument, aH as CreateDocumentGenerationTemplate, aZ as CreateDocumentSlot, aX as CreateDocumentTemplate, b6 as CreateFile, dK as CreateGrantInput, hq as CreateGrantResult, dD as CreateInvitationInput, dE as CreateInvitationResult, iL as CreateObjectRecord, ce as CreatePermissionInput, a$ as CreateProcessingJob, h$ as CreateRecordDocumentInput, i0 as CreateRecordDocumentResult, cc as CreateRoleInput, E as CreateSignatureInput, cm as CreateUserProfile, i9 as CreateViewInput, hD as CreateWorkflowInput, bh as CurrencyFilterValue, bT as CustomAttributeValue, cv as CustomTab, iH as DBAttribute, iD as DBObject, iT as DBView, iX as DBViewOverlay, i_ as DBWorkflow, j7 as DBWorkflowAccessGrant, j1 as DBWorkflowInstance, j4 as DBWorkflowInvitation, iu as DEFAULT_LABEL_FALLBACK, e3 as DEFAULT_THEME, ec as DatabaseAdapter, bb as DateFilterOperator, cB as DetailViewConfig, aO as Document, aL as DocumentAutoProcessing, Y as DocumentData, fp as DocumentExecutor, hP as DocumentGenerationNotConfiguredError, hQ as DocumentGenerationService, aG as DocumentGenerationTemplate, gb as DocumentGenerationTemplateListOptions, hO as DocumentGenerationTemplateNotFoundError, gc as DocumentGenerationTemplatesRepository, gd as DocumentJobsRepository, b1 as DocumentListOptions, d0 as DocumentNode, hR as DocumentProcessingConfig, hk as DocumentProcessingHook, hj as DocumentProcessingHookOptions, hS as DocumentProcessingService, hW as DocumentRenderError, hU as DocumentRendererOptions, hY as DocumentRendererService, i2 as DocumentService, i1 as DocumentServiceOptions, aQ as DocumentSlot, aK as DocumentSlotDefinition, ge as DocumentSlotsRepository, aP as DocumentStatus, b2 as DocumentTemplateListOptions, hZ as DocumentTemplateService, gg as DocumentTemplatesRepository, gf as DocumentsRepository, cz as DocumentsTab, c9 as EffectivePermissions, fq as EndExecutor, d1 as EndNode, eI as EvaluationResult, eJ as EvaluationTrace, fc as ExecutorCompleteResult, fd as ExecutorContext, fe as ExecutorErrorResult, fl as ExecutorRegistry, ff as ExecutorResult, fg as ExecutorSuccessResult, fh as ExecutorWaitResult, bl as ExtendedFilterRule, c1 as ExtractAttributes, c3 as ExtractObjectRecord, c4 as ExtractObjectRecordWithCustom, bX as ExtractRecord, bZ as ExtractRecordInput, b_ as ExtractRecordInputStrict, bY as ExtractRecordStrict, b$ as ExtractRecordUpdate, c0 as ExtractRecordUpdateStrict, aN as ExtractionField, aM as ExtractionMapping, eW as FeatureFlagsContext, eO as FeatureFlagsContextError, er as FetchResult, b5 as File, ie as FileContent, iS as FileListOptions, i4 as FileService, i3 as FileServiceOptions, b4 as FileVisibility, gh as FilesRepository, bm as FilterCombinator, bn as FilterGroup, bf as FilterOperator, bk as FilterRule, bj as FilterValue, bA as FlowDefinition, bx as FlowPage, by as FlowRelation, bw as FlowRowField, bv as FlowSlot, bz as FlowStatus, cy as FlowsTab, dW as FormContextResponse, cq as FormDensity, fr as FormExecutor, dX as FormFieldContext, d2 as FormFieldRef, dY as FormFieldRow, d3 as FormNode, dZ as FormNodeInfo, cr as FormTab, es as FormattedRecord, gX as FormulaResolverService, gW as FormulaResolverServiceOptions, fF as FormulaResult, is as FullSyncOptions, ir as FullSyncResult, cE as GalleryViewConfig, cI as GalleryViewDefinition, dR as GeneratedDocument, bI as GeocodingAdapter, bF as GeocodingAutocompleteParams, bH as GeocodingParams, i5 as GeocodingService, bE as GeocodingSuggestion, gL as GetRelationOptionsParams, ic as GetViewOptions, ib as GetViewsOptions, iP as GlobalSearchGroupedOptions, iR as GlobalSearchGroupedResult, iO as GlobalSearchOptions, iQ as GlobalSearchResultItem, i6 as GlobalSearchService, hm as GrantExpiredError, hl as GrantNotFoundError, hn as GrantRevokedError, hp as GrantServiceConfig, et as GroupedFetchResult, fY as HookContext, fZ as HookDefinition, f_ as HookHandler, g1 as HookRegistry, f$ as HookType, gS as HybridRelationValue, Q as IdentityVerificationAdapter, bQ as InferRecord, bL as InferRecordFromSchema, bR as InferRecordInput, bS as InferRecordUpdate, bM as InferRecordWithRequirements, eu as InsertOptions, fJ as InvalidPathError, ct as InverseSource, hz as InvitationAlreadyAcceptedError, hy as InvitationExpiredError, hx as InvitationNotFoundError, hA as InvitationRevokedError, hw as InvitationServiceConfig, dF as InvitationStatus, co as InviteUserInput, ee as JwtVerificationResult, ha as LabelResolver, iM as ListOptions, cA as ListViewLayout, ef as MagicLinkPayload, fK as MaxDepthExceededError, g3 as MockStores, gQ as MultiRelationValue, bd as MultiselectFilterOperator, bt as NO_VALUE_OPERATORS, bs as NoValueOperator, fi as NodeExecutor, dn as NodePosition, eq as NoopCacheAdapter, bJ as NoopGeocodingAdapter, g0 as NoopHookRegistry, b9 as NumberFilterOperator, br as OPERATORS_BY_TYPE, ca as ObjectPermissions, gi as ObjectRecordsRepository, gz as ObjectSchemaService, gy as ObjectSchemaServiceOptions, gj as ObjectsRepository, t as OcrAdapter, u as OcrInput, v as OcrOptions, x as OcrPage, w as OcrResult, y as OcrTextBlock, ja as OperationResult, fO as PathCardinality, fP as PathSegment, fQ as PathSegmentType, aE as PdfTemplateField, dv as PendingAction, aJ as PendingDocumentRequest, c7 as Permission, c5 as PermissionScope, i8 as PermissionService, i7 as PermissionServiceOptions, gk as PermissionsRepository, bi as PhoneFilterValue, cg as PolicyContext, g5 as PolicyRegistry, ci as PolicyViolationError, aS as ProcessingJob, aU as ProcessingJobStatus, aT as ProcessingJobType, eG as QueryBuilder, eH as QueryBuilderOptions, ev as QueryBuilderState, eC as QueryMultipleResultsError, eD as QueryNoResultError, gD as QueryOptions, gF as QueryResult, bq as QueryState, d_ as ReadOnlyReason, a6 as ReasoningPartData, h_ as RecordDocumentsResult, bV as RecordMetadata, ch as RecordPolicy, gG as RecordQueryService, gC as RecordQueryServiceOptions, gU as RecordResolverService, gB as RecordService, gA as RecordServiceOptions, ew as RegistryMap, ex as RegistryObjectNames, e9 as RelationAttributeInput, ea as RelationAttributeRow, eb as RelationAttributesRepository, be as RelationFilterOperator, iB as RelationLabelResolver, gJ as RelationOption, gK as RelationOptionsResponse, gT as RelationPropertiesService, gP as RelationService, gM as RelationServiceOptions, cs as RelationSource, gI as RelationValidationError, gH as RelationValidationResult, bg as RelativeDateValue, hT as RenderDocumentInput, hV as RenderDocumentResult, gN as ResolveIdsBatchRequest, gO as ResolveIdsBatchResponse, gV as ResolvedRelations, ht as ResumeWorkflowInput, bG as ReverseGeocodingParams, cx as RichtextTab, c6 as Role, hi as RollupCascadeContext, gY as RollupResult, h0 as RollupScheduler, g$ as RollupSchedulerOptions, g_ as RollupService, gZ as RollupServiceOptions, eE as SHORTCUT_TO_FILTER_OPERATOR, f2 as SchemaContext, gt as SchemaContextAware, gu as SchemaContextAwareRepository, fR as SchemaResolver, iN as SearchOptions, gE as SearchQueryOptions, bc as SelectFilterOperator, ey as ShortcutOperator, z as SignatureAdapter, J as SignaturePosition, K as SignatureRequestResult, P as SignatureStatus, M as SignatureStatusResult, ii as SignedUrlOptions, H as SignerRequest, N as SignerStatus, gR as SingleRelationValue, aR as SlotStatus, bp as SortDirection, fs as StartExecutor, d4 as StartNode, hs as StartWorkflowInput, ij as StorageAdapter, hX as StorageDownloadNotSupportedError, b3 as StorageProvider, ig as StorageUploadInput, ih as StorageUploadResult, im as SyncOptions, il as SyncResult, bW as SystemFields, cb as SystemPermissions, cp as TabType, cu as TableSource, aF as TemplateSource, f9 as TenantContext, eN as TenantContextError, b8 as TextFilterOperator, a3 as TextPartData, e0 as ThemeColors, e1 as ThemeLogo, e2 as ThemeTypography, a5 as ThinkingPartData, cD as TimelineViewConfig, cH as TimelineViewDefinition, ho as TokenRevokedError, a4 as ToolPartData, fV as TraversalOptions, fW as TraversalResult, bN as TypedAttribute, c2 as TypedObjectRecord, iJ as UpdateDBAttribute, iF as UpdateDBObject, iV as UpdateDBView, iZ as UpdateDBViewOverlay, j0 as UpdateDBWorkflow, j9 as UpdateDBWorkflowAccessGrant, j3 as UpdateDBWorkflowInstance, j6 as UpdateDBWorkflowInvitation, aW as UpdateDocument, aI as UpdateDocumentGenerationTemplate, a_ as UpdateDocumentSlot, aY as UpdateDocumentTemplate, b7 as UpdateFile, gx as UpdateObjectInput, b0 as UpdateProcessingJob, cd as UpdateRoleInput, cn as UpdateUserProfile, ia as UpdateViewInput, hE as UpdateWorkflowInput, ik as UploadFileInput, iK as UpsertDBAttribute, iG as UpsertDBObject, iW as UpsertDBView, cl as UserProfile, hL as UserProfileService, hK as UserProfileServiceOptions, gl as UserProfilesRepository, cj as UserRole, c8 as UserRoleAssignment, hJ as UserService, ck as UserStatus, hI as UserValidationError, hH as UserValidationResult, aD as VariableMapping, Z as VerificationCheck, X as VerificationResult, U as VerifyInput, cF as ViewConfig, cK as ViewOverlay, e8 as ViewOverlaysRepository, id as ViewService, jc as ViewSyncLogger, jd as ViewSyncOptions, jb as ViewSyncResult, gm as ViewsRepository, bU as WithCustomAttributes, dL as WorkflowAccessGrant, hr as WorkflowAccessGrantService, gn as WorkflowAccessGrantsRepository, d$ as WorkflowAccessMode, eg as WorkflowAccessPayload, dw as WorkflowError, dS as WorkflowExecutionContext, dx as WorkflowInstance, hv as WorkflowInstanceService, hu as WorkflowInstanceServiceOptions, go as WorkflowInstancesRepository, dG as WorkflowInvitation, hB as WorkflowInvitationService, gp as WorkflowInvitationsRepository, eh as WorkflowJwtConfig, ei as WorkflowJwtPayload, ed as WorkflowJwtService, dp as WorkflowLayout, d5 as WorkflowNodeType, hC as WorkflowRelationService, hG as WorkflowService, hF as WorkflowServiceOptions, dq as WorkflowSlot, dr as WorkflowStatus, dy as WorkflowTransition, gq as WorkflowsRepository, eX as addSchemaToContext, df as and, h1 as applyDefaultValues, hN as buildAuditChanges, h4 as buildPolicyContext, en as cacheKeys, eo as cacheTtl, dM as canAccessNode, dz as canResumeInstance, h2 as checkPermission, h5 as checkRecordAccess, h7 as checkRecordDeleteOrThrow, h6 as checkRecordModifyOrThrow, h8 as checkSharedObjectWriteAccess, fj as complete, h9 as computeLabel, iC as computeLabelWithRelations, hd as createContextForCreate, hf as createContextForDelete, hg as createContextForRestore, he as createContextForUpdate, fa as createDefaultExecutorRegistry, ez as createDefaultState, dT as createEmptyContext, g2 as createMockAdapter, eF as createQueryBuilder, dA as createStartTransition, g4 as defaultPolicyRegistry, ep as defaultTtl, hc as enrichRecordsWithFormulas, iy as enrichValuesForDisplay, iz as enrichValuesWithSelectLabels, hb as enrichWithFormulas, dg as eq, fk as error, eL as evaluate, eK as evaluateCondition, ft as evaluateFormula, fu as evaluateFormulaAttribute, fv as evaluateFormulaAttributeWithRelations, fw as evaluateFormulaWithRelations, fx as evaluateFormulaWithResult, eM as evaluateWithTrace, ix as extractAttributeNames, fy as extractFormulaVariables, iA as extractRelationIds, fz as extractRelationNames, fA as extractRelationReferences, fB as flattenRelationsForEval, fC as formatFormulaResult, eA as formatRecord, eB as formatRecords, e4 as generateCssVariables, f3 as getContext, dU as getContextValue, fb as getDefaultExecutorRegistry, eP as getFeatureFlags, eQ as getFeatureValue, d6 as getNodeOutputs, fG as getPathDepth, h3 as getPolicy, fH as getRelationPath, eY as getSchemaByNameFromContext, eZ as getSchemaContext, e_ as getSchemaFromContext, iq as getSyncPreview, fI as getTargetAttributeName, f4 as getTenantId, f5 as getUserId, ji as getViewSeedPreview, jj as getViewSyncPreview, f6 as hasContext, eR as hasFeatureFlagsContext, fD as hasRelationReferences, e$ as hasSchemaContext, ek as hashOptions, dh as inValues, cX as isActivityTab, d7 as isAdvancedFormNode, cN as isCalendarView, di as isConditionGroup, d8 as isConditionNode, dj as isConditionRule, cW as isCustomTab, cL as isDetailView, d9 as isDocumentNode, c_ as isDocumentsTab, da as isEndNode, eS as isFeatureEnabled, cQ as isFieldGroup, bB as isFlowDefinition, bC as isFlowPublished, cZ as isFlowsTab, db as isFormNode, cS as isFormTab, cP as isGalleryView, dN as isGrantExpired, dO as isGrantRevoked, dP as isGrantValid, dB as isInstanceTerminal, dC as isInstanceWaiting, cV as isInverseSourceTab, dH as isInvitationAccepted, dI as isInvitationExpired, dJ as isInvitationValid, iw as isLabelExpression, cM as isListView, bu as isNoValueOperator, cR as isRelationGroup, cU as isRelationSourceTab, cY as isRichtextTab, dc as isSimpleFormNode, dd as isStartNode, bD as isSystemFlow, ds as isSystemWorkflow, cT as isTableTab, cO as isTimelineView, dQ as isTokenRevoked, dt as isWorkflowDefinition, du as isWorkflowPublished, e5 as mergeWithDefaults, dk as neq, dl as or, fL as parsePath, fM as pathHasManyCardinality, hh as recalculateParentRollups, e6 as registry, iv as renderLabelExpression, fS as resolveMultiplePaths, fT as resolveSingleValue, f7 as runWithContext, eT as runWithFeatureFlags, f0 as runWithMergedSchemaContext, f1 as runWithSchemaContext, je as seedRegistryViews, dV as setContextValue, fm as success, it as syncAll, io as syncNativeObjects, jf as syncNativeViews, fU as traversePath, eU as tryGetFeatureValue, fE as validateFormulaExpression, fN as validatePath, ip as verifyNativeObjectsSync, jh as verifyNativeViewsSync, jg as verifyRegistryViewsSeeded, e7 as viewRegistry, fn as wait, eV as withFeatureFlags, f8 as withTenantContext } from './runtime-BV9XBP1p.js';
|
|
1
|
+
import { S as SystemResource, A as Action, I as InferAttributeValue, F as Field, a as AttributeGroupField, b as FieldGroup, R as RelationGroup, D as DetailViewLayout, c as SidePanelConfig, G as Group, d as DetailViewDefinition, e as InstanceStatus, T as Tab, f as TableTab, C as CreateMode, g as FilterState, h as SortRule, 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-CJVwSgr6.js';
|
|
2
|
+
export { ad as AIBatchQuestion, ae as AIBatchQuestionAnswer, ac as AIBatchQuestionOption, a7 as AIChatMessage, a6 as AIChatMessagePart, a1 as AIChatMessagePartType, at as AICompactionSummary, aj as AIConversation, ga as AIConversationsRepository, ar as AIMemoryEntry, aq as AIMemoryType, 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 as AITenantPersona, _ as AIThinkingLevel, ag as AITodoItem, ah as AITodoList, af as AITodoStatus, a0 as AIToolCall, al as AIToolCallRecord, $ as AIToolCallStatus, an as AIUsageMetrics, gb as AIUsageMetricsRepository, am as AIUserMemory, gc as AIUserMemoryRepository, c8 as ALL_ACTIONS, c7 as AccessLevel, cA as ActivityTab, bO as AddAttribute, gA as AddAttributeInput, bn as AdvancedFilterState, ck as AssignRoleInput, f$ as AttributeChange, bN as AttributeMap, bJ as AttributeSchema, gd as AttributesRepository, av as AuditAction, aw as AuditActorType, ax as AuditChange, aA as AuditListOptions, ay as AuditLogEntry, ge as AuditRepository, au as AuditResourceType, hQ as AuditService, aB as AuditServiceOptions, gw as BaseRepository, gv as BaseService, B as BoundingBox, ep as CacheAdapter, en as CacheKeyType, eq as CacheOptions, cG as CalendarViewConfig, cK as CalendarViewDefinition, dr as CanvasViewport, b9 as CheckboxFilterOperator, fs as ConditionExecutor, d3 as ConditionNode, di as ConditionOperator, cN as ConfigOverrides, ap as CreateAIMessageInput, az as CreateAuditLogInput, gz as CreateCustomObjectInput, iM as CreateDBAttribute, iI as CreateDBObject, iY as CreateDBView, j0 as CreateDBViewOverlay, j3 as CreateDBWorkflow, jc as CreateDBWorkflowAccessGrant, j6 as CreateDBWorkflowInstance, j9 as CreateDBWorkflowInvitation, aU as CreateDocument, aG as CreateDocumentGenerationTemplate, aY as CreateDocumentSlot, aW as CreateDocumentTemplate, b5 as CreateFile, dO as CreateGrantInput, hu as CreateGrantResult, dH as CreateInvitationInput, dI as CreateInvitationResult, iP as CreateObjectRecord, cj as CreatePermissionInput, a_ as CreateProcessingJob, i3 as CreateRecordDocumentInput, i4 as CreateRecordDocumentResult, ch as CreateRoleInput, z as CreateSignatureInput, cq as CreateUserProfile, id as CreateViewInput, hH as CreateWorkflowInput, bg as CurrencyFilterValue, bS as CustomAttributeValue, cz as CustomTab, iL as DBAttribute, iH as DBObject, iX as DBView, i$ as DBViewOverlay, j2 as DBWorkflow, jb as DBWorkflowAccessGrant, j5 as DBWorkflowInstance, j8 as DBWorkflowInvitation, iy as DEFAULT_LABEL_FALLBACK, e7 as DEFAULT_THEME, eg as DatabaseAdapter, ba as DateFilterOperator, cF as DetailViewConfig, aN as Document, aK as DocumentAutoProcessing, X as DocumentData, ft as DocumentExecutor, hT as DocumentGenerationNotConfiguredError, hU as DocumentGenerationService, aF as DocumentGenerationTemplate, gf as DocumentGenerationTemplateListOptions, hS as DocumentGenerationTemplateNotFoundError, gg as DocumentGenerationTemplatesRepository, gh as DocumentJobsRepository, b0 as DocumentListOptions, d4 as DocumentNode, hV as DocumentProcessingConfig, ho as DocumentProcessingHook, hn as DocumentProcessingHookOptions, hW as DocumentProcessingService, h_ as DocumentRenderError, hY as DocumentRendererOptions, i0 as DocumentRendererService, i6 as DocumentService, i5 as DocumentServiceOptions, aP as DocumentSlot, aJ as DocumentSlotDefinition, gi as DocumentSlotsRepository, aO as DocumentStatus, b1 as DocumentTemplateListOptions, i1 as DocumentTemplateService, gk as DocumentTemplatesRepository, gj as DocumentsRepository, cD as DocumentsTab, ce as EffectivePermissions, fu as EndExecutor, d5 as EndNode, eM as EvaluationResult, eN as EvaluationTrace, fg as ExecutorCompleteResult, fh as ExecutorContext, fi as ExecutorErrorResult, fp as ExecutorRegistry, fj as ExecutorResult, fk as ExecutorSuccessResult, fl as ExecutorWaitResult, bk as ExtendedFilterRule, c0 as ExtractAttributes, c2 as ExtractObjectRecord, c3 as ExtractObjectRecordWithCustom, bW as ExtractRecord, bY as ExtractRecordInput, bZ as ExtractRecordInputStrict, bX as ExtractRecordStrict, b_ as ExtractRecordUpdate, b$ as ExtractRecordUpdateStrict, aM as ExtractionField, aL as ExtractionMapping, e_ as FeatureFlagsContext, eS as FeatureFlagsContextError, ev as FetchResult, b4 as File, ij as FileContent, iW as FileListOptions, i8 as FileService, i7 as FileServiceOptions, b3 as FileVisibility, gl as FilesRepository, bl as FilterCombinator, bm as FilterGroup, be as FilterOperator, bj as FilterRule, bi as FilterValue, bz as FlowDefinition, bw as FlowPage, bx as FlowRelation, bv as FlowRowField, bu as FlowSlot, by as FlowStatus, cC as FlowsTab, d_ as FormContextResponse, cu as FormDensity, fv as FormExecutor, d$ as FormFieldContext, d6 as FormFieldRef, e0 as FormFieldRow, d7 as FormNode, e1 as FormNodeInfo, cv as FormTab, ew as FormattedRecord, g$ as FormulaResolverService, g_ as FormulaResolverServiceOptions, fJ as FormulaResult, iw as FullSyncOptions, iv as FullSyncResult, cI as GalleryViewConfig, cM as GalleryViewDefinition, dV as GeneratedDocument, bH as GeocodingAdapter, bE as GeocodingAutocompleteParams, bG as GeocodingParams, i9 as GeocodingService, bD as GeocodingSuggestion, gP as GetRelationOptionsParams, ih as GetViewOptions, ig as GetViewsOptions, iT as GlobalSearchGroupedOptions, iV as GlobalSearchGroupedResult, iS as GlobalSearchOptions, iU as GlobalSearchResultItem, ia as GlobalSearchService, hq as GrantExpiredError, hp as GrantNotFoundError, hr as GrantRevokedError, ht as GrantServiceConfig, ex as GroupedFetchResult, g0 as HookContext, g1 as HookDefinition, g2 as HookHandler, g5 as HookRegistry, g3 as HookType, gW as HybridRelationValue, P as IdentityVerificationAdapter, bP as InferRecord, bK as InferRecordFromSchema, bQ as InferRecordInput, bR as InferRecordUpdate, bL as InferRecordWithRequirements, ey as InsertOptions, fN as InvalidPathError, cx as InverseSource, hD as InvitationAlreadyAcceptedError, hC as InvitationExpiredError, hB as InvitationNotFoundError, hE as InvitationRevokedError, hA as InvitationServiceConfig, dJ as InvitationStatus, cs as InviteUserInput, ei as JwtVerificationResult, he as LabelResolver, iQ as ListOptions, cE as ListViewLayout, ej as MagicLinkPayload, fO as MaxDepthExceededError, g7 as MockStores, gU as MultiRelationValue, bc as MultiselectFilterOperator, bs as NO_VALUE_OPERATORS, br as NoValueOperator, fm as NodeExecutor, ds as NodePosition, eu as NoopCacheAdapter, bI as NoopGeocodingAdapter, g4 as NoopHookRegistry, b8 as NumberFilterOperator, bq as OPERATORS_BY_TYPE, c5 as ObjectAction, cf as ObjectPermissions, gm as ObjectRecordsRepository, gD as ObjectSchemaService, gC as ObjectSchemaServiceOptions, gn as ObjectsRepository, O as OcrAdapter, t as OcrInput, u as OcrOptions, w as OcrPage, v as OcrResult, x as OcrTextBlock, je as OperationResult, fS as PathCardinality, fT as PathSegment, fU as PathSegmentType, aD as PdfTemplateField, dz as PendingAction, aI as PendingDocumentRequest, cc as Permission, c4 as PermissionScope, ic as PermissionService, ib as PermissionServiceOptions, go as PermissionsRepository, bh as PhoneFilterValue, cl as PolicyContext, g9 as PolicyRegistry, cn as PolicyViolationError, aR as ProcessingJob, aT as ProcessingJobStatus, aS as ProcessingJobType, eK as QueryBuilder, eL as QueryBuilderOptions, ez as QueryBuilderState, eG as QueryMultipleResultsError, eH as QueryNoResultError, gH as QueryOptions, gJ as QueryResult, bp as QueryState, e2 as ReadOnlyReason, a5 as ReasoningPartData, i2 as RecordDocumentsResult, bU as RecordMetadata, cm as RecordPolicy, gK as RecordQueryService, gG as RecordQueryServiceOptions, gY as RecordResolverService, gF as RecordService, gE as RecordServiceOptions, eA as RegistryMap, eB as RegistryObjectNames, ed as RelationAttributeInput, ee as RelationAttributeRow, ef as RelationAttributesRepository, bd as RelationFilterOperator, iF as RelationLabelResolver, gN as RelationOption, gO as RelationOptionsResponse, gX as RelationPropertiesService, gT as RelationService, gQ as RelationServiceOptions, cw as RelationSource, gM as RelationValidationError, gL as RelationValidationResult, bf as RelativeDateValue, hX as RenderDocumentInput, hZ as RenderDocumentResult, gR as ResolveIdsBatchRequest, gS as ResolveIdsBatchResponse, gZ as ResolvedRelations, hx as ResumeWorkflowInput, bF as ReverseGeocodingParams, cB as RichtextTab, cb as Role, hm as RollupCascadeContext, h0 as RollupResult, h4 as RollupScheduler, h3 as RollupSchedulerOptions, h2 as RollupService, h1 as RollupServiceOptions, eI as SHORTCUT_TO_FILTER_OPERATOR, f6 as SchemaContext, gx as SchemaContextAware, gy as SchemaContextAwareRepository, fV as SchemaResolver, iR as SearchOptions, gI as SearchQueryOptions, bb as SelectFilterOperator, eC as ShortcutOperator, y as SignatureAdapter, H as SignaturePosition, J as SignatureRequestResult, N as SignatureStatus, K as SignatureStatusResult, im as SignedUrlOptions, E as SignerRequest, M as SignerStatus, gV as SingleRelationValue, aQ as SlotStatus, bo as SortDirection, fw as StartExecutor, d8 as StartNode, hw as StartWorkflowInput, io as StorageAdapter, h$ as StorageDownloadNotSupportedError, b2 as StorageProvider, ik as StorageUploadInput, il as StorageUploadResult, ir as SyncOptions, iq as SyncResult, c6 as SystemAction, bV as SystemFields, cg as SystemPermissions, ct as TabType, cy as TableSource, aE as TemplateSource, fd as TenantContext, eR as TenantContextError, b7 as TextFilterOperator, a2 as TextPartData, e4 as ThemeColors, e5 as ThemeLogo, e6 as ThemeTypography, a4 as ThinkingPartData, cH as TimelineViewConfig, cL as TimelineViewDefinition, hs as TokenRevokedError, a3 as ToolPartData, fZ as TraversalOptions, f_ as TraversalResult, bM as TypedAttribute, c1 as TypedObjectRecord, iN as UpdateDBAttribute, iJ as UpdateDBObject, iZ as UpdateDBView, j1 as UpdateDBViewOverlay, j4 as UpdateDBWorkflow, jd as UpdateDBWorkflowAccessGrant, j7 as UpdateDBWorkflowInstance, ja as UpdateDBWorkflowInvitation, aV as UpdateDocument, aH as UpdateDocumentGenerationTemplate, aZ as UpdateDocumentSlot, aX as UpdateDocumentTemplate, b6 as UpdateFile, gB as UpdateObjectInput, a$ as UpdateProcessingJob, ci as UpdateRoleInput, cr as UpdateUserProfile, ie as UpdateViewInput, hI as UpdateWorkflowInput, ip as UploadFileInput, iO as UpsertDBAttribute, iK as UpsertDBObject, i_ as UpsertDBView, cp as UserProfile, hP as UserProfileService, hO as UserProfileServiceOptions, gp as UserProfilesRepository, cd as UserRoleAssignment, hN as UserService, co as UserStatus, hM as UserValidationError, hL as UserValidationResult, aC as VariableMapping, Y as VerificationCheck, U as VerificationResult, Q as VerifyInput, cJ as ViewConfig, cO as ViewOverlay, ec as ViewOverlaysRepository, ii as ViewService, jg as ViewSyncLogger, jh as ViewSyncOptions, jf as ViewSyncResult, gq as ViewsRepository, bT as WithCustomAttributes, dP as WorkflowAccessGrant, hv as WorkflowAccessGrantService, gr as WorkflowAccessGrantsRepository, e3 as WorkflowAccessMode, ek as WorkflowAccessPayload, dA as WorkflowError, dW as WorkflowExecutionContext, dB as WorkflowInstance, hz as WorkflowInstanceService, hy as WorkflowInstanceServiceOptions, gs as WorkflowInstancesRepository, dK as WorkflowInvitation, hF as WorkflowInvitationService, gt as WorkflowInvitationsRepository, el as WorkflowJwtConfig, em as WorkflowJwtPayload, eh as WorkflowJwtService, dt as WorkflowLayout, d9 as WorkflowNodeType, hG as WorkflowRelationService, hK as WorkflowService, hJ as WorkflowServiceOptions, du as WorkflowSlot, dv as WorkflowStatus, dC as WorkflowTransition, gu as WorkflowsRepository, ca as accessLevelToActions, c9 as actionsToAccessLevel, e$ as addSchemaToContext, dj as and, h5 as applyDefaultValues, hR as buildAuditChanges, h8 as buildPolicyContext, er as cacheKeys, es as cacheTtl, dQ as canAccessNode, dD as canResumeInstance, h6 as checkPermission, h9 as checkRecordAccess, hb as checkRecordDeleteOrThrow, ha as checkRecordModifyOrThrow, hc as checkSharedObjectWriteAccess, fn as complete, hd as computeLabel, iG as computeLabelWithRelations, hh as createContextForCreate, hj as createContextForDelete, hk as createContextForRestore, hi as createContextForUpdate, fe as createDefaultExecutorRegistry, eD as createDefaultState, dX as createEmptyContext, g6 as createMockAdapter, eJ as createQueryBuilder, dE as createStartTransition, g8 as defaultPolicyRegistry, et as defaultTtl, hg as enrichRecordsWithFormulas, iC as enrichValuesForDisplay, iD as enrichValuesWithSelectLabels, hf as enrichWithFormulas, dk as eq, fo as error, eP as evaluate, eO as evaluateCondition, fx as evaluateFormula, fy as evaluateFormulaAttribute, fz as evaluateFormulaAttributeWithRelations, fA as evaluateFormulaWithRelations, fB as evaluateFormulaWithResult, eQ as evaluateWithTrace, iB as extractAttributeNames, fC as extractFormulaVariables, iE as extractRelationIds, fD as extractRelationNames, fE as extractRelationReferences, fF as flattenRelationsForEval, fG as formatFormulaResult, eE as formatRecord, eF as formatRecords, e8 as generateCssVariables, f7 as getContext, dY as getContextValue, ff as getDefaultExecutorRegistry, eT as getFeatureFlags, eU as getFeatureValue, da as getNodeOutputs, fK as getPathDepth, h7 as getPolicy, fL as getRelationPath, f0 as getSchemaByNameFromContext, f1 as getSchemaContext, f2 as getSchemaFromContext, iu as getSyncPreview, fM as getTargetAttributeName, f8 as getTenantId, f9 as getUserId, jm as getViewSeedPreview, jn as getViewSyncPreview, fa as hasContext, eV as hasFeatureFlagsContext, fH as hasRelationReferences, f3 as hasSchemaContext, eo as hashOptions, dl as inValues, c$ as isActivityTab, db as isAdvancedFormNode, cR as isCalendarView, dm as isConditionGroup, dc as isConditionNode, dn as isConditionRule, c_ as isCustomTab, cP as isDetailView, dd as isDocumentNode, d2 as isDocumentsTab, de as isEndNode, eW as isFeatureEnabled, cU as isFieldGroup, bA as isFlowDefinition, bB as isFlowPublished, d1 as isFlowsTab, df as isFormNode, cW as isFormTab, cT as isGalleryView, dR as isGrantExpired, dS as isGrantRevoked, dT as isGrantValid, dF as isInstanceTerminal, dG as isInstanceWaiting, cZ as isInverseSourceTab, dL as isInvitationAccepted, dM as isInvitationExpired, dN as isInvitationValid, iA as isLabelExpression, cQ as isListView, bt as isNoValueOperator, cV as isRelationGroup, cY as isRelationSourceTab, d0 as isRichtextTab, dg as isSimpleFormNode, dh as isStartNode, bC as isSystemFlow, dw as isSystemWorkflow, cX as isTableTab, cS as isTimelineView, dU as isTokenRevoked, dx as isWorkflowDefinition, dy as isWorkflowPublished, e9 as mergeWithDefaults, dp as neq, dq as or, fP as parsePath, fQ as pathHasManyCardinality, hl as recalculateParentRollups, ea as registry, iz as renderLabelExpression, fW as resolveMultiplePaths, fX as resolveSingleValue, fb as runWithContext, eX as runWithFeatureFlags, f4 as runWithMergedSchemaContext, f5 as runWithSchemaContext, ji as seedRegistryViews, dZ as setContextValue, fq as success, ix as syncAll, is as syncNativeObjects, jj as syncNativeViews, fY as traversePath, eY as tryGetFeatureValue, fI as validateFormulaExpression, fR as validatePath, it as verifyNativeObjectsSync, jl as verifyNativeViewsSync, jk as verifyRegistryViewsSeeded, eb as viewRegistry, fr as wait, eZ as withFeatureFlags, fc as withTenantContext } from './runtime-CJVwSgr6.js';
|
|
3
3
|
import { D as DateAttribute, U as UserAttribute, a as DocumentAttribute, A as Attribute, P as Phone, F as FeatureGate, T as TextAttribute, b as TextAreaAttribute, R as RichtextAttribute, c as RichtextFeature, N as NumberAttribute, C as CheckboxAttribute, d as PhoneAttribute, e as CurrencyAttribute, O as Option, S as StatusAttribute, f as SelectAttribute, M as MultiselectAttribute, L as LocationAttribute, g as FileAttribute, h as RatingAttribute, i as RelationAttribute, B as BilateralConfig, j as SingleRelationAttribute, k as MultiRelationAttribute, l as RelationTarget, m as FormulaAttribute, n as FormulaReturnType, o as RollupAttribute, p as RollupFunction, q as AttributeType, r as ObjectDefinition, s as FlagValueType, t as FeatureFlagDefinition, u as FlagLevel, v as FeatureFlagsRepository, w as StaticFlagDefault, x as ResolvedFlag } from './validators-DEfgr14O.js';
|
|
4
4
|
export { z as AttributeGroup, E as BaseAttribute, a6 as CompletionStatus, J as Currency, af as DEFAULT_VALIDATION_MESSAGES, H as DateFormat, I as DateValue, a9 as FORBIDDEN_PROPERTY_TYPES, _ as FeatureFlagsConfig, Z as FlagOverride, aa as ForbiddenPropertyType, K as Location, Q as LocationGranularity, G as NumberUnit, a5 as ObjectAttribute, a7 as ObjectRecord, ab as PropertyAttribute, ac as PropertySchema, a8 as PropertyType, V as RELATION_TARGET_ANY, $ as RESERVED_ATTRIBUTE_NAMES, a1 as ReservedAttributeName, a0 as SYSTEM_FIELD_NAMES, a4 as SharingMode, y as StatusGroup, a2 as SystemFieldName, a3 as Timestamps, ae as ValidationMessages, a$ as ValidationResult, az as attributeConfigSchemas, ak as checkboxConfigSchema, b8 as computeRecordStatus, aY as createAttributeValidator, aG as createCheckboxValidator, aJ as createCurrencyValidator, aH as createDateValidator, b3 as createDraftValidator, aO as createFileValidator, aZ as createFormAttributeValidator, aU as createFormulaValidator, aN as createLocationValidator, aR as createMultiRelationValidator, aM as createMultiselectValidator, aF as createNumberValidator, a_ as createObjectValidator, aI as createPhoneValidator, aT as createRatingValidator, aS as createRelationValidator, aX as createRichtextValidator, aV as createRollupValidator, aL as createSelectValidator, aQ as createSingleRelationValidator, aK as createStatusValidator, aW as createTextAreaValidator, aE as createTextValidator, aP as createUserValidator, an as currencyConfigSchema, al as dateConfigSchema, ay as documentConfigSchema, as as fileConfigSchema, ad as formatZodErrors, aw as formulaConfigSchema, aA as getAttributeConfigSchema, b6 as getMissingRequiredAttributes, Y as inferInverseCardinality, X as isBilateralRelation, b7 as isRecordComplete, W as isUniversalRelation, ap as locationConfigSchema, ar as multiselectConfigSchema, aj as numberConfigSchema, aC as parseAttributeConfig, am as phoneConfigSchema, av as ratingConfigSchema, au as relationConfigSchema, ai as richtextConfigSchema, ax as rollupConfigSchema, aD as safeParseAttributeConfig, aq as selectConfigSchema, ao as statusConfigSchema, ag as textConfigSchema, ah as textareaConfigSchema, at as userConfigSchema, b0 as validateAttribute, aB as validateAttributeConfig, b4 as validateDraft, b5 as validateDraftOrThrow, b1 as validateObject, b2 as validateObjectOrThrow } from './validators-DEfgr14O.js';
|
|
5
5
|
import { z } from 'zod';
|
|
@@ -1278,18 +1278,10 @@ declare function applyRelationProps(label: string, props: Record<string, unknown
|
|
|
1278
1278
|
* System resources that can be managed through permissions.
|
|
1279
1279
|
*/
|
|
1280
1280
|
declare const SYSTEM_RESOURCES: {
|
|
1281
|
-
/** User profiles and
|
|
1282
|
-
readonly
|
|
1283
|
-
/** Object definitions and
|
|
1284
|
-
readonly
|
|
1285
|
-
/** Roles and permissions management */
|
|
1286
|
-
readonly ROLES: "roles";
|
|
1287
|
-
/** Tenant settings and configuration */
|
|
1288
|
-
readonly SETTINGS: "settings";
|
|
1289
|
-
/** Audit logs and activity trail */
|
|
1290
|
-
readonly AUDIT: "audit";
|
|
1291
|
-
/** File uploads and storage management */
|
|
1292
|
-
readonly FILES: "files";
|
|
1281
|
+
/** User profiles, invitations, roles and permissions management */
|
|
1282
|
+
readonly PEOPLE: "people";
|
|
1283
|
+
/** Object definitions, attributes, tenant settings and audit logs */
|
|
1284
|
+
readonly WORKSPACE: "workspace";
|
|
1293
1285
|
};
|
|
1294
1286
|
/**
|
|
1295
1287
|
* All system resources as an array (for iteration)
|
|
@@ -1304,11 +1296,9 @@ declare const SYSTEM_RESOURCE_LABELS: Record<SystemResource, string>;
|
|
|
1304
1296
|
*/
|
|
1305
1297
|
declare const DEFAULT_ROLES: {
|
|
1306
1298
|
/** Full platform access - can manage everything */
|
|
1307
|
-
readonly
|
|
1308
|
-
/** Standard user - can work with business data
|
|
1299
|
+
readonly OWNER: "owner";
|
|
1300
|
+
/** Standard user - can work with business data and view people */
|
|
1309
1301
|
readonly MEMBER: "member";
|
|
1310
|
-
/** Read-only access - can view but not modify */
|
|
1311
|
-
readonly GUEST: "guest";
|
|
1312
1302
|
};
|
|
1313
1303
|
type DefaultRoleName = (typeof DEFAULT_ROLES)[keyof typeof DEFAULT_ROLES];
|
|
1314
1304
|
/**
|
|
@@ -1324,29 +1314,32 @@ declare const DEFAULT_ROLE_DESCRIPTIONS: Record<DefaultRoleName, string>;
|
|
|
1324
1314
|
* Used when initializing a new tenant.
|
|
1325
1315
|
*/
|
|
1326
1316
|
interface DefaultRolePermissionConfig {
|
|
1327
|
-
/** System resource permissions (
|
|
1317
|
+
/** System resource permissions (people, workspace) */
|
|
1328
1318
|
system: Array<{
|
|
1329
1319
|
target: SystemResource | "*";
|
|
1330
|
-
actions:
|
|
1320
|
+
actions: Action[];
|
|
1331
1321
|
}>;
|
|
1332
1322
|
/** Object permissions (business data) */
|
|
1333
1323
|
object: Array<{
|
|
1334
1324
|
target: string;
|
|
1335
|
-
actions:
|
|
1325
|
+
actions: Action[];
|
|
1336
1326
|
}>;
|
|
1337
1327
|
}
|
|
1338
1328
|
/**
|
|
1339
1329
|
* Default permissions for each built-in role.
|
|
1340
1330
|
*
|
|
1341
|
-
* - **
|
|
1342
|
-
* - **member**:
|
|
1343
|
-
* - **guest**: No system access, read-only on objects
|
|
1331
|
+
* - **owner**: Full access to everything (system + objects)
|
|
1332
|
+
* - **member**: Read-only people access, full CRUD on objects
|
|
1344
1333
|
*/
|
|
1345
1334
|
declare const DEFAULT_ROLE_PERMISSIONS: Record<DefaultRoleName, DefaultRolePermissionConfig>;
|
|
1346
1335
|
/**
|
|
1347
1336
|
* Check if a role name is a default/built-in role
|
|
1348
1337
|
*/
|
|
1349
1338
|
declare function isDefaultRole(roleName: string): roleName is DefaultRoleName;
|
|
1339
|
+
/**
|
|
1340
|
+
* Check if a role name is the admin/owner role (full platform access).
|
|
1341
|
+
*/
|
|
1342
|
+
declare function isAdminRole(roleName: string): boolean;
|
|
1350
1343
|
|
|
1351
1344
|
/**
|
|
1352
1345
|
* Error codes for schema exceptions
|
|
@@ -4206,4 +4199,4 @@ declare function getSystemTemplate(name: string): DocumentTemplate | undefined;
|
|
|
4206
4199
|
*/
|
|
4207
4200
|
declare function isSystemTemplate(name: string): boolean;
|
|
4208
4201
|
|
|
4209
|
-
export { ALL_SYSTEM_RESOURCES, ActivityTabConfig, type AgentContentPart, type AgentMessage, type AnyAttributeBuilder, Attribute, AttributeGroupField, AttributeInUseError, AttributeNotFoundError, AttributeType, type AttributeUsage, AuthMethodSchema, BEHAVIOR_PROPERTIES, type BehaviorProperty, BilateralConfig, type BilateralValidationError, type BilateralValidationResult, type BuilderConfig, type ChatFileAttachment, CheckboxAttribute, ConcurrentModificationError, ConditionGroup, ConditionGroupSchema, ConditionNodeSchema, ConditionOperatorSchema, ConditionRule, ConditionRuleSchema, CreateMode, CreateShareInputSchema, CurrencyAttribute, CustomTabConfig, DEFAULT_ROLES, DEFAULT_ROLE_DESCRIPTIONS, DEFAULT_ROLE_LABELS, DEFAULT_ROLE_PERMISSIONS, DRIVING_LICENSE, DateAttribute, type DefaultRoleName, type DefaultRolePermissionConfig, DetailViewBuilder, DetailViewDefinition, DetailViewLayout, DocumentAttribute, DocumentNodeSchema, DocumentTemplate, DocumentsTabConfig, DuplicateError, EMPTY_VALUE_PLACEHOLDER, EndNodeSchema, type ExtractAttributeName, type ExtractAttributeRequired, FRENCH_ID_CARD, FeatureFlagDefinition, FeatureFlagsRepository, FeatureGate, Field, FieldGroup, 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, ListViewBuilder, ListViewConfig, ListViewDefinition, ListViewTab, ListViewTabConfigBuilder, LocationAttribute, MultiRelationAttribute, MultiselectAttribute, NodePositionSchema, NotFoundError, NotSystemObjectError, NumberAttribute,
|
|
4202
|
+
export { ALL_SYSTEM_RESOURCES, Action, ActivityTabConfig, type AgentContentPart, type AgentMessage, type AnyAttributeBuilder, Attribute, AttributeGroupField, AttributeInUseError, AttributeNotFoundError, AttributeType, type AttributeUsage, AuthMethodSchema, BEHAVIOR_PROPERTIES, type BehaviorProperty, BilateralConfig, type BilateralValidationError, type BilateralValidationResult, type BuilderConfig, type ChatFileAttachment, CheckboxAttribute, ConcurrentModificationError, ConditionGroup, ConditionGroupSchema, ConditionNodeSchema, ConditionOperatorSchema, ConditionRule, ConditionRuleSchema, CreateMode, CreateShareInputSchema, CurrencyAttribute, CustomTabConfig, DEFAULT_ROLES, DEFAULT_ROLE_DESCRIPTIONS, DEFAULT_ROLE_LABELS, DEFAULT_ROLE_PERMISSIONS, DRIVING_LICENSE, DateAttribute, type DefaultRoleName, type DefaultRolePermissionConfig, DetailViewBuilder, DetailViewDefinition, DetailViewLayout, DocumentAttribute, DocumentNodeSchema, DocumentTemplate, DocumentsTabConfig, DuplicateError, EMPTY_VALUE_PLACEHOLDER, EndNodeSchema, type ExtractAttributeName, type ExtractAttributeRequired, FRENCH_ID_CARD, FeatureFlagDefinition, FeatureFlagsRepository, FeatureGate, Field, FieldGroup, 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, ListViewBuilder, ListViewConfig, ListViewDefinition, ListViewTab, ListViewTabConfigBuilder, LocationAttribute, MultiRelationAttribute, MultiselectAttribute, NodePositionSchema, NotFoundError, NotSystemObjectError, NumberAttribute, ObjectBuilder, ObjectDefinition, ObjectNotFoundError, ObjectReferencedError, Option, PASSPORT, PRESENTATION_PROPERTIES, PROOF_OF_ADDRESS, Phone, PhoneAttribute, type PhoneNormalizationResult, type PresentationProperty, type PropertyAttributeBuilder, ProtectedResourceError, ProtectedRoleError, RatingAttribute, RecordNotFoundError, type RecordReference, RecordReferencedError, RelationAttribute, RelationGroup, RelationGroupBuilder, RelationTarget, type ResetViewOptions, ResolvedFlag, type ResumeWorkflowApiInput, RichtextAttribute, RichtextFeature, RichtextTabConfig, RoleNotFoundError, RollupAttribute, RollupFunction, SIGNABLE_CONTRACT, SYSTEM_ATTRIBUTES, SYSTEM_RESOURCES, SYSTEM_RESOURCE_LABELS, SYSTEM_TEMPLATES, SYSTEM_TEMPLATE_IDS, SchemaError, SchemaErrorCode, SelectAttribute, ShareStatusSchema, SidePanelConfig, SingleRelationAttribute, SlotMode, SlotModeSchema, SortRule, StartNodeSchema, type StartWorkflowApiInput, StaticFlagDefault, StatusAttribute, SyncError, type SystemAttribute, type SystemAttributeName, SystemResource, Tab, TabBuilder, TableTab, TableTabConfig, 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, applyRelationProps, booleanFlag, checkbox, createFlagRegistry, createFlagService, currency, date, detailView, document, file, flagRegistry, formatAttributeValue, formatPhoneForDisplay, formula, generateDefaultDetailView, generateDefaultListView, generateFallbackView, getActiveTab, getErrorMessage, getSystemAttributeList, getSystemTemplate, group, hasProperties, isAdminRole, isBehaviorProperty, isDefaultRole, isEmpty, isForbiddenError, isIdentityProperty, isInstanceEvent, isInvitationOrGrantEvent, isNodeEvent, isNotEmpty, isNotFoundError, isPresentationProperty, isProtectedResourceError, isSchemaError, isSystemAttribute, isSystemAttributeObject, isSystemTemplate, isValidationError, isViewCustomized, jsonFlag, listView, location, multiselect, normalizePhoneNumber, number, numberFlag, object, parseRawPhoneInput, phone, rating, relation, relationGroup, resetViewToDefault, richtext, rollup, select, status, stringFlag, text, textarea, toUndefinedIfEmpty, user, validatePhoneNumber, view, workflow };
|