@stndrds/schema 0.1.0-alpha.49 → 0.1.0-alpha.51

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.
@@ -1,6 +1,283 @@
1
1
  import { ColorId, IconName, CountryIso3, CurrencyCode, MimeType } from '@stndrds/constants';
2
2
  import { z } from 'zod';
3
3
 
4
+ /**
5
+ * Message role in a conversation
6
+ */
7
+ type AIMessageRole = "user" | "assistant";
8
+ /**
9
+ * Level of "thinking" or reasoning depth
10
+ */
11
+ type AIThinkingLevel = "none" | "light" | "deep" | "maximum";
12
+ /**
13
+ * Tool call status during execution
14
+ */
15
+ type AIToolCallStatus = "pending" | "running" | "success" | "error";
16
+ /**
17
+ * Tool call information for chat UI
18
+ */
19
+ interface AIToolCall {
20
+ /** Unique tool call ID */
21
+ id: string;
22
+ /** Tool name */
23
+ name: string;
24
+ /** Tool arguments */
25
+ args?: Record<string, unknown>;
26
+ /** Tool result (when complete) */
27
+ result?: unknown;
28
+ /** Error message if failed */
29
+ error?: string;
30
+ /** Execution status */
31
+ status: AIToolCallStatus;
32
+ }
33
+ /**
34
+ * Part type for message content
35
+ */
36
+ type AIChatMessagePartType = "text" | "attachment" | "tool" | "thinking" | "reasoning" | "todo" | "question" | "error" | "approval" | "record" | "search-results" | (string & {});
37
+ /**
38
+ * Data for text part
39
+ */
40
+ interface TextPartData {
41
+ text: string;
42
+ isStreaming?: boolean;
43
+ }
44
+ /**
45
+ * Data for tool part (same as AIToolCall)
46
+ */
47
+ interface ToolPartData {
48
+ id: string;
49
+ name: string;
50
+ args?: Record<string, unknown>;
51
+ result?: unknown;
52
+ error?: string;
53
+ status: AIToolCallStatus;
54
+ }
55
+ /**
56
+ * Data for thinking part
57
+ */
58
+ interface ThinkingPartData {
59
+ isStreaming: boolean;
60
+ startTime?: number;
61
+ }
62
+ /**
63
+ * Data for reasoning part (Extended Thinking content)
64
+ */
65
+ interface ReasoningPartData {
66
+ /** Reasoning content (accumulated during streaming) */
67
+ content: string;
68
+ /** Whether reasoning is still streaming */
69
+ isStreaming: boolean;
70
+ /** Start timestamp for elapsed time display */
71
+ startTime?: number;
72
+ }
73
+ /**
74
+ * A part of a chat message.
75
+ * Parts are ordered chronologically as they arrive from the stream.
76
+ */
77
+ interface AIChatMessagePart {
78
+ /** Part type */
79
+ type: AIChatMessagePartType;
80
+ /** Unique part ID */
81
+ id: string;
82
+ /** Part-specific data */
83
+ data: unknown;
84
+ }
85
+ /**
86
+ * Chat message for runtime/streaming.
87
+ *
88
+ * All content is represented as ordered parts (text, tools, thinking, etc.)
89
+ * Parts are in chronological order as they arrive from the stream.
90
+ *
91
+ * Used in:
92
+ * - useAgentChat hook
93
+ * - AI chat UI components
94
+ * - Stream processing
95
+ */
96
+ interface AIChatMessage {
97
+ /** Unique message ID */
98
+ id: string;
99
+ /** Message role */
100
+ role: AIMessageRole;
101
+ /** Ordered message parts (text, tools, thinking, etc.) */
102
+ parts: AIChatMessagePart[];
103
+ /** Whether the message is still streaming */
104
+ isStreaming?: boolean;
105
+ /** Message timestamp */
106
+ timestamp?: Date;
107
+ /** Error message if the message failed */
108
+ error?: string;
109
+ }
110
+ /**
111
+ * Question types supported by the agent
112
+ */
113
+ type AIQuestionType = "text" | "choice" | "confirm" | "multiselect";
114
+ /**
115
+ * Option for choice/multiselect questions
116
+ */
117
+ interface AIQuestionOption {
118
+ value: string;
119
+ label: string;
120
+ description?: string;
121
+ }
122
+ /**
123
+ * Question from the agent to the user
124
+ */
125
+ interface AIQuestion {
126
+ /** Unique question ID */
127
+ id: string;
128
+ /** Question type */
129
+ type: AIQuestionType;
130
+ /** Question text */
131
+ question: string;
132
+ /** Options for choice/multiselect */
133
+ options?: AIQuestionOption[];
134
+ /** Placeholder for text input */
135
+ placeholder?: string;
136
+ /** Whether answer is required */
137
+ required?: boolean;
138
+ /** Min selections for multiselect */
139
+ minSelections?: number;
140
+ /** Max selections for multiselect */
141
+ maxSelections?: number;
142
+ }
143
+ /**
144
+ * Answer format for questions
145
+ */
146
+ type AIQuestionAnswer = {
147
+ type: "text";
148
+ value: string;
149
+ } | {
150
+ type: "choice";
151
+ value: string;
152
+ } | {
153
+ type: "confirm";
154
+ value: boolean;
155
+ } | {
156
+ type: "multiselect";
157
+ value: string[];
158
+ };
159
+ /**
160
+ * Todo item status
161
+ */
162
+ type AITodoStatus = "pending" | "in_progress" | "completed" | "blocked";
163
+ /**
164
+ * Todo item in a task list
165
+ */
166
+ interface AITodoItem {
167
+ id: string;
168
+ description: string;
169
+ status: AITodoStatus;
170
+ result?: string;
171
+ updatedAt?: number;
172
+ }
173
+ /**
174
+ * Todo list managed by the agent
175
+ */
176
+ interface AITodoList {
177
+ items: AITodoItem[];
178
+ progress: number;
179
+ isComplete: boolean;
180
+ }
181
+ /**
182
+ * AI Conversation record
183
+ */
184
+ interface AIConversation {
185
+ id: string;
186
+ tenantId: string;
187
+ userId: string;
188
+ title: string | null;
189
+ messageCount: number;
190
+ totalTokens: number;
191
+ totalCost: number;
192
+ createdAt: Date;
193
+ updatedAt: Date;
194
+ deletedAt: Date | null;
195
+ }
196
+ /**
197
+ * AI Message record
198
+ */
199
+ interface AIMessage {
200
+ id: string;
201
+ conversationId: string;
202
+ role: AIMessageRole;
203
+ content: string;
204
+ thinkingLevel: AIThinkingLevel | null;
205
+ thinkingSummary: string | null;
206
+ toolCalls: AIToolCallRecord[] | null;
207
+ inputTokens: number | null;
208
+ outputTokens: number | null;
209
+ cost: number | null;
210
+ provider: string | null;
211
+ model: string | null;
212
+ /** File attachment IDs (references files table) */
213
+ attachmentIds: string[] | null;
214
+ createdAt: Date;
215
+ }
216
+ /**
217
+ * Tool call record stored in JSONB
218
+ */
219
+ interface AIToolCallRecord {
220
+ /** Tool call ID (from AI SDK) for matching call with result */
221
+ id?: string;
222
+ name: string;
223
+ args: unknown;
224
+ result?: unknown;
225
+ error?: string;
226
+ /** Reasoning/thinking that occurred before this tool call */
227
+ reasoningBefore?: string;
228
+ }
229
+ /**
230
+ * AI User Memory record
231
+ */
232
+ interface AIUserMemory {
233
+ id: string;
234
+ tenantId: string;
235
+ userId: string;
236
+ preferences: Record<string, unknown>;
237
+ facts: string[];
238
+ createdAt: Date;
239
+ updatedAt: Date;
240
+ }
241
+ /**
242
+ * AI Usage Metrics record
243
+ */
244
+ interface AIUsageMetrics {
245
+ id: string;
246
+ tenantId: string;
247
+ date: Date;
248
+ requestCount: number;
249
+ totalTokens: number;
250
+ totalCost: number;
251
+ providerBreakdown: Record<string, AIProviderMetrics>;
252
+ toolUsage: Record<string, number>;
253
+ }
254
+ /**
255
+ * Provider-specific metrics
256
+ */
257
+ interface AIProviderMetrics {
258
+ requests: number;
259
+ tokens: number;
260
+ cost: number;
261
+ }
262
+ /**
263
+ * Input for creating an AI message
264
+ */
265
+ interface CreateAIMessageInput {
266
+ conversationId: string;
267
+ role: AIMessageRole;
268
+ content: string;
269
+ thinkingLevel?: AIThinkingLevel;
270
+ thinkingSummary?: string;
271
+ toolCalls?: AIToolCallRecord[];
272
+ inputTokens?: number;
273
+ outputTokens?: number;
274
+ cost?: number;
275
+ provider?: string;
276
+ model?: string;
277
+ /** File attachment IDs (references files table) */
278
+ attachmentIds?: string[];
279
+ }
280
+
4
281
  /**
5
282
  * Brand symbol for nominal typing.
6
283
  * This ensures type-safety by making IDs non-interchangeable.
@@ -4473,8 +4750,8 @@ declare const statusConfigSchema: z.ZodObject<{
4473
4750
  icon: z.ZodOptional<z.ZodString>;
4474
4751
  description: z.ZodOptional<z.ZodString>;
4475
4752
  group: z.ZodOptional<z.ZodEnum<{
4476
- idle: "idle";
4477
4753
  in_progress: "in_progress";
4754
+ idle: "idle";
4478
4755
  finished: "finished";
4479
4756
  }>>;
4480
4757
  }, z.core.$strip>>;
@@ -4533,8 +4810,8 @@ declare const selectConfigSchema: z.ZodObject<{
4533
4810
  icon: z.ZodOptional<z.ZodString>;
4534
4811
  description: z.ZodOptional<z.ZodString>;
4535
4812
  group: z.ZodOptional<z.ZodEnum<{
4536
- idle: "idle";
4537
4813
  in_progress: "in_progress";
4814
+ idle: "idle";
4538
4815
  finished: "finished";
4539
4816
  }>>;
4540
4817
  }, z.core.$strip>>;
@@ -4561,8 +4838,8 @@ declare const multiselectConfigSchema: z.ZodObject<{
4561
4838
  icon: z.ZodOptional<z.ZodString>;
4562
4839
  description: z.ZodOptional<z.ZodString>;
4563
4840
  group: z.ZodOptional<z.ZodEnum<{
4564
- idle: "idle";
4565
4841
  in_progress: "in_progress";
4842
+ idle: "idle";
4566
4843
  finished: "finished";
4567
4844
  }>>;
4568
4845
  }, z.core.$strip>>;
@@ -4715,8 +4992,8 @@ declare const rollupConfigSchema: z.ZodObject<{
4715
4992
  icon: z.ZodOptional<z.ZodString>;
4716
4993
  description: z.ZodOptional<z.ZodString>;
4717
4994
  group: z.ZodOptional<z.ZodEnum<{
4718
- idle: "idle";
4719
4995
  in_progress: "in_progress";
4996
+ idle: "idle";
4720
4997
  finished: "finished";
4721
4998
  }>>;
4722
4999
  }, z.core.$strip>>>;
@@ -5391,12 +5668,17 @@ interface UserProfilesRepository {
5391
5668
  interface FilesRepository {
5392
5669
  /**
5393
5670
  * Find file by ID.
5394
- * Automatically filtered by current tenant context.
5671
+ * Returns file with signed URL. Automatically filtered by current tenant context.
5395
5672
  */
