@stndrds/schema 0.1.0-alpha.41 → 0.1.0-alpha.43

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.
@@ -7023,58 +7023,9 @@ declare class RecordService extends TenantAwareService {
7023
7023
  private permissionService?;
7024
7024
  private auditService?;
7025
7025
  private policyRegistry;
7026
+ private labelResolver;
7027
+ private rollupContext;
7026
7028
  constructor(adapter: DatabaseAdapter, options?: RecordServiceOptions);
7027
- /**
7028
- * Check permission for an action on an object.
7029
- * Only checks if permissionService and userId are configured.
7030
- * @internal
7031
- */
7032
- private checkPermission;
7033
- /**
7034
- * Get policy for an object if one exists and userId is configured.
7035
- * @internal
7036
- */
7037
- private getPolicy;
7038
- /**
7039
- * Build policy context for the current request.
7040
- * @internal
7041
- */
7042
- private buildPolicyContext;
7043
- /**
7044
- * Check if user can access a record based on policy.
7045
- * Returns true if no policy exists or user can access.
7046
- * @internal
7047
- */
7048
- private checkRecordAccess;
7049
- /**
7050
- * Check if user can modify a record based on policy.
7051
- * Throws PolicyViolationError if denied.
7052
- * @internal
7053
- */
7054
- private checkRecordModify;
7055
- /**
7056
- * Check if user can delete a record based on policy.
7057
- * Throws PolicyViolationError if denied.
7058
- * @internal
7059
- */
7060
- private checkRecordDelete;
7061
- /**
7062
- * Resolve relation IDs to their display labels
7063
- * @internal
7064
- */
7065
- private resolveRelationLabels;
7066
- /**
7067
- * Extract relation IDs from a value (string or array)
7068
- * @internal
7069
- */
7070
- private extractRelationIds;
7071
- /**
7072
- * Compute display label from schema expression
7073
- * Automatically resolves relation attribute values to their labels
7074
- * and select/multiselect values to their option labels
7075
- * @internal
7076
- */
7077
- private computeLabel;
7078
7029
  /**
7079
7030
  * Create a new record with validation
7080
7031
  *
@@ -7084,84 +7035,23 @@ declare class RecordService extends TenantAwareService {
7084
7035
  * @param data - Record data (attribute values)
7085
7036
  * @param options - Creation options
7086
7037
  * @returns Created record with computed completionStatus
7087
- *
7088
- * @example
7089
- * ```typescript
7090
- * const service = new RecordService(adapter, "tenant-123");
7091
- *
7092
- * // Create a complete record (strict validation)
7093
- * const product = await service.createRecord("obj-product", {
7094
- * name: "Nike Air Max",
7095
- * price: 129.99,
7096
- * status: "active"
7097
- * });
7098
- * // → product.completionStatus = "complete"
7099
- *
7100
- * // Create a draft record (allows missing required fields)
7101
- * const draft = await service.createRecord("obj-product", {
7102
- * name: "Draft Product"
7103
- * }, { allowDraft: true });
7104
- * // → draft.completionStatus = "draft"
7105
- * ```
7106
7038
  */
7107
7039
  createRecord(objectId: string, data: Record<string, unknown>, options?: {
7108
- /**
7109
- * Allow creating records with missing required fields.
7110
- * Format validation still applies to provided values.
7111
- * @default false
7112
- */
7113
7040
  allowDraft?: boolean;
7114
- /**
7115
- * Skip all validation (format + relations).
7116
- * @default true
7117
- */
7118
7041
  validate?: boolean;
7119
- /**
7120
- * Skip relation validation only.
7121
- * Useful for bulk imports where relations are validated separately.
7122
- * @default false
7123
- */
7124
7042
  skipRelationValidation?: boolean;
7125
- /**
7126
- * Skip user validation only.
7127
- * Useful for bulk imports where users are validated separately.
7128
- * @default false
7129
- */
7130
7043
  skipUserValidation?: boolean;
7131
7044
  skipSystemCheck?: boolean;
7132
- /**
7133
- * Skip hook execution.
7134
- * @default false
7135
- */
7136
7045
  skipHooks?: boolean;
7137
- /**
7138
- * Additional metadata to pass to hooks (e.g., userId, requestId).
7139
- */
7140
7046
  hookMetadata?: Record<string, unknown>;
7141
- /**
7142
- * Developer-managed metadata for the record.
7143
- * Use this for internal IDs, external references, or any application-specific data.
7144
- */
7145
7047
  metadata?: Record<string, unknown>;
7146
7048
  }): Promise<ObjectRecord>;
7147
7049
  /**
7148
7050
  * Get a record by ID
7149
- *
7150
- * @param recordId - Record UUID
7151
- * @param options - Query options
7152
- * @returns Record or null if not found
7153
7051
  */
7154
7052
  getRecord(recordId: string, options?: {
7155
7053
  includeSchema?: boolean;
7156
- /**
7157
- * Skip formula computation (useful for internal operations)
7158
- * @default false
7159
- */
7160
7054
  skipFormulas?: boolean;
7161
- /**
7162
- * Skip policy access check (internal use only)
7163
- * @default false
7164
- */
7165
7055
  skipPolicyCheck?: boolean;
7166
7056
  }): Promise<ObjectRecord | null>;
7167
7057
  /**
@@ -7170,206 +7060,41 @@ declare class RecordService extends TenantAwareService {
7170
7060
  getRecordOrThrow(recordId: string): Promise<ObjectRecord>;
7171
7061
  /**
7172
7062
  * Update a record with validation
7173
- *
7174
- * The completion status is automatically recalculated after each update.
7175
- * A draft record becomes complete when all required fields are filled.
7176
- *
7177
- * Triggers beforeUpdate and afterUpdate hooks if a HookRegistry is configured.
7178
- *
7179
- * @param recordId - Record UUID
7180
- * @param data - Partial data to update
7181
- * @param options - Update options
7182
- * @returns Updated record with recalculated completionStatus
7183
- *
7184
- * @example
7185
- * ```typescript
7186
- * // Update a draft record to make it complete
7187
- * const updated = await service.updateRecord(draftId, {
7188
- * price: 99.99,
7189
- * status: "active"
7190
- * });
7191
- * // → updated.completionStatus = "complete" if all required fields now present
7192
- * ```
7193
7063
  */
7194
7064
  updateRecord(recordId: string, data: Partial<Record<string, unknown>>, options?: {
7195
- /**
7196
- * Skip validation entirely (format + relations).
7197
- * @default true
7198
- */
7199
7065
  validate?: boolean;
7200
- /**
7201
- * Allow partial updates without strict validation.
7202
- * Format validation still applies to provided values.
7203
- * @default false
7204
- */
7205
7066
  partial?: boolean;
7206
- /**
7207
- * Skip relation validation only.
7208
- * @default false
7209
- */
7210
7067
  skipRelationValidation?: boolean;
7211
- /**
7212
- * Skip user validation only.
7213
- * @default false
7214
- */
7215
7068
  skipUserValidation?: boolean;
7216
- /**
7217
- * Skip hook execution.
7218
- * @default false
7219
- */
7220
7069
  skipHooks?: boolean;
7221
- /**
7222
- * Additional metadata to pass to hooks (e.g., userId, requestId).
7223
- */
7224
7070
  hookMetadata?: Record<string, unknown>;
7225
- /**
7226
- * Developer-managed metadata for the record.
7227
- * Merged with existing metadata (not replaced).
7228
- * Set a key to `undefined` to remove it.
7229
- *
7230
- * @example
7231
- * ```typescript
7232
- * // Existing: { externalId: "ext-123", source: "import" }
7233
- * // Update with: { source: "api", newKey: "value", externalId: undefined }
7234
- * // Result: { source: "api", newKey: "value" }
7235
- * ```
7236
- */
7237
7071
  metadata?: Record<string, unknown>;
7238
7072
  }): Promise<ObjectRecord>;
7239
7073
  /**
7240
- * Build hook context for update operations
7241
- * @internal
7242
- */
7243
- private buildHookContext;
7244
- /**
7245
- * Build hook context for create operations (no existing record)
7246
- * @internal
7247
- */
7248
- private buildCreateHookContext;
7249
- /**
7250
- * Build hook context for delete operations
7251
- * @internal
7252
- */
7253
- private buildDeleteHookContext;
7254
- /**
7255
- * Delete a record
7256
- *
7257
- * Triggers beforeDelete and afterDelete hooks if a HookRegistry is configured.
7258
- *
7259
- * @param recordId - Record UUID
7260
- * @param options - Delete options
7074
+ * Delete a record (soft delete)
7261
7075
  */
7262
7076
  deleteRecord(recordId: string, options?: {
7263
7077
  checkSystem?: boolean;
7264
- /**
7265
- * Skip hook execution.
7266
- * @default false
7267
- */
7268
7078
  skipHooks?: boolean;
7269
- /**
7270
- * Skip relation reference check (use with caution).
7271
- * @default false
7272
- */
7273
7079
  skipReferenceCheck?: boolean;
7274
- /**
7275
- * Additional metadata to pass to hooks (e.g., userId, requestId).
7276
- */
7277
7080
  hookMetadata?: Record<string, unknown>;
7278
7081
  }): Promise<void>;
7082
+ /**
7083
+ * Permanently delete a record (hard delete)
7084
+ */
7085
+ hardDeleteRecord(recordId: string): Promise<void>;
7279
7086
  /**
7280
7087
  * Restore a soft-deleted record
7281
- *
7282
- * Triggers beforeRestore and afterRestore hooks if a HookRegistry is configured.
7283
- *
7284
- * @param recordId - Record UUID
7285
- * @param options - Restore options
7286
- * @returns Restored record
7287
- *
7288
- * @example
7289
- * ```typescript
7290
- * // Restore a deleted record
7291
- * const restored = await service.restoreRecord("rec-123");
7292
- * console.log(restored.deletedAt); // null
7293
- * ```
7294
7088
  */
7295
7089
  restoreRecord(recordId: string, options?: {
7296
- /**
7297
- * Skip hook execution.
7298
- * @default false
7299
- */
7300
7090
  skipHooks?: boolean;
7301
- /**
7302
- * Additional metadata to pass to hooks (e.g., userId, requestId).
7303
- */
7304
7091
  hookMetadata?: Record<string, unknown>;
7305
7092
  }): Promise<ObjectRecord>;
7306
- /**
7307
- * Build hook context for restore operations
7308
- * @internal
7309
- */
7310
- private buildRestoreHookContext;
7311
- /**
7312
- * Enrich a record with computed formula values
7313
- *
7314
- * Formula attributes are calculated at read-time from the record's values.
7315
- * This method adds the computed values to the record's values object.
7316
- *
7317
- * @param record - The record to enrich
7318
- * @param schema - The object schema containing attribute definitions
7319
- * @returns Record with formula values computed
7320
- * @internal
7321
- */
7322
- private enrichWithFormulas;
7323
- /**
7324
- * Enrich multiple records with computed formula values
7325
- * @internal
7326
- */
7327
- private enrichRecordsWithFormulas;
7328
- /**
7329
- * Recalculate rollups after a record changes
7330
- *
7331
- * This handles three cases:
7332
- * 1. The record itself has rollups (e.g., aggregating from related records it points to)
7333
- * 2. Parent records have rollups that aggregate from this record (reverse pattern)
7334
- * 3. Records that have forward rollups pointing to this record (forward pattern)
7335
- *
7336
- * @param record - The record that was modified
7337
- * @param schema - Schema of the record's object
7338
- * @internal
7339
- */
7340
- private recalculateParentRollups;
7341
- /**
7342
- * Permanently delete a record (hard delete)
7343
- *
7344
- * This cannot be undone. Use with caution - prefer soft delete for data safety.
7345
- * Does NOT trigger delete hooks (already triggered on soft delete).
7346
- *
7347
- * @param recordId - Record UUID
7348
- *
7349
- * @example
7350
- * ```typescript
7351
- * // Permanently delete a record
7352
- * await service.hardDeleteRecord("rec-123");
7353
- * ```
7354
- */
7355
- hardDeleteRecord(recordId: string): Promise<void>;
7356
7093
  /**
7357
7094
  * List records for an object with pagination
7358
- *
7359
- * @param objectId - Object UUID
7360
- * @param options - List options
7361
- * @returns Records and total count
7362
7095
  */
7363
7096
  listRecords(objectId: string, options?: ListOptions & {
7364
- /**
7365
- * Skip formula computation (useful for internal operations)
7366
- * @default false
7367
- */
7368
7097
  skipFormulas?: boolean;
7369
- /**
7370
- * Skip policy filtering (internal use only)
7371
- * @default false
7372
- */
7373
7098
  skipPolicyFilter?: boolean;
7374
7099
  }): Promise<{
7375
7100
  records: ObjectRecord[];
@@ -7377,17 +7102,8 @@ declare class RecordService extends TenantAwareService {
7377
7102
  }>;
7378
7103
  /**
7379
7104
  * Search records using full-text search
7380
- *
7381
- * @param objectId - Object UUID
7382
- * @param query - Search query
7383
- * @param options - Search options
7384
- * @returns Matching records and total count
7385
7105
  */
7386
7106
  searchRecords(objectId: string, query: string, options?: SearchOptions & {
7387
- /**
7388
- * Skip formula computation (useful for internal operations)
7389
- * @default false
7390
- */
7391
7107
  skipFormulas?: boolean;
7392
7108
  }): Promise<{
7393
7109
  records: ObjectRecord[];
@@ -7395,27 +7111,14 @@ declare class RecordService extends TenantAwareService {
7395
7111
  }>;
7396
7112
  /**
7397
7113
  * Validate data against object schema without saving
7398
- *
7399
- * @param objectId - Object UUID
7400
- * @param data - Data to validate
7401
- * @returns Validation result
7402
7114
  */
7403
7115
  validateData(objectId: string, data: Record<string, unknown>): Promise<ValidationResult>;
7404
7116
  /**
7405
- * Compute the completion status for given data without saving.
7406
- * Useful for UI to show draft/complete status before submitting.
7407
- *
7408
- * @param objectId - Object UUID
7409
- * @param data - Data to check
7410
- * @returns Computed completion status
7117
+ * Compute the completion status for given data without saving
7411
7118
  */
7412
7119
  computeStatus(objectId: string, data: Record<string, unknown>): Promise<CompletionStatus>;
7413
7120
  /**
7414
- * Refresh the completion status of an existing record.
7415
- * Useful when schema changes and you need to recompute statuses.
7416
- *
7417
- * @param recordId - Record UUID
7418
- * @returns Updated completion status
7121
+ * Refresh the completion status of an existing record
7419
7122
  */
7420
7123
  refreshRecordStatus(recordId: string): Promise<CompletionStatus>;
7421
7124
  }
@@ -1,3 +1,3 @@
1
- export { gz as AddAttributeInput, g2 as AttributeChange, ge as AttributesRepository, gm as AuditRepository, gp as AuditService, h7 as AuthenticationResult, eD as CacheAdapter, eE as CacheOptions, bL as CompletionStatus, fw as ConditionExecutor, gy as CreateCustomObjectInput, hG as CreateDBAttribute, hC as CreateDBObject, hQ as CreateDBView, hU as CreateDBWorkflow, hX as CreateDBWorkflowInstance, h_ as CreateDBWorkflowParticipation, hJ as CreateObjectRecord, h5 as CreateParticipationInput, h6 as CreateParticipationResult, g_ as CreateViewInput, hb as CreateWorkflowInput, hF as DBAttribute, hB as DBObject, hP as DBView, hT as DBWorkflow, hW as DBWorkflowInstance, hZ as DBWorkflowParticipation, hs as DEFAULT_LABEL_FALLBACK, er as DatabaseAdapter, fx as EndExecutor, eZ as EvaluationResult, e_ as EvaluationTrace, fk as ExecutorCompleteResult, fl as ExecutorContext, fm as ExecutorErrorResult, ft as ExecutorRegistry, fn as ExecutorResult, fo as ExecutorSuccessResult, fp as ExecutorWaitResult, eI as FetchResult, h9 as FieldReadOnlyResult, he as FileContent, hO as FileListOptions, gv as FileService, gu as FileServiceOptions, gg as FilesRepository, fy as FormExecutor, eJ as FormattedRecord, fM as FormulaResult, hq as FullSyncOptions, hp as FullSyncResult, bj as GeocodingAdapter, bg as GeocodingAutocompleteParams, bi as GeocodingParams, gw as GeocodingService, bf as GeocodingSuggestion, gN as GetRelationOptionsParams, hM as GlobalSearchOptions, hN as GlobalSearchResultItem, gx as GlobalSearchService, eK as GroupedFetchResult, g3 as HookContext, g4 as HookDefinition, g5 as HookHandler, g8 as HookRegistry, g6 as HookType, eL as InsertOptions, fQ as InvalidPathError, hK as ListOptions, fR as MaxDepthExceededError, fq as NodeExecutor, eH as NoopCacheAdapter, bk as NoopGeocodingAdapter, g7 as NoopHookRegistry, gh as ObjectRecordsRepository, gC as ObjectSchemaService, gB as ObjectSchemaServiceOptions, gd as ObjectsRepository, i0 as OperationResult, ev as ParticipationTokenPayload, es as ParticipationTokenService, fV as PathCardinality, fW as PathSegment, fX as PathSegmentType, gE as PermissionService, gD as PermissionServiceOptions, gn as PermissionsRepository, eB as PinCodeGenerationOptions, ey as PinCodeService, eC as PinCodeVerificationResult, bY as PolicyContext, gb as PolicyRegistry, b_ as PolicyViolationError, eX as QueryBuilder, eY as QueryBuilderOptions, eM as QueryBuilderState, eT as QueryMultipleResultsError, eU as QueryNoResultError, bZ as RecordPolicy, gG as RecordService, gF as RecordServiceOptions, eN as RegistryMap, eO as RegistryObjectNames, hz as RelationLabelResolver, gL as RelationOption, gM as RelationOptionsResponse, gI as RelationResolverService, gP as RelationService, gO as RelationServiceOptions, gK as RelationValidationError, gJ as RelationValidationResult, gH as ResolvedRelations, h2 as ResumeWorkflowInput, bh as ReverseGeocodingParams, gS as RollupResult, gR as RollupScheduler, gQ as RollupSchedulerOptions, gU as RollupService, gT as RollupServiceOptions, eV as SHORTCUT_TO_FILTER_OPERATOR, fa as SchemaContext, gs as SchemaContextAware, gt as SchemaContextAwareRepository, fY as SchemaResolver, hL as SearchOptions, eP as ShortcutOperator, hh as SignedUrlOptions, fz as StartExecutor, h1 as StartWorkflowInput, hi as StorageAdapter, hf as StorageUploadInput, hg as StorageUploadResult, hl as SyncOptions, hk as SyncResult, gr as TenantAwareRepository, gq as TenantAwareService, fh as TenantContext, f2 as TenantContextError, ew as TokenGenerationOptions, ex as TokenVerificationResult, g0 as TraversalOptions, g1 as TraversalResult, hH as UpdateDBAttribute, hD as UpdateDBObject, hR as UpdateDBView, hV as UpdateDBWorkflow, hY as UpdateDBWorkflowInstance, h$ as UpdateDBWorkflowParticipation, gA as UpdateObjectInput, g$ as UpdateViewInput, hc as UpdateWorkflowInput, hj as UploadFileInput, hI as UpsertDBAttribute, hE as UpsertDBObject, hS as UpsertDBView, gW as UserProfileService, gV as UserProfileServiceOptions, gf as UserProfilesRepository, gZ as UserService, gY as UserValidationError, gX as UserValidationResult, h0 as ViewService, i2 as ViewSyncOptions, i1 as ViewSyncResult, gi as ViewsRepository, h4 as WorkflowInstanceService, h3 as WorkflowInstanceServiceOptions, gk as WorkflowInstancesRepository, h8 as WorkflowParticipationService, gl as WorkflowParticipationsRepository, ha as WorkflowRelationService, hd as WorkflowService, gj as WorkflowsRepository, f3 as addSchemaToContext, go as buildAuditChanges, eF as cacheKeys, eG as cacheTtl, fr as complete, hA as computeLabelWithRelations, fi as createDefaultExecutorRegistry, eQ as createDefaultState, g9 as createMockAdapter, eW as createQueryBuilder, ga as defaultPolicyRegistry, hw as enrichValuesForDisplay, hx as enrichValuesWithSelectLabels, fs as error, f0 as evaluate, e$ as evaluateCondition, fA as evaluateFormula, fB as evaluateFormulaAttribute, fC as evaluateFormulaAttributeWithRelations, fD as evaluateFormulaWithRelations, fE as evaluateFormulaWithResult, f1 as evaluateWithTrace, hv as extractAttributeNames, fF as extractFormulaVariables, hy as extractRelationIds, fG as extractRelationNames, fH as extractRelationReferences, fI as flattenRelationsForEval, fJ as formatFormulaResult, eR as formatRecord, eS as formatRecords, fb as getContext, fj as getDefaultExecutorRegistry, ez as getDefaultPinCodeService, et as getDefaultTokenService, fN as getPathDepth, fO as getRelationPath, f4 as getSchemaByNameFromContext, f5 as getSchemaContext, f6 as getSchemaFromContext, ho as getSyncPreview, fP as getTargetAttributeName, fc as getTenantId, fd as getUserId, i5 as getViewSyncPreview, fe as hasContext, fK as hasRelationReferences, f7 as hasSchemaContext, eA as initializePinCodeService, eu as initializeTokenService, hu as isLabelExpression, gc as notesPolicy, fS as parsePath, fT as pathHasManyCardinality, ht as renderLabelExpression, fZ as resolveMultiplePaths, f_ as resolveSingleValue, ff as runWithContext, f8 as runWithMergedSchemaContext, f9 as runWithSchemaContext, fu as success, hr as syncAll, hm as syncNativeObjects, i3 as syncNativeViews, f$ as traversePath, fL as validateFormulaExpression, fU as validatePath, hn as verifyNativeObjectsSync, i4 as verifyNativeViewsSync, fv as wait, fg as withTenantContext } from './runtime-Vg_IW6IO.mjs';
1
+ export { gz as AddAttributeInput, g2 as AttributeChange, ge as AttributesRepository, gm as AuditRepository, gp as AuditService, h7 as AuthenticationResult, eD as CacheAdapter, eE as CacheOptions, bL as CompletionStatus, fw as ConditionExecutor, gy as CreateCustomObjectInput, hG as CreateDBAttribute, hC as CreateDBObject, hQ as CreateDBView, hU as CreateDBWorkflow, hX as CreateDBWorkflowInstance, h_ as CreateDBWorkflowParticipation, hJ as CreateObjectRecord, h5 as CreateParticipationInput, h6 as CreateParticipationResult, g_ as CreateViewInput, hb as CreateWorkflowInput, hF as DBAttribute, hB as DBObject, hP as DBView, hT as DBWorkflow, hW as DBWorkflowInstance, hZ as DBWorkflowParticipation, hs as DEFAULT_LABEL_FALLBACK, er as DatabaseAdapter, fx as EndExecutor, eZ as EvaluationResult, e_ as EvaluationTrace, fk as ExecutorCompleteResult, fl as ExecutorContext, fm as ExecutorErrorResult, ft as ExecutorRegistry, fn as ExecutorResult, fo as ExecutorSuccessResult, fp as ExecutorWaitResult, eI as FetchResult, h9 as FieldReadOnlyResult, he as FileContent, hO as FileListOptions, gv as FileService, gu as FileServiceOptions, gg as FilesRepository, fy as FormExecutor, eJ as FormattedRecord, fM as FormulaResult, hq as FullSyncOptions, hp as FullSyncResult, bj as GeocodingAdapter, bg as GeocodingAutocompleteParams, bi as GeocodingParams, gw as GeocodingService, bf as GeocodingSuggestion, gN as GetRelationOptionsParams, hM as GlobalSearchOptions, hN as GlobalSearchResultItem, gx as GlobalSearchService, eK as GroupedFetchResult, g3 as HookContext, g4 as HookDefinition, g5 as HookHandler, g8 as HookRegistry, g6 as HookType, eL as InsertOptions, fQ as InvalidPathError, hK as ListOptions, fR as MaxDepthExceededError, fq as NodeExecutor, eH as NoopCacheAdapter, bk as NoopGeocodingAdapter, g7 as NoopHookRegistry, gh as ObjectRecordsRepository, gC as ObjectSchemaService, gB as ObjectSchemaServiceOptions, gd as ObjectsRepository, i0 as OperationResult, ev as ParticipationTokenPayload, es as ParticipationTokenService, fV as PathCardinality, fW as PathSegment, fX as PathSegmentType, gE as PermissionService, gD as PermissionServiceOptions, gn as PermissionsRepository, eB as PinCodeGenerationOptions, ey as PinCodeService, eC as PinCodeVerificationResult, bY as PolicyContext, gb as PolicyRegistry, b_ as PolicyViolationError, eX as QueryBuilder, eY as QueryBuilderOptions, eM as QueryBuilderState, eT as QueryMultipleResultsError, eU as QueryNoResultError, bZ as RecordPolicy, gG as RecordService, gF as RecordServiceOptions, eN as RegistryMap, eO as RegistryObjectNames, hz as RelationLabelResolver, gL as RelationOption, gM as RelationOptionsResponse, gI as RelationResolverService, gP as RelationService, gO as RelationServiceOptions, gK as RelationValidationError, gJ as RelationValidationResult, gH as ResolvedRelations, h2 as ResumeWorkflowInput, bh as ReverseGeocodingParams, gS as RollupResult, gR as RollupScheduler, gQ as RollupSchedulerOptions, gU as RollupService, gT as RollupServiceOptions, eV as SHORTCUT_TO_FILTER_OPERATOR, fa as SchemaContext, gs as SchemaContextAware, gt as SchemaContextAwareRepository, fY as SchemaResolver, hL as SearchOptions, eP as ShortcutOperator, hh as SignedUrlOptions, fz as StartExecutor, h1 as StartWorkflowInput, hi as StorageAdapter, hf as StorageUploadInput, hg as StorageUploadResult, hl as SyncOptions, hk as SyncResult, gr as TenantAwareRepository, gq as TenantAwareService, fh as TenantContext, f2 as TenantContextError, ew as TokenGenerationOptions, ex as TokenVerificationResult, g0 as TraversalOptions, g1 as TraversalResult, hH as UpdateDBAttribute, hD as UpdateDBObject, hR as UpdateDBView, hV as UpdateDBWorkflow, hY as UpdateDBWorkflowInstance, h$ as UpdateDBWorkflowParticipation, gA as UpdateObjectInput, g$ as UpdateViewInput, hc as UpdateWorkflowInput, hj as UploadFileInput, hI as UpsertDBAttribute, hE as UpsertDBObject, hS as UpsertDBView, gW as UserProfileService, gV as UserProfileServiceOptions, gf as UserProfilesRepository, gZ as UserService, gY as UserValidationError, gX as UserValidationResult, h0 as ViewService, i2 as ViewSyncOptions, i1 as ViewSyncResult, gi as ViewsRepository, h4 as WorkflowInstanceService, h3 as WorkflowInstanceServiceOptions, gk as WorkflowInstancesRepository, h8 as WorkflowParticipationService, gl as WorkflowParticipationsRepository, ha as WorkflowRelationService, hd as WorkflowService, gj as WorkflowsRepository, f3 as addSchemaToContext, go as buildAuditChanges, eF as cacheKeys, eG as cacheTtl, fr as complete, hA as computeLabelWithRelations, fi as createDefaultExecutorRegistry, eQ as createDefaultState, g9 as createMockAdapter, eW as createQueryBuilder, ga as defaultPolicyRegistry, hw as enrichValuesForDisplay, hx as enrichValuesWithSelectLabels, fs as error, f0 as evaluate, e$ as evaluateCondition, fA as evaluateFormula, fB as evaluateFormulaAttribute, fC as evaluateFormulaAttributeWithRelations, fD as evaluateFormulaWithRelations, fE as evaluateFormulaWithResult, f1 as evaluateWithTrace, hv as extractAttributeNames, fF as extractFormulaVariables, hy as extractRelationIds, fG as extractRelationNames, fH as extractRelationReferences, fI as flattenRelationsForEval, fJ as formatFormulaResult, eR as formatRecord, eS as formatRecords, fb as getContext, fj as getDefaultExecutorRegistry, ez as getDefaultPinCodeService, et as getDefaultTokenService, fN as getPathDepth, fO as getRelationPath, f4 as getSchemaByNameFromContext, f5 as getSchemaContext, f6 as getSchemaFromContext, ho as getSyncPreview, fP as getTargetAttributeName, fc as getTenantId, fd as getUserId, i5 as getViewSyncPreview, fe as hasContext, fK as hasRelationReferences, f7 as hasSchemaContext, eA as initializePinCodeService, eu as initializeTokenService, hu as isLabelExpression, gc as notesPolicy, fS as parsePath, fT as pathHasManyCardinality, ht as renderLabelExpression, fZ as resolveMultiplePaths, f_ as resolveSingleValue, ff as runWithContext, f8 as runWithMergedSchemaContext, f9 as runWithSchemaContext, fu as success, hr as syncAll, hm as syncNativeObjects, i3 as syncNativeViews, f$ as traversePath, fL as validateFormulaExpression, fU as validatePath, hn as verifyNativeObjectsSync, i4 as verifyNativeViewsSync, fv as wait, fg as withTenantContext } from './runtime-CvRbtIhb.mjs';
2
2
  import '@stndrds/constants';
3
3
  import 'zod';
package/dist/runtime.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- export { gz as AddAttributeInput, g2 as AttributeChange, ge as AttributesRepository, gm as AuditRepository, gp as AuditService, h7 as AuthenticationResult, eD as CacheAdapter, eE as CacheOptions, bL as CompletionStatus, fw as ConditionExecutor, gy as CreateCustomObjectInput, hG as CreateDBAttribute, hC as CreateDBObject, hQ as CreateDBView, hU as CreateDBWorkflow, hX as CreateDBWorkflowInstance, h_ as CreateDBWorkflowParticipation, hJ as CreateObjectRecord, h5 as CreateParticipationInput, h6 as CreateParticipationResult, g_ as CreateViewInput, hb as CreateWorkflowInput, hF as DBAttribute, hB as DBObject, hP as DBView, hT as DBWorkflow, hW as DBWorkflowInstance, hZ as DBWorkflowParticipation, hs as DEFAULT_LABEL_FALLBACK, er as DatabaseAdapter, fx as EndExecutor, eZ as EvaluationResult, e_ as EvaluationTrace, fk as ExecutorCompleteResult, fl as ExecutorContext, fm as ExecutorErrorResult, ft as ExecutorRegistry, fn as ExecutorResult, fo as ExecutorSuccessResult, fp as ExecutorWaitResult, eI as FetchResult, h9 as FieldReadOnlyResult, he as FileContent, hO as FileListOptions, gv as FileService, gu as FileServiceOptions, gg as FilesRepository, fy as FormExecutor, eJ as FormattedRecord, fM as FormulaResult, hq as FullSyncOptions, hp as FullSyncResult, bj as GeocodingAdapter, bg as GeocodingAutocompleteParams, bi as GeocodingParams, gw as GeocodingService, bf as GeocodingSuggestion, gN as GetRelationOptionsParams, hM as GlobalSearchOptions, hN as GlobalSearchResultItem, gx as GlobalSearchService, eK as GroupedFetchResult, g3 as HookContext, g4 as HookDefinition, g5 as HookHandler, g8 as HookRegistry, g6 as HookType, eL as InsertOptions, fQ as InvalidPathError, hK as ListOptions, fR as MaxDepthExceededError, fq as NodeExecutor, eH as NoopCacheAdapter, bk as NoopGeocodingAdapter, g7 as NoopHookRegistry, gh as ObjectRecordsRepository, gC as ObjectSchemaService, gB as ObjectSchemaServiceOptions, gd as ObjectsRepository, i0 as OperationResult, ev as ParticipationTokenPayload, es as ParticipationTokenService, fV as PathCardinality, fW as PathSegment, fX as PathSegmentType, gE as PermissionService, gD as PermissionServiceOptions, gn as PermissionsRepository, eB as PinCodeGenerationOptions, ey as PinCodeService, eC as PinCodeVerificationResult, bY as PolicyContext, gb as PolicyRegistry, b_ as PolicyViolationError, eX as QueryBuilder, eY as QueryBuilderOptions, eM as QueryBuilderState, eT as QueryMultipleResultsError, eU as QueryNoResultError, bZ as RecordPolicy, gG as RecordService, gF as RecordServiceOptions, eN as RegistryMap, eO as RegistryObjectNames, hz as RelationLabelResolver, gL as RelationOption, gM as RelationOptionsResponse, gI as RelationResolverService, gP as RelationService, gO as RelationServiceOptions, gK as RelationValidationError, gJ as RelationValidationResult, gH as ResolvedRelations, h2 as ResumeWorkflowInput, bh as ReverseGeocodingParams, gS as RollupResult, gR as RollupScheduler, gQ as RollupSchedulerOptions, gU as RollupService, gT as RollupServiceOptions, eV as SHORTCUT_TO_FILTER_OPERATOR, fa as SchemaContext, gs as SchemaContextAware, gt as SchemaContextAwareRepository, fY as SchemaResolver, hL as SearchOptions, eP as ShortcutOperator, hh as SignedUrlOptions, fz as StartExecutor, h1 as StartWorkflowInput, hi as StorageAdapter, hf as StorageUploadInput, hg as StorageUploadResult, hl as SyncOptions, hk as SyncResult, gr as TenantAwareRepository, gq as TenantAwareService, fh as TenantContext, f2 as TenantContextError, ew as TokenGenerationOptions, ex as TokenVerificationResult, g0 as TraversalOptions, g1 as TraversalResult, hH as UpdateDBAttribute, hD as UpdateDBObject, hR as UpdateDBView, hV as UpdateDBWorkflow, hY as UpdateDBWorkflowInstance, h$ as UpdateDBWorkflowParticipation, gA as UpdateObjectInput, g$ as UpdateViewInput, hc as UpdateWorkflowInput, hj as UploadFileInput, hI as UpsertDBAttribute, hE as UpsertDBObject, hS as UpsertDBView, gW as UserProfileService, gV as UserProfileServiceOptions, gf as UserProfilesRepository, gZ as UserService, gY as UserValidationError, gX as UserValidationResult, h0 as ViewService, i2 as ViewSyncOptions, i1 as ViewSyncResult, gi as ViewsRepository, h4 as WorkflowInstanceService, h3 as WorkflowInstanceServiceOptions, gk as WorkflowInstancesRepository, h8 as WorkflowParticipationService, gl as WorkflowParticipationsRepository, ha as WorkflowRelationService, hd as WorkflowService, gj as WorkflowsRepository, f3 as addSchemaToContext, go as buildAuditChanges, eF as cacheKeys, eG as cacheTtl, fr as complete, hA as computeLabelWithRelations, fi as createDefaultExecutorRegistry, eQ as createDefaultState, g9 as createMockAdapter, eW as createQueryBuilder, ga as defaultPolicyRegistry, hw as enrichValuesForDisplay, hx as enrichValuesWithSelectLabels, fs as error, f0 as evaluate, e$ as evaluateCondition, fA as evaluateFormula, fB as evaluateFormulaAttribute, fC as evaluateFormulaAttributeWithRelations, fD as evaluateFormulaWithRelations, fE as evaluateFormulaWithResult, f1 as evaluateWithTrace, hv as extractAttributeNames, fF as extractFormulaVariables, hy as extractRelationIds, fG as extractRelationNames, fH as extractRelationReferences, fI as flattenRelationsForEval, fJ as formatFormulaResult, eR as formatRecord, eS as formatRecords, fb as getContext, fj as getDefaultExecutorRegistry, ez as getDefaultPinCodeService, et as getDefaultTokenService, fN as getPathDepth, fO as getRelationPath, f4 as getSchemaByNameFromContext, f5 as getSchemaContext, f6 as getSchemaFromContext, ho as getSyncPreview, fP as getTargetAttributeName, fc as getTenantId, fd as getUserId, i5 as getViewSyncPreview, fe as hasContext, fK as hasRelationReferences, f7 as hasSchemaContext, eA as initializePinCodeService, eu as initializeTokenService, hu as isLabelExpression, gc as notesPolicy, fS as parsePath, fT as pathHasManyCardinality, ht as renderLabelExpression, fZ as resolveMultiplePaths, f_ as resolveSingleValue, ff as runWithContext, f8 as runWithMergedSchemaContext, f9 as runWithSchemaContext, fu as success, hr as syncAll, hm as syncNativeObjects, i3 as syncNativeViews, f$ as traversePath, fL as validateFormulaExpression, fU as validatePath, hn as verifyNativeObjectsSync, i4 as verifyNativeViewsSync, fv as wait, fg as withTenantContext } from './runtime-Vg_IW6IO.js';
1
+ export { gz as AddAttributeInput, g2 as AttributeChange, ge as AttributesRepository, gm as AuditRepository, gp as AuditService, h7 as AuthenticationResult, eD as CacheAdapter, eE as CacheOptions, bL as CompletionStatus, fw as ConditionExecutor, gy as CreateCustomObjectInput, hG as CreateDBAttribute, hC as CreateDBObject, hQ as CreateDBView, hU as CreateDBWorkflow, hX as CreateDBWorkflowInstance, h_ as CreateDBWorkflowParticipation, hJ as CreateObjectRecord, h5 as CreateParticipationInput, h6 as CreateParticipationResult, g_ as CreateViewInput, hb as CreateWorkflowInput, hF as DBAttribute, hB as DBObject, hP as DBView, hT as DBWorkflow, hW as DBWorkflowInstance, hZ as DBWorkflowParticipation, hs as DEFAULT_LABEL_FALLBACK, er as DatabaseAdapter, fx as EndExecutor, eZ as EvaluationResult, e_ as EvaluationTrace, fk as ExecutorCompleteResult, fl as ExecutorContext, fm as ExecutorErrorResult, ft as ExecutorRegistry, fn as ExecutorResult, fo as ExecutorSuccessResult, fp as ExecutorWaitResult, eI as FetchResult, h9 as FieldReadOnlyResult, he as FileContent, hO as FileListOptions, gv as FileService, gu as FileServiceOptions, gg as FilesRepository, fy as FormExecutor, eJ as FormattedRecord, fM as FormulaResult, hq as FullSyncOptions, hp as FullSyncResult, bj as GeocodingAdapter, bg as GeocodingAutocompleteParams, bi as GeocodingParams, gw as GeocodingService, bf as GeocodingSuggestion, gN as GetRelationOptionsParams, hM as GlobalSearchOptions, hN as GlobalSearchResultItem, gx as GlobalSearchService, eK as GroupedFetchResult, g3 as HookContext, g4 as HookDefinition, g5 as HookHandler, g8 as HookRegistry, g6 as HookType, eL as InsertOptions, fQ as InvalidPathError, hK as ListOptions, fR as MaxDepthExceededError, fq as NodeExecutor, eH as NoopCacheAdapter, bk as NoopGeocodingAdapter, g7 as NoopHookRegistry, gh as ObjectRecordsRepository, gC as ObjectSchemaService, gB as ObjectSchemaServiceOptions, gd as ObjectsRepository, i0 as OperationResult, ev as ParticipationTokenPayload, es as ParticipationTokenService, fV as PathCardinality, fW as PathSegment, fX as PathSegmentType, gE as PermissionService, gD as PermissionServiceOptions, gn as PermissionsRepository, eB as PinCodeGenerationOptions, ey as PinCodeService, eC as PinCodeVerificationResult, bY as PolicyContext, gb as PolicyRegistry, b_ as PolicyViolationError, eX as QueryBuilder, eY as QueryBuilderOptions, eM as QueryBuilderState, eT as QueryMultipleResultsError, eU as QueryNoResultError, bZ as RecordPolicy, gG as RecordService, gF as RecordServiceOptions, eN as RegistryMap, eO as RegistryObjectNames, hz as RelationLabelResolver, gL as RelationOption, gM as RelationOptionsResponse, gI as RelationResolverService, gP as RelationService, gO as RelationServiceOptions, gK as RelationValidationError, gJ as RelationValidationResult, gH as ResolvedRelations, h2 as ResumeWorkflowInput, bh as ReverseGeocodingParams, gS as RollupResult, gR as RollupScheduler, gQ as RollupSchedulerOptions, gU as RollupService, gT as RollupServiceOptions, eV as SHORTCUT_TO_FILTER_OPERATOR, fa as SchemaContext, gs as SchemaContextAware, gt as SchemaContextAwareRepository, fY as SchemaResolver, hL as SearchOptions, eP as ShortcutOperator, hh as SignedUrlOptions, fz as StartExecutor, h1 as StartWorkflowInput, hi as StorageAdapter, hf as StorageUploadInput, hg as StorageUploadResult, hl as SyncOptions, hk as SyncResult, gr as TenantAwareRepository, gq as TenantAwareService, fh as TenantContext, f2 as TenantContextError, ew as TokenGenerationOptions, ex as TokenVerificationResult, g0 as TraversalOptions, g1 as TraversalResult, hH as UpdateDBAttribute, hD as UpdateDBObject, hR as UpdateDBView, hV as UpdateDBWorkflow, hY as UpdateDBWorkflowInstance, h$ as UpdateDBWorkflowParticipation, gA as UpdateObjectInput, g$ as UpdateViewInput, hc as UpdateWorkflowInput, hj as UploadFileInput, hI as UpsertDBAttribute, hE as UpsertDBObject, hS as UpsertDBView, gW as UserProfileService, gV as UserProfileServiceOptions, gf as UserProfilesRepository, gZ as UserService, gY as UserValidationError, gX as UserValidationResult, h0 as ViewService, i2 as ViewSyncOptions, i1 as ViewSyncResult, gi as ViewsRepository, h4 as WorkflowInstanceService, h3 as WorkflowInstanceServiceOptions, gk as WorkflowInstancesRepository, h8 as WorkflowParticipationService, gl as WorkflowParticipationsRepository, ha as WorkflowRelationService, hd as WorkflowService, gj as WorkflowsRepository, f3 as addSchemaToContext, go as buildAuditChanges, eF as cacheKeys, eG as cacheTtl, fr as complete, hA as computeLabelWithRelations, fi as createDefaultExecutorRegistry, eQ as createDefaultState, g9 as createMockAdapter, eW as createQueryBuilder, ga as defaultPolicyRegistry, hw as enrichValuesForDisplay, hx as enrichValuesWithSelectLabels, fs as error, f0 as evaluate, e$ as evaluateCondition, fA as evaluateFormula, fB as evaluateFormulaAttribute, fC as evaluateFormulaAttributeWithRelations, fD as evaluateFormulaWithRelations, fE as evaluateFormulaWithResult, f1 as evaluateWithTrace, hv as extractAttributeNames, fF as extractFormulaVariables, hy as extractRelationIds, fG as extractRelationNames, fH as extractRelationReferences, fI as flattenRelationsForEval, fJ as formatFormulaResult, eR as formatRecord, eS as formatRecords, fb as getContext, fj as getDefaultExecutorRegistry, ez as getDefaultPinCodeService, et as getDefaultTokenService, fN as getPathDepth, fO as getRelationPath, f4 as getSchemaByNameFromContext, f5 as getSchemaContext, f6 as getSchemaFromContext, ho as getSyncPreview, fP as getTargetAttributeName, fc as getTenantId, fd as getUserId, i5 as getViewSyncPreview, fe as hasContext, fK as hasRelationReferences, f7 as hasSchemaContext, eA as initializePinCodeService, eu as initializeTokenService, hu as isLabelExpression, gc as notesPolicy, fS as parsePath, fT as pathHasManyCardinality, ht as renderLabelExpression, fZ as resolveMultiplePaths, f_ as resolveSingleValue, ff as runWithContext, f8 as runWithMergedSchemaContext, f9 as runWithSchemaContext, fu as success, hr as syncAll, hm as syncNativeObjects, i3 as syncNativeViews, f$ as traversePath, fL as validateFormulaExpression, fU as validatePath, hn as verifyNativeObjectsSync, i4 as verifyNativeViewsSync, fv as wait, fg as withTenantContext } from './runtime-CvRbtIhb.js';
2
2
  import '@stndrds/constants';
3
3
  import 'zod';
package/dist/runtime.js CHANGED
@@ -111,7 +111,7 @@
111
111
 
112
112
 
113
113
 
114
- var _chunk6ID63D4Mjs = require('./chunk-6ID63D4M.js');
114
+ var _chunkSWD6OPOVjs = require('./chunk-SWD6OPOV.js');
115
115
  require('./chunk-3RG5ZIWI.js');
116
116
 
117
117
 
@@ -226,4 +226,4 @@ require('./chunk-3RG5ZIWI.js');
226
226
 
227
227
 
228
228
 
229
- exports.AuditService = _chunk6ID63D4Mjs.AuditService; exports.ConditionExecutor = _chunk6ID63D4Mjs.ConditionExecutor; exports.DEFAULT_LABEL_FALLBACK = _chunk6ID63D4Mjs.DEFAULT_LABEL_FALLBACK; exports.EndExecutor = _chunk6ID63D4Mjs.EndExecutor; exports.ExecutorRegistry = _chunk6ID63D4Mjs.ExecutorRegistry; exports.FileService = _chunk6ID63D4Mjs.FileService; exports.FormExecutor = _chunk6ID63D4Mjs.FormExecutor; exports.GeocodingService = _chunk6ID63D4Mjs.GeocodingService; exports.GlobalSearchService = _chunk6ID63D4Mjs.GlobalSearchService; exports.InvalidPathError = _chunk6ID63D4Mjs.InvalidPathError; exports.MaxDepthExceededError = _chunk6ID63D4Mjs.MaxDepthExceededError; exports.NoopCacheAdapter = _chunk6ID63D4Mjs.NoopCacheAdapter; exports.NoopGeocodingAdapter = _chunk6ID63D4Mjs.NoopGeocodingAdapter; exports.NoopHookRegistry = _chunk6ID63D4Mjs.NoopHookRegistry; exports.ObjectSchemaService = _chunk6ID63D4Mjs.ObjectSchemaService; exports.ParticipationTokenService = _chunk6ID63D4Mjs.ParticipationTokenService; exports.PermissionService = _chunk6ID63D4Mjs.PermissionService; exports.PinCodeService = _chunk6ID63D4Mjs.PinCodeService; exports.PolicyRegistry = _chunk6ID63D4Mjs.PolicyRegistry; exports.PolicyViolationError = _chunk6ID63D4Mjs.PolicyViolationError; exports.QueryBuilder = _chunk6ID63D4Mjs.QueryBuilder; exports.QueryMultipleResultsError = _chunk6ID63D4Mjs.QueryMultipleResultsError; exports.QueryNoResultError = _chunk6ID63D4Mjs.QueryNoResultError; exports.RecordService = _chunk6ID63D4Mjs.RecordService; exports.RelationResolverService = _chunk6ID63D4Mjs.RelationResolverService; exports.RelationService = _chunk6ID63D4Mjs.RelationService; exports.RollupScheduler = _chunk6ID63D4Mjs.RollupScheduler; exports.RollupService = _chunk6ID63D4Mjs.RollupService; exports.SHORTCUT_TO_FILTER_OPERATOR = _chunk6ID63D4Mjs.SHORTCUT_TO_FILTER_OPERATOR; exports.SchemaContextAwareRepository = _chunk6ID63D4Mjs.SchemaContextAwareRepository; exports.StartExecutor = _chunk6ID63D4Mjs.StartExecutor; exports.TenantAwareRepository = _chunk6ID63D4Mjs.TenantAwareRepository; exports.TenantAwareService = _chunk6ID63D4Mjs.TenantAwareService; exports.TenantContextError = _chunk6ID63D4Mjs.TenantContextError; exports.UserProfileService = _chunk6ID63D4Mjs.UserProfileService; exports.UserService = _chunk6ID63D4Mjs.UserService; exports.ViewService = _chunk6ID63D4Mjs.ViewService; exports.WorkflowInstanceService = _chunk6ID63D4Mjs.WorkflowInstanceService; exports.WorkflowParticipationService = _chunk6ID63D4Mjs.WorkflowParticipationService; exports.WorkflowRelationService = _chunk6ID63D4Mjs.WorkflowRelationService; exports.WorkflowService = _chunk6ID63D4Mjs.WorkflowService; exports.addSchemaToContext = _chunk6ID63D4Mjs.addSchemaToContext; exports.buildAuditChanges = _chunk6ID63D4Mjs.buildAuditChanges; exports.cacheKeys = _chunk6ID63D4Mjs.cacheKeys; exports.cacheTtl = _chunk6ID63D4Mjs.cacheTtl; exports.complete = _chunk6ID63D4Mjs.complete; exports.computeLabelWithRelations = _chunk6ID63D4Mjs.computeLabelWithRelations; exports.createDefaultExecutorRegistry = _chunk6ID63D4Mjs.createDefaultExecutorRegistry; exports.createDefaultState = _chunk6ID63D4Mjs.createDefaultState; exports.createMockAdapter = _chunk6ID63D4Mjs.createMockAdapter; exports.createQueryBuilder = _chunk6ID63D4Mjs.createQueryBuilder; exports.defaultPolicyRegistry = _chunk6ID63D4Mjs.defaultPolicyRegistry; exports.enrichValuesForDisplay = _chunk6ID63D4Mjs.enrichValuesForDisplay; exports.enrichValuesWithSelectLabels = _chunk6ID63D4Mjs.enrichValuesWithSelectLabels; exports.error = _chunk6ID63D4Mjs.error; exports.evaluate = _chunk6ID63D4Mjs.evaluate; exports.evaluateCondition = _chunk6ID63D4Mjs.evaluateCondition; exports.evaluateFormula = _chunk6ID63D4Mjs.evaluateFormula; exports.evaluateFormulaAttribute = _chunk6ID63D4Mjs.evaluateFormulaAttribute; exports.evaluateFormulaAttributeWithRelations = _chunk6ID63D4Mjs.evaluateFormulaAttributeWithRelations; exports.evaluateFormulaWithRelations = _chunk6ID63D4Mjs.evaluateFormulaWithRelations; exports.evaluateFormulaWithResult = _chunk6ID63D4Mjs.evaluateFormulaWithResult; exports.evaluateWithTrace = _chunk6ID63D4Mjs.evaluateWithTrace; exports.extractAttributeNames = _chunk6ID63D4Mjs.extractAttributeNames; exports.extractFormulaVariables = _chunk6ID63D4Mjs.extractFormulaVariables; exports.extractRelationIds = _chunk6ID63D4Mjs.extractRelationIds; exports.extractRelationNames = _chunk6ID63D4Mjs.extractRelationNames; exports.extractRelationReferences = _chunk6ID63D4Mjs.extractRelationReferences; exports.flattenRelationsForEval = _chunk6ID63D4Mjs.flattenRelationsForEval; exports.formatFormulaResult = _chunk6ID63D4Mjs.formatFormulaResult; exports.formatRecord = _chunk6ID63D4Mjs.formatRecord; exports.formatRecords = _chunk6ID63D4Mjs.formatRecords; exports.getContext = _chunk6ID63D4Mjs.getContext; exports.getDefaultExecutorRegistry = _chunk6ID63D4Mjs.getDefaultExecutorRegistry; exports.getDefaultPinCodeService = _chunk6ID63D4Mjs.getDefaultPinCodeService; exports.getDefaultTokenService = _chunk6ID63D4Mjs.getDefaultTokenService; exports.getPathDepth = _chunk6ID63D4Mjs.getPathDepth; exports.getRelationPath = _chunk6ID63D4Mjs.getRelationPath; exports.getSchemaByNameFromContext = _chunk6ID63D4Mjs.getSchemaByNameFromContext; exports.getSchemaContext = _chunk6ID63D4Mjs.getSchemaContext; exports.getSchemaFromContext = _chunk6ID63D4Mjs.getSchemaFromContext; exports.getSyncPreview = _chunk6ID63D4Mjs.getSyncPreview; exports.getTargetAttributeName = _chunk6ID63D4Mjs.getTargetAttributeName; exports.getTenantId = _chunk6ID63D4Mjs.getTenantId; exports.getUserId = _chunk6ID63D4Mjs.getUserId; exports.getViewSyncPreview = _chunk6ID63D4Mjs.getViewSyncPreview; exports.hasContext = _chunk6ID63D4Mjs.hasContext; exports.hasRelationReferences = _chunk6ID63D4Mjs.hasRelationReferences; exports.hasSchemaContext = _chunk6ID63D4Mjs.hasSchemaContext; exports.initializePinCodeService = _chunk6ID63D4Mjs.initializePinCodeService; exports.initializeTokenService = _chunk6ID63D4Mjs.initializeTokenService; exports.isLabelExpression = _chunk6ID63D4Mjs.isLabelExpression; exports.notesPolicy = _chunk6ID63D4Mjs.notesPolicy; exports.parsePath = _chunk6ID63D4Mjs.parsePath; exports.pathHasManyCardinality = _chunk6ID63D4Mjs.pathHasManyCardinality; exports.renderLabelExpression = _chunk6ID63D4Mjs.renderLabelExpression; exports.resolveMultiplePaths = _chunk6ID63D4Mjs.resolveMultiplePaths; exports.resolveSingleValue = _chunk6ID63D4Mjs.resolveSingleValue; exports.runWithContext = _chunk6ID63D4Mjs.runWithContext; exports.runWithMergedSchemaContext = _chunk6ID63D4Mjs.runWithMergedSchemaContext; exports.runWithSchemaContext = _chunk6ID63D4Mjs.runWithSchemaContext; exports.success = _chunk6ID63D4Mjs.success; exports.syncAll = _chunk6ID63D4Mjs.syncAll; exports.syncNativeObjects = _chunk6ID63D4Mjs.syncNativeObjects; exports.syncNativeViews = _chunk6ID63D4Mjs.syncNativeViews; exports.traversePath = _chunk6ID63D4Mjs.traversePath; exports.validateFormulaExpression = _chunk6ID63D4Mjs.validateFormulaExpression; exports.validatePath = _chunk6ID63D4Mjs.validatePath; exports.verifyNativeObjectsSync = _chunk6ID63D4Mjs.verifyNativeObjectsSync; exports.verifyNativeViewsSync = _chunk6ID63D4Mjs.verifyNativeViewsSync; exports.wait = _chunk6ID63D4Mjs.wait; exports.withTenantContext = _chunk6ID63D4Mjs.withTenantContext;
229
+ exports.AuditService = _chunkSWD6OPOVjs.AuditService; exports.ConditionExecutor = _chunkSWD6OPOVjs.ConditionExecutor; exports.DEFAULT_LABEL_FALLBACK = _chunkSWD6OPOVjs.DEFAULT_LABEL_FALLBACK; exports.EndExecutor = _chunkSWD6OPOVjs.EndExecutor; exports.ExecutorRegistry = _chunkSWD6OPOVjs.ExecutorRegistry; exports.FileService = _chunkSWD6OPOVjs.FileService; exports.FormExecutor = _chunkSWD6OPOVjs.FormExecutor; exports.GeocodingService = _chunkSWD6OPOVjs.GeocodingService; exports.GlobalSearchService = _chunkSWD6OPOVjs.GlobalSearchService; exports.InvalidPathError = _chunkSWD6OPOVjs.InvalidPathError; exports.MaxDepthExceededError = _chunkSWD6OPOVjs.MaxDepthExceededError; exports.NoopCacheAdapter = _chunkSWD6OPOVjs.NoopCacheAdapter; exports.NoopGeocodingAdapter = _chunkSWD6OPOVjs.NoopGeocodingAdapter; exports.NoopHookRegistry = _chunkSWD6OPOVjs.NoopHookRegistry; exports.ObjectSchemaService = _chunkSWD6OPOVjs.ObjectSchemaService; exports.ParticipationTokenService = _chunkSWD6OPOVjs.ParticipationTokenService; exports.PermissionService = _chunkSWD6OPOVjs.PermissionService; exports.PinCodeService = _chunkSWD6OPOVjs.PinCodeService; exports.PolicyRegistry = _chunkSWD6OPOVjs.PolicyRegistry; exports.PolicyViolationError = _chunkSWD6OPOVjs.PolicyViolationError; exports.QueryBuilder = _chunkSWD6OPOVjs.QueryBuilder; exports.QueryMultipleResultsError = _chunkSWD6OPOVjs.QueryMultipleResultsError; exports.QueryNoResultError = _chunkSWD6OPOVjs.QueryNoResultError; exports.RecordService = _chunkSWD6OPOVjs.RecordService; exports.RelationResolverService = _chunkSWD6OPOVjs.RelationResolverService; exports.RelationService = _chunkSWD6OPOVjs.RelationService; exports.RollupScheduler = _chunkSWD6OPOVjs.RollupScheduler; exports.RollupService = _chunkSWD6OPOVjs.RollupService; exports.SHORTCUT_TO_FILTER_OPERATOR = _chunkSWD6OPOVjs.SHORTCUT_TO_FILTER_OPERATOR; exports.SchemaContextAwareRepository = _chunkSWD6OPOVjs.SchemaContextAwareRepository; exports.StartExecutor = _chunkSWD6OPOVjs.StartExecutor; exports.TenantAwareRepository = _chunkSWD6OPOVjs.TenantAwareRepository; exports.TenantAwareService = _chunkSWD6OPOVjs.TenantAwareService; exports.TenantContextError = _chunkSWD6OPOVjs.TenantContextError; exports.UserProfileService = _chunkSWD6OPOVjs.UserProfileService; exports.UserService = _chunkSWD6OPOVjs.UserService; exports.ViewService = _chunkSWD6OPOVjs.ViewService; exports.WorkflowInstanceService = _chunkSWD6OPOVjs.WorkflowInstanceService; exports.WorkflowParticipationService = _chunkSWD6OPOVjs.WorkflowParticipationService; exports.WorkflowRelationService = _chunkSWD6OPOVjs.WorkflowRelationService; exports.WorkflowService = _chunkSWD6OPOVjs.WorkflowService; exports.addSchemaToContext = _chunkSWD6OPOVjs.addSchemaToContext; exports.buildAuditChanges = _chunkSWD6OPOVjs.buildAuditChanges; exports.cacheKeys = _chunkSWD6OPOVjs.cacheKeys; exports.cacheTtl = _chunkSWD6OPOVjs.cacheTtl; exports.complete = _chunkSWD6OPOVjs.complete; exports.computeLabelWithRelations = _chunkSWD6OPOVjs.computeLabelWithRelations; exports.createDefaultExecutorRegistry = _chunkSWD6OPOVjs.createDefaultExecutorRegistry; exports.createDefaultState = _chunkSWD6OPOVjs.createDefaultState; exports.createMockAdapter = _chunkSWD6OPOVjs.createMockAdapter; exports.createQueryBuilder = _chunkSWD6OPOVjs.createQueryBuilder; exports.defaultPolicyRegistry = _chunkSWD6OPOVjs.defaultPolicyRegistry; exports.enrichValuesForDisplay = _chunkSWD6OPOVjs.enrichValuesForDisplay; exports.enrichValuesWithSelectLabels = _chunkSWD6OPOVjs.enrichValuesWithSelectLabels; exports.error = _chunkSWD6OPOVjs.error; exports.evaluate = _chunkSWD6OPOVjs.evaluate; exports.evaluateCondition = _chunkSWD6OPOVjs.evaluateCondition; exports.evaluateFormula = _chunkSWD6OPOVjs.evaluateFormula; exports.evaluateFormulaAttribute = _chunkSWD6OPOVjs.evaluateFormulaAttribute; exports.evaluateFormulaAttributeWithRelations = _chunkSWD6OPOVjs.evaluateFormulaAttributeWithRelations; exports.evaluateFormulaWithRelations = _chunkSWD6OPOVjs.evaluateFormulaWithRelations; exports.evaluateFormulaWithResult = _chunkSWD6OPOVjs.evaluateFormulaWithResult; exports.evaluateWithTrace = _chunkSWD6OPOVjs.evaluateWithTrace; exports.extractAttributeNames = _chunkSWD6OPOVjs.extractAttributeNames; exports.extractFormulaVariables = _chunkSWD6OPOVjs.extractFormulaVariables; exports.extractRelationIds = _chunkSWD6OPOVjs.extractRelationIds; exports.extractRelationNames = _chunkSWD6OPOVjs.extractRelationNames; exports.extractRelationReferences = _chunkSWD6OPOVjs.extractRelationReferences; exports.flattenRelationsForEval = _chunkSWD6OPOVjs.flattenRelationsForEval; exports.formatFormulaResult = _chunkSWD6OPOVjs.formatFormulaResult; exports.formatRecord = _chunkSWD6OPOVjs.formatRecord; exports.formatRecords = _chunkSWD6OPOVjs.formatRecords; exports.getContext = _chunkSWD6OPOVjs.getContext; exports.getDefaultExecutorRegistry = _chunkSWD6OPOVjs.getDefaultExecutorRegistry; exports.getDefaultPinCodeService = _chunkSWD6OPOVjs.getDefaultPinCodeService; exports.getDefaultTokenService = _chunkSWD6OPOVjs.getDefaultTokenService; exports.getPathDepth = _chunkSWD6OPOVjs.getPathDepth; exports.getRelationPath = _chunkSWD6OPOVjs.getRelationPath; exports.getSchemaByNameFromContext = _chunkSWD6OPOVjs.getSchemaByNameFromContext; exports.getSchemaContext = _chunkSWD6OPOVjs.getSchemaContext; exports.getSchemaFromContext = _chunkSWD6OPOVjs.getSchemaFromContext; exports.getSyncPreview = _chunkSWD6OPOVjs.getSyncPreview; exports.getTargetAttributeName = _chunkSWD6OPOVjs.getTargetAttributeName; exports.getTenantId = _chunkSWD6OPOVjs.getTenantId; exports.getUserId = _chunkSWD6OPOVjs.getUserId; exports.getViewSyncPreview = _chunkSWD6OPOVjs.getViewSyncPreview; exports.hasContext = _chunkSWD6OPOVjs.hasContext; exports.hasRelationReferences = _chunkSWD6OPOVjs.hasRelationReferences; exports.hasSchemaContext = _chunkSWD6OPOVjs.hasSchemaContext; exports.initializePinCodeService = _chunkSWD6OPOVjs.initializePinCodeService; exports.initializeTokenService = _chunkSWD6OPOVjs.initializeTokenService; exports.isLabelExpression = _chunkSWD6OPOVjs.isLabelExpression; exports.notesPolicy = _chunkSWD6OPOVjs.notesPolicy; exports.parsePath = _chunkSWD6OPOVjs.parsePath; exports.pathHasManyCardinality = _chunkSWD6OPOVjs.pathHasManyCardinality; exports.renderLabelExpression = _chunkSWD6OPOVjs.renderLabelExpression; exports.resolveMultiplePaths = _chunkSWD6OPOVjs.resolveMultiplePaths; exports.resolveSingleValue = _chunkSWD6OPOVjs.resolveSingleValue; exports.runWithContext = _chunkSWD6OPOVjs.runWithContext; exports.runWithMergedSchemaContext = _chunkSWD6OPOVjs.runWithMergedSchemaContext; exports.runWithSchemaContext = _chunkSWD6OPOVjs.runWithSchemaContext; exports.success = _chunkSWD6OPOVjs.success; exports.syncAll = _chunkSWD6OPOVjs.syncAll; exports.syncNativeObjects = _chunkSWD6OPOVjs.syncNativeObjects; exports.syncNativeViews = _chunkSWD6OPOVjs.syncNativeViews; exports.traversePath = _chunkSWD6OPOVjs.traversePath; exports.validateFormulaExpression = _chunkSWD6OPOVjs.validateFormulaExpression; exports.validatePath = _chunkSWD6OPOVjs.validatePath; exports.verifyNativeObjectsSync = _chunkSWD6OPOVjs.verifyNativeObjectsSync; exports.verifyNativeViewsSync = _chunkSWD6OPOVjs.verifyNativeViewsSync; exports.wait = _chunkSWD6OPOVjs.wait; exports.withTenantContext = _chunkSWD6OPOVjs.withTenantContext;
package/dist/runtime.mjs CHANGED
@@ -111,7 +111,7 @@ import {
111
111
  verifyNativeViewsSync,
112
112
  wait,
113
113
  withTenantContext
114
- } from "./chunk-4ZUAND4E.mjs";
114
+ } from "./chunk-MXYJTCA3.mjs";
115
115
  import "./chunk-Y6FXYEAI.mjs";
116
116
  export {
117
117
  AuditService,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stndrds/schema",
3
- "version": "0.1.0-alpha.41",
3
+ "version": "0.1.0-alpha.43",
4
4
  "description": "Standard schema definitions and utilities",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -23,7 +23,7 @@
23
23
  "dependencies": {
24
24
  "expr-eval": "^2.0.2",
25
25
  "zod": "^4.2.1",
26
- "@stndrds/constants": "0.1.0-alpha.41"
26
+ "@stndrds/constants": "0.1.0-alpha.43"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@types/node": "^25.0.3",