@stndrds/schema 1.0.0-alpha.73 → 1.0.0-alpha.75
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-ABOLTRIR.mjs → chunk-KQMGNSDK.mjs} +326 -56
- package/dist/{chunk-EWDCS5EE.js → chunk-WXEFNFHT.js} +462 -192
- package/dist/index.d.mts +12 -6
- package/dist/index.d.ts +12 -6
- package/dist/index.js +46 -17
- package/dist/index.mjs +35 -6
- package/dist/{runtime-CJVwSgr6.d.ts → runtime-BOHwdAGE.d.ts} +75 -6
- package/dist/{runtime-Ca41jw8q.d.mts → runtime-CFoct1Bt.d.mts} +75 -6
- package/dist/runtime.d.mts +2 -2
- package/dist/runtime.d.ts +2 -2
- package/dist/runtime.js +4 -2
- package/dist/runtime.mjs +3 -1
- package/dist/validation/validators.d.mts +1 -1
- package/dist/validation/validators.d.ts +1 -1
- package/dist/{validators-DEfgr14O.d.ts → validators-BxPuQ2GT.d.ts} +12 -1
- package/dist/{validators-CzHCpxVj.d.mts → validators-DUB0tEzp.d.mts} +12 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -65,6 +65,7 @@ import {
|
|
|
65
65
|
ListViewBuilder,
|
|
66
66
|
ListViewTabConfigBuilder,
|
|
67
67
|
MaxDepthExceededError,
|
|
68
|
+
NON_SORTABLE_TYPES,
|
|
68
69
|
NodePositionSchema,
|
|
69
70
|
NoopCacheAdapter,
|
|
70
71
|
NoopGeocodingAdapter,
|
|
@@ -102,6 +103,7 @@ import {
|
|
|
102
103
|
RollupService,
|
|
103
104
|
SHORTCUT_TO_FILTER_OPERATOR,
|
|
104
105
|
SIGNABLE_CONTRACT,
|
|
106
|
+
SORTABLE_ATTRIBUTE_TYPES,
|
|
105
107
|
SYSTEM_ATTRIBUTES,
|
|
106
108
|
SYSTEM_FIELD_NAMES,
|
|
107
109
|
SYSTEM_TEMPLATES,
|
|
@@ -241,6 +243,7 @@ import {
|
|
|
241
243
|
inValues,
|
|
242
244
|
inferInverseCardinality,
|
|
243
245
|
isAdvancedFormNode,
|
|
246
|
+
isAttributeSortable,
|
|
244
247
|
isBehaviorProperty,
|
|
245
248
|
isBilateralRelation,
|
|
246
249
|
isConditionGroup,
|
|
@@ -330,7 +333,7 @@ import {
|
|
|
330
333
|
withFeatureFlags,
|
|
331
334
|
withTenantContext,
|
|
332
335
|
workflow
|
|
333
|
-
} from "./chunk-
|
|
336
|
+
} from "./chunk-KQMGNSDK.mjs";
|
|
334
337
|
import {
|
|
335
338
|
asTenantId,
|
|
336
339
|
asUserId,
|
|
@@ -664,20 +667,23 @@ var BaseFlagBuilder = class {
|
|
|
664
667
|
* Set custom allowed levels.
|
|
665
668
|
*/
|
|
666
669
|
allowedLevels(levels) {
|
|
667
|
-
this.flag.allowedLevels = levels;
|
|
670
|
+
this.flag.allowedLevels = [...levels];
|
|
668
671
|
return this;
|
|
669
672
|
}
|
|
670
673
|
/**
|
|
671
674
|
* Build the flag definition.
|
|
672
|
-
* @throws {Error} If label is not set
|
|
675
|
+
* @throws {Error} If label is not set or is whitespace-only
|
|
673
676
|
*/
|
|
674
677
|
build() {
|
|
675
|
-
if (!this.flag.label) {
|
|
678
|
+
if (!this.flag.label?.trim()) {
|
|
676
679
|
throw new Error(
|
|
677
680
|
`Flag "${this.flag.name}" must have a label. Use .label("Human-readable label").`
|
|
678
681
|
);
|
|
679
682
|
}
|
|
680
|
-
return
|
|
683
|
+
return {
|
|
684
|
+
...this.flag,
|
|
685
|
+
allowedLevels: [...this.flag.allowedLevels || []]
|
|
686
|
+
};
|
|
681
687
|
}
|
|
682
688
|
};
|
|
683
689
|
var BooleanFlagBuilder = class extends BaseFlagBuilder {
|
|
@@ -772,14 +778,34 @@ var FlagRegistry = class {
|
|
|
772
778
|
if (this.flags.has(flag.name)) {
|
|
773
779
|
throw new Error(`Flag "${flag.name}" is already registered. Each flag name must be unique.`);
|
|
774
780
|
}
|
|
775
|
-
|
|
781
|
+
const cloned = {
|
|
782
|
+
...flag,
|
|
783
|
+
allowedLevels: [...flag.allowedLevels]
|
|
784
|
+
};
|
|
785
|
+
this.flags.set(flag.name, cloned);
|
|
776
786
|
}
|
|
777
787
|
/**
|
|
778
788
|
* Register multiple flags at once.
|
|
789
|
+
* This operation is atomic - either all flags are registered or none are.
|
|
779
790
|
*
|
|
780
791
|
* @param flags - Array of flag definitions to register
|
|
792
|
+
* @throws {Error} If any flag name conflicts with existing or duplicate within batch
|
|
781
793
|
*/
|
|
782
794
|
registerAll(flags) {
|
|
795
|
+
const seenNames = /* @__PURE__ */ new Set();
|
|
796
|
+
for (const flag of flags) {
|
|
797
|
+
if (this.flags.has(flag.name)) {
|
|
798
|
+
throw new Error(
|
|
799
|
+
`Flag "${flag.name}" is already registered. Each flag name must be unique.`
|
|
800
|
+
);
|
|
801
|
+
}
|
|
802
|
+
if (seenNames.has(flag.name)) {
|
|
803
|
+
throw new Error(
|
|
804
|
+
`Flag "${flag.name}" is already registered. Each flag name must be unique.`
|
|
805
|
+
);
|
|
806
|
+
}
|
|
807
|
+
seenNames.add(flag.name);
|
|
808
|
+
}
|
|
783
809
|
for (const flag of flags) {
|
|
784
810
|
this.register(flag);
|
|
785
811
|
}
|
|
@@ -1639,6 +1665,7 @@ export {
|
|
|
1639
1665
|
ListViewBuilder,
|
|
1640
1666
|
ListViewTabConfigBuilder,
|
|
1641
1667
|
MaxDepthExceededError,
|
|
1668
|
+
NON_SORTABLE_TYPES,
|
|
1642
1669
|
NO_VALUE_OPERATORS,
|
|
1643
1670
|
NodePositionSchema,
|
|
1644
1671
|
NoopCacheAdapter,
|
|
@@ -1678,6 +1705,7 @@ export {
|
|
|
1678
1705
|
RollupService,
|
|
1679
1706
|
SHORTCUT_TO_FILTER_OPERATOR,
|
|
1680
1707
|
SIGNABLE_CONTRACT,
|
|
1708
|
+
SORTABLE_ATTRIBUTE_TYPES,
|
|
1681
1709
|
SYSTEM_ATTRIBUTES,
|
|
1682
1710
|
SYSTEM_FIELD_NAMES,
|
|
1683
1711
|
SYSTEM_RESOURCES,
|
|
@@ -1874,6 +1902,7 @@ export {
|
|
|
1874
1902
|
isActivityTab,
|
|
1875
1903
|
isAdminRole,
|
|
1876
1904
|
isAdvancedFormNode,
|
|
1905
|
+
isAttributeSortable,
|
|
1877
1906
|
isBehaviorProperty,
|
|
1878
1907
|
isBilateralRelation,
|
|
1879
1908
|
isCalendarView,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a5 as Timestamps, A as Attribute, q as AttributeType, K as Location, Q as LocationGranularity, S as StatusAttribute, f as SelectAttribute, M as MultiselectAttribute, P as Phone, J as Currency, m as FormulaAttribute, o as RollupAttribute, a8 as CompletionStatus, a6 as SharingMode, a9 as ObjectRecord, r as ObjectDefinition, v as FeatureFlagsRepository, b1 as ValidationResult, ae as PropertySchema, i as RelationAttribute, n as FormulaReturnType } from './validators-BxPuQ2GT.js';
|
|
2
2
|
import { IconName, MimeType, ColorId, CountryIso3 } from '@stndrds/constants';
|
|
3
3
|
import { Uuid, TenantId, UserId } from './utils.js';
|
|
4
4
|
import { JWTPayload } from 'jose';
|
|
@@ -3134,7 +3134,7 @@ interface FieldGroup extends BaseGroup {
|
|
|
3134
3134
|
fields: Field[];
|
|
3135
3135
|
}
|
|
3136
3136
|
/**
|
|
3137
|
-
* Group that displays
|
|
3137
|
+
* Group that displays related records for a relation attribute
|
|
3138
3138
|
*/
|
|
3139
3139
|
interface RelationGroup extends BaseGroup {
|
|
3140
3140
|
type: "relation";
|
|
@@ -3999,6 +3999,8 @@ interface ListOptions {
|
|
|
3999
3999
|
*/
|
|
4000
4000
|
interface SearchOptions extends ListOptions {
|
|
4001
4001
|
highlight?: boolean;
|
|
4002
|
+
/** Attribute definitions for type-aware filter routing (date → timestamps, rest → raw values) */
|
|
4003
|
+
attributes?: Attribute[];
|
|
4002
4004
|
}
|
|
4003
4005
|
/**
|
|
4004
4006
|
* Global search options (standalone, not extending ListOptions)
|
|
@@ -4017,6 +4019,8 @@ interface GlobalSearchOptions {
|
|
|
4017
4019
|
interface GlobalSearchGroupedOptions {
|
|
4018
4020
|
objectNames?: string[];
|
|
4019
4021
|
limitPerGroup?: number;
|
|
4022
|
+
/** Max total results to fetch for grouping (default: 1000) */
|
|
4023
|
+
limit?: number;
|
|
4020
4024
|
}
|
|
4021
4025
|
/**
|
|
4022
4026
|
* Global search result item
|
|
@@ -5966,6 +5970,50 @@ interface RelationAttributesRepository {
|
|
|
5966
5970
|
deleteByTarget(toId: Uuid): Promise<void>;
|
|
5967
5971
|
}
|
|
5968
5972
|
|
|
5973
|
+
/** Attribute types that support sorting in search engines. */
|
|
5974
|
+
declare const SORTABLE_ATTRIBUTE_TYPES: ReadonlySet<string>;
|
|
5975
|
+
/**
|
|
5976
|
+
* Optional search adapter for external search engines (e.g., Meilisearch).
|
|
5977
|
+
*
|
|
5978
|
+
* When configured on DatabaseAdapter, services use it for search operations
|
|
5979
|
+
* with automatic fallback to PostgreSQL if unavailable.
|
|
5980
|
+
*/
|
|
5981
|
+
interface SearchAdapter {
|
|
5982
|
+
/** Global search across all object records for current tenant. */
|
|
5983
|
+
globalSearch(query: string, options?: GlobalSearchOptions): Promise<{
|
|
5984
|
+
results: GlobalSearchResultItem[];
|
|
5985
|
+
total: number;
|
|
5986
|
+
}>;
|
|
5987
|
+
/** Global search grouped by object type. */
|
|
5988
|
+
globalSearchGrouped(query: string, options?: GlobalSearchGroupedOptions): Promise<GlobalSearchGroupedResult>;
|
|
5989
|
+
/** Search records within a specific object. */
|
|
5990
|
+
searchRecords(objectId: Uuid, query: string, options?: SearchOptions): Promise<{
|
|
5991
|
+
records: ObjectRecord[];
|
|
5992
|
+
total: number;
|
|
5993
|
+
}>;
|
|
5994
|
+
/** Index a single record (after create/update/restore). */
|
|
5995
|
+
indexRecord(record: ObjectRecord, objectMeta: {
|
|
5996
|
+
objectName: string;
|
|
5997
|
+
objectLabel: string;
|
|
5998
|
+
attributes?: Attribute[];
|
|
5999
|
+
}): Promise<void>;
|
|
6000
|
+
/** Remove a record from the index (after delete). */
|
|
6001
|
+
removeRecord(recordId: string): Promise<void>;
|
|
6002
|
+
/** Bulk index multiple records. */
|
|
6003
|
+
bulkIndex(items: Array<{
|
|
6004
|
+
record: ObjectRecord;
|
|
6005
|
+
objectName: string;
|
|
6006
|
+
objectLabel: string;
|
|
6007
|
+
attributes?: Attribute[];
|
|
6008
|
+
}>): Promise<void>;
|
|
6009
|
+
/** Ensure indexes exist with correct settings. Called at app startup. */
|
|
6010
|
+
ensureIndexes(): Promise<void>;
|
|
6011
|
+
/** Health check for the search engine. */
|
|
6012
|
+
isHealthy(): Promise<boolean>;
|
|
6013
|
+
/** Get the number of indexed documents for the current tenant. */
|
|
6014
|
+
getDocumentCount(): Promise<number>;
|
|
6015
|
+
}
|
|
6016
|
+
|
|
5969
6017
|
/**
|
|
5970
6018
|
* File content type - supports various formats
|
|
5971
6019
|
* Use Uint8Array for cross-platform compatibility
|
|
@@ -6223,6 +6271,7 @@ interface DatabaseAdapter {
|
|
|
6223
6271
|
documentGenerationTemplates?: DocumentGenerationTemplatesRepository;
|
|
6224
6272
|
relationAttributes?: RelationAttributesRepository;
|
|
6225
6273
|
featureFlags?: FeatureFlagsRepository;
|
|
6274
|
+
search?: SearchAdapter;
|
|
6226
6275
|
transaction<T>(callback: (adapter: DatabaseAdapter) => Promise<T>): Promise<T>;
|
|
6227
6276
|
}
|
|
6228
6277
|
|
|
@@ -7681,6 +7730,11 @@ declare class RecordQueryService extends BaseService {
|
|
|
7681
7730
|
* Internal search query execution
|
|
7682
7731
|
*/
|
|
7683
7732
|
private executeSearchQuery;
|
|
7733
|
+
/**
|
|
7734
|
+
* Verify Meilisearch results against PostgreSQL and remove ghost records.
|
|
7735
|
+
* Fire-and-forget cleanup of records that no longer exist in PG.
|
|
7736
|
+
*/
|
|
7737
|
+
private healSearchResults;
|
|
7684
7738
|
}
|
|
7685
7739
|
|
|
7686
7740
|
/**
|
|
@@ -10091,13 +10145,18 @@ declare function extractRelationNames(expression: string): string[];
|
|
|
10091
10145
|
*/
|
|
10092
10146
|
declare function hasRelationReferences(expression: string): boolean;
|
|
10093
10147
|
/**
|
|
10094
|
-
*
|
|
10148
|
+
* Convert resolved relations into nested objects for formula evaluation
|
|
10149
|
+
*
|
|
10150
|
+
* expr-eval interprets `company.name` as property access on object `company`,
|
|
10151
|
+
* so we need to create nested objects that can be traversed.
|
|
10095
10152
|
*
|
|
10096
10153
|
* Converts: { company: { name: "Acme", id: "..." } }
|
|
10097
|
-
* To: {
|
|
10154
|
+
* To: { company: { name: "Acme", id: "..." } }
|
|
10155
|
+
*
|
|
10156
|
+
* (Passes through as-is since ResolvedRelations is already nested)
|
|
10098
10157
|
*
|
|
10099
10158
|
* @param resolvedRelations - Resolved relation values
|
|
10100
|
-
* @returns
|
|
10159
|
+
* @returns Nested objects for expr-eval property access
|
|
10101
10160
|
*/
|
|
10102
10161
|
declare function flattenRelationsForEval(resolvedRelations: ResolvedRelations): Record<string, unknown>;
|
|
10103
10162
|
/**
|
|
@@ -12291,6 +12350,16 @@ declare class GlobalSearchService extends BaseService {
|
|
|
12291
12350
|
* @returns Results grouped by object name with per-group totals
|
|
12292
12351
|
*/
|
|
12293
12352
|
searchGrouped(query: string, options?: GlobalSearchGroupedOptions): Promise<GlobalSearchGroupedResult>;
|
|
12353
|
+
/**
|
|
12354
|
+
* Verify Meilisearch results against PostgreSQL and remove ghost records.
|
|
12355
|
+
* GlobalSearchResultItem uses `recordId` (not `id`) as the record identifier.
|
|
12356
|
+
*/
|
|
12357
|
+
private healGlobalSearchResults;
|
|
12358
|
+
/**
|
|
12359
|
+
* Verify grouped Meilisearch results against PostgreSQL and remove ghost records.
|
|
12360
|
+
* Filters ghosts from each group and removes empty groups.
|
|
12361
|
+
*/
|
|
12362
|
+
private healGroupedSearchResults;
|
|
12294
12363
|
}
|
|
12295
12364
|
|
|
12296
12365
|
/**
|
|
@@ -12758,4 +12827,4 @@ interface FullSyncOptions extends SyncOptions, ViewSyncOptions {
|
|
|
12758
12827
|
*/
|
|
12759
12828
|
declare function syncAll(adapter: DatabaseAdapter, objectRegistry: typeof registry, nativeViewRegistry: typeof viewRegistry, options?: FullSyncOptions): Promise<FullSyncResult>;
|
|
12760
12829
|
|
|
12761
|
-
export { type AIToolCallStatus as $, type Action as A, type BoundingBox as B, type CreateMode as C, type DetailViewLayout as D, type SignerRequest as E, type Field as F, type Group as G, type SignaturePosition as H, type InferAttributeValue as I, type SignatureRequestResult as J, type SignatureStatusResult as K, type ListViewDefinition as L, type SignerStatus as M, type SignatureStatus as N, type OcrAdapter as O, type IdentityVerificationAdapter as P, type VerifyInput as Q, type RelationGroup as R, type SystemResource as S, type Tab as T, type VerificationResult as U, type ViewType as V, type WorkflowTheme as W, type DocumentData as X, type VerificationCheck as Y, type AIMessageRole as Z, type AIThinkingLevel as _, type AttributeGroupField as a, type UpdateProcessingJob as a$, type AIToolCall as a0, type AIChatMessagePartType as a1, type TextPartData as a2, type ToolPartData as a3, type ThinkingPartData as a4, type ReasoningPartData as a5, type AIChatMessagePart as a6, type AIChatMessage as a7, type AIQuestionType as a8, type AIQuestionOption as a9, type AuditListOptions as aA, type AuditServiceOptions as aB, type VariableMapping as aC, type PdfTemplateField as aD, type TemplateSource as aE, type DocumentGenerationTemplate as aF, type CreateDocumentGenerationTemplate as aG, type UpdateDocumentGenerationTemplate as aH, type PendingDocumentRequest as aI, type DocumentSlotDefinition as aJ, type DocumentAutoProcessing as aK, type ExtractionMapping as aL, type ExtractionField as aM, type Document as aN, type DocumentStatus as aO, type DocumentSlot as aP, type SlotStatus as aQ, type ProcessingJob as aR, type ProcessingJobType as aS, type ProcessingJobStatus as aT, type CreateDocument as aU, type UpdateDocument as aV, type CreateDocumentTemplate as aW, type UpdateDocumentTemplate as aX, type CreateDocumentSlot as aY, type UpdateDocumentSlot as aZ, type CreateProcessingJob as a_, type AIQuestion as aa, type AIQuestionAnswer as ab, type AIBatchQuestionOption as ac, type AIBatchQuestion as ad, type AIBatchQuestionAnswer as ae, type AITodoStatus as af, type AITodoItem as ag, type AITodoList as ah, type AIMessageAttachment 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 AIMemoryType as aq, type AIMemoryEntry as ar, type AITenantPersona as as, type AICompactionSummary 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 FieldGroup as b, type ExtractRecordUpdateStrict as b$, type DocumentListOptions as b0, type DocumentTemplateListOptions as b1, type StorageProvider as b2, type FileVisibility as b3, type File as b4, type CreateFile as b5, type UpdateFile as b6, type TextFilterOperator as b7, type NumberFilterOperator as b8, type CheckboxFilterOperator as b9, isFlowDefinition as bA, isFlowPublished as bB, isSystemFlow as bC, type GeocodingSuggestion as bD, type GeocodingAutocompleteParams as bE, type ReverseGeocodingParams as bF, type GeocodingParams as bG, type GeocodingAdapter as bH, NoopGeocodingAdapter as bI, type AttributeSchema as bJ, type InferRecordFromSchema as bK, type InferRecordWithRequirements as bL, type TypedAttribute as bM, type AttributeMap as bN, type AddAttribute as bO, type InferRecord as bP, type InferRecordInput as bQ, type InferRecordUpdate as bR, type CustomAttributeValue as bS, type WithCustomAttributes as bT, type RecordMetadata as bU, type SystemFields as bV, type ExtractRecord as bW, type ExtractRecordStrict as bX, type ExtractRecordInput as bY, type ExtractRecordInputStrict as bZ, type ExtractRecordUpdate as b_, type DateFilterOperator as ba, type SelectFilterOperator as bb, type MultiselectFilterOperator as bc, type RelationFilterOperator as bd, type FilterOperator as be, type RelativeDateValue as bf, type CurrencyFilterValue as bg, type PhoneFilterValue as bh, type FilterValue as bi, type FilterRule as bj, type ExtendedFilterRule as bk, type FilterCombinator as bl, type FilterGroup as bm, type AdvancedFilterState as bn, type SortDirection as bo, type QueryState as bp, OPERATORS_BY_TYPE as bq, type NoValueOperator as br, NO_VALUE_OPERATORS as bs, isNoValueOperator as bt, type FlowSlot as bu, type FlowRowField as bv, type FlowPage as bw, type FlowRelation as bx, type FlowStatus as by, type FlowDefinition as bz, type SidePanelConfig as c, isActivityTab as c$, type ExtractAttributes as c0, type TypedObjectRecord as c1, type ExtractObjectRecord as c2, type ExtractObjectRecordWithCustom as c3, type PermissionScope as c4, type ObjectAction as c5, type SystemAction as c6, type AccessLevel as c7, ALL_ACTIONS as c8, actionsToAccessLevel as c9, type ActivityTab as cA, type RichtextTab as cB, type FlowsTab as cC, type DocumentsTab as cD, type ListViewLayout as cE, type DetailViewConfig as cF, type CalendarViewConfig as cG, type TimelineViewConfig as cH, type GalleryViewConfig as cI, type ViewConfig as cJ, type CalendarViewDefinition as cK, type TimelineViewDefinition as cL, type GalleryViewDefinition as cM, type ConfigOverrides as cN, type ViewOverlay as cO, isDetailView as cP, isListView as cQ, isCalendarView as cR, isTimelineView as cS, isGalleryView as cT, isFieldGroup as cU, isRelationGroup as cV, isFormTab as cW, isTableTab as cX, isRelationSourceTab as cY, isInverseSourceTab as cZ, isCustomTab as c_, accessLevelToActions as ca, type Role as cb, type Permission as cc, type UserRoleAssignment as cd, type EffectivePermissions as ce, type ObjectPermissions as cf, type SystemPermissions as cg, type CreateRoleInput as ch, type UpdateRoleInput as ci, type CreatePermissionInput as cj, type AssignRoleInput as ck, type PolicyContext as cl, type RecordPolicy as cm, PolicyViolationError as cn, type UserStatus as co, type UserProfile as cp, type CreateUserProfile as cq, type UpdateUserProfile as cr, type InviteUserInput as cs, type TabType as ct, type FormDensity as cu, type FormTab as cv, type RelationSource as cw, type InverseSource as cx, type TableSource as cy, type CustomTab as cz, type DetailViewDefinition as d, type FormFieldContext as d$, isRichtextTab as d0, isFlowsTab as d1, isDocumentsTab as d2, type ConditionNode as d3, type DocumentNode as d4, type EndNode as d5, type FormFieldRef as d6, type FormNode as d7, type StartNode as d8, type WorkflowNodeType as d9, type WorkflowError as dA, type WorkflowInstance as dB, type WorkflowTransition as dC, canResumeInstance as dD, createStartTransition as dE, isInstanceTerminal as dF, isInstanceWaiting as dG, type CreateInvitationInput as dH, type CreateInvitationResult as dI, type InvitationStatus as dJ, type WorkflowInvitation as dK, isInvitationAccepted as dL, isInvitationExpired as dM, isInvitationValid as dN, type CreateGrantInput as dO, type WorkflowAccessGrant as dP, canAccessNode as dQ, isGrantExpired as dR, isGrantRevoked as dS, isGrantValid as dT, isTokenRevoked as dU, type GeneratedDocument as dV, type WorkflowExecutionContext as dW, createEmptyContext as dX, getContextValue as dY, setContextValue as dZ, type FormContextResponse as d_, getNodeOutputs as da, isAdvancedFormNode as db, isConditionNode as dc, isDocumentNode as dd, isEndNode as de, isFormNode as df, isSimpleFormNode as dg, isStartNode as dh, type ConditionOperator as di, and as dj, eq as dk, inValues as dl, isConditionGroup as dm, isConditionRule as dn, neq as dp, or as dq, type CanvasViewport as dr, type NodePosition as ds, type WorkflowLayout as dt, type WorkflowSlot as du, type WorkflowStatus as dv, isSystemWorkflow as dw, isWorkflowDefinition as dx, isWorkflowPublished as dy, type PendingAction as dz, type InstanceStatus as e, addSchemaToContext as e$, type FormFieldRow as e0, type FormNodeInfo as e1, type ReadOnlyReason as e2, type WorkflowAccessMode as e3, type ThemeColors as e4, type ThemeLogo as e5, type ThemeTypography as e6, DEFAULT_THEME as e7, generateCssVariables as e8, mergeWithDefaults as e9, type RegistryMap as eA, type RegistryObjectNames as eB, type ShortcutOperator as eC, createDefaultState as eD, formatRecord as eE, formatRecords as eF, QueryMultipleResultsError as eG, QueryNoResultError as eH, SHORTCUT_TO_FILTER_OPERATOR as eI, createQueryBuilder as eJ, QueryBuilder as eK, type QueryBuilderOptions as eL, type EvaluationResult as eM, type EvaluationTrace as eN, evaluateCondition as eO, evaluate as eP, evaluateWithTrace as eQ, TenantContextError as eR, FeatureFlagsContextError as eS, getFeatureFlags as eT, getFeatureValue as eU, hasFeatureFlagsContext as eV, isFeatureEnabled as eW, runWithFeatureFlags as eX, tryGetFeatureValue as eY, withFeatureFlags as eZ, type FeatureFlagsContext as e_, registry as ea, viewRegistry as eb, type ViewOverlaysRepository as ec, type RelationAttributeInput as ed, type RelationAttributeRow as ee, type RelationAttributesRepository as ef, type DatabaseAdapter as eg, WorkflowJwtService as eh, type JwtVerificationResult as ei, type MagicLinkPayload as ej, type WorkflowAccessPayload as ek, type WorkflowJwtConfig as el, type WorkflowJwtPayload as em, type CacheKeyType as en, hashOptions as eo, type CacheAdapter as ep, type CacheOptions as eq, cacheKeys as er, cacheTtl as es, defaultTtl as et, NoopCacheAdapter as eu, type FetchResult as ev, type FormattedRecord as ew, type GroupedFetchResult as ex, type InsertOptions as ey, type QueryBuilderState as ez, type TableTab as f, type AttributeChange as f$, getSchemaByNameFromContext as f0, getSchemaContext as f1, getSchemaFromContext as f2, hasSchemaContext as f3, runWithMergedSchemaContext as f4, runWithSchemaContext as f5, type SchemaContext as f6, getContext as f7, getTenantId as f8, getUserId as f9, evaluateFormulaWithRelations as fA, evaluateFormulaWithResult as fB, extractFormulaVariables as fC, extractRelationNames as fD, extractRelationReferences as fE, flattenRelationsForEval as fF, formatFormulaResult as fG, hasRelationReferences as fH, validateFormulaExpression as fI, type FormulaResult as fJ, getPathDepth as fK, getRelationPath as fL, getTargetAttributeName as fM, InvalidPathError as fN, MaxDepthExceededError as fO, parsePath as fP, pathHasManyCardinality as fQ, validatePath as fR, type PathCardinality as fS, type PathSegment as fT, type PathSegmentType as fU, type SchemaResolver as fV, resolveMultiplePaths as fW, resolveSingleValue as fX, traversePath as fY, type TraversalOptions as fZ, type TraversalResult as f_, hasContext as fa, runWithContext as fb, withTenantContext as fc, type TenantContext as fd, createDefaultExecutorRegistry as fe, getDefaultExecutorRegistry as ff, type ExecutorCompleteResult as fg, type ExecutorContext as fh, type ExecutorErrorResult as fi, type ExecutorResult as fj, type ExecutorSuccessResult as fk, type ExecutorWaitResult as fl, type NodeExecutor as fm, complete as fn, error as fo, ExecutorRegistry as fp, success as fq, wait as fr, ConditionExecutor as fs, DocumentExecutor as ft, EndExecutor as fu, FormExecutor as fv, StartExecutor as fw, evaluateFormula as fx, evaluateFormulaAttribute as fy, evaluateFormulaAttributeWithRelations as fz, type FilterState as g, FormulaResolverService as g$, type HookContext as g0, type HookDefinition as g1, type HookHandler as g2, type HookType as g3, NoopHookRegistry as g4, type HookRegistry as g5, createMockAdapter as g6, type MockStores as g7, defaultPolicyRegistry as g8, PolicyRegistry as g9, type AddAttributeInput as gA, type UpdateObjectInput as gB, type ObjectSchemaServiceOptions as gC, ObjectSchemaService as gD, type RecordServiceOptions as gE, RecordService as gF, type RecordQueryServiceOptions as gG, type QueryOptions as gH, type SearchQueryOptions as gI, type QueryResult as gJ, RecordQueryService as gK, type RelationValidationResult as gL, type RelationValidationError as gM, type RelationOption as gN, type RelationOptionsResponse as gO, type GetRelationOptionsParams as gP, type RelationServiceOptions as gQ, type ResolveIdsBatchRequest as gR, type ResolveIdsBatchResponse as gS, RelationService as gT, type MultiRelationValue as gU, type SingleRelationValue as gV, type HybridRelationValue as gW, RelationPropertiesService as gX, RecordResolverService as gY, type ResolvedRelations as gZ, type FormulaResolverServiceOptions as g_, type AIConversationsRepository as ga, type AIUsageMetricsRepository as gb, type AIUserMemoryRepository as gc, type AttributesRepository as gd, type AuditRepository as ge, type DocumentGenerationTemplateListOptions as gf, type DocumentGenerationTemplatesRepository as gg, type DocumentJobsRepository as gh, type DocumentSlotsRepository as gi, type DocumentsRepository as gj, type DocumentTemplatesRepository as gk, type FilesRepository as gl, type ObjectRecordsRepository as gm, type ObjectsRepository as gn, type PermissionsRepository as go, type UserProfilesRepository as gp, type ViewsRepository as gq, type WorkflowAccessGrantsRepository as gr, type WorkflowInstancesRepository as gs, type WorkflowInvitationsRepository as gt, type WorkflowsRepository as gu, BaseService as gv, BaseRepository as gw, type SchemaContextAware as gx, SchemaContextAwareRepository as gy, type CreateCustomObjectInput as gz, type SortRule as h, StorageDownloadNotSupportedError as h$, type RollupResult as h0, type RollupServiceOptions as h1, RollupService as h2, type RollupSchedulerOptions as h3, RollupScheduler as h4, applyDefaultValues as h5, checkPermission as h6, getPolicy as h7, buildPolicyContext as h8, checkRecordAccess as h9, type InvitationServiceConfig as hA, InvitationNotFoundError as hB, InvitationExpiredError as hC, InvitationAlreadyAcceptedError as hD, InvitationRevokedError as hE, WorkflowInvitationService as hF, WorkflowRelationService as hG, type CreateWorkflowInput as hH, type UpdateWorkflowInput as hI, type WorkflowServiceOptions as hJ, WorkflowService as hK, type UserValidationResult as hL, type UserValidationError as hM, UserService as hN, type UserProfileServiceOptions as hO, UserProfileService as hP, AuditService as hQ, buildAuditChanges as hR, DocumentGenerationTemplateNotFoundError as hS, DocumentGenerationNotConfiguredError as hT, DocumentGenerationService as hU, type DocumentProcessingConfig as hV, DocumentProcessingService as hW, type RenderDocumentInput as hX, type DocumentRendererOptions as hY, type RenderDocumentResult as hZ, DocumentRenderError as h_, checkRecordModifyOrThrow as ha, checkRecordDeleteOrThrow as hb, checkSharedObjectWriteAccess as hc, computeLabel as hd, type LabelResolver as he, enrichWithFormulas as hf, enrichRecordsWithFormulas as hg, createContextForCreate as hh, createContextForUpdate as hi, createContextForDelete as hj, createContextForRestore as hk, recalculateParentRollups as hl, type RollupCascadeContext as hm, type DocumentProcessingHookOptions as hn, DocumentProcessingHook as ho, GrantNotFoundError as hp, GrantExpiredError as hq, GrantRevokedError as hr, TokenRevokedError as hs, type GrantServiceConfig as ht, type CreateGrantResult as hu, WorkflowAccessGrantService as hv, type StartWorkflowInput as hw, type ResumeWorkflowInput as hx, type WorkflowInstanceServiceOptions as hy, WorkflowInstanceService as hz, type WorkflowConfig as i, type DBViewOverlay as i$, DocumentRendererService as i0, DocumentTemplateService as i1, type RecordDocumentsResult as i2, type CreateRecordDocumentInput as i3, type CreateRecordDocumentResult as i4, type DocumentServiceOptions as i5, DocumentService as i6, type FileServiceOptions as i7, FileService as i8, GeocodingService as i9, isLabelExpression as iA, extractAttributeNames as iB, enrichValuesForDisplay as iC, enrichValuesWithSelectLabels as iD, extractRelationIds as iE, type RelationLabelResolver as iF, computeLabelWithRelations as iG, type DBObject as iH, type CreateDBObject as iI, type UpdateDBObject as iJ, type UpsertDBObject as iK, type DBAttribute as iL, type CreateDBAttribute as iM, type UpdateDBAttribute as iN, type UpsertDBAttribute as iO, type CreateObjectRecord as iP, type ListOptions as iQ, type SearchOptions as iR, type GlobalSearchOptions as iS, type GlobalSearchGroupedOptions as iT, type GlobalSearchResultItem as iU, type GlobalSearchGroupedResult as iV, type FileListOptions as iW, type DBView as iX, type CreateDBView as iY, type UpdateDBView as iZ, type UpsertDBView as i_, GlobalSearchService as ia, type PermissionServiceOptions as ib, PermissionService as ic, type CreateViewInput as id, type UpdateViewInput as ie, type GetViewsOptions as ig, type GetViewOptions as ih, ViewService as ii, type FileContent as ij, type StorageUploadInput as ik, type StorageUploadResult as il, type SignedUrlOptions as im, type StorageAdapter as io, type UploadFileInput as ip, type SyncResult as iq, type SyncOptions as ir, syncNativeObjects as is, verifyNativeObjectsSync as it, getSyncPreview as iu, type FullSyncResult as iv, type FullSyncOptions as iw, syncAll as ix, DEFAULT_LABEL_FALLBACK as iy, renderLabelExpression as iz, type SlotMode as j, type CreateDBViewOverlay as j0, type UpdateDBViewOverlay as j1, type DBWorkflow as j2, type CreateDBWorkflow as j3, type UpdateDBWorkflow as j4, type DBWorkflowInstance as j5, type CreateDBWorkflowInstance as j6, type UpdateDBWorkflowInstance as j7, type DBWorkflowInvitation as j8, type CreateDBWorkflowInvitation as j9, type UpdateDBWorkflowInvitation as ja, type DBWorkflowAccessGrant as jb, type CreateDBWorkflowAccessGrant as jc, type UpdateDBWorkflowAccessGrant as jd, type OperationResult as je, type ViewSyncResult as jf, type ViewSyncLogger as jg, type ViewSyncOptions as jh, seedRegistryViews as ji, syncNativeViews as jj, verifyRegistryViewsSeeded as jk, verifyNativeViewsSync as jl, getViewSeedPreview as jm, getViewSyncPreview as jn, type ConditionGroup as k, type ConditionRule as l, type WorkflowNode as m, type WorkflowDefinition as n, type FlowRow as o, type ListViewConfig as p, type ListViewTab as q, type ViewDefinition as r, type DocumentTemplate as s, type OcrInput as t, type OcrOptions as u, type OcrResult as v, type OcrPage as w, type OcrTextBlock as x, type SignatureAdapter as y, type CreateSignatureInput as z };
|
|
12830
|
+
export { type AIToolCallStatus as $, type Action as A, type BoundingBox as B, type CreateMode as C, type DetailViewLayout as D, type SignerRequest as E, type Field as F, type Group as G, type SignaturePosition as H, type InferAttributeValue as I, type SignatureRequestResult as J, type SignatureStatusResult as K, type ListViewDefinition as L, type SignerStatus as M, type SignatureStatus as N, type OcrAdapter as O, type IdentityVerificationAdapter as P, type VerifyInput as Q, type RelationGroup as R, type SystemResource as S, type Tab as T, type VerificationResult as U, type ViewType as V, type WorkflowTheme as W, type DocumentData as X, type VerificationCheck as Y, type AIMessageRole as Z, type AIThinkingLevel as _, type AttributeGroupField as a, type UpdateProcessingJob as a$, type AIToolCall as a0, type AIChatMessagePartType as a1, type TextPartData as a2, type ToolPartData as a3, type ThinkingPartData as a4, type ReasoningPartData as a5, type AIChatMessagePart as a6, type AIChatMessage as a7, type AIQuestionType as a8, type AIQuestionOption as a9, type AuditListOptions as aA, type AuditServiceOptions as aB, type VariableMapping as aC, type PdfTemplateField as aD, type TemplateSource as aE, type DocumentGenerationTemplate as aF, type CreateDocumentGenerationTemplate as aG, type UpdateDocumentGenerationTemplate as aH, type PendingDocumentRequest as aI, type DocumentSlotDefinition as aJ, type DocumentAutoProcessing as aK, type ExtractionMapping as aL, type ExtractionField as aM, type Document as aN, type DocumentStatus as aO, type DocumentSlot as aP, type SlotStatus as aQ, type ProcessingJob as aR, type ProcessingJobType as aS, type ProcessingJobStatus as aT, type CreateDocument as aU, type UpdateDocument as aV, type CreateDocumentTemplate as aW, type UpdateDocumentTemplate as aX, type CreateDocumentSlot as aY, type UpdateDocumentSlot as aZ, type CreateProcessingJob as a_, type AIQuestion as aa, type AIQuestionAnswer as ab, type AIBatchQuestionOption as ac, type AIBatchQuestion as ad, type AIBatchQuestionAnswer as ae, type AITodoStatus as af, type AITodoItem as ag, type AITodoList as ah, type AIMessageAttachment 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 AIMemoryType as aq, type AIMemoryEntry as ar, type AITenantPersona as as, type AICompactionSummary 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 FieldGroup as b, type ExtractRecordUpdateStrict as b$, type DocumentListOptions as b0, type DocumentTemplateListOptions as b1, type StorageProvider as b2, type FileVisibility as b3, type File as b4, type CreateFile as b5, type UpdateFile as b6, type TextFilterOperator as b7, type NumberFilterOperator as b8, type CheckboxFilterOperator as b9, isFlowDefinition as bA, isFlowPublished as bB, isSystemFlow as bC, type GeocodingSuggestion as bD, type GeocodingAutocompleteParams as bE, type ReverseGeocodingParams as bF, type GeocodingParams as bG, type GeocodingAdapter as bH, NoopGeocodingAdapter as bI, type AttributeSchema as bJ, type InferRecordFromSchema as bK, type InferRecordWithRequirements as bL, type TypedAttribute as bM, type AttributeMap as bN, type AddAttribute as bO, type InferRecord as bP, type InferRecordInput as bQ, type InferRecordUpdate as bR, type CustomAttributeValue as bS, type WithCustomAttributes as bT, type RecordMetadata as bU, type SystemFields as bV, type ExtractRecord as bW, type ExtractRecordStrict as bX, type ExtractRecordInput as bY, type ExtractRecordInputStrict as bZ, type ExtractRecordUpdate as b_, type DateFilterOperator as ba, type SelectFilterOperator as bb, type MultiselectFilterOperator as bc, type RelationFilterOperator as bd, type FilterOperator as be, type RelativeDateValue as bf, type CurrencyFilterValue as bg, type PhoneFilterValue as bh, type FilterValue as bi, type FilterRule as bj, type ExtendedFilterRule as bk, type FilterCombinator as bl, type FilterGroup as bm, type AdvancedFilterState as bn, type SortDirection as bo, type QueryState as bp, OPERATORS_BY_TYPE as bq, type NoValueOperator as br, NO_VALUE_OPERATORS as bs, isNoValueOperator as bt, type FlowSlot as bu, type FlowRowField as bv, type FlowPage as bw, type FlowRelation as bx, type FlowStatus as by, type FlowDefinition as bz, type SidePanelConfig as c, isActivityTab as c$, type ExtractAttributes as c0, type TypedObjectRecord as c1, type ExtractObjectRecord as c2, type ExtractObjectRecordWithCustom as c3, type PermissionScope as c4, type ObjectAction as c5, type SystemAction as c6, type AccessLevel as c7, ALL_ACTIONS as c8, actionsToAccessLevel as c9, type ActivityTab as cA, type RichtextTab as cB, type FlowsTab as cC, type DocumentsTab as cD, type ListViewLayout as cE, type DetailViewConfig as cF, type CalendarViewConfig as cG, type TimelineViewConfig as cH, type GalleryViewConfig as cI, type ViewConfig as cJ, type CalendarViewDefinition as cK, type TimelineViewDefinition as cL, type GalleryViewDefinition as cM, type ConfigOverrides as cN, type ViewOverlay as cO, isDetailView as cP, isListView as cQ, isCalendarView as cR, isTimelineView as cS, isGalleryView as cT, isFieldGroup as cU, isRelationGroup as cV, isFormTab as cW, isTableTab as cX, isRelationSourceTab as cY, isInverseSourceTab as cZ, isCustomTab as c_, accessLevelToActions as ca, type Role as cb, type Permission as cc, type UserRoleAssignment as cd, type EffectivePermissions as ce, type ObjectPermissions as cf, type SystemPermissions as cg, type CreateRoleInput as ch, type UpdateRoleInput as ci, type CreatePermissionInput as cj, type AssignRoleInput as ck, type PolicyContext as cl, type RecordPolicy as cm, PolicyViolationError as cn, type UserStatus as co, type UserProfile as cp, type CreateUserProfile as cq, type UpdateUserProfile as cr, type InviteUserInput as cs, type TabType as ct, type FormDensity as cu, type FormTab as cv, type RelationSource as cw, type InverseSource as cx, type TableSource as cy, type CustomTab as cz, type DetailViewDefinition as d, type FormFieldContext as d$, isRichtextTab as d0, isFlowsTab as d1, isDocumentsTab as d2, type ConditionNode as d3, type DocumentNode as d4, type EndNode as d5, type FormFieldRef as d6, type FormNode as d7, type StartNode as d8, type WorkflowNodeType as d9, type WorkflowError as dA, type WorkflowInstance as dB, type WorkflowTransition as dC, canResumeInstance as dD, createStartTransition as dE, isInstanceTerminal as dF, isInstanceWaiting as dG, type CreateInvitationInput as dH, type CreateInvitationResult as dI, type InvitationStatus as dJ, type WorkflowInvitation as dK, isInvitationAccepted as dL, isInvitationExpired as dM, isInvitationValid as dN, type CreateGrantInput as dO, type WorkflowAccessGrant as dP, canAccessNode as dQ, isGrantExpired as dR, isGrantRevoked as dS, isGrantValid as dT, isTokenRevoked as dU, type GeneratedDocument as dV, type WorkflowExecutionContext as dW, createEmptyContext as dX, getContextValue as dY, setContextValue as dZ, type FormContextResponse as d_, getNodeOutputs as da, isAdvancedFormNode as db, isConditionNode as dc, isDocumentNode as dd, isEndNode as de, isFormNode as df, isSimpleFormNode as dg, isStartNode as dh, type ConditionOperator as di, and as dj, eq as dk, inValues as dl, isConditionGroup as dm, isConditionRule as dn, neq as dp, or as dq, type CanvasViewport as dr, type NodePosition as ds, type WorkflowLayout as dt, type WorkflowSlot as du, type WorkflowStatus as dv, isSystemWorkflow as dw, isWorkflowDefinition as dx, isWorkflowPublished as dy, type PendingAction as dz, type InstanceStatus as e, withFeatureFlags as e$, type FormFieldRow as e0, type FormNodeInfo as e1, type ReadOnlyReason as e2, type WorkflowAccessMode as e3, type ThemeColors as e4, type ThemeLogo as e5, type ThemeTypography as e6, DEFAULT_THEME as e7, generateCssVariables as e8, mergeWithDefaults as e9, type InsertOptions as eA, type QueryBuilderState as eB, type RegistryMap as eC, type RegistryObjectNames as eD, type ShortcutOperator as eE, createDefaultState as eF, formatRecord as eG, formatRecords as eH, QueryMultipleResultsError as eI, QueryNoResultError as eJ, SHORTCUT_TO_FILTER_OPERATOR as eK, createQueryBuilder as eL, QueryBuilder as eM, type QueryBuilderOptions as eN, type EvaluationResult as eO, type EvaluationTrace as eP, evaluateCondition as eQ, evaluate as eR, evaluateWithTrace as eS, TenantContextError as eT, FeatureFlagsContextError as eU, getFeatureFlags as eV, getFeatureValue as eW, hasFeatureFlagsContext as eX, isFeatureEnabled as eY, runWithFeatureFlags as eZ, tryGetFeatureValue as e_, registry as ea, viewRegistry as eb, type ViewOverlaysRepository as ec, type RelationAttributeInput as ed, type RelationAttributeRow as ee, type RelationAttributesRepository as ef, SORTABLE_ATTRIBUTE_TYPES as eg, type SearchAdapter as eh, type DatabaseAdapter as ei, WorkflowJwtService as ej, type JwtVerificationResult as ek, type MagicLinkPayload as el, type WorkflowAccessPayload as em, type WorkflowJwtConfig as en, type WorkflowJwtPayload as eo, type CacheKeyType as ep, hashOptions as eq, type CacheAdapter as er, type CacheOptions as es, cacheKeys as et, cacheTtl as eu, defaultTtl as ev, NoopCacheAdapter as ew, type FetchResult as ex, type FormattedRecord as ey, type GroupedFetchResult as ez, type TableTab as f, type TraversalOptions as f$, type FeatureFlagsContext as f0, addSchemaToContext as f1, getSchemaByNameFromContext as f2, getSchemaContext as f3, getSchemaFromContext as f4, hasSchemaContext as f5, runWithMergedSchemaContext as f6, runWithSchemaContext as f7, type SchemaContext as f8, getContext as f9, evaluateFormulaAttribute as fA, evaluateFormulaAttributeWithRelations as fB, evaluateFormulaWithRelations as fC, evaluateFormulaWithResult as fD, extractFormulaVariables as fE, extractRelationNames as fF, extractRelationReferences as fG, flattenRelationsForEval as fH, formatFormulaResult as fI, hasRelationReferences as fJ, validateFormulaExpression as fK, type FormulaResult as fL, getPathDepth as fM, getRelationPath as fN, getTargetAttributeName as fO, InvalidPathError as fP, MaxDepthExceededError as fQ, parsePath as fR, pathHasManyCardinality as fS, validatePath as fT, type PathCardinality as fU, type PathSegment as fV, type PathSegmentType as fW, type SchemaResolver as fX, resolveMultiplePaths as fY, resolveSingleValue as fZ, traversePath as f_, getTenantId as fa, getUserId as fb, hasContext as fc, runWithContext as fd, withTenantContext as fe, type TenantContext as ff, createDefaultExecutorRegistry as fg, getDefaultExecutorRegistry as fh, type ExecutorCompleteResult as fi, type ExecutorContext as fj, type ExecutorErrorResult as fk, type ExecutorResult as fl, type ExecutorSuccessResult as fm, type ExecutorWaitResult as fn, type NodeExecutor as fo, complete as fp, error as fq, ExecutorRegistry as fr, success as fs, wait as ft, ConditionExecutor as fu, DocumentExecutor as fv, EndExecutor as fw, FormExecutor as fx, StartExecutor as fy, evaluateFormula as fz, type FilterState as g, type ResolvedRelations as g$, type TraversalResult as g0, type AttributeChange as g1, type HookContext as g2, type HookDefinition as g3, type HookHandler as g4, type HookType as g5, NoopHookRegistry as g6, type HookRegistry as g7, createMockAdapter as g8, type MockStores as g9, SchemaContextAwareRepository as gA, type CreateCustomObjectInput as gB, type AddAttributeInput as gC, type UpdateObjectInput as gD, type ObjectSchemaServiceOptions as gE, ObjectSchemaService as gF, type RecordServiceOptions as gG, RecordService as gH, type RecordQueryServiceOptions as gI, type QueryOptions as gJ, type SearchQueryOptions as gK, type QueryResult as gL, RecordQueryService as gM, type RelationValidationResult as gN, type RelationValidationError as gO, type RelationOption as gP, type RelationOptionsResponse as gQ, type GetRelationOptionsParams as gR, type RelationServiceOptions as gS, type ResolveIdsBatchRequest as gT, type ResolveIdsBatchResponse as gU, RelationService as gV, type MultiRelationValue as gW, type SingleRelationValue as gX, type HybridRelationValue as gY, RelationPropertiesService as gZ, RecordResolverService as g_, defaultPolicyRegistry as ga, PolicyRegistry as gb, type AIConversationsRepository as gc, type AIUsageMetricsRepository as gd, type AIUserMemoryRepository as ge, type AttributesRepository as gf, type AuditRepository as gg, type DocumentGenerationTemplateListOptions as gh, type DocumentGenerationTemplatesRepository as gi, type DocumentJobsRepository as gj, type DocumentSlotsRepository as gk, type DocumentsRepository as gl, type DocumentTemplatesRepository as gm, type FilesRepository as gn, type ObjectRecordsRepository as go, type ObjectsRepository as gp, type PermissionsRepository as gq, type UserProfilesRepository as gr, type ViewsRepository as gs, type WorkflowAccessGrantsRepository as gt, type WorkflowInstancesRepository as gu, type WorkflowInvitationsRepository as gv, type WorkflowsRepository as gw, BaseService as gx, BaseRepository as gy, type SchemaContextAware as gz, type SortRule as h, type RenderDocumentResult as h$, type FormulaResolverServiceOptions as h0, FormulaResolverService as h1, type RollupResult as h2, type RollupServiceOptions as h3, RollupService as h4, type RollupSchedulerOptions as h5, RollupScheduler as h6, applyDefaultValues as h7, checkPermission as h8, getPolicy as h9, type WorkflowInstanceServiceOptions as hA, WorkflowInstanceService as hB, type InvitationServiceConfig as hC, InvitationNotFoundError as hD, InvitationExpiredError as hE, InvitationAlreadyAcceptedError as hF, InvitationRevokedError as hG, WorkflowInvitationService as hH, WorkflowRelationService as hI, type CreateWorkflowInput as hJ, type UpdateWorkflowInput as hK, type WorkflowServiceOptions as hL, WorkflowService as hM, type UserValidationResult as hN, type UserValidationError as hO, UserService as hP, type UserProfileServiceOptions as hQ, UserProfileService as hR, AuditService as hS, buildAuditChanges as hT, DocumentGenerationTemplateNotFoundError as hU, DocumentGenerationNotConfiguredError as hV, DocumentGenerationService as hW, type DocumentProcessingConfig as hX, DocumentProcessingService as hY, type RenderDocumentInput as hZ, type DocumentRendererOptions as h_, buildPolicyContext as ha, checkRecordAccess as hb, checkRecordModifyOrThrow as hc, checkRecordDeleteOrThrow as hd, checkSharedObjectWriteAccess as he, computeLabel as hf, type LabelResolver as hg, enrichWithFormulas as hh, enrichRecordsWithFormulas as hi, createContextForCreate as hj, createContextForUpdate as hk, createContextForDelete as hl, createContextForRestore as hm, recalculateParentRollups as hn, type RollupCascadeContext as ho, type DocumentProcessingHookOptions as hp, DocumentProcessingHook as hq, GrantNotFoundError as hr, GrantExpiredError as hs, GrantRevokedError as ht, TokenRevokedError as hu, type GrantServiceConfig as hv, type CreateGrantResult as hw, WorkflowAccessGrantService as hx, type StartWorkflowInput as hy, type ResumeWorkflowInput as hz, type WorkflowConfig as i, type UpdateDBView as i$, DocumentRenderError as i0, StorageDownloadNotSupportedError as i1, DocumentRendererService as i2, DocumentTemplateService as i3, type RecordDocumentsResult as i4, type CreateRecordDocumentInput as i5, type CreateRecordDocumentResult as i6, type DocumentServiceOptions as i7, DocumentService as i8, type FileServiceOptions as i9, DEFAULT_LABEL_FALLBACK as iA, renderLabelExpression as iB, isLabelExpression as iC, extractAttributeNames as iD, enrichValuesForDisplay as iE, enrichValuesWithSelectLabels as iF, extractRelationIds as iG, type RelationLabelResolver as iH, computeLabelWithRelations as iI, type DBObject as iJ, type CreateDBObject as iK, type UpdateDBObject as iL, type UpsertDBObject as iM, type DBAttribute as iN, type CreateDBAttribute as iO, type UpdateDBAttribute as iP, type UpsertDBAttribute as iQ, type CreateObjectRecord as iR, type ListOptions as iS, type SearchOptions as iT, type GlobalSearchOptions as iU, type GlobalSearchGroupedOptions as iV, type GlobalSearchResultItem as iW, type GlobalSearchGroupedResult as iX, type FileListOptions as iY, type DBView as iZ, type CreateDBView as i_, FileService as ia, GeocodingService as ib, GlobalSearchService as ic, type PermissionServiceOptions as id, PermissionService as ie, type CreateViewInput as ig, type UpdateViewInput as ih, type GetViewsOptions as ii, type GetViewOptions as ij, ViewService as ik, type FileContent as il, type StorageUploadInput as im, type StorageUploadResult as io, type SignedUrlOptions as ip, type StorageAdapter as iq, type UploadFileInput as ir, type SyncResult as is, type SyncOptions as it, syncNativeObjects as iu, verifyNativeObjectsSync as iv, getSyncPreview as iw, type FullSyncResult as ix, type FullSyncOptions as iy, syncAll as iz, type SlotMode as j, type UpsertDBView as j0, type DBViewOverlay as j1, type CreateDBViewOverlay as j2, type UpdateDBViewOverlay as j3, type DBWorkflow as j4, type CreateDBWorkflow as j5, type UpdateDBWorkflow as j6, type DBWorkflowInstance as j7, type CreateDBWorkflowInstance as j8, type UpdateDBWorkflowInstance as j9, type DBWorkflowInvitation as ja, type CreateDBWorkflowInvitation as jb, type UpdateDBWorkflowInvitation as jc, type DBWorkflowAccessGrant as jd, type CreateDBWorkflowAccessGrant as je, type UpdateDBWorkflowAccessGrant as jf, type OperationResult as jg, type ViewSyncResult as jh, type ViewSyncLogger as ji, type ViewSyncOptions as jj, seedRegistryViews as jk, syncNativeViews as jl, verifyRegistryViewsSeeded as jm, verifyNativeViewsSync as jn, getViewSeedPreview as jo, getViewSyncPreview as jp, type ConditionGroup as k, type ConditionRule as l, type WorkflowNode as m, type WorkflowDefinition as n, type FlowRow as o, type ListViewConfig as p, type ListViewTab as q, type ViewDefinition as r, type DocumentTemplate as s, type OcrInput as t, type OcrOptions as u, type OcrResult as v, type OcrPage as w, type OcrTextBlock as x, type SignatureAdapter as y, type CreateSignatureInput as z };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a5 as Timestamps, A as Attribute, q as AttributeType, K as Location, Q as LocationGranularity, S as StatusAttribute, f as SelectAttribute, M as MultiselectAttribute, P as Phone, J as Currency, m as FormulaAttribute, o as RollupAttribute, a8 as CompletionStatus, a6 as SharingMode, a9 as ObjectRecord, r as ObjectDefinition, v as FeatureFlagsRepository, b1 as ValidationResult, ae as PropertySchema, i as RelationAttribute, n as FormulaReturnType } from './validators-DUB0tEzp.mjs';
|
|
2
2
|
import { IconName, MimeType, ColorId, CountryIso3 } from '@stndrds/constants';
|
|
3
3
|
import { Uuid, TenantId, UserId } from './utils.mjs';
|
|
4
4
|
import { JWTPayload } from 'jose';
|
|
@@ -3134,7 +3134,7 @@ interface FieldGroup extends BaseGroup {
|
|
|
3134
3134
|
fields: Field[];
|
|
3135
3135
|
}
|
|
3136
3136
|
/**
|
|
3137
|
-
* Group that displays
|
|
3137
|
+
* Group that displays related records for a relation attribute
|
|
3138
3138
|
*/
|
|
3139
3139
|
interface RelationGroup extends BaseGroup {
|
|
3140
3140
|
type: "relation";
|
|
@@ -3999,6 +3999,8 @@ interface ListOptions {
|
|
|
3999
3999
|
*/
|
|
4000
4000
|
interface SearchOptions extends ListOptions {
|
|
4001
4001
|
highlight?: boolean;
|
|
4002
|
+
/** Attribute definitions for type-aware filter routing (date → timestamps, rest → raw values) */
|
|
4003
|
+
attributes?: Attribute[];
|
|
4002
4004
|
}
|
|
4003
4005
|
/**
|
|
4004
4006
|
* Global search options (standalone, not extending ListOptions)
|
|
@@ -4017,6 +4019,8 @@ interface GlobalSearchOptions {
|
|
|
4017
4019
|
interface GlobalSearchGroupedOptions {
|
|
4018
4020
|
objectNames?: string[];
|
|
4019
4021
|
limitPerGroup?: number;
|
|
4022
|
+
/** Max total results to fetch for grouping (default: 1000) */
|
|
4023
|
+
limit?: number;
|
|
4020
4024
|
}
|
|
4021
4025
|
/**
|
|
4022
4026
|
* Global search result item
|
|
@@ -5966,6 +5970,50 @@ interface RelationAttributesRepository {
|
|
|
5966
5970
|
deleteByTarget(toId: Uuid): Promise<void>;
|
|
5967
5971
|
}
|
|
5968
5972
|
|
|
5973
|
+
/** Attribute types that support sorting in search engines. */
|
|
5974
|
+
declare const SORTABLE_ATTRIBUTE_TYPES: ReadonlySet<string>;
|
|
5975
|
+
/**
|
|
5976
|
+
* Optional search adapter for external search engines (e.g., Meilisearch).
|
|
5977
|
+
*
|
|
5978
|
+
* When configured on DatabaseAdapter, services use it for search operations
|
|
5979
|
+
* with automatic fallback to PostgreSQL if unavailable.
|
|
5980
|
+
*/
|
|
5981
|
+
interface SearchAdapter {
|
|
5982
|
+
/** Global search across all object records for current tenant. */
|
|
5983
|
+
globalSearch(query: string, options?: GlobalSearchOptions): Promise<{
|
|
5984
|
+
results: GlobalSearchResultItem[];
|
|
5985
|
+
total: number;
|
|
5986
|
+
}>;
|
|
5987
|
+
/** Global search grouped by object type. */
|
|
5988
|
+
globalSearchGrouped(query: string, options?: GlobalSearchGroupedOptions): Promise<GlobalSearchGroupedResult>;
|
|
5989
|
+
/** Search records within a specific object. */
|
|
5990
|
+
searchRecords(objectId: Uuid, query: string, options?: SearchOptions): Promise<{
|
|
5991
|
+
records: ObjectRecord[];
|
|
5992
|
+
total: number;
|
|
5993
|
+
}>;
|
|
5994
|
+
/** Index a single record (after create/update/restore). */
|
|
5995
|
+
indexRecord(record: ObjectRecord, objectMeta: {
|
|
5996
|
+
objectName: string;
|
|
5997
|
+
objectLabel: string;
|
|
5998
|
+
attributes?: Attribute[];
|
|
5999
|
+
}): Promise<void>;
|
|
6000
|
+
/** Remove a record from the index (after delete). */
|
|
6001
|
+
removeRecord(recordId: string): Promise<void>;
|
|
6002
|
+
/** Bulk index multiple records. */
|
|
6003
|
+
bulkIndex(items: Array<{
|
|
6004
|
+
record: ObjectRecord;
|
|
6005
|
+
objectName: string;
|
|
6006
|
+
objectLabel: string;
|
|
6007
|
+
attributes?: Attribute[];
|
|
6008
|
+
}>): Promise<void>;
|
|
6009
|
+
/** Ensure indexes exist with correct settings. Called at app startup. */
|
|
6010
|
+
ensureIndexes(): Promise<void>;
|
|
6011
|
+
/** Health check for the search engine. */
|
|
6012
|
+
isHealthy(): Promise<boolean>;
|
|
6013
|
+
/** Get the number of indexed documents for the current tenant. */
|
|
6014
|
+
getDocumentCount(): Promise<number>;
|
|
6015
|
+
}
|
|
6016
|
+
|
|
5969
6017
|
/**
|
|
5970
6018
|
* File content type - supports various formats
|
|
5971
6019
|
* Use Uint8Array for cross-platform compatibility
|
|
@@ -6223,6 +6271,7 @@ interface DatabaseAdapter {
|
|
|
6223
6271
|
documentGenerationTemplates?: DocumentGenerationTemplatesRepository;
|
|
6224
6272
|
relationAttributes?: RelationAttributesRepository;
|
|
6225
6273
|
featureFlags?: FeatureFlagsRepository;
|
|
6274
|
+
search?: SearchAdapter;
|
|
6226
6275
|
transaction<T>(callback: (adapter: DatabaseAdapter) => Promise<T>): Promise<T>;
|
|
6227
6276
|
}
|
|
6228
6277
|
|
|
@@ -7681,6 +7730,11 @@ declare class RecordQueryService extends BaseService {
|
|
|
7681
7730
|
* Internal search query execution
|
|
7682
7731
|
*/
|
|
7683
7732
|
private executeSearchQuery;
|
|
7733
|
+
/**
|
|
7734
|
+
* Verify Meilisearch results against PostgreSQL and remove ghost records.
|
|
7735
|
+
* Fire-and-forget cleanup of records that no longer exist in PG.
|
|
7736
|
+
*/
|
|
7737
|
+
private healSearchResults;
|
|
7684
7738
|
}
|
|
7685
7739
|
|
|
7686
7740
|
/**
|
|
@@ -10091,13 +10145,18 @@ declare function extractRelationNames(expression: string): string[];
|
|
|
10091
10145
|
*/
|
|
10092
10146
|
declare function hasRelationReferences(expression: string): boolean;
|
|
10093
10147
|
/**
|
|
10094
|
-
*
|
|
10148
|
+
* Convert resolved relations into nested objects for formula evaluation
|
|
10149
|
+
*
|
|
10150
|
+
* expr-eval interprets `company.name` as property access on object `company`,
|
|
10151
|
+
* so we need to create nested objects that can be traversed.
|
|
10095
10152
|
*
|
|
10096
10153
|
* Converts: { company: { name: "Acme", id: "..." } }
|
|
10097
|
-
* To: {
|
|
10154
|
+
* To: { company: { name: "Acme", id: "..." } }
|
|
10155
|
+
*
|
|
10156
|
+
* (Passes through as-is since ResolvedRelations is already nested)
|
|
10098
10157
|
*
|
|
10099
10158
|
* @param resolvedRelations - Resolved relation values
|
|
10100
|
-
* @returns
|
|
10159
|
+
* @returns Nested objects for expr-eval property access
|
|
10101
10160
|
*/
|
|
10102
10161
|
declare function flattenRelationsForEval(resolvedRelations: ResolvedRelations): Record<string, unknown>;
|
|
10103
10162
|
/**
|
|
@@ -12291,6 +12350,16 @@ declare class GlobalSearchService extends BaseService {
|
|
|
12291
12350
|
* @returns Results grouped by object name with per-group totals
|
|
12292
12351
|
*/
|
|
12293
12352
|
searchGrouped(query: string, options?: GlobalSearchGroupedOptions): Promise<GlobalSearchGroupedResult>;
|
|
12353
|
+
/**
|
|
12354
|
+
* Verify Meilisearch results against PostgreSQL and remove ghost records.
|
|
12355
|
+
* GlobalSearchResultItem uses `recordId` (not `id`) as the record identifier.
|
|
12356
|
+
*/
|
|
12357
|
+
private healGlobalSearchResults;
|
|
12358
|
+
/**
|
|
12359
|
+
* Verify grouped Meilisearch results against PostgreSQL and remove ghost records.
|
|
12360
|
+
* Filters ghosts from each group and removes empty groups.
|
|
12361
|
+
*/
|
|
12362
|
+
private healGroupedSearchResults;
|
|
12294
12363
|
}
|
|
12295
12364
|
|
|
12296
12365
|
/**
|
|
@@ -12758,4 +12827,4 @@ interface FullSyncOptions extends SyncOptions, ViewSyncOptions {
|
|
|
12758
12827
|
*/
|
|
12759
12828
|
declare function syncAll(adapter: DatabaseAdapter, objectRegistry: typeof registry, nativeViewRegistry: typeof viewRegistry, options?: FullSyncOptions): Promise<FullSyncResult>;
|
|
12760
12829
|
|
|
12761
|
-
export { type AIToolCallStatus as $, type Action as A, type BoundingBox as B, type CreateMode as C, type DetailViewLayout as D, type SignerRequest as E, type Field as F, type Group as G, type SignaturePosition as H, type InferAttributeValue as I, type SignatureRequestResult as J, type SignatureStatusResult as K, type ListViewDefinition as L, type SignerStatus as M, type SignatureStatus as N, type OcrAdapter as O, type IdentityVerificationAdapter as P, type VerifyInput as Q, type RelationGroup as R, type SystemResource as S, type Tab as T, type VerificationResult as U, type ViewType as V, type WorkflowTheme as W, type DocumentData as X, type VerificationCheck as Y, type AIMessageRole as Z, type AIThinkingLevel as _, type AttributeGroupField as a, type UpdateProcessingJob as a$, type AIToolCall as a0, type AIChatMessagePartType as a1, type TextPartData as a2, type ToolPartData as a3, type ThinkingPartData as a4, type ReasoningPartData as a5, type AIChatMessagePart as a6, type AIChatMessage as a7, type AIQuestionType as a8, type AIQuestionOption as a9, type AuditListOptions as aA, type AuditServiceOptions as aB, type VariableMapping as aC, type PdfTemplateField as aD, type TemplateSource as aE, type DocumentGenerationTemplate as aF, type CreateDocumentGenerationTemplate as aG, type UpdateDocumentGenerationTemplate as aH, type PendingDocumentRequest as aI, type DocumentSlotDefinition as aJ, type DocumentAutoProcessing as aK, type ExtractionMapping as aL, type ExtractionField as aM, type Document as aN, type DocumentStatus as aO, type DocumentSlot as aP, type SlotStatus as aQ, type ProcessingJob as aR, type ProcessingJobType as aS, type ProcessingJobStatus as aT, type CreateDocument as aU, type UpdateDocument as aV, type CreateDocumentTemplate as aW, type UpdateDocumentTemplate as aX, type CreateDocumentSlot as aY, type UpdateDocumentSlot as aZ, type CreateProcessingJob as a_, type AIQuestion as aa, type AIQuestionAnswer as ab, type AIBatchQuestionOption as ac, type AIBatchQuestion as ad, type AIBatchQuestionAnswer as ae, type AITodoStatus as af, type AITodoItem as ag, type AITodoList as ah, type AIMessageAttachment 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 AIMemoryType as aq, type AIMemoryEntry as ar, type AITenantPersona as as, type AICompactionSummary 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 FieldGroup as b, type ExtractRecordUpdateStrict as b$, type DocumentListOptions as b0, type DocumentTemplateListOptions as b1, type StorageProvider as b2, type FileVisibility as b3, type File as b4, type CreateFile as b5, type UpdateFile as b6, type TextFilterOperator as b7, type NumberFilterOperator as b8, type CheckboxFilterOperator as b9, isFlowDefinition as bA, isFlowPublished as bB, isSystemFlow as bC, type GeocodingSuggestion as bD, type GeocodingAutocompleteParams as bE, type ReverseGeocodingParams as bF, type GeocodingParams as bG, type GeocodingAdapter as bH, NoopGeocodingAdapter as bI, type AttributeSchema as bJ, type InferRecordFromSchema as bK, type InferRecordWithRequirements as bL, type TypedAttribute as bM, type AttributeMap as bN, type AddAttribute as bO, type InferRecord as bP, type InferRecordInput as bQ, type InferRecordUpdate as bR, type CustomAttributeValue as bS, type WithCustomAttributes as bT, type RecordMetadata as bU, type SystemFields as bV, type ExtractRecord as bW, type ExtractRecordStrict as bX, type ExtractRecordInput as bY, type ExtractRecordInputStrict as bZ, type ExtractRecordUpdate as b_, type DateFilterOperator as ba, type SelectFilterOperator as bb, type MultiselectFilterOperator as bc, type RelationFilterOperator as bd, type FilterOperator as be, type RelativeDateValue as bf, type CurrencyFilterValue as bg, type PhoneFilterValue as bh, type FilterValue as bi, type FilterRule as bj, type ExtendedFilterRule as bk, type FilterCombinator as bl, type FilterGroup as bm, type AdvancedFilterState as bn, type SortDirection as bo, type QueryState as bp, OPERATORS_BY_TYPE as bq, type NoValueOperator as br, NO_VALUE_OPERATORS as bs, isNoValueOperator as bt, type FlowSlot as bu, type FlowRowField as bv, type FlowPage as bw, type FlowRelation as bx, type FlowStatus as by, type FlowDefinition as bz, type SidePanelConfig as c, isActivityTab as c$, type ExtractAttributes as c0, type TypedObjectRecord as c1, type ExtractObjectRecord as c2, type ExtractObjectRecordWithCustom as c3, type PermissionScope as c4, type ObjectAction as c5, type SystemAction as c6, type AccessLevel as c7, ALL_ACTIONS as c8, actionsToAccessLevel as c9, type ActivityTab as cA, type RichtextTab as cB, type FlowsTab as cC, type DocumentsTab as cD, type ListViewLayout as cE, type DetailViewConfig as cF, type CalendarViewConfig as cG, type TimelineViewConfig as cH, type GalleryViewConfig as cI, type ViewConfig as cJ, type CalendarViewDefinition as cK, type TimelineViewDefinition as cL, type GalleryViewDefinition as cM, type ConfigOverrides as cN, type ViewOverlay as cO, isDetailView as cP, isListView as cQ, isCalendarView as cR, isTimelineView as cS, isGalleryView as cT, isFieldGroup as cU, isRelationGroup as cV, isFormTab as cW, isTableTab as cX, isRelationSourceTab as cY, isInverseSourceTab as cZ, isCustomTab as c_, accessLevelToActions as ca, type Role as cb, type Permission as cc, type UserRoleAssignment as cd, type EffectivePermissions as ce, type ObjectPermissions as cf, type SystemPermissions as cg, type CreateRoleInput as ch, type UpdateRoleInput as ci, type CreatePermissionInput as cj, type AssignRoleInput as ck, type PolicyContext as cl, type RecordPolicy as cm, PolicyViolationError as cn, type UserStatus as co, type UserProfile as cp, type CreateUserProfile as cq, type UpdateUserProfile as cr, type InviteUserInput as cs, type TabType as ct, type FormDensity as cu, type FormTab as cv, type RelationSource as cw, type InverseSource as cx, type TableSource as cy, type CustomTab as cz, type DetailViewDefinition as d, type FormFieldContext as d$, isRichtextTab as d0, isFlowsTab as d1, isDocumentsTab as d2, type ConditionNode as d3, type DocumentNode as d4, type EndNode as d5, type FormFieldRef as d6, type FormNode as d7, type StartNode as d8, type WorkflowNodeType as d9, type WorkflowError as dA, type WorkflowInstance as dB, type WorkflowTransition as dC, canResumeInstance as dD, createStartTransition as dE, isInstanceTerminal as dF, isInstanceWaiting as dG, type CreateInvitationInput as dH, type CreateInvitationResult as dI, type InvitationStatus as dJ, type WorkflowInvitation as dK, isInvitationAccepted as dL, isInvitationExpired as dM, isInvitationValid as dN, type CreateGrantInput as dO, type WorkflowAccessGrant as dP, canAccessNode as dQ, isGrantExpired as dR, isGrantRevoked as dS, isGrantValid as dT, isTokenRevoked as dU, type GeneratedDocument as dV, type WorkflowExecutionContext as dW, createEmptyContext as dX, getContextValue as dY, setContextValue as dZ, type FormContextResponse as d_, getNodeOutputs as da, isAdvancedFormNode as db, isConditionNode as dc, isDocumentNode as dd, isEndNode as de, isFormNode as df, isSimpleFormNode as dg, isStartNode as dh, type ConditionOperator as di, and as dj, eq as dk, inValues as dl, isConditionGroup as dm, isConditionRule as dn, neq as dp, or as dq, type CanvasViewport as dr, type NodePosition as ds, type WorkflowLayout as dt, type WorkflowSlot as du, type WorkflowStatus as dv, isSystemWorkflow as dw, isWorkflowDefinition as dx, isWorkflowPublished as dy, type PendingAction as dz, type InstanceStatus as e, addSchemaToContext as e$, type FormFieldRow as e0, type FormNodeInfo as e1, type ReadOnlyReason as e2, type WorkflowAccessMode as e3, type ThemeColors as e4, type ThemeLogo as e5, type ThemeTypography as e6, DEFAULT_THEME as e7, generateCssVariables as e8, mergeWithDefaults as e9, type RegistryMap as eA, type RegistryObjectNames as eB, type ShortcutOperator as eC, createDefaultState as eD, formatRecord as eE, formatRecords as eF, QueryMultipleResultsError as eG, QueryNoResultError as eH, SHORTCUT_TO_FILTER_OPERATOR as eI, createQueryBuilder as eJ, QueryBuilder as eK, type QueryBuilderOptions as eL, type EvaluationResult as eM, type EvaluationTrace as eN, evaluateCondition as eO, evaluate as eP, evaluateWithTrace as eQ, TenantContextError as eR, FeatureFlagsContextError as eS, getFeatureFlags as eT, getFeatureValue as eU, hasFeatureFlagsContext as eV, isFeatureEnabled as eW, runWithFeatureFlags as eX, tryGetFeatureValue as eY, withFeatureFlags as eZ, type FeatureFlagsContext as e_, registry as ea, viewRegistry as eb, type ViewOverlaysRepository as ec, type RelationAttributeInput as ed, type RelationAttributeRow as ee, type RelationAttributesRepository as ef, type DatabaseAdapter as eg, WorkflowJwtService as eh, type JwtVerificationResult as ei, type MagicLinkPayload as ej, type WorkflowAccessPayload as ek, type WorkflowJwtConfig as el, type WorkflowJwtPayload as em, type CacheKeyType as en, hashOptions as eo, type CacheAdapter as ep, type CacheOptions as eq, cacheKeys as er, cacheTtl as es, defaultTtl as et, NoopCacheAdapter as eu, type FetchResult as ev, type FormattedRecord as ew, type GroupedFetchResult as ex, type InsertOptions as ey, type QueryBuilderState as ez, type TableTab as f, type AttributeChange as f$, getSchemaByNameFromContext as f0, getSchemaContext as f1, getSchemaFromContext as f2, hasSchemaContext as f3, runWithMergedSchemaContext as f4, runWithSchemaContext as f5, type SchemaContext as f6, getContext as f7, getTenantId as f8, getUserId as f9, evaluateFormulaWithRelations as fA, evaluateFormulaWithResult as fB, extractFormulaVariables as fC, extractRelationNames as fD, extractRelationReferences as fE, flattenRelationsForEval as fF, formatFormulaResult as fG, hasRelationReferences as fH, validateFormulaExpression as fI, type FormulaResult as fJ, getPathDepth as fK, getRelationPath as fL, getTargetAttributeName as fM, InvalidPathError as fN, MaxDepthExceededError as fO, parsePath as fP, pathHasManyCardinality as fQ, validatePath as fR, type PathCardinality as fS, type PathSegment as fT, type PathSegmentType as fU, type SchemaResolver as fV, resolveMultiplePaths as fW, resolveSingleValue as fX, traversePath as fY, type TraversalOptions as fZ, type TraversalResult as f_, hasContext as fa, runWithContext as fb, withTenantContext as fc, type TenantContext as fd, createDefaultExecutorRegistry as fe, getDefaultExecutorRegistry as ff, type ExecutorCompleteResult as fg, type ExecutorContext as fh, type ExecutorErrorResult as fi, type ExecutorResult as fj, type ExecutorSuccessResult as fk, type ExecutorWaitResult as fl, type NodeExecutor as fm, complete as fn, error as fo, ExecutorRegistry as fp, success as fq, wait as fr, ConditionExecutor as fs, DocumentExecutor as ft, EndExecutor as fu, FormExecutor as fv, StartExecutor as fw, evaluateFormula as fx, evaluateFormulaAttribute as fy, evaluateFormulaAttributeWithRelations as fz, type FilterState as g, FormulaResolverService as g$, type HookContext as g0, type HookDefinition as g1, type HookHandler as g2, type HookType as g3, NoopHookRegistry as g4, type HookRegistry as g5, createMockAdapter as g6, type MockStores as g7, defaultPolicyRegistry as g8, PolicyRegistry as g9, type AddAttributeInput as gA, type UpdateObjectInput as gB, type ObjectSchemaServiceOptions as gC, ObjectSchemaService as gD, type RecordServiceOptions as gE, RecordService as gF, type RecordQueryServiceOptions as gG, type QueryOptions as gH, type SearchQueryOptions as gI, type QueryResult as gJ, RecordQueryService as gK, type RelationValidationResult as gL, type RelationValidationError as gM, type RelationOption as gN, type RelationOptionsResponse as gO, type GetRelationOptionsParams as gP, type RelationServiceOptions as gQ, type ResolveIdsBatchRequest as gR, type ResolveIdsBatchResponse as gS, RelationService as gT, type MultiRelationValue as gU, type SingleRelationValue as gV, type HybridRelationValue as gW, RelationPropertiesService as gX, RecordResolverService as gY, type ResolvedRelations as gZ, type FormulaResolverServiceOptions as g_, type AIConversationsRepository as ga, type AIUsageMetricsRepository as gb, type AIUserMemoryRepository as gc, type AttributesRepository as gd, type AuditRepository as ge, type DocumentGenerationTemplateListOptions as gf, type DocumentGenerationTemplatesRepository as gg, type DocumentJobsRepository as gh, type DocumentSlotsRepository as gi, type DocumentsRepository as gj, type DocumentTemplatesRepository as gk, type FilesRepository as gl, type ObjectRecordsRepository as gm, type ObjectsRepository as gn, type PermissionsRepository as go, type UserProfilesRepository as gp, type ViewsRepository as gq, type WorkflowAccessGrantsRepository as gr, type WorkflowInstancesRepository as gs, type WorkflowInvitationsRepository as gt, type WorkflowsRepository as gu, BaseService as gv, BaseRepository as gw, type SchemaContextAware as gx, SchemaContextAwareRepository as gy, type CreateCustomObjectInput as gz, type SortRule as h, StorageDownloadNotSupportedError as h$, type RollupResult as h0, type RollupServiceOptions as h1, RollupService as h2, type RollupSchedulerOptions as h3, RollupScheduler as h4, applyDefaultValues as h5, checkPermission as h6, getPolicy as h7, buildPolicyContext as h8, checkRecordAccess as h9, type InvitationServiceConfig as hA, InvitationNotFoundError as hB, InvitationExpiredError as hC, InvitationAlreadyAcceptedError as hD, InvitationRevokedError as hE, WorkflowInvitationService as hF, WorkflowRelationService as hG, type CreateWorkflowInput as hH, type UpdateWorkflowInput as hI, type WorkflowServiceOptions as hJ, WorkflowService as hK, type UserValidationResult as hL, type UserValidationError as hM, UserService as hN, type UserProfileServiceOptions as hO, UserProfileService as hP, AuditService as hQ, buildAuditChanges as hR, DocumentGenerationTemplateNotFoundError as hS, DocumentGenerationNotConfiguredError as hT, DocumentGenerationService as hU, type DocumentProcessingConfig as hV, DocumentProcessingService as hW, type RenderDocumentInput as hX, type DocumentRendererOptions as hY, type RenderDocumentResult as hZ, DocumentRenderError as h_, checkRecordModifyOrThrow as ha, checkRecordDeleteOrThrow as hb, checkSharedObjectWriteAccess as hc, computeLabel as hd, type LabelResolver as he, enrichWithFormulas as hf, enrichRecordsWithFormulas as hg, createContextForCreate as hh, createContextForUpdate as hi, createContextForDelete as hj, createContextForRestore as hk, recalculateParentRollups as hl, type RollupCascadeContext as hm, type DocumentProcessingHookOptions as hn, DocumentProcessingHook as ho, GrantNotFoundError as hp, GrantExpiredError as hq, GrantRevokedError as hr, TokenRevokedError as hs, type GrantServiceConfig as ht, type CreateGrantResult as hu, WorkflowAccessGrantService as hv, type StartWorkflowInput as hw, type ResumeWorkflowInput as hx, type WorkflowInstanceServiceOptions as hy, WorkflowInstanceService as hz, type WorkflowConfig as i, type DBViewOverlay as i$, DocumentRendererService as i0, DocumentTemplateService as i1, type RecordDocumentsResult as i2, type CreateRecordDocumentInput as i3, type CreateRecordDocumentResult as i4, type DocumentServiceOptions as i5, DocumentService as i6, type FileServiceOptions as i7, FileService as i8, GeocodingService as i9, isLabelExpression as iA, extractAttributeNames as iB, enrichValuesForDisplay as iC, enrichValuesWithSelectLabels as iD, extractRelationIds as iE, type RelationLabelResolver as iF, computeLabelWithRelations as iG, type DBObject as iH, type CreateDBObject as iI, type UpdateDBObject as iJ, type UpsertDBObject as iK, type DBAttribute as iL, type CreateDBAttribute as iM, type UpdateDBAttribute as iN, type UpsertDBAttribute as iO, type CreateObjectRecord as iP, type ListOptions as iQ, type SearchOptions as iR, type GlobalSearchOptions as iS, type GlobalSearchGroupedOptions as iT, type GlobalSearchResultItem as iU, type GlobalSearchGroupedResult as iV, type FileListOptions as iW, type DBView as iX, type CreateDBView as iY, type UpdateDBView as iZ, type UpsertDBView as i_, GlobalSearchService as ia, type PermissionServiceOptions as ib, PermissionService as ic, type CreateViewInput as id, type UpdateViewInput as ie, type GetViewsOptions as ig, type GetViewOptions as ih, ViewService as ii, type FileContent as ij, type StorageUploadInput as ik, type StorageUploadResult as il, type SignedUrlOptions as im, type StorageAdapter as io, type UploadFileInput as ip, type SyncResult as iq, type SyncOptions as ir, syncNativeObjects as is, verifyNativeObjectsSync as it, getSyncPreview as iu, type FullSyncResult as iv, type FullSyncOptions as iw, syncAll as ix, DEFAULT_LABEL_FALLBACK as iy, renderLabelExpression as iz, type SlotMode as j, type CreateDBViewOverlay as j0, type UpdateDBViewOverlay as j1, type DBWorkflow as j2, type CreateDBWorkflow as j3, type UpdateDBWorkflow as j4, type DBWorkflowInstance as j5, type CreateDBWorkflowInstance as j6, type UpdateDBWorkflowInstance as j7, type DBWorkflowInvitation as j8, type CreateDBWorkflowInvitation as j9, type UpdateDBWorkflowInvitation as ja, type DBWorkflowAccessGrant as jb, type CreateDBWorkflowAccessGrant as jc, type UpdateDBWorkflowAccessGrant as jd, type OperationResult as je, type ViewSyncResult as jf, type ViewSyncLogger as jg, type ViewSyncOptions as jh, seedRegistryViews as ji, syncNativeViews as jj, verifyRegistryViewsSeeded as jk, verifyNativeViewsSync as jl, getViewSeedPreview as jm, getViewSyncPreview as jn, type ConditionGroup as k, type ConditionRule as l, type WorkflowNode as m, type WorkflowDefinition as n, type FlowRow as o, type ListViewConfig as p, type ListViewTab as q, type ViewDefinition as r, type DocumentTemplate as s, type OcrInput as t, type OcrOptions as u, type OcrResult as v, type OcrPage as w, type OcrTextBlock as x, type SignatureAdapter as y, type CreateSignatureInput as z };
|
|
12830
|
+
export { type AIToolCallStatus as $, type Action as A, type BoundingBox as B, type CreateMode as C, type DetailViewLayout as D, type SignerRequest as E, type Field as F, type Group as G, type SignaturePosition as H, type InferAttributeValue as I, type SignatureRequestResult as J, type SignatureStatusResult as K, type ListViewDefinition as L, type SignerStatus as M, type SignatureStatus as N, type OcrAdapter as O, type IdentityVerificationAdapter as P, type VerifyInput as Q, type RelationGroup as R, type SystemResource as S, type Tab as T, type VerificationResult as U, type ViewType as V, type WorkflowTheme as W, type DocumentData as X, type VerificationCheck as Y, type AIMessageRole as Z, type AIThinkingLevel as _, type AttributeGroupField as a, type UpdateProcessingJob as a$, type AIToolCall as a0, type AIChatMessagePartType as a1, type TextPartData as a2, type ToolPartData as a3, type ThinkingPartData as a4, type ReasoningPartData as a5, type AIChatMessagePart as a6, type AIChatMessage as a7, type AIQuestionType as a8, type AIQuestionOption as a9, type AuditListOptions as aA, type AuditServiceOptions as aB, type VariableMapping as aC, type PdfTemplateField as aD, type TemplateSource as aE, type DocumentGenerationTemplate as aF, type CreateDocumentGenerationTemplate as aG, type UpdateDocumentGenerationTemplate as aH, type PendingDocumentRequest as aI, type DocumentSlotDefinition as aJ, type DocumentAutoProcessing as aK, type ExtractionMapping as aL, type ExtractionField as aM, type Document as aN, type DocumentStatus as aO, type DocumentSlot as aP, type SlotStatus as aQ, type ProcessingJob as aR, type ProcessingJobType as aS, type ProcessingJobStatus as aT, type CreateDocument as aU, type UpdateDocument as aV, type CreateDocumentTemplate as aW, type UpdateDocumentTemplate as aX, type CreateDocumentSlot as aY, type UpdateDocumentSlot as aZ, type CreateProcessingJob as a_, type AIQuestion as aa, type AIQuestionAnswer as ab, type AIBatchQuestionOption as ac, type AIBatchQuestion as ad, type AIBatchQuestionAnswer as ae, type AITodoStatus as af, type AITodoItem as ag, type AITodoList as ah, type AIMessageAttachment 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 AIMemoryType as aq, type AIMemoryEntry as ar, type AITenantPersona as as, type AICompactionSummary 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 FieldGroup as b, type ExtractRecordUpdateStrict as b$, type DocumentListOptions as b0, type DocumentTemplateListOptions as b1, type StorageProvider as b2, type FileVisibility as b3, type File as b4, type CreateFile as b5, type UpdateFile as b6, type TextFilterOperator as b7, type NumberFilterOperator as b8, type CheckboxFilterOperator as b9, isFlowDefinition as bA, isFlowPublished as bB, isSystemFlow as bC, type GeocodingSuggestion as bD, type GeocodingAutocompleteParams as bE, type ReverseGeocodingParams as bF, type GeocodingParams as bG, type GeocodingAdapter as bH, NoopGeocodingAdapter as bI, type AttributeSchema as bJ, type InferRecordFromSchema as bK, type InferRecordWithRequirements as bL, type TypedAttribute as bM, type AttributeMap as bN, type AddAttribute as bO, type InferRecord as bP, type InferRecordInput as bQ, type InferRecordUpdate as bR, type CustomAttributeValue as bS, type WithCustomAttributes as bT, type RecordMetadata as bU, type SystemFields as bV, type ExtractRecord as bW, type ExtractRecordStrict as bX, type ExtractRecordInput as bY, type ExtractRecordInputStrict as bZ, type ExtractRecordUpdate as b_, type DateFilterOperator as ba, type SelectFilterOperator as bb, type MultiselectFilterOperator as bc, type RelationFilterOperator as bd, type FilterOperator as be, type RelativeDateValue as bf, type CurrencyFilterValue as bg, type PhoneFilterValue as bh, type FilterValue as bi, type FilterRule as bj, type ExtendedFilterRule as bk, type FilterCombinator as bl, type FilterGroup as bm, type AdvancedFilterState as bn, type SortDirection as bo, type QueryState as bp, OPERATORS_BY_TYPE as bq, type NoValueOperator as br, NO_VALUE_OPERATORS as bs, isNoValueOperator as bt, type FlowSlot as bu, type FlowRowField as bv, type FlowPage as bw, type FlowRelation as bx, type FlowStatus as by, type FlowDefinition as bz, type SidePanelConfig as c, isActivityTab as c$, type ExtractAttributes as c0, type TypedObjectRecord as c1, type ExtractObjectRecord as c2, type ExtractObjectRecordWithCustom as c3, type PermissionScope as c4, type ObjectAction as c5, type SystemAction as c6, type AccessLevel as c7, ALL_ACTIONS as c8, actionsToAccessLevel as c9, type ActivityTab as cA, type RichtextTab as cB, type FlowsTab as cC, type DocumentsTab as cD, type ListViewLayout as cE, type DetailViewConfig as cF, type CalendarViewConfig as cG, type TimelineViewConfig as cH, type GalleryViewConfig as cI, type ViewConfig as cJ, type CalendarViewDefinition as cK, type TimelineViewDefinition as cL, type GalleryViewDefinition as cM, type ConfigOverrides as cN, type ViewOverlay as cO, isDetailView as cP, isListView as cQ, isCalendarView as cR, isTimelineView as cS, isGalleryView as cT, isFieldGroup as cU, isRelationGroup as cV, isFormTab as cW, isTableTab as cX, isRelationSourceTab as cY, isInverseSourceTab as cZ, isCustomTab as c_, accessLevelToActions as ca, type Role as cb, type Permission as cc, type UserRoleAssignment as cd, type EffectivePermissions as ce, type ObjectPermissions as cf, type SystemPermissions as cg, type CreateRoleInput as ch, type UpdateRoleInput as ci, type CreatePermissionInput as cj, type AssignRoleInput as ck, type PolicyContext as cl, type RecordPolicy as cm, PolicyViolationError as cn, type UserStatus as co, type UserProfile as cp, type CreateUserProfile as cq, type UpdateUserProfile as cr, type InviteUserInput as cs, type TabType as ct, type FormDensity as cu, type FormTab as cv, type RelationSource as cw, type InverseSource as cx, type TableSource as cy, type CustomTab as cz, type DetailViewDefinition as d, type FormFieldContext as d$, isRichtextTab as d0, isFlowsTab as d1, isDocumentsTab as d2, type ConditionNode as d3, type DocumentNode as d4, type EndNode as d5, type FormFieldRef as d6, type FormNode as d7, type StartNode as d8, type WorkflowNodeType as d9, type WorkflowError as dA, type WorkflowInstance as dB, type WorkflowTransition as dC, canResumeInstance as dD, createStartTransition as dE, isInstanceTerminal as dF, isInstanceWaiting as dG, type CreateInvitationInput as dH, type CreateInvitationResult as dI, type InvitationStatus as dJ, type WorkflowInvitation as dK, isInvitationAccepted as dL, isInvitationExpired as dM, isInvitationValid as dN, type CreateGrantInput as dO, type WorkflowAccessGrant as dP, canAccessNode as dQ, isGrantExpired as dR, isGrantRevoked as dS, isGrantValid as dT, isTokenRevoked as dU, type GeneratedDocument as dV, type WorkflowExecutionContext as dW, createEmptyContext as dX, getContextValue as dY, setContextValue as dZ, type FormContextResponse as d_, getNodeOutputs as da, isAdvancedFormNode as db, isConditionNode as dc, isDocumentNode as dd, isEndNode as de, isFormNode as df, isSimpleFormNode as dg, isStartNode as dh, type ConditionOperator as di, and as dj, eq as dk, inValues as dl, isConditionGroup as dm, isConditionRule as dn, neq as dp, or as dq, type CanvasViewport as dr, type NodePosition as ds, type WorkflowLayout as dt, type WorkflowSlot as du, type WorkflowStatus as dv, isSystemWorkflow as dw, isWorkflowDefinition as dx, isWorkflowPublished as dy, type PendingAction as dz, type InstanceStatus as e, withFeatureFlags as e$, type FormFieldRow as e0, type FormNodeInfo as e1, type ReadOnlyReason as e2, type WorkflowAccessMode as e3, type ThemeColors as e4, type ThemeLogo as e5, type ThemeTypography as e6, DEFAULT_THEME as e7, generateCssVariables as e8, mergeWithDefaults as e9, type InsertOptions as eA, type QueryBuilderState as eB, type RegistryMap as eC, type RegistryObjectNames as eD, type ShortcutOperator as eE, createDefaultState as eF, formatRecord as eG, formatRecords as eH, QueryMultipleResultsError as eI, QueryNoResultError as eJ, SHORTCUT_TO_FILTER_OPERATOR as eK, createQueryBuilder as eL, QueryBuilder as eM, type QueryBuilderOptions as eN, type EvaluationResult as eO, type EvaluationTrace as eP, evaluateCondition as eQ, evaluate as eR, evaluateWithTrace as eS, TenantContextError as eT, FeatureFlagsContextError as eU, getFeatureFlags as eV, getFeatureValue as eW, hasFeatureFlagsContext as eX, isFeatureEnabled as eY, runWithFeatureFlags as eZ, tryGetFeatureValue as e_, registry as ea, viewRegistry as eb, type ViewOverlaysRepository as ec, type RelationAttributeInput as ed, type RelationAttributeRow as ee, type RelationAttributesRepository as ef, SORTABLE_ATTRIBUTE_TYPES as eg, type SearchAdapter as eh, type DatabaseAdapter as ei, WorkflowJwtService as ej, type JwtVerificationResult as ek, type MagicLinkPayload as el, type WorkflowAccessPayload as em, type WorkflowJwtConfig as en, type WorkflowJwtPayload as eo, type CacheKeyType as ep, hashOptions as eq, type CacheAdapter as er, type CacheOptions as es, cacheKeys as et, cacheTtl as eu, defaultTtl as ev, NoopCacheAdapter as ew, type FetchResult as ex, type FormattedRecord as ey, type GroupedFetchResult as ez, type TableTab as f, type TraversalOptions as f$, type FeatureFlagsContext as f0, addSchemaToContext as f1, getSchemaByNameFromContext as f2, getSchemaContext as f3, getSchemaFromContext as f4, hasSchemaContext as f5, runWithMergedSchemaContext as f6, runWithSchemaContext as f7, type SchemaContext as f8, getContext as f9, evaluateFormulaAttribute as fA, evaluateFormulaAttributeWithRelations as fB, evaluateFormulaWithRelations as fC, evaluateFormulaWithResult as fD, extractFormulaVariables as fE, extractRelationNames as fF, extractRelationReferences as fG, flattenRelationsForEval as fH, formatFormulaResult as fI, hasRelationReferences as fJ, validateFormulaExpression as fK, type FormulaResult as fL, getPathDepth as fM, getRelationPath as fN, getTargetAttributeName as fO, InvalidPathError as fP, MaxDepthExceededError as fQ, parsePath as fR, pathHasManyCardinality as fS, validatePath as fT, type PathCardinality as fU, type PathSegment as fV, type PathSegmentType as fW, type SchemaResolver as fX, resolveMultiplePaths as fY, resolveSingleValue as fZ, traversePath as f_, getTenantId as fa, getUserId as fb, hasContext as fc, runWithContext as fd, withTenantContext as fe, type TenantContext as ff, createDefaultExecutorRegistry as fg, getDefaultExecutorRegistry as fh, type ExecutorCompleteResult as fi, type ExecutorContext as fj, type ExecutorErrorResult as fk, type ExecutorResult as fl, type ExecutorSuccessResult as fm, type ExecutorWaitResult as fn, type NodeExecutor as fo, complete as fp, error as fq, ExecutorRegistry as fr, success as fs, wait as ft, ConditionExecutor as fu, DocumentExecutor as fv, EndExecutor as fw, FormExecutor as fx, StartExecutor as fy, evaluateFormula as fz, type FilterState as g, type ResolvedRelations as g$, type TraversalResult as g0, type AttributeChange as g1, type HookContext as g2, type HookDefinition as g3, type HookHandler as g4, type HookType as g5, NoopHookRegistry as g6, type HookRegistry as g7, createMockAdapter as g8, type MockStores as g9, SchemaContextAwareRepository as gA, type CreateCustomObjectInput as gB, type AddAttributeInput as gC, type UpdateObjectInput as gD, type ObjectSchemaServiceOptions as gE, ObjectSchemaService as gF, type RecordServiceOptions as gG, RecordService as gH, type RecordQueryServiceOptions as gI, type QueryOptions as gJ, type SearchQueryOptions as gK, type QueryResult as gL, RecordQueryService as gM, type RelationValidationResult as gN, type RelationValidationError as gO, type RelationOption as gP, type RelationOptionsResponse as gQ, type GetRelationOptionsParams as gR, type RelationServiceOptions as gS, type ResolveIdsBatchRequest as gT, type ResolveIdsBatchResponse as gU, RelationService as gV, type MultiRelationValue as gW, type SingleRelationValue as gX, type HybridRelationValue as gY, RelationPropertiesService as gZ, RecordResolverService as g_, defaultPolicyRegistry as ga, PolicyRegistry as gb, type AIConversationsRepository as gc, type AIUsageMetricsRepository as gd, type AIUserMemoryRepository as ge, type AttributesRepository as gf, type AuditRepository as gg, type DocumentGenerationTemplateListOptions as gh, type DocumentGenerationTemplatesRepository as gi, type DocumentJobsRepository as gj, type DocumentSlotsRepository as gk, type DocumentsRepository as gl, type DocumentTemplatesRepository as gm, type FilesRepository as gn, type ObjectRecordsRepository as go, type ObjectsRepository as gp, type PermissionsRepository as gq, type UserProfilesRepository as gr, type ViewsRepository as gs, type WorkflowAccessGrantsRepository as gt, type WorkflowInstancesRepository as gu, type WorkflowInvitationsRepository as gv, type WorkflowsRepository as gw, BaseService as gx, BaseRepository as gy, type SchemaContextAware as gz, type SortRule as h, type RenderDocumentResult as h$, type FormulaResolverServiceOptions as h0, FormulaResolverService as h1, type RollupResult as h2, type RollupServiceOptions as h3, RollupService as h4, type RollupSchedulerOptions as h5, RollupScheduler as h6, applyDefaultValues as h7, checkPermission as h8, getPolicy as h9, type WorkflowInstanceServiceOptions as hA, WorkflowInstanceService as hB, type InvitationServiceConfig as hC, InvitationNotFoundError as hD, InvitationExpiredError as hE, InvitationAlreadyAcceptedError as hF, InvitationRevokedError as hG, WorkflowInvitationService as hH, WorkflowRelationService as hI, type CreateWorkflowInput as hJ, type UpdateWorkflowInput as hK, type WorkflowServiceOptions as hL, WorkflowService as hM, type UserValidationResult as hN, type UserValidationError as hO, UserService as hP, type UserProfileServiceOptions as hQ, UserProfileService as hR, AuditService as hS, buildAuditChanges as hT, DocumentGenerationTemplateNotFoundError as hU, DocumentGenerationNotConfiguredError as hV, DocumentGenerationService as hW, type DocumentProcessingConfig as hX, DocumentProcessingService as hY, type RenderDocumentInput as hZ, type DocumentRendererOptions as h_, buildPolicyContext as ha, checkRecordAccess as hb, checkRecordModifyOrThrow as hc, checkRecordDeleteOrThrow as hd, checkSharedObjectWriteAccess as he, computeLabel as hf, type LabelResolver as hg, enrichWithFormulas as hh, enrichRecordsWithFormulas as hi, createContextForCreate as hj, createContextForUpdate as hk, createContextForDelete as hl, createContextForRestore as hm, recalculateParentRollups as hn, type RollupCascadeContext as ho, type DocumentProcessingHookOptions as hp, DocumentProcessingHook as hq, GrantNotFoundError as hr, GrantExpiredError as hs, GrantRevokedError as ht, TokenRevokedError as hu, type GrantServiceConfig as hv, type CreateGrantResult as hw, WorkflowAccessGrantService as hx, type StartWorkflowInput as hy, type ResumeWorkflowInput as hz, type WorkflowConfig as i, type UpdateDBView as i$, DocumentRenderError as i0, StorageDownloadNotSupportedError as i1, DocumentRendererService as i2, DocumentTemplateService as i3, type RecordDocumentsResult as i4, type CreateRecordDocumentInput as i5, type CreateRecordDocumentResult as i6, type DocumentServiceOptions as i7, DocumentService as i8, type FileServiceOptions as i9, DEFAULT_LABEL_FALLBACK as iA, renderLabelExpression as iB, isLabelExpression as iC, extractAttributeNames as iD, enrichValuesForDisplay as iE, enrichValuesWithSelectLabels as iF, extractRelationIds as iG, type RelationLabelResolver as iH, computeLabelWithRelations as iI, type DBObject as iJ, type CreateDBObject as iK, type UpdateDBObject as iL, type UpsertDBObject as iM, type DBAttribute as iN, type CreateDBAttribute as iO, type UpdateDBAttribute as iP, type UpsertDBAttribute as iQ, type CreateObjectRecord as iR, type ListOptions as iS, type SearchOptions as iT, type GlobalSearchOptions as iU, type GlobalSearchGroupedOptions as iV, type GlobalSearchResultItem as iW, type GlobalSearchGroupedResult as iX, type FileListOptions as iY, type DBView as iZ, type CreateDBView as i_, FileService as ia, GeocodingService as ib, GlobalSearchService as ic, type PermissionServiceOptions as id, PermissionService as ie, type CreateViewInput as ig, type UpdateViewInput as ih, type GetViewsOptions as ii, type GetViewOptions as ij, ViewService as ik, type FileContent as il, type StorageUploadInput as im, type StorageUploadResult as io, type SignedUrlOptions as ip, type StorageAdapter as iq, type UploadFileInput as ir, type SyncResult as is, type SyncOptions as it, syncNativeObjects as iu, verifyNativeObjectsSync as iv, getSyncPreview as iw, type FullSyncResult as ix, type FullSyncOptions as iy, syncAll as iz, type SlotMode as j, type UpsertDBView as j0, type DBViewOverlay as j1, type CreateDBViewOverlay as j2, type UpdateDBViewOverlay as j3, type DBWorkflow as j4, type CreateDBWorkflow as j5, type UpdateDBWorkflow as j6, type DBWorkflowInstance as j7, type CreateDBWorkflowInstance as j8, type UpdateDBWorkflowInstance as j9, type DBWorkflowInvitation as ja, type CreateDBWorkflowInvitation as jb, type UpdateDBWorkflowInvitation as jc, type DBWorkflowAccessGrant as jd, type CreateDBWorkflowAccessGrant as je, type UpdateDBWorkflowAccessGrant as jf, type OperationResult as jg, type ViewSyncResult as jh, type ViewSyncLogger as ji, type ViewSyncOptions as jj, seedRegistryViews as jk, syncNativeViews as jl, verifyRegistryViewsSeeded as jm, verifyNativeViewsSync as jn, getViewSeedPreview as jo, getViewSyncPreview as jp, type ConditionGroup as k, type ConditionRule as l, type WorkflowNode as m, type WorkflowDefinition as n, type FlowRow as o, type ListViewConfig as p, type ListViewTab as q, type ViewDefinition as r, type DocumentTemplate as s, type OcrInput as t, type OcrOptions as u, type OcrResult as v, type OcrPage as w, type OcrTextBlock as x, type SignatureAdapter as y, type CreateSignatureInput as z };
|
package/dist/runtime.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export {
|
|
1
|
+
export { gc as AIConversationsRepository, gd as AIUsageMetricsRepository, ge as AIUserMemoryRepository, gC as AddAttributeInput, g1 as AttributeChange, gf as AttributesRepository, gg as AuditRepository, hS as AuditService, gy as BaseRepository, gx as BaseService, er as CacheAdapter, ep as CacheKeyType, es as CacheOptions, fu as ConditionExecutor, gB as CreateCustomObjectInput, iO as CreateDBAttribute, iK as CreateDBObject, i_ as CreateDBView, j2 as CreateDBViewOverlay, j5 as CreateDBWorkflow, je as CreateDBWorkflowAccessGrant, j8 as CreateDBWorkflowInstance, jb as CreateDBWorkflowInvitation, hw as CreateGrantResult, iR as CreateObjectRecord, i5 as CreateRecordDocumentInput, i6 as CreateRecordDocumentResult, ig as CreateViewInput, hJ as CreateWorkflowInput, iN as DBAttribute, iJ as DBObject, iZ as DBView, j1 as DBViewOverlay, j4 as DBWorkflow, jd as DBWorkflowAccessGrant, j7 as DBWorkflowInstance, ja as DBWorkflowInvitation, iA as DEFAULT_LABEL_FALLBACK, ei as DatabaseAdapter, fv as DocumentExecutor, hV as DocumentGenerationNotConfiguredError, hW as DocumentGenerationService, gh as DocumentGenerationTemplateListOptions, hU as DocumentGenerationTemplateNotFoundError, gi as DocumentGenerationTemplatesRepository, gj as DocumentJobsRepository, hX as DocumentProcessingConfig, hq as DocumentProcessingHook, hp as DocumentProcessingHookOptions, hY as DocumentProcessingService, i0 as DocumentRenderError, h_ as DocumentRendererOptions, i2 as DocumentRendererService, i8 as DocumentService, i7 as DocumentServiceOptions, gk as DocumentSlotsRepository, i3 as DocumentTemplateService, gm as DocumentTemplatesRepository, gl as DocumentsRepository, fw as EndExecutor, eO as EvaluationResult, eP as EvaluationTrace, fi as ExecutorCompleteResult, fj as ExecutorContext, fk as ExecutorErrorResult, fr as ExecutorRegistry, fl as ExecutorResult, fm as ExecutorSuccessResult, fn as ExecutorWaitResult, f0 as FeatureFlagsContext, eU as FeatureFlagsContextError, ex as FetchResult, il as FileContent, iY as FileListOptions, ia as FileService, i9 as FileServiceOptions, gn as FilesRepository, fx as FormExecutor, ey as FormattedRecord, h1 as FormulaResolverService, h0 as FormulaResolverServiceOptions, fL as FormulaResult, iy as FullSyncOptions, ix as FullSyncResult, bH as GeocodingAdapter, bE as GeocodingAutocompleteParams, bG as GeocodingParams, ib as GeocodingService, bD as GeocodingSuggestion, gR as GetRelationOptionsParams, ij as GetViewOptions, ii as GetViewsOptions, iV as GlobalSearchGroupedOptions, iX as GlobalSearchGroupedResult, iU as GlobalSearchOptions, iW as GlobalSearchResultItem, ic as GlobalSearchService, hs as GrantExpiredError, hr as GrantNotFoundError, ht as GrantRevokedError, hv as GrantServiceConfig, ez as GroupedFetchResult, g2 as HookContext, g3 as HookDefinition, g4 as HookHandler, g7 as HookRegistry, g5 as HookType, gY as HybridRelationValue, eA as InsertOptions, fP as InvalidPathError, hF as InvitationAlreadyAcceptedError, hE as InvitationExpiredError, hD as InvitationNotFoundError, hG as InvitationRevokedError, hC as InvitationServiceConfig, ek as JwtVerificationResult, hg as LabelResolver, iS as ListOptions, el as MagicLinkPayload, fQ as MaxDepthExceededError, g9 as MockStores, gW as MultiRelationValue, fo as NodeExecutor, ew as NoopCacheAdapter, bI as NoopGeocodingAdapter, g6 as NoopHookRegistry, go as ObjectRecordsRepository, gF as ObjectSchemaService, gE as ObjectSchemaServiceOptions, gp as ObjectsRepository, jg as OperationResult, fU as PathCardinality, fV as PathSegment, fW as PathSegmentType, ie as PermissionService, id as PermissionServiceOptions, gq as PermissionsRepository, cl as PolicyContext, gb as PolicyRegistry, cn as PolicyViolationError, eM as QueryBuilder, eN as QueryBuilderOptions, eB as QueryBuilderState, eI as QueryMultipleResultsError, eJ as QueryNoResultError, gJ as QueryOptions, gL as QueryResult, i4 as RecordDocumentsResult, cm as RecordPolicy, gM as RecordQueryService, gI as RecordQueryServiceOptions, g_ as RecordResolverService, gH as RecordService, gG as RecordServiceOptions, eC as RegistryMap, eD as RegistryObjectNames, ed as RelationAttributeInput, ee as RelationAttributeRow, ef as RelationAttributesRepository, iH as RelationLabelResolver, gP as RelationOption, gQ as RelationOptionsResponse, gZ as RelationPropertiesService, gV as RelationService, gS as RelationServiceOptions, gO as RelationValidationError, gN as RelationValidationResult, hZ as RenderDocumentInput, h$ as RenderDocumentResult, gT as ResolveIdsBatchRequest, gU as ResolveIdsBatchResponse, g$ as ResolvedRelations, hz as ResumeWorkflowInput, bF as ReverseGeocodingParams, ho as RollupCascadeContext, h2 as RollupResult, h6 as RollupScheduler, h5 as RollupSchedulerOptions, h4 as RollupService, h3 as RollupServiceOptions, eK as SHORTCUT_TO_FILTER_OPERATOR, eg as SORTABLE_ATTRIBUTE_TYPES, f8 as SchemaContext, gz as SchemaContextAware, gA as SchemaContextAwareRepository, fX as SchemaResolver, eh as SearchAdapter, iT as SearchOptions, gK as SearchQueryOptions, eE as ShortcutOperator, ip as SignedUrlOptions, gX as SingleRelationValue, fy as StartExecutor, hy as StartWorkflowInput, iq as StorageAdapter, i1 as StorageDownloadNotSupportedError, im as StorageUploadInput, io as StorageUploadResult, it as SyncOptions, is as SyncResult, ff as TenantContext, eT as TenantContextError, hu as TokenRevokedError, f$ as TraversalOptions, g0 as TraversalResult, iP as UpdateDBAttribute, iL as UpdateDBObject, i$ as UpdateDBView, j3 as UpdateDBViewOverlay, j6 as UpdateDBWorkflow, jf as UpdateDBWorkflowAccessGrant, j9 as UpdateDBWorkflowInstance, jc as UpdateDBWorkflowInvitation, gD as UpdateObjectInput, ih as UpdateViewInput, hK as UpdateWorkflowInput, ir as UploadFileInput, iQ as UpsertDBAttribute, iM as UpsertDBObject, j0 as UpsertDBView, hR as UserProfileService, hQ as UserProfileServiceOptions, gr as UserProfilesRepository, hP as UserService, hO as UserValidationError, hN as UserValidationResult, ec as ViewOverlaysRepository, ik as ViewService, ji as ViewSyncLogger, jj as ViewSyncOptions, jh as ViewSyncResult, gs as ViewsRepository, hx as WorkflowAccessGrantService, gt as WorkflowAccessGrantsRepository, em as WorkflowAccessPayload, hB as WorkflowInstanceService, hA as WorkflowInstanceServiceOptions, gu as WorkflowInstancesRepository, hH as WorkflowInvitationService, gv as WorkflowInvitationsRepository, en as WorkflowJwtConfig, eo as WorkflowJwtPayload, ej as WorkflowJwtService, hI as WorkflowRelationService, hM as WorkflowService, hL as WorkflowServiceOptions, gw as WorkflowsRepository, f1 as addSchemaToContext, h7 as applyDefaultValues, hT as buildAuditChanges, ha as buildPolicyContext, et as cacheKeys, eu as cacheTtl, h8 as checkPermission, hb as checkRecordAccess, hd as checkRecordDeleteOrThrow, hc as checkRecordModifyOrThrow, he as checkSharedObjectWriteAccess, fp as complete, hf as computeLabel, iI as computeLabelWithRelations, hj as createContextForCreate, hl as createContextForDelete, hm as createContextForRestore, hk as createContextForUpdate, fg as createDefaultExecutorRegistry, eF as createDefaultState, g8 as createMockAdapter, eL as createQueryBuilder, ga as defaultPolicyRegistry, ev as defaultTtl, hi as enrichRecordsWithFormulas, iE as enrichValuesForDisplay, iF as enrichValuesWithSelectLabels, hh as enrichWithFormulas, fq as error, eR as evaluate, eQ as evaluateCondition, fz as evaluateFormula, fA as evaluateFormulaAttribute, fB as evaluateFormulaAttributeWithRelations, fC as evaluateFormulaWithRelations, fD as evaluateFormulaWithResult, eS as evaluateWithTrace, iD as extractAttributeNames, fE as extractFormulaVariables, iG as extractRelationIds, fF as extractRelationNames, fG as extractRelationReferences, fH as flattenRelationsForEval, fI as formatFormulaResult, eG as formatRecord, eH as formatRecords, f9 as getContext, fh as getDefaultExecutorRegistry, eV as getFeatureFlags, eW as getFeatureValue, fM as getPathDepth, h9 as getPolicy, fN as getRelationPath, f2 as getSchemaByNameFromContext, f3 as getSchemaContext, f4 as getSchemaFromContext, iw as getSyncPreview, fO as getTargetAttributeName, fa as getTenantId, fb as getUserId, jo as getViewSeedPreview, jp as getViewSyncPreview, fc as hasContext, eX as hasFeatureFlagsContext, fJ as hasRelationReferences, f5 as hasSchemaContext, eq as hashOptions, eY as isFeatureEnabled, iC as isLabelExpression, fR as parsePath, fS as pathHasManyCardinality, hn as recalculateParentRollups, iB as renderLabelExpression, fY as resolveMultiplePaths, fZ as resolveSingleValue, fd as runWithContext, eZ as runWithFeatureFlags, f6 as runWithMergedSchemaContext, f7 as runWithSchemaContext, jk as seedRegistryViews, fs as success, iz as syncAll, iu as syncNativeObjects, jl as syncNativeViews, f_ as traversePath, e_ as tryGetFeatureValue, fK as validateFormulaExpression, fT as validatePath, iv as verifyNativeObjectsSync, jn as verifyNativeViewsSync, jm as verifyRegistryViewsSeeded, ft as wait, e$ as withFeatureFlags, fe as withTenantContext } from './runtime-CFoct1Bt.mjs';
|
|
2
|
+
export { a8 as CompletionStatus } from './validators-DUB0tEzp.mjs';
|
|
3
3
|
import '@stndrds/constants';
|
|
4
4
|
import './utils.mjs';
|
|
5
5
|
import 'jose';
|