5396
5673
  findById(id: Uuid): Promise<File | null>;
5674
+ /**
5675
+ * Find multiple files by IDs.
5676
+ * Returns files with signed URLs. Automatically filtered by current tenant context.
5677
+ */
5678
+ findByIds(ids: Uuid[]): Promise<File[]>;
5397
5679
  /**
5398
5680
  * Create file.
5399
- * Tenant ID is automatically set from context.
5681
+ * Returns file with signed URL. Tenant ID is automatically set from context.
5400
5682
  */
5401
5683
  create(data: CreateFile): Promise<File>;
5402
5684
  /**
@@ -5969,6 +6251,150 @@ interface PermissionsRepository {
5969
6251
  getEffectivePermissions(userProfileId: Uuid): Promise<EffectivePermissions>;
5970
6252
  }
5971
6253
 
6254
+ /**
6255
+ * Repository for AI conversations and messages.
6256
+ *
6257
+ * This repository is optional - if not provided in the DatabaseAdapter,
6258
+ * AI conversation history features are disabled.
6259
+ *
6260
+ * All operations are automatically scoped to the current tenant
6261
+ * from the execution context (via AsyncLocalStorage).
6262
+ */
6263
+ interface AIConversationsRepository {
6264
+ /**
6265
+ * Find conversation by ID.
6266
+ * Automatically filtered by current tenant context.
6267
+ */
6268
+ findById(id: Uuid): Promise<AIConversation | null>;
6269
+ /**
6270
+ * List conversations for current user.
6271
+ * Automatically filtered by current tenant and user context.
6272
+ */
6273
+ list(options?: {
6274
+ limit?: number;
6275
+ offset?: number;
6276
+ includeDeleted?: boolean;
6277
+ }): Promise<{
6278
+ conversations: AIConversation[];
6279
+ total: number;
6280
+ }>;
6281
+ /**
6282
+ * Create conversation.
6283
+ * Tenant ID and User ID are automatically set from context.
6284
+ */
6285
+ create(data: {
6286
+ title?: string;
6287
+ }): Promise<AIConversation>;
6288
+ /**
6289
+ * Update conversation title.
6290
+ * Automatically filtered by current tenant context.
6291
+ */
6292
+ updateTitle(id: Uuid, title: string): Promise<AIConversation | null>;
6293
+ /**
6294
+ * Soft delete conversation.
6295
+ * Automatically filtered by current tenant context.
6296
+ */
6297
+ delete(id: Uuid): Promise<boolean>;
6298
+ /**
6299
+ * Add message to conversation.
6300
+ * Automatically updates conversation stats.
6301
+ */
6302
+ addMessage(input: CreateAIMessageInput): Promise<AIMessage>;
6303
+ /**
6304
+ * List messages in a conversation.
6305
+ * Automatically filtered by current tenant context (via conversation ownership).
6306
+ */
6307
+ listMessages(conversationId: Uuid, options?: {
6308
+ limit?: number;
6309
+ offset?: number;
6310
+ }): Promise<{
6311
+ messages: AIMessage[];
6312
+ total: number;
6313
+ }>;
6314
+ /**
6315
+ * Get recent messages for context (last N messages).
6316
+ * Returns messages ordered by created_at ASC.
6317
+ */
6318
+ getRecentMessages(conversationId: Uuid, count?: number): Promise<AIMessage[]>;
6319
+ }
6320
+ /**
6321
+ * Repository for AI user memory (preferences and learned facts).
6322
+ *
6323
+ * This repository is optional - if not provided in the DatabaseAdapter,
6324
+ * AI personalization features are disabled.
6325
+ *
6326
+ * All operations are automatically scoped to the current tenant and user
6327
+ * from the execution context (via AsyncLocalStorage).
6328
+ */
6329
+ interface AIUserMemoryRepository {
6330
+ /**
6331
+ * Get memory for current user.
6332
+ * Automatically filtered by current tenant and user context.
6333
+ * Returns null if no memory exists yet.
6334
+ */
6335
+ get(): Promise<AIUserMemory | null>;
6336
+ /**
6337
+ * Create or update memory for current user.
6338
+ * Tenant ID and User ID are automatically set from context.
6339
+ */
6340
+ upsert(data: {
6341
+ preferences?: Record<string, unknown>;
6342
+ facts?: string[];
6343
+ }): Promise<AIUserMemory>;
6344
+ /**
6345
+ * Add a fact to user memory.
6346
+ * Automatically appends to existing facts.
6347
+ */
6348
+ addFact(fact: string): Promise<AIUserMemory>;
6349
+ /**
6350
+ * Remove a fact from user memory.
6351
+ */
6352
+ removeFact(fact: string): Promise<AIUserMemory>;
6353
+ /**
6354
+ * Update a specific preference.
6355
+ */
6356
+ setPreference(key: string, value: unknown): Promise<AIUserMemory>;
6357
+ /**
6358
+ * Clear all memory for current user.
6359
+ */
6360
+ clear(): Promise<void>;
6361
+ }
6362
+ /**
6363
+ * Repository for AI usage metrics.
6364
+ *
6365
+ * This repository is optional - if not provided in the DatabaseAdapter,
6366
+ * AI usage tracking is disabled.
6367
+ *
6368
+ * All operations are automatically scoped to the current tenant
6369
+ * from the execution context (via AsyncLocalStorage).
6370
+ */
6371
+ interface AIUsageMetricsRepository {
6372
+ /**
6373
+ * Record a usage event (increments counters for the current date).
6374
+ * Automatically handles upsert for the current date.
6375
+ */
6376
+ recordUsage(data: {
6377
+ provider: string;
6378
+ tokens: number;
6379
+ cost: number;
6380
+ toolName?: string;
6381
+ }): Promise<void>;
6382
+ /**
6383
+ * Get usage metrics for a date range.
6384
+ * Automatically filtered by current tenant context.
6385
+ */
6386
+ getByDateRange(startDate: Date, endDate: Date): Promise<AIUsageMetrics[]>;
6387
+ /**
6388
+ * Get aggregated usage for current month.
6389
+ * Automatically filtered by current tenant context.
6390
+ */
6391
+ getCurrentMonthUsage(): Promise<{
6392
+ requestCount: number;
6393
+ totalTokens: number;
6394
+ totalCost: number;
6395
+ }>;
6396
+ }
6397
+
5972
6398
  /**
5973
6399
  * File content type - supports various formats
5974
6400
  * Use Uint8Array for cross-platform compatibility
@@ -6204,6 +6630,9 @@ interface DatabaseAdapter {
6204
6630
  audit?: AuditRepository;
6205
6631
  storage?: StorageAdapter;
6206
6632
  cache?: CacheAdapter;
6633
+ aiConversations?: AIConversationsRepository;
6634
+ aiUserMemory?: AIUserMemoryRepository;
6635
+ aiUsageMetrics?: AIUsageMetricsRepository;
6207
6636
  transaction<T>(callback: (adapter: DatabaseAdapter) => Promise<T>): Promise<T>;
6208
6637
  }
6209
6638
 
@@ -9645,6 +10074,10 @@ interface MockStores {
9645
10074
  workflows: Map<Uuid, DBWorkflow>;
9646
10075
  workflowInstances: Map<Uuid, DBWorkflowInstance>;
9647
10076
  workflowParticipations: Map<Uuid, DBWorkflowParticipation>;
10077
+ aiConversations: Map<Uuid, AIConversation>;
10078
+ aiMessages: Map<Uuid, AIMessage>;
10079
+ aiUserMemory: Map<string, AIUserMemory>;
10080
+ aiUsageMetrics: Map<string, AIUsageMetrics>;
9648
10081
  }
9649
10082
  /**
9650
10083
  * Create an in-memory mock adapter for testing and development
@@ -11145,4 +11578,4 @@ type RelationLabelResolver = (ids: string[]) => Promise<Map<string, string>>;
11145
11578
  */
