@stndrds/schema 0.1.0-alpha.44 → 0.1.0-alpha.46
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-MXYJTCA3.mjs → chunk-CVMMZRH6.mjs} +7332 -6835
- package/dist/{chunk-SWD6OPOV.js → chunk-I6VF7DOR.js} +7225 -6728
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +46 -6
- package/dist/index.mjs +41 -1
- package/dist/{runtime-DnOfFnEm.d.mts → runtime-BOg0C4ev.d.mts} +3063 -2606
- package/dist/{runtime-DnOfFnEm.d.ts → runtime-BOg0C4ev.d.ts} +3063 -2606
- package/dist/runtime.d.mts +1 -1
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +42 -2
- package/dist/runtime.mjs +41 -1
- package/package.json +2 -2
package/dist/runtime.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { gB as AddAttributeInput, g8 as AttributeChange, gk as AttributesRepository, gs as AuditRepository, hx as AuditService, ho as AuthenticationResult, gv as BaseRepository, gu as BaseService, eI as CacheAdapter, eG as CacheKeyType, eJ as CacheOptions, bO as CompletionStatus, fC as ConditionExecutor, gA as CreateCustomObjectInput, i8 as CreateDBAttribute, i4 as CreateDBObject, ij as CreateDBView, io as CreateDBWorkflow, ir as CreateDBWorkflowInstance, iu as CreateDBWorkflowParticipation, ib as CreateObjectRecord, hm as CreateParticipationInput, hn as CreateParticipationResult, hF as CreateViewInput, he as CreateWorkflowInput, i7 as DBAttribute, i3 as DBObject, ii as DBView, im as DBWorkflow, iq as DBWorkflowInstance, it as DBWorkflowParticipation, hW as DEFAULT_LABEL_FALLBACK, eu as DatabaseAdapter, fD as EndExecutor, f3 as EvaluationResult, f4 as EvaluationTrace, fq as ExecutorCompleteResult, fr as ExecutorContext, fs as ExecutorErrorResult, fz as ExecutorRegistry, ft as ExecutorResult, fu as ExecutorSuccessResult, fv as ExecutorWaitResult, eO as FetchResult, hq as FieldReadOnlyResult, hI as FileContent, ih as FileListOptions, hA as FileService, hz as FileServiceOptions, gm as FilesRepository, fE as FormExecutor, eP as FormattedRecord, fS as FormulaResult, hU as FullSyncOptions, hT as FullSyncResult, bj as GeocodingAdapter, bg as GeocodingAutocompleteParams, bi as GeocodingParams, hB as GeocodingService, bf as GeocodingSuggestion, gQ as GetRelationOptionsParams, ie as GlobalSearchOptions, ig as GlobalSearchResultItem, hC as GlobalSearchService, eQ as GroupedFetchResult, g9 as HookContext, ga as HookDefinition, gb as HookHandler, ge as HookRegistry, gc as HookType, eR as InsertOptions, fW as InvalidPathError, h5 as LabelResolver, ic as ListOptions, fX as MaxDepthExceededError, fw as NodeExecutor, eN as NoopCacheAdapter, bk as NoopGeocodingAdapter, gd as NoopHookRegistry, gn as ObjectRecordsRepository, gE as ObjectSchemaService, gD as ObjectSchemaServiceOptions, gj as ObjectsRepository, iw as OperationResult, ey as ParticipationTokenPayload, ev as ParticipationTokenService, f$ as PathCardinality, g0 as PathSegment, g1 as PathSegmentType, hE as PermissionService, hD as PermissionServiceOptions, gt as PermissionsRepository, eE as PinCodeGenerationOptions, eB as PinCodeService, eF as PinCodeVerificationResult, b$ as PolicyContext, gh as PolicyRegistry, c1 as PolicyViolationError, f1 as QueryBuilder, f2 as QueryBuilderOptions, eS as QueryBuilderState, eZ as QueryMultipleResultsError, e_ as QueryNoResultError, gI as QueryOptions, gK as QueryResult, c0 as RecordPolicy, gL as RecordQueryService, gH as RecordQueryServiceOptions, gG as RecordService, gF as RecordServiceOptions, eT as RegistryMap, eU as RegistryObjectNames, i1 as RelationLabelResolver, gO as RelationOption, gP as RelationOptionsResponse, gU as RelationResolverService, gS as RelationService, gR as RelationServiceOptions, gN as RelationValidationError, gM as RelationValidationResult, gT as ResolvedRelations, hj as ResumeWorkflowInput, bh as ReverseGeocodingParams, hd as RollupCascadeContext, gV as RollupResult, gY as RollupScheduler, gX as RollupSchedulerOptions, gW as RollupService, e$ as SHORTCUT_TO_FILTER_OPERATOR, fg as SchemaContext, gw as SchemaContextAware, gx as SchemaContextAwareRepository, g2 as SchemaResolver, id as SearchOptions, gJ as SearchQueryOptions, eV as ShortcutOperator, hL as SignedUrlOptions, fF as StartExecutor, hi as StartWorkflowInput, hM as StorageAdapter, hJ as StorageUploadInput, hK as StorageUploadResult, hP as SyncOptions, hO as SyncResult, gy as TenantAwareRepository, gz as TenantAwareService, fn as TenantContext, f8 as TenantContextError, ez as TokenGenerationOptions, eA as TokenVerificationResult, g6 as TraversalOptions, g7 as TraversalResult, i9 as UpdateDBAttribute, i5 as UpdateDBObject, ik as UpdateDBView, ip as UpdateDBWorkflow, is as UpdateDBWorkflowInstance, iv as UpdateDBWorkflowParticipation, gC as UpdateObjectInput, hG as UpdateViewInput, hf as UpdateWorkflowInput, hN as UploadFileInput, ia as UpsertDBAttribute, i6 as UpsertDBObject, il as UpsertDBView, hw as UserProfileService, hv as UserProfileServiceOptions, gl as UserProfilesRepository, hu as UserService, ht as UserValidationError, hs as UserValidationResult, hH as ViewService, iy as ViewSyncOptions, ix as ViewSyncResult, go as ViewsRepository, hl as WorkflowInstanceService, hk as WorkflowInstanceServiceOptions, gq as WorkflowInstancesRepository, hp as WorkflowParticipationService, gr as WorkflowParticipationsRepository, hr as WorkflowRelationService, hh as WorkflowService, hg as WorkflowServiceOptions, gp as WorkflowsRepository, f9 as addSchemaToContext, gZ as applyDefaultValues, hy as buildAuditChanges, h0 as buildPolicyContext, eK as cacheKeys, eL as cacheTtl, g_ as checkPermission, h1 as checkRecordAccess, h3 as checkRecordDeleteOrThrow, h2 as checkRecordModifyOrThrow, fx as complete, h4 as computeLabel, i2 as computeLabelWithRelations, h8 as createContextForCreate, ha as createContextForDelete, hb as createContextForRestore, h9 as createContextForUpdate, fo as createDefaultExecutorRegistry, eW as createDefaultState, gf as createMockAdapter, f0 as createQueryBuilder, gg as defaultPolicyRegistry, eM as defaultTtl, h7 as enrichRecordsWithFormulas, h_ as enrichValuesForDisplay, h$ as enrichValuesWithSelectLabels, h6 as enrichWithFormulas, fy as error, f6 as evaluate, f5 as evaluateCondition, fG as evaluateFormula, fH as evaluateFormulaAttribute, fI as evaluateFormulaAttributeWithRelations, fJ as evaluateFormulaWithRelations, fK as evaluateFormulaWithResult, f7 as evaluateWithTrace, hZ as extractAttributeNames, fL as extractFormulaVariables, i0 as extractRelationIds, fM as extractRelationNames, fN as extractRelationReferences, fO as flattenRelationsForEval, fP as formatFormulaResult, eX as formatRecord, eY as formatRecords, fh as getContext, fp as getDefaultExecutorRegistry, eC as getDefaultPinCodeService, ew as getDefaultTokenService, fT as getPathDepth, g$ as getPolicy, fU as getRelationPath, fa as getSchemaByNameFromContext, fb as getSchemaContext, fc as getSchemaFromContext, hS as getSyncPreview, fV as getTargetAttributeName, fi as getTenantId, fj as getUserId, iB as getViewSyncPreview, fk as hasContext, fQ as hasRelationReferences, fd as hasSchemaContext, eH as hashOptions, eD as initializePinCodeService, ex as initializeTokenService, hY as isLabelExpression, gi as notesPolicy, fY as parsePath, fZ as pathHasManyCardinality, hc as recalculateParentRollups, hX as renderLabelExpression, g3 as resolveMultiplePaths, g4 as resolveSingleValue, fl as runWithContext, fe as runWithMergedSchemaContext, ff as runWithSchemaContext, fA as success, hV as syncAll, hQ as syncNativeObjects, iz as syncNativeViews, g5 as traversePath, fR as validateFormulaExpression, f_ as validatePath, hR as verifyNativeObjectsSync, iA as verifyNativeViewsSync, fB as wait, fm as withTenantContext } from './runtime-BOg0C4ev.mjs';
|
|
2
2
|
import '@stndrds/constants';
|
|
3
3
|
import 'zod';
|
package/dist/runtime.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { gB as AddAttributeInput, g8 as AttributeChange, gk as AttributesRepository, gs as AuditRepository, hx as AuditService, ho as AuthenticationResult, gv as BaseRepository, gu as BaseService, eI as CacheAdapter, eG as CacheKeyType, eJ as CacheOptions, bO as CompletionStatus, fC as ConditionExecutor, gA as CreateCustomObjectInput, i8 as CreateDBAttribute, i4 as CreateDBObject, ij as CreateDBView, io as CreateDBWorkflow, ir as CreateDBWorkflowInstance, iu as CreateDBWorkflowParticipation, ib as CreateObjectRecord, hm as CreateParticipationInput, hn as CreateParticipationResult, hF as CreateViewInput, he as CreateWorkflowInput, i7 as DBAttribute, i3 as DBObject, ii as DBView, im as DBWorkflow, iq as DBWorkflowInstance, it as DBWorkflowParticipation, hW as DEFAULT_LABEL_FALLBACK, eu as DatabaseAdapter, fD as EndExecutor, f3 as EvaluationResult, f4 as EvaluationTrace, fq as ExecutorCompleteResult, fr as ExecutorContext, fs as ExecutorErrorResult, fz as ExecutorRegistry, ft as ExecutorResult, fu as ExecutorSuccessResult, fv as ExecutorWaitResult, eO as FetchResult, hq as FieldReadOnlyResult, hI as FileContent, ih as FileListOptions, hA as FileService, hz as FileServiceOptions, gm as FilesRepository, fE as FormExecutor, eP as FormattedRecord, fS as FormulaResult, hU as FullSyncOptions, hT as FullSyncResult, bj as GeocodingAdapter, bg as GeocodingAutocompleteParams, bi as GeocodingParams, hB as GeocodingService, bf as GeocodingSuggestion, gQ as GetRelationOptionsParams, ie as GlobalSearchOptions, ig as GlobalSearchResultItem, hC as GlobalSearchService, eQ as GroupedFetchResult, g9 as HookContext, ga as HookDefinition, gb as HookHandler, ge as HookRegistry, gc as HookType, eR as InsertOptions, fW as InvalidPathError, h5 as LabelResolver, ic as ListOptions, fX as MaxDepthExceededError, fw as NodeExecutor, eN as NoopCacheAdapter, bk as NoopGeocodingAdapter, gd as NoopHookRegistry, gn as ObjectRecordsRepository, gE as ObjectSchemaService, gD as ObjectSchemaServiceOptions, gj as ObjectsRepository, iw as OperationResult, ey as ParticipationTokenPayload, ev as ParticipationTokenService, f$ as PathCardinality, g0 as PathSegment, g1 as PathSegmentType, hE as PermissionService, hD as PermissionServiceOptions, gt as PermissionsRepository, eE as PinCodeGenerationOptions, eB as PinCodeService, eF as PinCodeVerificationResult, b$ as PolicyContext, gh as PolicyRegistry, c1 as PolicyViolationError, f1 as QueryBuilder, f2 as QueryBuilderOptions, eS as QueryBuilderState, eZ as QueryMultipleResultsError, e_ as QueryNoResultError, gI as QueryOptions, gK as QueryResult, c0 as RecordPolicy, gL as RecordQueryService, gH as RecordQueryServiceOptions, gG as RecordService, gF as RecordServiceOptions, eT as RegistryMap, eU as RegistryObjectNames, i1 as RelationLabelResolver, gO as RelationOption, gP as RelationOptionsResponse, gU as RelationResolverService, gS as RelationService, gR as RelationServiceOptions, gN as RelationValidationError, gM as RelationValidationResult, gT as ResolvedRelations, hj as ResumeWorkflowInput, bh as ReverseGeocodingParams, hd as RollupCascadeContext, gV as RollupResult, gY as RollupScheduler, gX as RollupSchedulerOptions, gW as RollupService, e$ as SHORTCUT_TO_FILTER_OPERATOR, fg as SchemaContext, gw as SchemaContextAware, gx as SchemaContextAwareRepository, g2 as SchemaResolver, id as SearchOptions, gJ as SearchQueryOptions, eV as ShortcutOperator, hL as SignedUrlOptions, fF as StartExecutor, hi as StartWorkflowInput, hM as StorageAdapter, hJ as StorageUploadInput, hK as StorageUploadResult, hP as SyncOptions, hO as SyncResult, gy as TenantAwareRepository, gz as TenantAwareService, fn as TenantContext, f8 as TenantContextError, ez as TokenGenerationOptions, eA as TokenVerificationResult, g6 as TraversalOptions, g7 as TraversalResult, i9 as UpdateDBAttribute, i5 as UpdateDBObject, ik as UpdateDBView, ip as UpdateDBWorkflow, is as UpdateDBWorkflowInstance, iv as UpdateDBWorkflowParticipation, gC as UpdateObjectInput, hG as UpdateViewInput, hf as UpdateWorkflowInput, hN as UploadFileInput, ia as UpsertDBAttribute, i6 as UpsertDBObject, il as UpsertDBView, hw as UserProfileService, hv as UserProfileServiceOptions, gl as UserProfilesRepository, hu as UserService, ht as UserValidationError, hs as UserValidationResult, hH as ViewService, iy as ViewSyncOptions, ix as ViewSyncResult, go as ViewsRepository, hl as WorkflowInstanceService, hk as WorkflowInstanceServiceOptions, gq as WorkflowInstancesRepository, hp as WorkflowParticipationService, gr as WorkflowParticipationsRepository, hr as WorkflowRelationService, hh as WorkflowService, hg as WorkflowServiceOptions, gp as WorkflowsRepository, f9 as addSchemaToContext, gZ as applyDefaultValues, hy as buildAuditChanges, h0 as buildPolicyContext, eK as cacheKeys, eL as cacheTtl, g_ as checkPermission, h1 as checkRecordAccess, h3 as checkRecordDeleteOrThrow, h2 as checkRecordModifyOrThrow, fx as complete, h4 as computeLabel, i2 as computeLabelWithRelations, h8 as createContextForCreate, ha as createContextForDelete, hb as createContextForRestore, h9 as createContextForUpdate, fo as createDefaultExecutorRegistry, eW as createDefaultState, gf as createMockAdapter, f0 as createQueryBuilder, gg as defaultPolicyRegistry, eM as defaultTtl, h7 as enrichRecordsWithFormulas, h_ as enrichValuesForDisplay, h$ as enrichValuesWithSelectLabels, h6 as enrichWithFormulas, fy as error, f6 as evaluate, f5 as evaluateCondition, fG as evaluateFormula, fH as evaluateFormulaAttribute, fI as evaluateFormulaAttributeWithRelations, fJ as evaluateFormulaWithRelations, fK as evaluateFormulaWithResult, f7 as evaluateWithTrace, hZ as extractAttributeNames, fL as extractFormulaVariables, i0 as extractRelationIds, fM as extractRelationNames, fN as extractRelationReferences, fO as flattenRelationsForEval, fP as formatFormulaResult, eX as formatRecord, eY as formatRecords, fh as getContext, fp as getDefaultExecutorRegistry, eC as getDefaultPinCodeService, ew as getDefaultTokenService, fT as getPathDepth, g$ as getPolicy, fU as getRelationPath, fa as getSchemaByNameFromContext, fb as getSchemaContext, fc as getSchemaFromContext, hS as getSyncPreview, fV as getTargetAttributeName, fi as getTenantId, fj as getUserId, iB as getViewSyncPreview, fk as hasContext, fQ as hasRelationReferences, fd as hasSchemaContext, eH as hashOptions, eD as initializePinCodeService, ex as initializeTokenService, hY as isLabelExpression, gi as notesPolicy, fY as parsePath, fZ as pathHasManyCardinality, hc as recalculateParentRollups, hX as renderLabelExpression, g3 as resolveMultiplePaths, g4 as resolveSingleValue, fl as runWithContext, fe as runWithMergedSchemaContext, ff as runWithSchemaContext, fA as success, hV as syncAll, hQ as syncNativeObjects, iz as syncNativeViews, g5 as traversePath, fR as validateFormulaExpression, f_ as validatePath, hR as verifyNativeObjectsSync, iA as verifyNativeViewsSync, fB as wait, fm as withTenantContext } from './runtime-BOg0C4ev.js';
|
|
2
2
|
import '@stndrds/constants';
|
|
3
3
|
import 'zod';
|
package/dist/runtime.js
CHANGED
|
@@ -111,7 +111,27 @@
|
|
|
111
111
|
|
|
112
112
|
|
|
113
113
|
|
|
114
|
-
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
var _chunkI6VF7DORjs = require('./chunk-I6VF7DOR.js');
|
|
115
135
|
require('./chunk-3RG5ZIWI.js');
|
|
116
136
|
|
|
117
137
|
|
|
@@ -226,4 +246,24 @@ require('./chunk-3RG5ZIWI.js');
|
|
|
226
246
|
|
|
227
247
|
|
|
228
248
|
|
|
229
|
-
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
|
|
263
|
+
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
exports.AuditService = _chunkI6VF7DORjs.AuditService; exports.BaseRepository = _chunkI6VF7DORjs.BaseRepository; exports.BaseService = _chunkI6VF7DORjs.BaseService; exports.ConditionExecutor = _chunkI6VF7DORjs.ConditionExecutor; exports.DEFAULT_LABEL_FALLBACK = _chunkI6VF7DORjs.DEFAULT_LABEL_FALLBACK; exports.EndExecutor = _chunkI6VF7DORjs.EndExecutor; exports.ExecutorRegistry = _chunkI6VF7DORjs.ExecutorRegistry; exports.FileService = _chunkI6VF7DORjs.FileService; exports.FormExecutor = _chunkI6VF7DORjs.FormExecutor; exports.GeocodingService = _chunkI6VF7DORjs.GeocodingService; exports.GlobalSearchService = _chunkI6VF7DORjs.GlobalSearchService; exports.InvalidPathError = _chunkI6VF7DORjs.InvalidPathError; exports.MaxDepthExceededError = _chunkI6VF7DORjs.MaxDepthExceededError; exports.NoopCacheAdapter = _chunkI6VF7DORjs.NoopCacheAdapter; exports.NoopGeocodingAdapter = _chunkI6VF7DORjs.NoopGeocodingAdapter; exports.NoopHookRegistry = _chunkI6VF7DORjs.NoopHookRegistry; exports.ObjectSchemaService = _chunkI6VF7DORjs.ObjectSchemaService; exports.ParticipationTokenService = _chunkI6VF7DORjs.ParticipationTokenService; exports.PermissionService = _chunkI6VF7DORjs.PermissionService; exports.PinCodeService = _chunkI6VF7DORjs.PinCodeService; exports.PolicyRegistry = _chunkI6VF7DORjs.PolicyRegistry; exports.PolicyViolationError = _chunkI6VF7DORjs.PolicyViolationError; exports.QueryBuilder = _chunkI6VF7DORjs.QueryBuilder; exports.QueryMultipleResultsError = _chunkI6VF7DORjs.QueryMultipleResultsError; exports.QueryNoResultError = _chunkI6VF7DORjs.QueryNoResultError; exports.RecordQueryService = _chunkI6VF7DORjs.RecordQueryService; exports.RecordService = _chunkI6VF7DORjs.RecordService; exports.RelationResolverService = _chunkI6VF7DORjs.RelationResolverService; exports.RelationService = _chunkI6VF7DORjs.RelationService; exports.RollupScheduler = _chunkI6VF7DORjs.RollupScheduler; exports.RollupService = _chunkI6VF7DORjs.RollupService; exports.SHORTCUT_TO_FILTER_OPERATOR = _chunkI6VF7DORjs.SHORTCUT_TO_FILTER_OPERATOR; exports.SchemaContextAwareRepository = _chunkI6VF7DORjs.SchemaContextAwareRepository; exports.StartExecutor = _chunkI6VF7DORjs.StartExecutor; exports.TenantAwareRepository = _chunkI6VF7DORjs.TenantAwareRepository; exports.TenantAwareService = _chunkI6VF7DORjs.TenantAwareService; exports.TenantContextError = _chunkI6VF7DORjs.TenantContextError; exports.UserProfileService = _chunkI6VF7DORjs.UserProfileService; exports.UserService = _chunkI6VF7DORjs.UserService; exports.ViewService = _chunkI6VF7DORjs.ViewService; exports.WorkflowInstanceService = _chunkI6VF7DORjs.WorkflowInstanceService; exports.WorkflowParticipationService = _chunkI6VF7DORjs.WorkflowParticipationService; exports.WorkflowRelationService = _chunkI6VF7DORjs.WorkflowRelationService; exports.WorkflowService = _chunkI6VF7DORjs.WorkflowService; exports.addSchemaToContext = _chunkI6VF7DORjs.addSchemaToContext; exports.applyDefaultValues = _chunkI6VF7DORjs.applyDefaultValues; exports.buildAuditChanges = _chunkI6VF7DORjs.buildAuditChanges; exports.buildPolicyContext = _chunkI6VF7DORjs.buildPolicyContext; exports.cacheKeys = _chunkI6VF7DORjs.cacheKeys; exports.cacheTtl = _chunkI6VF7DORjs.cacheTtl; exports.checkPermission = _chunkI6VF7DORjs.checkPermission; exports.checkRecordAccess = _chunkI6VF7DORjs.checkRecordAccess; exports.checkRecordDeleteOrThrow = _chunkI6VF7DORjs.checkRecordDeleteOrThrow; exports.checkRecordModifyOrThrow = _chunkI6VF7DORjs.checkRecordModifyOrThrow; exports.complete = _chunkI6VF7DORjs.complete; exports.computeLabel = _chunkI6VF7DORjs.computeLabel; exports.computeLabelWithRelations = _chunkI6VF7DORjs.computeLabelWithRelations; exports.createContextForCreate = _chunkI6VF7DORjs.createContextForCreate; exports.createContextForDelete = _chunkI6VF7DORjs.createContextForDelete; exports.createContextForRestore = _chunkI6VF7DORjs.createContextForRestore; exports.createContextForUpdate = _chunkI6VF7DORjs.createContextForUpdate; exports.createDefaultExecutorRegistry = _chunkI6VF7DORjs.createDefaultExecutorRegistry; exports.createDefaultState = _chunkI6VF7DORjs.createDefaultState; exports.createMockAdapter = _chunkI6VF7DORjs.createMockAdapter; exports.createQueryBuilder = _chunkI6VF7DORjs.createQueryBuilder; exports.defaultPolicyRegistry = _chunkI6VF7DORjs.defaultPolicyRegistry; exports.defaultTtl = _chunkI6VF7DORjs.defaultTtl; exports.enrichRecordsWithFormulas = _chunkI6VF7DORjs.enrichRecordsWithFormulas; exports.enrichValuesForDisplay = _chunkI6VF7DORjs.enrichValuesForDisplay; exports.enrichValuesWithSelectLabels = _chunkI6VF7DORjs.enrichValuesWithSelectLabels; exports.enrichWithFormulas = _chunkI6VF7DORjs.enrichWithFormulas; exports.error = _chunkI6VF7DORjs.error; exports.evaluate = _chunkI6VF7DORjs.evaluate; exports.evaluateCondition = _chunkI6VF7DORjs.evaluateCondition; exports.evaluateFormula = _chunkI6VF7DORjs.evaluateFormula; exports.evaluateFormulaAttribute = _chunkI6VF7DORjs.evaluateFormulaAttribute; exports.evaluateFormulaAttributeWithRelations = _chunkI6VF7DORjs.evaluateFormulaAttributeWithRelations; exports.evaluateFormulaWithRelations = _chunkI6VF7DORjs.evaluateFormulaWithRelations; exports.evaluateFormulaWithResult = _chunkI6VF7DORjs.evaluateFormulaWithResult; exports.evaluateWithTrace = _chunkI6VF7DORjs.evaluateWithTrace; exports.extractAttributeNames = _chunkI6VF7DORjs.extractAttributeNames; exports.extractFormulaVariables = _chunkI6VF7DORjs.extractFormulaVariables; exports.extractRelationIds = _chunkI6VF7DORjs.extractRelationIds; exports.extractRelationNames = _chunkI6VF7DORjs.extractRelationNames; exports.extractRelationReferences = _chunkI6VF7DORjs.extractRelationReferences; exports.flattenRelationsForEval = _chunkI6VF7DORjs.flattenRelationsForEval; exports.formatFormulaResult = _chunkI6VF7DORjs.formatFormulaResult; exports.formatRecord = _chunkI6VF7DORjs.formatRecord; exports.formatRecords = _chunkI6VF7DORjs.formatRecords; exports.getContext = _chunkI6VF7DORjs.getContext; exports.getDefaultExecutorRegistry = _chunkI6VF7DORjs.getDefaultExecutorRegistry; exports.getDefaultPinCodeService = _chunkI6VF7DORjs.getDefaultPinCodeService; exports.getDefaultTokenService = _chunkI6VF7DORjs.getDefaultTokenService; exports.getPathDepth = _chunkI6VF7DORjs.getPathDepth; exports.getPolicy = _chunkI6VF7DORjs.getPolicy; exports.getRelationPath = _chunkI6VF7DORjs.getRelationPath; exports.getSchemaByNameFromContext = _chunkI6VF7DORjs.getSchemaByNameFromContext; exports.getSchemaContext = _chunkI6VF7DORjs.getSchemaContext; exports.getSchemaFromContext = _chunkI6VF7DORjs.getSchemaFromContext; exports.getSyncPreview = _chunkI6VF7DORjs.getSyncPreview; exports.getTargetAttributeName = _chunkI6VF7DORjs.getTargetAttributeName; exports.getTenantId = _chunkI6VF7DORjs.getTenantId; exports.getUserId = _chunkI6VF7DORjs.getUserId; exports.getViewSyncPreview = _chunkI6VF7DORjs.getViewSyncPreview; exports.hasContext = _chunkI6VF7DORjs.hasContext; exports.hasRelationReferences = _chunkI6VF7DORjs.hasRelationReferences; exports.hasSchemaContext = _chunkI6VF7DORjs.hasSchemaContext; exports.hashOptions = _chunkI6VF7DORjs.hashOptions; exports.initializePinCodeService = _chunkI6VF7DORjs.initializePinCodeService; exports.initializeTokenService = _chunkI6VF7DORjs.initializeTokenService; exports.isLabelExpression = _chunkI6VF7DORjs.isLabelExpression; exports.notesPolicy = _chunkI6VF7DORjs.notesPolicy; exports.parsePath = _chunkI6VF7DORjs.parsePath; exports.pathHasManyCardinality = _chunkI6VF7DORjs.pathHasManyCardinality; exports.recalculateParentRollups = _chunkI6VF7DORjs.recalculateParentRollups; exports.renderLabelExpression = _chunkI6VF7DORjs.renderLabelExpression; exports.resolveMultiplePaths = _chunkI6VF7DORjs.resolveMultiplePaths; exports.resolveSingleValue = _chunkI6VF7DORjs.resolveSingleValue; exports.runWithContext = _chunkI6VF7DORjs.runWithContext; exports.runWithMergedSchemaContext = _chunkI6VF7DORjs.runWithMergedSchemaContext; exports.runWithSchemaContext = _chunkI6VF7DORjs.runWithSchemaContext; exports.success = _chunkI6VF7DORjs.success; exports.syncAll = _chunkI6VF7DORjs.syncAll; exports.syncNativeObjects = _chunkI6VF7DORjs.syncNativeObjects; exports.syncNativeViews = _chunkI6VF7DORjs.syncNativeViews; exports.traversePath = _chunkI6VF7DORjs.traversePath; exports.validateFormulaExpression = _chunkI6VF7DORjs.validateFormulaExpression; exports.validatePath = _chunkI6VF7DORjs.validatePath; exports.verifyNativeObjectsSync = _chunkI6VF7DORjs.verifyNativeObjectsSync; exports.verifyNativeViewsSync = _chunkI6VF7DORjs.verifyNativeViewsSync; exports.wait = _chunkI6VF7DORjs.wait; exports.withTenantContext = _chunkI6VF7DORjs.withTenantContext;
|
package/dist/runtime.mjs
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AuditService,
|
|
3
|
+
BaseRepository,
|
|
4
|
+
BaseService,
|
|
3
5
|
ConditionExecutor,
|
|
4
6
|
DEFAULT_LABEL_FALLBACK,
|
|
5
7
|
EndExecutor,
|
|
@@ -22,6 +24,7 @@ import {
|
|
|
22
24
|
QueryBuilder,
|
|
23
25
|
QueryMultipleResultsError,
|
|
24
26
|
QueryNoResultError,
|
|
27
|
+
RecordQueryService,
|
|
25
28
|
RecordService,
|
|
26
29
|
RelationResolverService,
|
|
27
30
|
RelationService,
|
|
@@ -41,18 +44,32 @@ import {
|
|
|
41
44
|
WorkflowRelationService,
|
|
42
45
|
WorkflowService,
|
|
43
46
|
addSchemaToContext,
|
|
47
|
+
applyDefaultValues,
|
|
44
48
|
buildAuditChanges,
|
|
49
|
+
buildPolicyContext,
|
|
45
50
|
cacheKeys,
|
|
46
51
|
cacheTtl,
|
|
52
|
+
checkPermission,
|
|
53
|
+
checkRecordAccess,
|
|
54
|
+
checkRecordDeleteOrThrow,
|
|
55
|
+
checkRecordModifyOrThrow,
|
|
47
56
|
complete,
|
|
57
|
+
computeLabel,
|
|
48
58
|
computeLabelWithRelations,
|
|
59
|
+
createContextForCreate,
|
|
60
|
+
createContextForDelete,
|
|
61
|
+
createContextForRestore,
|
|
62
|
+
createContextForUpdate,
|
|
49
63
|
createDefaultExecutorRegistry,
|
|
50
64
|
createDefaultState,
|
|
51
65
|
createMockAdapter,
|
|
52
66
|
createQueryBuilder,
|
|
53
67
|
defaultPolicyRegistry,
|
|
68
|
+
defaultTtl,
|
|
69
|
+
enrichRecordsWithFormulas,
|
|
54
70
|
enrichValuesForDisplay,
|
|
55
71
|
enrichValuesWithSelectLabels,
|
|
72
|
+
enrichWithFormulas,
|
|
56
73
|
error,
|
|
57
74
|
evaluate,
|
|
58
75
|
evaluateCondition,
|
|
@@ -76,6 +93,7 @@ import {
|
|
|
76
93
|
getDefaultPinCodeService,
|
|
77
94
|
getDefaultTokenService,
|
|
78
95
|
getPathDepth,
|
|
96
|
+
getPolicy,
|
|
79
97
|
getRelationPath,
|
|
80
98
|
getSchemaByNameFromContext,
|
|
81
99
|
getSchemaContext,
|
|
@@ -88,12 +106,14 @@ import {
|
|
|
88
106
|
hasContext,
|
|
89
107
|
hasRelationReferences,
|
|
90
108
|
hasSchemaContext,
|
|
109
|
+
hashOptions,
|
|
91
110
|
initializePinCodeService,
|
|
92
111
|
initializeTokenService,
|
|
93
112
|
isLabelExpression,
|
|
94
113
|
notesPolicy,
|
|
95
114
|
parsePath,
|
|
96
115
|
pathHasManyCardinality,
|
|
116
|
+
recalculateParentRollups,
|
|
97
117
|
renderLabelExpression,
|
|
98
118
|
resolveMultiplePaths,
|
|
99
119
|
resolveSingleValue,
|
|
@@ -111,10 +131,12 @@ import {
|
|
|
111
131
|
verifyNativeViewsSync,
|
|
112
132
|
wait,
|
|
113
133
|
withTenantContext
|
|
114
|
-
} from "./chunk-
|
|
134
|
+
} from "./chunk-CVMMZRH6.mjs";
|
|
115
135
|
import "./chunk-Y6FXYEAI.mjs";
|
|
116
136
|
export {
|
|
117
137
|
AuditService,
|
|
138
|
+
BaseRepository,
|
|
139
|
+
BaseService,
|
|
118
140
|
ConditionExecutor,
|
|
119
141
|
DEFAULT_LABEL_FALLBACK,
|
|
120
142
|
EndExecutor,
|
|
@@ -137,6 +159,7 @@ export {
|
|
|
137
159
|
QueryBuilder,
|
|
138
160
|
QueryMultipleResultsError,
|
|
139
161
|
QueryNoResultError,
|
|
162
|
+
RecordQueryService,
|
|
140
163
|
RecordService,
|
|
141
164
|
RelationResolverService,
|
|
142
165
|
RelationService,
|
|
@@ -156,18 +179,32 @@ export {
|
|
|
156
179
|
WorkflowRelationService,
|
|
157
180
|
WorkflowService,
|
|
158
181
|
addSchemaToContext,
|
|
182
|
+
applyDefaultValues,
|
|
159
183
|
buildAuditChanges,
|
|
184
|
+
buildPolicyContext,
|
|
160
185
|
cacheKeys,
|
|
161
186
|
cacheTtl,
|
|
187
|
+
checkPermission,
|
|
188
|
+
checkRecordAccess,
|
|
189
|
+
checkRecordDeleteOrThrow,
|
|
190
|
+
checkRecordModifyOrThrow,
|
|
162
191
|
complete,
|
|
192
|
+
computeLabel,
|
|
163
193
|
computeLabelWithRelations,
|
|
194
|
+
createContextForCreate,
|
|
195
|
+
createContextForDelete,
|
|
196
|
+
createContextForRestore,
|
|
197
|
+
createContextForUpdate,
|
|
164
198
|
createDefaultExecutorRegistry,
|
|
165
199
|
createDefaultState,
|
|
166
200
|
createMockAdapter,
|
|
167
201
|
createQueryBuilder,
|
|
168
202
|
defaultPolicyRegistry,
|
|
203
|
+
defaultTtl,
|
|
204
|
+
enrichRecordsWithFormulas,
|
|
169
205
|
enrichValuesForDisplay,
|
|
170
206
|
enrichValuesWithSelectLabels,
|
|
207
|
+
enrichWithFormulas,
|
|
171
208
|
error,
|
|
172
209
|
evaluate,
|
|
173
210
|
evaluateCondition,
|
|
@@ -191,6 +228,7 @@ export {
|
|
|
191
228
|
getDefaultPinCodeService,
|
|
192
229
|
getDefaultTokenService,
|
|
193
230
|
getPathDepth,
|
|
231
|
+
getPolicy,
|
|
194
232
|
getRelationPath,
|
|
195
233
|
getSchemaByNameFromContext,
|
|
196
234
|
getSchemaContext,
|
|
@@ -203,12 +241,14 @@ export {
|
|
|
203
241
|
hasContext,
|
|
204
242
|
hasRelationReferences,
|
|
205
243
|
hasSchemaContext,
|
|
244
|
+
hashOptions,
|
|
206
245
|
initializePinCodeService,
|
|
207
246
|
initializeTokenService,
|
|
208
247
|
isLabelExpression,
|
|
209
248
|
notesPolicy,
|
|
210
249
|
parsePath,
|
|
211
250
|
pathHasManyCardinality,
|
|
251
|
+
recalculateParentRollups,
|
|
212
252
|
renderLabelExpression,
|
|
213
253
|
resolveMultiplePaths,
|
|
214
254
|
resolveSingleValue,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stndrds/schema",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.46",
|
|
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.
|
|
26
|
+
"@stndrds/constants": "0.1.0-alpha.46"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@types/node": "^25.0.3",
|