11146
11579
  declare function computeLabelWithRelations(template: string, values: Record<string, unknown>, attributes: Attribute[], resolveRelationIds: RelationLabelResolver): Promise<string>;
11147
11580
 
11148
- export { type FlowRow as $, type Attribute as A, type DirectTableTab as B, type CheckboxAttribute as C, type DateAttribute as D, type WorkflowConfig as E, type FileAttribute as F, type Group as G, type SlotMode as H, type InferAttributeValue as I, type AuthMethod as J, type AuthChannel as K, type LocationAttribute as L, type MultiselectAttribute as M, type NumberAttribute as N, type ObjectAction as O, type PhoneAttribute as P, type ParticipantTemplate as Q, type RichtextAttribute as R, type SystemResource as S, type TextAttribute as T, type UserAttribute as U, type ViewLayout as V, type WorkflowTheme as W, type ConditionGroup as X, type ConditionRule as Y, type WorkflowNode as Z, type WorkflowDefinition as _, type SystemAction as a, toSimpleFilterState as a$, type BlockNoteContent as a0, type StatusGroup as a1, type AttributeGroup as a2, type BaseAttribute as a3, type NumberUnit as a4, type DateFormat as a5, type DateValue as a6, type Phone as a7, type Currency as a8, type Location as a9, type CreateAuditLogInput as aA, type AuditListOptions as aB, type AuditServiceOptions as aC, type StorageProvider as aD, type FileVisibility as aE, type File as aF, type CreateFile as aG, type UpdateFile as aH, type TextFilterOperator as aI, type NumberFilterOperator as aJ, type CheckboxFilterOperator as aK, type DateFilterOperator as aL, type SelectFilterOperator as aM, type MultiselectFilterOperator as aN, type RelationFilterOperator as aO, type FilterOperator as aP, type RelativeDateValue as aQ, type CurrencyFilterValue as aR, type PhoneFilterValue as aS, type FilterValue as aT, type FilterRule as aU, type ExtendedFilterRule as aV, type FilterCombinator as aW, type FilterGroup as aX, type AdvancedFilterState as aY, isAdvancedFilterState as aZ, toAdvancedFilterState as a_, type LocationGranularity as aa, RELATION_TARGET_ANY as ab, type RelationAttribute as ac, isUniversalRelation as ad, type BlockNoteBlock as ae, type BlockNoteCustomInlineContent as af, type BlockNoteDefaultProps as ag, type BlockNoteInlineContent as ah, type BlockNoteLink as ai, type BlockNoteStyledText as aj, type BlockNoteStyles as ak, type BlockNoteTableCell as al, type BlockNoteTableCellProps as am, type BlockNoteTableContent as an, type PartialBlockNoteBlock as ao, type PartialBlockNoteContent as ap, type PartialBlockNoteInlineContent as aq, type PartialBlockNoteLink as ar, type PartialBlockNoteStyledText as as, type PartialBlockNoteTableCell as at, type PartialBlockNoteTableContent as au, type AuditResourceType as av, type AuditAction as aw, type AuditActorType as ax, type AuditChange as ay, type AuditLogEntry as az, type TextAreaAttribute as b, type PolicyContext as b$, type SortDirection as b0, type QueryState as b1, OPERATORS_BY_TYPE as b2, type NoValueOperator as b3, NO_VALUE_OPERATORS as b4, isNoValueOperator as b5, type FlowSlot as b6, type FlowRowField as b7, type FlowPage as b8, type FlowRelation as b9, type ExtractRecordInput as bA, type ExtractRecordInputStrict as bB, type ExtractRecordUpdate as bC, type ExtractRecordUpdateStrict as bD, type ExtractAttributes as bE, type TypedObjectRecord as bF, type ExtractObjectRecord as bG, type ExtractObjectRecordWithCustom as bH, RESERVED_ATTRIBUTE_NAMES as bI, SYSTEM_FIELD_NAMES as bJ, type ReservedAttributeName as bK, type SystemFieldName as bL, type Timestamps as bM, type ObjectAttribute as bN, type CompletionStatus as bO, type ObjectRecord as bP, type PermissionScope as bQ, type Role as bR, type Permission as bS, type UserRoleAssignment as bT, type EffectivePermissions as bU, type ObjectPermissions as bV, type SystemPermissions as bW, type CreateRoleInput as bX, type UpdateRoleInput as bY, type CreatePermissionInput as bZ, type AssignRoleInput as b_, type FlowStatus as ba, type FlowDefinition as bb, isFlowDefinition as bc, isFlowPublished as bd, isSystemFlow as be, type GeocodingSuggestion as bf, type GeocodingAutocompleteParams as bg, type ReverseGeocodingParams as bh, type GeocodingParams as bi, type GeocodingAdapter as bj, NoopGeocodingAdapter as bk, type AttributeSchema as bl, type InferRecordFromSchema as bm, type InferRecordWithRequirements as bn, type TypedAttribute as bo, type AttributeMap as bp, type AddAttribute as bq, type InferRecord as br, type InferRecordInput as bs, type InferRecordUpdate as bt, type CustomAttributeValue as bu, type WithCustomAttributes as bv, type RecordMetadata as bw, type SystemFields as bx, type ExtractRecord as by, type ExtractRecordStrict as bz, type RichtextFeature as c, type SignedLinkAuth as c$, type RecordPolicy as c0, PolicyViolationError as c1, type UserRole as c2, type UserStatus as c3, type UserProfile as c4, type CreateUserProfile as c5, type UpdateUserProfile as c6, type InviteUserInput as c7, type TabType as c8, type FormTab as c9, isConditionRule as cA, isConditionGroup as cB, eq as cC, neq as cD, and as cE, or as cF, inValues as cG, isEmpty as cH, isNotEmpty as cI, type WorkflowSlot as cJ, type NodePosition as cK, type CanvasViewport as cL, type WorkflowLayout as cM, type ParticipantAuthConfig as cN, type WorkflowStatus as cO, isWorkflowDefinition as cP, isWorkflowPublished as cQ, isSystemWorkflow as cR, type WorkflowTransition as cS, type WorkflowError as cT, type PendingAction as cU, type WorkflowInstance as cV, isInstanceTerminal as cW, isInstanceWaiting as cX, canResumeInstance as cY, createStartTransition as cZ, type ParticipationStatus as c_, type CustomTab as ca, type ActivityTab as cb, type NotesTab as cc, type FlowsTab as cd, isFormTab as ce, isTableTab as cf, isDirectTableTab as cg, isInverseTableTab as ch, isCustomTab as ci, isActivityTab as cj, isNotesTab as ck, isFlowsTab as cl, type StartNode as cm, type FormNode as cn, type FormFieldRef as co, type ConditionNode as cp, type EndNode as cq, type WorkflowNodeType as cr, isStartNode as cs, isFormNode as ct, isConditionNode as cu, isEndNode as cv, isSimpleFormNode as cw, isAdvancedFormNode as cx, getNodeOutputs as cy, type ConditionOperator as cz, type CurrencyAttribute as d, createCheckboxValidator as d$, type PinCodeAuth as d0, type ParticipationAuth as d1, type WorkflowParticipation as d2, isSignedLinkAuth as d3, isPinCodeAuth as d4, canParticipate as d5, canAuthenticate as d6, canExecuteNode as d7, type GeneratedDocument as d8, type WorkflowExecutionContext as d9, type ValidationMessages as dA, DEFAULT_VALIDATION_MESSAGES as dB, textConfigSchema as dC, textareaConfigSchema as dD, richtextConfigSchema as dE, numberConfigSchema as dF, checkboxConfigSchema as dG, dateConfigSchema as dH, phoneConfigSchema as dI, currencyConfigSchema as dJ, statusConfigSchema as dK, locationConfigSchema as dL, selectConfigSchema as dM, multiselectConfigSchema as dN, fileConfigSchema as dO, userConfigSchema as dP, relationConfigSchema as dQ, ratingConfigSchema as dR, formulaConfigSchema as dS, rollupConfigSchema as dT, attributeConfigSchemas as dU, getAttributeConfigSchema as dV, validateAttributeConfig as dW, parseAttributeConfig as dX, safeParseAttributeConfig as dY, createTextValidator as dZ, createNumberValidator as d_, createEmptyContext as da, getContextValue as db, setContextValue as dc, mergeFormToSlot as dd, type WorkflowAccessMode as de, type ReadOnlyReason as df, type FormFieldContext as dg, type FormFieldRow as dh, type FormNodeInfo as di, type FormContextResponse as dj, type ThemeLogo as dk, type ThemeColors as dl, type ThemeTypography as dm, DEFAULT_THEME as dn, mergeWithDefaults as dp, generateCssVariables as dq, type Uuid as dr, type TenantId as ds, type UserId as dt, asTenantId as du, asUserId as dv, generateId as dw, generatePrefixedId as dx, registry as dy, viewRegistry as dz, type Option as e, SHORTCUT_TO_FILTER_OPERATOR as e$, createDateValidator as e0, createPhoneValidator as e1, createCurrencyValidator as e2, createStatusValidator as e3, createSelectValidator as e4, createMultiselectValidator as e5, createLocationValidator as e6, createFileValidator as e7, createUserValidator as e8, createSingleRelationValidator as e9, type TokenVerificationResult as eA, PinCodeService as eB, getDefaultPinCodeService as eC, initializePinCodeService as eD, type PinCodeGenerationOptions as eE, type PinCodeVerificationResult as eF, type CacheKeyType as eG, hashOptions as eH, type CacheAdapter as eI, type CacheOptions as eJ, cacheKeys as eK, cacheTtl as eL, defaultTtl as eM, NoopCacheAdapter as eN, type FetchResult as eO, type FormattedRecord as eP, type GroupedFetchResult as eQ, type InsertOptions as eR, type QueryBuilderState as eS, type RegistryMap as eT, type RegistryObjectNames as eU, type ShortcutOperator as eV, createDefaultState as eW, formatRecord as eX, formatRecords as eY, QueryMultipleResultsError as eZ, QueryNoResultError as e_, createMultiRelationValidator as ea, createRelationValidator as eb, createRatingValidator as ec, createFormulaValidator as ed, createRollupValidator as ee, createTextAreaValidator as ef, createRichtextValidator as eg, createAttributeValidator as eh, createFormAttributeValidator as ei, createObjectValidator as ej, type ValidationResult as ek, validateAttribute as el, validateObject as em, validateObjectOrThrow as en, createDraftValidator as eo, validateDraft as ep, validateDraftOrThrow as eq, getMissingRequiredAttributes as er, isRecordComplete as es, computeRecordStatus as et, type DatabaseAdapter as eu, ParticipationTokenService as ev, getDefaultTokenService as ew, initializeTokenService as ex, type ParticipationTokenPayload as ey, type TokenGenerationOptions as ez, type StatusAttribute as f, type PathCardinality as f$, createQueryBuilder as f0, QueryBuilder as f1, type QueryBuilderOptions as f2, type EvaluationResult as f3, type EvaluationTrace as f4, evaluateCondition as f5, evaluate as f6, evaluateWithTrace as f7, TenantContextError as f8, addSchemaToContext as f9, success as fA, wait as fB, ConditionExecutor as fC, EndExecutor as fD, FormExecutor as fE, StartExecutor as fF, evaluateFormula as fG, evaluateFormulaAttribute as fH, evaluateFormulaAttributeWithRelations as fI, evaluateFormulaWithRelations as fJ, evaluateFormulaWithResult as fK, extractFormulaVariables as fL, extractRelationNames as fM, extractRelationReferences as fN, flattenRelationsForEval as fO, formatFormulaResult as fP, hasRelationReferences as fQ, validateFormulaExpression as fR, type FormulaResult as fS, getPathDepth as fT, getRelationPath as fU, getTargetAttributeName as fV, InvalidPathError as fW, MaxDepthExceededError as fX, parsePath as fY, pathHasManyCardinality as fZ, validatePath as f_, getSchemaByNameFromContext as fa, getSchemaContext as fb, getSchemaFromContext as fc, hasSchemaContext as fd, runWithMergedSchemaContext as fe, runWithSchemaContext as ff, type SchemaContext as fg, getContext as fh, getTenantId as fi, getUserId as fj, hasContext as fk, runWithContext as fl, withTenantContext as fm, type TenantContext as fn, createDefaultExecutorRegistry as fo, getDefaultExecutorRegistry as fp, type ExecutorCompleteResult as fq, type ExecutorContext as fr, type ExecutorErrorResult as fs, type ExecutorResult as ft, type ExecutorSuccessResult as fu, type ExecutorWaitResult as fv, type NodeExecutor as fw, complete as fx, error as fy, ExecutorRegistry as fz, type SelectAttribute as g, applyDefaultValues as g$, type PathSegment as g0, type PathSegmentType as g1, type SchemaResolver as g2, resolveMultiplePaths as g3, resolveSingleValue as g4, traversePath as g5, type TraversalOptions as g6, type TraversalResult as g7, type AttributeChange as g8, type HookContext as g9, type CreateCustomObjectInput as gA, type AddAttributeInput as gB, type UpdateObjectInput as gC, type ObjectSchemaServiceOptions as gD, ObjectSchemaService as gE, type RecordServiceOptions as gF, RecordService as gG, type RecordQueryServiceOptions as gH, type QueryOptions as gI, type SearchQueryOptions as gJ, type QueryResult as gK, RecordQueryService as gL, type RelationValidationResult as gM, type RelationValidationError as gN, type RelationOption as gO, type RelationOptionsResponse as gP, type GetRelationOptionsParams as gQ, type RelationServiceOptions as gR, type ResolveIdsBatchRequest as gS, type ResolveIdsBatchResponse as gT, RelationService as gU, type ResolvedRelations as gV, RelationResolverService as gW, type RollupResult as gX, RollupService as gY, type RollupSchedulerOptions as gZ, RollupScheduler as g_, type HookDefinition as ga, type HookHandler as gb, type HookType as gc, NoopHookRegistry as gd, type HookRegistry as ge, createMockAdapter as gf, defaultPolicyRegistry as gg, PolicyRegistry as gh, notesPolicy as gi, type ObjectsRepository as gj, type AttributesRepository as gk, type UserProfilesRepository as gl, type FilesRepository as gm, type ObjectRecordsRepository as gn, type ViewsRepository as go, type WorkflowsRepository as gp, type WorkflowInstancesRepository as gq, type WorkflowParticipationsRepository as gr, type AuditRepository as gs, type PermissionsRepository as gt, BaseService as gu, BaseRepository as gv, type SchemaContextAware as gw, SchemaContextAwareRepository as gx, TenantAwareRepository as gy, TenantAwareService as gz, type SingleRelationAttribute as h, extractAttributeNames as h$, checkPermission as h0, getPolicy as h1, buildPolicyContext as h2, checkRecordAccess as h3, checkRecordModifyOrThrow as h4, checkRecordDeleteOrThrow as h5, computeLabel as h6, type LabelResolver as h7, enrichWithFormulas as h8, enrichRecordsWithFormulas as h9, buildAuditChanges as hA, type FileServiceOptions as hB, FileService as hC, GeocodingService as hD, GlobalSearchService as hE, type PermissionServiceOptions as hF, PermissionService as hG, type CreateViewInput as hH, type UpdateViewInput as hI, ViewService as hJ, type FileContent as hK, type StorageUploadInput as hL, type StorageUploadResult as hM, type SignedUrlOptions as hN, type StorageAdapter as hO, type UploadFileInput as hP, type SyncResult as hQ, type SyncOptions as hR, syncNativeObjects as hS, verifyNativeObjectsSync as hT, getSyncPreview as hU, type FullSyncResult as hV, type FullSyncOptions as hW, syncAll as hX, DEFAULT_LABEL_FALLBACK as hY, renderLabelExpression as hZ, isLabelExpression as h_, createContextForCreate as ha, createContextForUpdate as hb, createContextForDelete as hc, createContextForRestore as hd, recalculateParentRollups as he, type RollupCascadeContext as hf, type CreateWorkflowInput as hg, type UpdateWorkflowInput as hh, type WorkflowServiceOptions as hi, WorkflowService as hj, type StartWorkflowInput as hk, type ResumeWorkflowInput as hl, type WorkflowInstanceServiceOptions as hm, WorkflowInstanceService as hn, type CreateParticipationInput as ho, type CreateParticipationResult as hp, type AuthenticationResult as hq, WorkflowParticipationService as hr, type FieldReadOnlyResult as hs, WorkflowRelationService as ht, type UserValidationResult as hu, type UserValidationError as hv, UserService as hw, type UserProfileServiceOptions as hx, UserProfileService as hy, AuditService as hz, type MultiRelationAttribute as i, enrichValuesForDisplay as i0, enrichValuesWithSelectLabels as i1, extractRelationIds as i2, type RelationLabelResolver as i3, computeLabelWithRelations as i4, type DBObject as i5, type CreateDBObject as i6, type UpdateDBObject as i7, type UpsertDBObject as i8, type DBAttribute as i9, type ViewSyncOptions as iA, syncNativeViews as iB, verifyNativeViewsSync as iC, getViewSyncPreview as iD, type CreateDBAttribute as ia, type UpdateDBAttribute as ib, type UpsertDBAttribute as ic, type CreateObjectRecord as id, type ListOptions as ie, type SearchOptions as ig, type GlobalSearchOptions as ih, type GlobalSearchResultItem as ii, type FileListOptions as ij, type DBView as ik, type CreateDBView as il, type UpdateDBView as im, type UpsertDBView as io, type DBWorkflow as ip, type CreateDBWorkflow as iq, type UpdateDBWorkflow as ir, type DBWorkflowInstance as is, type CreateDBWorkflowInstance as it, type UpdateDBWorkflowInstance as iu, type DBWorkflowParticipation as iv, type CreateDBWorkflowParticipation as iw, type UpdateDBWorkflowParticipation as ix, type OperationResult as iy, type ViewSyncResult as iz, type RelationTarget as j, type RatingAttribute as k, type FormulaAttribute as l, type FormulaReturnType as m, type RollupAttribute as n, type RollupFunction as o, type AttributeType as p, type ObjectDefinition as q, type Field as r, type AttributeGroupField as s, type TableTab as t, type InverseTableTab as u, type ViewDefinition as v, type InstanceStatus as w, type Tab as x, type FilterState as y, type SortRule as z };
11581
+ export { type FlowRow as $, type Attribute as A, type DirectTableTab as B, type CheckboxAttribute as C, type DateAttribute as D, type WorkflowConfig as E, type FileAttribute as F, type Group as G, type SlotMode as H, type InferAttributeValue as I, type AuthMethod as J, type AuthChannel as K, type LocationAttribute as L, type MultiselectAttribute as M, type NumberAttribute as N, type ObjectAction as O, type PhoneAttribute as P, type ParticipantTemplate as Q, type RichtextAttribute as R, type SystemResource as S, type TextAttribute as T, type UserAttribute as U, type ViewLayout as V, type WorkflowTheme as W, type ConditionGroup as X, type ConditionRule as Y, type WorkflowNode as Z, type WorkflowDefinition as _, type SystemAction as a, type AuditServiceOptions as a$, type BlockNoteContent as a0, type AIMessageRole as a1, type AIThinkingLevel as a2, type AIToolCallStatus as a3, type AIToolCall as a4, type AIChatMessagePartType as a5, type TextPartData as a6, type ToolPartData as a7, type ThinkingPartData as a8, type ReasoningPartData as a9, RELATION_TARGET_ANY as aA, type RelationAttribute as aB, isUniversalRelation as aC, type BlockNoteBlock as aD, type BlockNoteCustomInlineContent as aE, type BlockNoteDefaultProps as aF, type BlockNoteInlineContent as aG, type BlockNoteLink as aH, type BlockNoteStyledText as aI, type BlockNoteStyles as aJ, type BlockNoteTableCell as aK, type BlockNoteTableCellProps as aL, type BlockNoteTableContent as aM, type PartialBlockNoteBlock as aN, type PartialBlockNoteContent as aO, type PartialBlockNoteInlineContent as aP, type PartialBlockNoteLink as aQ, type PartialBlockNoteStyledText as aR, type PartialBlockNoteTableCell as aS, type PartialBlockNoteTableContent as aT, type AuditResourceType as aU, type AuditAction as aV, type AuditActorType as aW, type AuditChange as aX, type AuditLogEntry as aY, type CreateAuditLogInput as aZ, type AuditListOptions as a_, type AIChatMessagePart as aa, type AIChatMessage as ab, type AIQuestionType as ac, type AIQuestionOption as ad, type AIQuestion as ae, type AIQuestionAnswer as af, type AITodoStatus as ag, type AITodoItem as ah, type AITodoList as ai, type AIConversation as aj, type AIMessage as ak, type AIToolCallRecord as al, type AIUserMemory as am, type AIUsageMetrics as an, type AIProviderMetrics as ao, type CreateAIMessageInput as ap, type StatusGroup as aq, type AttributeGroup as ar, type BaseAttribute as as, type NumberUnit as at, type DateFormat as au, type DateValue as av, type Phone as aw, type Currency as ax, type Location as ay, type LocationGranularity as az, type TextAreaAttribute as b, type ExtractRecordUpdate as b$, type StorageProvider as b0, type FileVisibility as b1, type File as b2, type CreateFile as b3, type UpdateFile as b4, type TextFilterOperator as b5, type NumberFilterOperator as b6, type CheckboxFilterOperator as b7, type DateFilterOperator as b8, type SelectFilterOperator as b9, type FlowDefinition as bA, isFlowDefinition as bB, isFlowPublished as bC, isSystemFlow as bD, type GeocodingSuggestion as bE, type GeocodingAutocompleteParams as bF, type ReverseGeocodingParams as bG, type GeocodingParams as bH, type GeocodingAdapter as bI, NoopGeocodingAdapter as bJ, type AttributeSchema as bK, type InferRecordFromSchema as bL, type InferRecordWithRequirements as bM, type TypedAttribute as bN, type AttributeMap as bO, type AddAttribute as bP, type InferRecord as bQ, type InferRecordInput as bR, type InferRecordUpdate as bS, type CustomAttributeValue as bT, type WithCustomAttributes as bU, type RecordMetadata as bV, type SystemFields as bW, type ExtractRecord as bX, type ExtractRecordStrict as bY, type ExtractRecordInput as bZ, type ExtractRecordInputStrict as b_, type MultiselectFilterOperator as ba, type RelationFilterOperator as bb, type FilterOperator as bc, type RelativeDateValue as bd, type CurrencyFilterValue as be, type PhoneFilterValue as bf, type FilterValue as bg, type FilterRule as bh, type ExtendedFilterRule as bi, type FilterCombinator as bj, type FilterGroup as bk, type AdvancedFilterState as bl, isAdvancedFilterState as bm, toAdvancedFilterState as bn, toSimpleFilterState as bo, type SortDirection as bp, type QueryState as bq, OPERATORS_BY_TYPE as br, type NoValueOperator as bs, NO_VALUE_OPERATORS as bt, isNoValueOperator as bu, type FlowSlot as bv, type FlowRowField as bw, type FlowPage as bx, type FlowRelation as by, type FlowStatus as bz, type RichtextFeature as c, eq as c$, type ExtractRecordUpdateStrict as c0, type ExtractAttributes as c1, type TypedObjectRecord as c2, type ExtractObjectRecord as c3, type ExtractObjectRecordWithCustom as c4, RESERVED_ATTRIBUTE_NAMES as c5, SYSTEM_FIELD_NAMES as c6, type ReservedAttributeName as c7, type SystemFieldName as c8, type Timestamps as c9, type ActivityTab as cA, type NotesTab as cB, type FlowsTab as cC, isFormTab as cD, isTableTab as cE, isDirectTableTab as cF, isInverseTableTab as cG, isCustomTab as cH, isActivityTab as cI, isNotesTab as cJ, isFlowsTab as cK, type StartNode as cL, type FormNode as cM, type FormFieldRef as cN, type ConditionNode as cO, type EndNode as cP, type WorkflowNodeType as cQ, isStartNode as cR, isFormNode as cS, isConditionNode as cT, isEndNode as cU, isSimpleFormNode as cV, isAdvancedFormNode as cW, getNodeOutputs as cX, type ConditionOperator as cY, isConditionRule as cZ, isConditionGroup as c_, type ObjectAttribute as ca, type CompletionStatus as cb, type ObjectRecord as cc, type PermissionScope as cd, type Role as ce, type Permission as cf, type UserRoleAssignment as cg, type EffectivePermissions as ch, type ObjectPermissions as ci, type SystemPermissions as cj, type CreateRoleInput as ck, type UpdateRoleInput as cl, type CreatePermissionInput as cm, type AssignRoleInput as cn, type PolicyContext as co, type RecordPolicy as cp, PolicyViolationError as cq, type UserRole as cr, type UserStatus as cs, type UserProfile as ct, type CreateUserProfile as cu, type UpdateUserProfile as cv, type InviteUserInput as cw, type TabType as cx, type FormTab as cy, type CustomTab as cz, type CurrencyAttribute as d, textConfigSchema as d$, neq as d0, and as d1, or as d2, inValues as d3, isEmpty as d4, isNotEmpty as d5, type WorkflowSlot as d6, type NodePosition as d7, type CanvasViewport as d8, type WorkflowLayout as d9, createEmptyContext as dA, getContextValue as dB, setContextValue as dC, mergeFormToSlot as dD, type WorkflowAccessMode as dE, type ReadOnlyReason as dF, type FormFieldContext as dG, type FormFieldRow as dH, type FormNodeInfo as dI, type FormContextResponse as dJ, type ThemeLogo as dK, type ThemeColors as dL, type ThemeTypography as dM, DEFAULT_THEME as dN, mergeWithDefaults as dO, generateCssVariables as dP, type Uuid as dQ, type TenantId as dR, type UserId as dS, asTenantId as dT, asUserId as dU, generateId as dV, generatePrefixedId as dW, registry as dX, viewRegistry as dY, type ValidationMessages as dZ, DEFAULT_VALIDATION_MESSAGES as d_, type ParticipantAuthConfig as da, type WorkflowStatus as db, isWorkflowDefinition as dc, isWorkflowPublished as dd, isSystemWorkflow as de, type WorkflowTransition as df, type WorkflowError as dg, type PendingAction as dh, type WorkflowInstance as di, isInstanceTerminal as dj, isInstanceWaiting as dk, canResumeInstance as dl, createStartTransition as dm, type ParticipationStatus as dn, type SignedLinkAuth as dp, type PinCodeAuth as dq, type ParticipationAuth as dr, type WorkflowParticipation as ds, isSignedLinkAuth as dt, isPinCodeAuth as du, canParticipate as dv, canAuthenticate as dw, canExecuteNode as dx, type GeneratedDocument as dy, type WorkflowExecutionContext as dz, type Option as e, getDefaultPinCodeService as e$, textareaConfigSchema as e0, richtextConfigSchema as e1, numberConfigSchema as e2, checkboxConfigSchema as e3, dateConfigSchema as e4, phoneConfigSchema as e5, currencyConfigSchema as e6, statusConfigSchema as e7, locationConfigSchema as e8, selectConfigSchema as e9, createRelationValidator as eA, createRatingValidator as eB, createFormulaValidator as eC, createRollupValidator as eD, createTextAreaValidator as eE, createRichtextValidator as eF, createAttributeValidator as eG, createFormAttributeValidator as eH, createObjectValidator as eI, type ValidationResult as eJ, validateAttribute as eK, validateObject as eL, validateObjectOrThrow as eM, createDraftValidator as eN, validateDraft as eO, validateDraftOrThrow as eP, getMissingRequiredAttributes as eQ, isRecordComplete as eR, computeRecordStatus as eS, type DatabaseAdapter as eT, ParticipationTokenService as eU, getDefaultTokenService as eV, initializeTokenService as eW, type ParticipationTokenPayload as eX, type TokenGenerationOptions as eY, type TokenVerificationResult as eZ, PinCodeService as e_, multiselectConfigSchema as ea, fileConfigSchema as eb, userConfigSchema as ec, relationConfigSchema as ed, ratingConfigSchema as ee, formulaConfigSchema as ef, rollupConfigSchema as eg, attributeConfigSchemas as eh, getAttributeConfigSchema as ei, validateAttributeConfig as ej, parseAttributeConfig as ek, safeParseAttributeConfig as el, createTextValidator as em, createNumberValidator as en, createCheckboxValidator as eo, createDateValidator as ep, createPhoneValidator as eq, createCurrencyValidator as er, createStatusValidator as es, createSelectValidator as et, createMultiselectValidator as eu, createLocationValidator as ev, createFileValidator as ew, createUserValidator as ex, createSingleRelationValidator as ey, createMultiRelationValidator as ez, type StatusAttribute as f, ConditionExecutor as f$, initializePinCodeService as f0, type PinCodeGenerationOptions as f1, type PinCodeVerificationResult as f2, type CacheKeyType as f3, hashOptions as f4, type CacheAdapter as f5, type CacheOptions as f6, cacheKeys as f7, cacheTtl as f8, defaultTtl as f9, getSchemaContext as fA, getSchemaFromContext as fB, hasSchemaContext as fC, runWithMergedSchemaContext as fD, runWithSchemaContext as fE, type SchemaContext as fF, getContext as fG, getTenantId as fH, getUserId as fI, hasContext as fJ, runWithContext as fK, withTenantContext as fL, type TenantContext as fM, createDefaultExecutorRegistry as fN, getDefaultExecutorRegistry as fO, type ExecutorCompleteResult as fP, type ExecutorContext as fQ, type ExecutorErrorResult as fR, type ExecutorResult as fS, type ExecutorSuccessResult as fT, type ExecutorWaitResult as fU, type NodeExecutor as fV, complete as fW, error as fX, ExecutorRegistry as fY, success as fZ, wait as f_, NoopCacheAdapter as fa, type FetchResult as fb, type FormattedRecord as fc, type GroupedFetchResult as fd, type InsertOptions as fe, type QueryBuilderState as ff, type RegistryMap as fg, type RegistryObjectNames as fh, type ShortcutOperator as fi, createDefaultState as fj, formatRecord as fk, formatRecords as fl, QueryMultipleResultsError as fm, QueryNoResultError as fn, SHORTCUT_TO_FILTER_OPERATOR as fo, createQueryBuilder as fp, QueryBuilder as fq, type QueryBuilderOptions as fr, type EvaluationResult as fs, type EvaluationTrace as ft, evaluateCondition as fu, evaluate as fv, evaluateWithTrace as fw, TenantContextError as fx, addSchemaToContext as fy, getSchemaByNameFromContext as fz, type SelectAttribute as g, TenantAwareService as g$, EndExecutor as g0, FormExecutor as g1, StartExecutor as g2, evaluateFormula as g3, evaluateFormulaAttribute as g4, evaluateFormulaAttributeWithRelations as g5, evaluateFormulaWithRelations as g6, evaluateFormulaWithResult as g7, extractFormulaVariables as g8, extractRelationNames as g9, type HookHandler as gA, type HookType as gB, NoopHookRegistry as gC, type HookRegistry as gD, createMockAdapter as gE, defaultPolicyRegistry as gF, PolicyRegistry as gG, notesPolicy as gH, type ObjectsRepository as gI, type AttributesRepository as gJ, type UserProfilesRepository as gK, type FilesRepository as gL, type ObjectRecordsRepository as gM, type ViewsRepository as gN, type WorkflowsRepository as gO, type WorkflowInstancesRepository as gP, type WorkflowParticipationsRepository as gQ, type AuditRepository as gR, type PermissionsRepository as gS, type AIConversationsRepository as gT, type AIUserMemoryRepository as gU, type AIUsageMetricsRepository as gV, BaseService as gW, BaseRepository as gX, type SchemaContextAware as gY, SchemaContextAwareRepository as gZ, TenantAwareRepository as g_, extractRelationReferences as ga, flattenRelationsForEval as gb, formatFormulaResult as gc, hasRelationReferences as gd, validateFormulaExpression as ge, type FormulaResult as gf, getPathDepth as gg, getRelationPath as gh, getTargetAttributeName as gi, InvalidPathError as gj, MaxDepthExceededError as gk, parsePath as gl, pathHasManyCardinality as gm, validatePath as gn, type PathCardinality as go, type PathSegment as gp, type PathSegmentType as gq, type SchemaResolver as gr, resolveMultiplePaths as gs, resolveSingleValue as gt, traversePath as gu, type TraversalOptions as gv, type TraversalResult as gw, type AttributeChange as gx, type HookContext as gy, type HookDefinition as gz, type SingleRelationAttribute as h, AuditService as h$, type CreateCustomObjectInput as h0, type AddAttributeInput as h1, type UpdateObjectInput as h2, type ObjectSchemaServiceOptions as h3, ObjectSchemaService as h4, type RecordServiceOptions as h5, RecordService as h6, type RecordQueryServiceOptions as h7, type QueryOptions as h8, type SearchQueryOptions as h9, enrichWithFormulas as hA, enrichRecordsWithFormulas as hB, createContextForCreate as hC, createContextForUpdate as hD, createContextForDelete as hE, createContextForRestore as hF, recalculateParentRollups as hG, type RollupCascadeContext as hH, type CreateWorkflowInput as hI, type UpdateWorkflowInput as hJ, type WorkflowServiceOptions as hK, WorkflowService as hL, type StartWorkflowInput as hM, type ResumeWorkflowInput as hN, type WorkflowInstanceServiceOptions as hO, WorkflowInstanceService as hP, type CreateParticipationInput as hQ, type CreateParticipationResult as hR, type AuthenticationResult as hS, WorkflowParticipationService as hT, type FieldReadOnlyResult as hU, WorkflowRelationService as hV, type UserValidationResult as hW, type UserValidationError as hX, UserService as hY, type UserProfileServiceOptions as hZ, UserProfileService as h_, type QueryResult as ha, RecordQueryService as hb, type RelationValidationResult as hc, type RelationValidationError as hd, type RelationOption as he, type RelationOptionsResponse as hf, type GetRelationOptionsParams as hg, type RelationServiceOptions as hh, type ResolveIdsBatchRequest as hi, type ResolveIdsBatchResponse as hj, RelationService as hk, type ResolvedRelations as hl, RelationResolverService as hm, type RollupResult as hn, RollupService as ho, type RollupSchedulerOptions as hp, RollupScheduler as hq, applyDefaultValues as hr, checkPermission as hs, getPolicy as ht, buildPolicyContext as hu, checkRecordAccess as hv, checkRecordModifyOrThrow as hw, checkRecordDeleteOrThrow as hx, computeLabel as hy, type LabelResolver as hz, type MultiRelationAttribute as i, type ViewSyncResult as i$, buildAuditChanges as i0, type FileServiceOptions as i1, FileService as i2, GeocodingService as i3, GlobalSearchService as i4, type PermissionServiceOptions as i5, PermissionService as i6, type CreateViewInput as i7, type UpdateViewInput as i8, ViewService as i9, type CreateDBObject as iA, type UpdateDBObject as iB, type UpsertDBObject as iC, type DBAttribute as iD, type CreateDBAttribute as iE, type UpdateDBAttribute as iF, type UpsertDBAttribute as iG, type CreateObjectRecord as iH, type ListOptions as iI, type SearchOptions as iJ, type GlobalSearchOptions as iK, type GlobalSearchResultItem as iL, type FileListOptions as iM, type DBView as iN, type CreateDBView as iO, type UpdateDBView as iP, type UpsertDBView as iQ, type DBWorkflow as iR, type CreateDBWorkflow as iS, type UpdateDBWorkflow as iT, type DBWorkflowInstance as iU, type CreateDBWorkflowInstance as iV, type UpdateDBWorkflowInstance as iW, type DBWorkflowParticipation as iX, type CreateDBWorkflowParticipation as iY, type UpdateDBWorkflowParticipation as iZ, type OperationResult as i_, type FileContent as ia, type StorageUploadInput as ib, type StorageUploadResult as ic, type SignedUrlOptions as id, type StorageAdapter as ie, type UploadFileInput as ig, type SyncResult as ih, type SyncOptions as ii, syncNativeObjects as ij, verifyNativeObjectsSync as ik, getSyncPreview as il, type FullSyncResult as im, type FullSyncOptions as io, syncAll as ip, DEFAULT_LABEL_FALLBACK as iq, renderLabelExpression as ir, isLabelExpression as is, extractAttributeNames as it, enrichValuesForDisplay as iu, enrichValuesWithSelectLabels as iv, extractRelationIds as iw, type RelationLabelResolver as ix, computeLabelWithRelations as iy, type DBObject as iz, type RelationTarget as j, type ViewSyncOptions as j0, syncNativeViews as j1, verifyNativeViewsSync as j2, getViewSyncPreview as j3, type RatingAttribute as k, type FormulaAttribute as l, type FormulaReturnType as m, type RollupAttribute as n, type RollupFunction as o, type AttributeType as p, type ObjectDefinition as q, type Field as r, type AttributeGroupField as s, type TableTab as t, type InverseTableTab as u, type ViewDefinition as v, type InstanceStatus as w, type Tab as x, type FilterState as y, type SortRule as z };