@stndrds/schema 0.1.0-alpha.32 → 0.1.0-alpha.33

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.
@@ -8512,6 +8512,12 @@ var RecordService = class extends TenantAwareService {
8512
8512
  if (!_optionalChain([options, 'optionalAccess', _220 => _220.skipHooks])) {
8513
8513
  await this.hookRegistry.execute("beforeUpdate", schema.name, hookCtx);
8514
8514
  }
8515
+ const hookModifiedValues = {};
8516
+ for (const key of Object.keys(hookCtx.newValues)) {
8517
+ if (!(key in data) && hookCtx.newValues[key] !== existing.values[key]) {
8518
+ hookModifiedValues[key] = hookCtx.newValues[key];
8519
+ }
8520
+ }
8515
8521
  if (_optionalChain([options, 'optionalAccess', _221 => _221.validate]) !== false) {
8516
8522
  if (_optionalChain([options, 'optionalAccess', _222 => _222.partial])) {
8517
8523
  validateDraftOrThrow(schema, mergedData);
@@ -8519,16 +8525,23 @@ var RecordService = class extends TenantAwareService {
8519
8525
  validateObjectOrThrow(schema, mergedData);
8520
8526
  }
8521
8527
  if (!_optionalChain([options, 'optionalAccess', _223 => _223.skipRelationValidation])) {
8522
- await this.relationService.validateRelationsOrThrow(schema, data);
8528
+ await this.relationService.validateRelationsOrThrow(schema, {
8529
+ ...data,
8530
+ ...hookModifiedValues
8531
+ });
8523
8532
  }
8524
8533
  if (!_optionalChain([options, 'optionalAccess', _224 => _224.skipUserValidation])) {
8525
- await this.userService.validateUsersOrThrow(schema, data);
8534
+ await this.userService.validateUsersOrThrow(schema, {
8535
+ ...data,
8536
+ ...hookModifiedValues
8537
+ });
8526
8538
  }
8527
8539
  }
8528
8540
  const completionStatus = computeRecordStatus(schema, mergedData);
8529
8541
  const label = await this.computeLabel(schema, mergedData);
8530
8542
  const updatePayload = {
8531
8543
  ...data,
8544
+ ...hookModifiedValues,
8532
8545
  __completionStatus: completionStatus,
8533
8546
  __label: label,
8534
8547
  __lastUpdatedBy: this.userId
@@ -8550,11 +8563,15 @@ var RecordService = class extends TenantAwareService {
8550
8563
  await this.hookRegistry.execute("afterUpdate", schema.name, afterCtx);
8551
8564
  }
8552
8565
  await this.recalculateParentRollups(updated, schema);
8553
- if (this.auditService && this.userId && changedAttributes.length > 0) {
8554
- const changes = changedAttributes.map((attr) => ({
8566
+ const allChangedAttributes = [
8567
+ ...changedAttributes,
8568
+ ...Object.keys(hookModifiedValues).filter((k) => !changedAttributes.includes(k))
8569
+ ];
8570
+ if (this.auditService && this.userId && allChangedAttributes.length > 0) {
8571
+ const changes = allChangedAttributes.map((attr) => ({
8555
8572
  field: attr,
8556
8573
  oldValue: _optionalChain([hookCtx, 'access', _227 => _227.oldValues, 'optionalAccess', _228 => _228[attr]]),
8557
- newValue: data[attr]
8574
+ newValue: hookCtx.newValues[attr]
8558
8575
  }));
8559
8576
  await this.auditService.logRecordAction({
8560
8577
  action: "record.updated",
@@ -8512,6 +8512,12 @@ var RecordService = class extends TenantAwareService {
8512
8512
  if (!options?.skipHooks) {
8513
8513
  await this.hookRegistry.execute("beforeUpdate", schema.name, hookCtx);
8514
8514
  }
8515
+ const hookModifiedValues = {};
8516
+ for (const key of Object.keys(hookCtx.newValues)) {
8517
+ if (!(key in data) && hookCtx.newValues[key] !== existing.values[key]) {
8518
+ hookModifiedValues[key] = hookCtx.newValues[key];
8519
+ }
8520
+ }
8515
8521
  if (options?.validate !== false) {
8516
8522
  if (options?.partial) {
8517
8523
  validateDraftOrThrow(schema, mergedData);
@@ -8519,16 +8525,23 @@ var RecordService = class extends TenantAwareService {
8519
8525
  validateObjectOrThrow(schema, mergedData);
8520
8526
  }
8521
8527
  if (!options?.skipRelationValidation) {
8522
- await this.relationService.validateRelationsOrThrow(schema, data);
8528
+ await this.relationService.validateRelationsOrThrow(schema, {
8529
+ ...data,
8530
+ ...hookModifiedValues
8531
+ });
8523
8532
  }
8524
8533
  if (!options?.skipUserValidation) {
8525
- await this.userService.validateUsersOrThrow(schema, data);
8534
+ await this.userService.validateUsersOrThrow(schema, {
8535
+ ...data,
8536
+ ...hookModifiedValues
8537
+ });
8526
8538
  }
8527
8539
  }
8528
8540
  const completionStatus = computeRecordStatus(schema, mergedData);
8529
8541
  const label = await this.computeLabel(schema, mergedData);
8530
8542
  const updatePayload = {
8531
8543
  ...data,
8544
+ ...hookModifiedValues,
8532
8545
  __completionStatus: completionStatus,
8533
8546
  __label: label,
8534
8547
  __lastUpdatedBy: this.userId
@@ -8550,11 +8563,15 @@ var RecordService = class extends TenantAwareService {
8550
8563
  await this.hookRegistry.execute("afterUpdate", schema.name, afterCtx);
8551
8564
  }
8552
8565
  await this.recalculateParentRollups(updated, schema);
8553
- if (this.auditService && this.userId && changedAttributes.length > 0) {
8554
- const changes = changedAttributes.map((attr) => ({
8566
+ const allChangedAttributes = [
8567
+ ...changedAttributes,
8568
+ ...Object.keys(hookModifiedValues).filter((k) => !changedAttributes.includes(k))
8569
+ ];
8570
+ if (this.auditService && this.userId && allChangedAttributes.length > 0) {
8571
+ const changes = allChangedAttributes.map((attr) => ({
8555
8572
  field: attr,
8556
8573
  oldValue: hookCtx.oldValues?.[attr],
8557
- newValue: data[attr]
8574
+ newValue: hookCtx.newValues[attr]
8558
8575
  }));
8559
8576
  await this.auditService.logRecordAction({
8560
8577
  action: "record.updated",
package/dist/index.js CHANGED
@@ -201,7 +201,7 @@
201
201
 
202
202
 
203
203
 
204
- var _chunkFG3I6YHAjs = require('./chunk-FG3I6YHA.js');
204
+ var _chunk5WYGAQYHjs = require('./chunk-5WYGAQYH.js');
205
205
 
206
206
 
207
207
 
@@ -351,13 +351,13 @@ function isNotesTab(tab) {
351
351
  }
352
352
 
353
353
  // src/native/notes.ts
354
- var NOTES = _chunkFG3I6YHAjs.object.call(void 0, { name: "notes", label: "Note" }).pluralLabel("Notes").icon("file-text").description("Notes that can be linked to any record or used globally").system().labelExpression("{{ title }}").attribute(_chunkFG3I6YHAjs.text.call(void 0, { name: "title", label: "Title" }).placeholder("Untitled").required()).attribute(_chunkFG3I6YHAjs.richtext.call(void 0, { name: "content", label: "Content" }).required()).attribute(
355
- _chunkFG3I6YHAjs.select.call(void 0, { name: "visibility", label: "Visibility" }).options([
354
+ var NOTES = _chunk5WYGAQYHjs.object.call(void 0, { name: "notes", label: "Note" }).pluralLabel("Notes").icon("file-text").description("Notes that can be linked to any record or used globally").system().labelExpression("{{ title }}").attribute(_chunk5WYGAQYHjs.text.call(void 0, { name: "title", label: "Title" }).placeholder("Untitled").required()).attribute(_chunk5WYGAQYHjs.richtext.call(void 0, { name: "content", label: "Content" }).required()).attribute(
355
+ _chunk5WYGAQYHjs.select.call(void 0, { name: "visibility", label: "Visibility" }).options([
356
356
  { id: "private", label: "Private", value: "private", icon: "lock" },
357
357
  { id: "shared", label: "Shared", value: "shared", icon: "users" }
358
358
  ]).defaultValue("private").required()
359
- ).attribute(_chunkFG3I6YHAjs.relation.call(void 0, { name: "linkedTo", label: "Linked To" }).toAny().hidden());
360
- _chunkFG3I6YHAjs.registry.register(NOTES);
359
+ ).attribute(_chunk5WYGAQYHjs.relation.call(void 0, { name: "linkedTo", label: "Linked To" }).toAny().hidden());
360
+ _chunk5WYGAQYHjs.registry.register(NOTES);
361
361
 
362
362
  // src/views/registry.ts
363
363
  var ViewRegistry = class {
@@ -725,4 +725,4 @@ var viewRegistry = new ViewRegistry();
725
725
 
726
726
 
727
727
 
728
- exports.ALL_SYSTEM_RESOURCES = _chunk36UBIXJNjs.ALL_SYSTEM_RESOURCES; exports.ActivityTabConfig = _chunkFG3I6YHAjs.ActivityTabConfig; exports.AttributeInUseError = _chunkFG3I6YHAjs.AttributeInUseError; exports.AttributeNotFoundError = _chunkFG3I6YHAjs.AttributeNotFoundError; exports.AuditService = _chunkFG3I6YHAjs.AuditService; exports.CustomTabConfig = _chunkFG3I6YHAjs.CustomTabConfig; exports.DEFAULT_LABEL_FALLBACK = _chunkFG3I6YHAjs.DEFAULT_LABEL_FALLBACK; exports.DEFAULT_ROLES = _chunk36UBIXJNjs.DEFAULT_ROLES; exports.DEFAULT_ROLE_DESCRIPTIONS = _chunk36UBIXJNjs.DEFAULT_ROLE_DESCRIPTIONS; exports.DEFAULT_ROLE_LABELS = _chunk36UBIXJNjs.DEFAULT_ROLE_LABELS; exports.DEFAULT_ROLE_PERMISSIONS = _chunk36UBIXJNjs.DEFAULT_ROLE_PERMISSIONS; exports.DirectTableTabConfig = _chunkFG3I6YHAjs.DirectTableTabConfig; exports.DuplicateError = _chunkFG3I6YHAjs.DuplicateError; exports.EMPTY_VALUE_PLACEHOLDER = _chunkFG3I6YHAjs.EMPTY_VALUE_PLACEHOLDER; exports.FileNotFoundError = _chunkFG3I6YHAjs.FileNotFoundError; exports.FileService = _chunkFG3I6YHAjs.FileService; exports.FlowBuilder = _chunkFG3I6YHAjs.FlowBuilder; exports.FlowPageBuilder = _chunkFG3I6YHAjs.FlowPageBuilder; exports.FlowRowBuilder = _chunkFG3I6YHAjs.FlowRowBuilder; exports.FlowService = _chunkFG3I6YHAjs.FlowService; exports.ForbiddenError = _chunkFG3I6YHAjs.ForbiddenError; exports.GeocodingService = _chunkFG3I6YHAjs.GeocodingService; exports.GlobalSearchService = _chunkFG3I6YHAjs.GlobalSearchService; exports.GroupBuilder = _chunkFG3I6YHAjs.GroupBuilder; exports.InvalidPathError = _chunkFG3I6YHAjs.InvalidPathError; exports.InverseTableTabConfig = _chunkFG3I6YHAjs.InverseTableTabConfig; exports.MaxDepthExceededError = _chunkFG3I6YHAjs.MaxDepthExceededError; exports.NOTES = NOTES; exports.NO_VALUE_OPERATORS = NO_VALUE_OPERATORS; exports.NoopGeocodingAdapter = _chunkFG3I6YHAjs.NoopGeocodingAdapter; exports.NoopHookRegistry = _chunkFG3I6YHAjs.NoopHookRegistry; exports.NotFoundError = _chunkFG3I6YHAjs.NotFoundError; exports.NotSystemObjectError = _chunkFG3I6YHAjs.NotSystemObjectError; exports.NotesTabConfig = _chunkFG3I6YHAjs.NotesTabConfig; exports.OPERATORS_BY_TYPE = OPERATORS_BY_TYPE; exports.ObjectBuilder = _chunkFG3I6YHAjs.ObjectBuilder; exports.ObjectNotFoundError = _chunkFG3I6YHAjs.ObjectNotFoundError; exports.ObjectReferencedError = _chunkFG3I6YHAjs.ObjectReferencedError; exports.ObjectSchemaService = _chunkFG3I6YHAjs.ObjectSchemaService; exports.PermissionService = _chunkFG3I6YHAjs.PermissionService; exports.PolicyRegistry = _chunkFG3I6YHAjs.PolicyRegistry; exports.PolicyViolationError = _chunkFG3I6YHAjs.PolicyViolationError; exports.ProtectedResourceError = _chunkFG3I6YHAjs.ProtectedResourceError; exports.ProtectedRoleError = _chunkFG3I6YHAjs.ProtectedRoleError; exports.QueryBuilder = _chunkFG3I6YHAjs.QueryBuilder; exports.QueryMultipleResultsError = _chunkFG3I6YHAjs.QueryMultipleResultsError; exports.QueryNoResultError = _chunkFG3I6YHAjs.QueryNoResultError; exports.RELATION_TARGET_ANY = _chunkFG3I6YHAjs.RELATION_TARGET_ANY; exports.RESERVED_ATTRIBUTE_NAMES = _chunkFG3I6YHAjs.RESERVED_ATTRIBUTE_NAMES; exports.RecordNotFoundError = _chunkFG3I6YHAjs.RecordNotFoundError; exports.RecordReferencedError = _chunkFG3I6YHAjs.RecordReferencedError; exports.RecordService = _chunkFG3I6YHAjs.RecordService; exports.RelationResolverService = _chunkFG3I6YHAjs.RelationResolverService; exports.RelationService = _chunkFG3I6YHAjs.RelationService; exports.RoleNotFoundError = _chunkFG3I6YHAjs.RoleNotFoundError; exports.RollupScheduler = _chunkFG3I6YHAjs.RollupScheduler; exports.RollupService = _chunkFG3I6YHAjs.RollupService; exports.SHORTCUT_TO_FILTER_OPERATOR = _chunkFG3I6YHAjs.SHORTCUT_TO_FILTER_OPERATOR; exports.SYSTEM_ATTRIBUTES = _chunkFG3I6YHAjs.SYSTEM_ATTRIBUTES; exports.SYSTEM_FIELD_NAMES = _chunkFG3I6YHAjs.SYSTEM_FIELD_NAMES; exports.SYSTEM_RESOURCES = _chunk36UBIXJNjs.SYSTEM_RESOURCES; exports.SYSTEM_RESOURCE_LABELS = _chunk36UBIXJNjs.SYSTEM_RESOURCE_LABELS; exports.SchemaError = _chunkFG3I6YHAjs.SchemaError; exports.SchemaErrorCode = _chunkFG3I6YHAjs.SchemaErrorCode; exports.SyncError = _chunkFG3I6YHAjs.SyncError; exports.TabBuilder = _chunkFG3I6YHAjs.TabBuilder; exports.TenantAwareRepository = _chunkFG3I6YHAjs.TenantAwareRepository; exports.TenantAwareService = _chunkFG3I6YHAjs.TenantAwareService; exports.TenantContextError = _chunkFG3I6YHAjs.TenantContextError; exports.UserProfileNotFoundError = _chunkFG3I6YHAjs.UserProfileNotFoundError; exports.UserProfileService = _chunkFG3I6YHAjs.UserProfileService; exports.UserService = _chunkFG3I6YHAjs.UserService; exports.ValidationError = _chunkFG3I6YHAjs.ValidationError; exports.ViewBuilder = _chunkFG3I6YHAjs.ViewBuilder; exports.ViewService = _chunkFG3I6YHAjs.ViewService; exports.asTenantId = _chunkFG3I6YHAjs.asTenantId; exports.asUserId = _chunkFG3I6YHAjs.asUserId; exports.attributeConfigSchemas = _chunkFG3I6YHAjs.attributeConfigSchemas; exports.buildAuditChanges = _chunkFG3I6YHAjs.buildAuditChanges; exports.checkbox = _chunkFG3I6YHAjs.checkbox; exports.checkboxConfigSchema = _chunkFG3I6YHAjs.checkboxConfigSchema; exports.computeRecordStatus = _chunkFG3I6YHAjs.computeRecordStatus; exports.createAttributeValidator = _chunkFG3I6YHAjs.createAttributeValidator; exports.createCheckboxValidator = _chunkFG3I6YHAjs.createCheckboxValidator; exports.createCurrencyValidator = _chunkFG3I6YHAjs.createCurrencyValidator; exports.createDateValidator = _chunkFG3I6YHAjs.createDateValidator; exports.createDefaultState = _chunkFG3I6YHAjs.createDefaultState; exports.createDraftValidator = _chunkFG3I6YHAjs.createDraftValidator; exports.createFileValidator = _chunkFG3I6YHAjs.createFileValidator; exports.createFormulaValidator = _chunkFG3I6YHAjs.createFormulaValidator; exports.createLocationValidator = _chunkFG3I6YHAjs.createLocationValidator; exports.createMockAdapter = _chunkFG3I6YHAjs.createMockAdapter; exports.createMultiRelationValidator = _chunkFG3I6YHAjs.createMultiRelationValidator; exports.createMultiselectValidator = _chunkFG3I6YHAjs.createMultiselectValidator; exports.createNumberValidator = _chunkFG3I6YHAjs.createNumberValidator; exports.createObjectValidator = _chunkFG3I6YHAjs.createObjectValidator; exports.createPhoneValidator = _chunkFG3I6YHAjs.createPhoneValidator; exports.createQueryBuilder = _chunkFG3I6YHAjs.createQueryBuilder; exports.createRatingValidator = _chunkFG3I6YHAjs.createRatingValidator; exports.createRelationValidator = _chunkFG3I6YHAjs.createRelationValidator; exports.createRichtextValidator = _chunkFG3I6YHAjs.createRichtextValidator; exports.createRollupValidator = _chunkFG3I6YHAjs.createRollupValidator; exports.createSelectValidator = _chunkFG3I6YHAjs.createSelectValidator; exports.createSingleRelationValidator = _chunkFG3I6YHAjs.createSingleRelationValidator; exports.createStatusValidator = _chunkFG3I6YHAjs.createStatusValidator; exports.createTextAreaValidator = _chunkFG3I6YHAjs.createTextAreaValidator; exports.createTextValidator = _chunkFG3I6YHAjs.createTextValidator; exports.createUserValidator = _chunkFG3I6YHAjs.createUserValidator; exports.currency = _chunkFG3I6YHAjs.currency; exports.currencyConfigSchema = _chunkFG3I6YHAjs.currencyConfigSchema; exports.date = _chunkFG3I6YHAjs.date; exports.dateConfigSchema = _chunkFG3I6YHAjs.dateConfigSchema; exports.defaultPolicyRegistry = _chunkFG3I6YHAjs.defaultPolicyRegistry; exports.enrichValuesWithSelectLabels = _chunkFG3I6YHAjs.enrichValuesWithSelectLabels; exports.evaluateFormula = _chunkFG3I6YHAjs.evaluateFormula; exports.evaluateFormulaAttribute = _chunkFG3I6YHAjs.evaluateFormulaAttribute; exports.evaluateFormulaAttributeWithRelations = _chunkFG3I6YHAjs.evaluateFormulaAttributeWithRelations; exports.evaluateFormulaWithRelations = _chunkFG3I6YHAjs.evaluateFormulaWithRelations; exports.evaluateFormulaWithResult = _chunkFG3I6YHAjs.evaluateFormulaWithResult; exports.extractAttributeNames = _chunkFG3I6YHAjs.extractAttributeNames; exports.extractFormulaVariables = _chunkFG3I6YHAjs.extractFormulaVariables; exports.extractRelationNames = _chunkFG3I6YHAjs.extractRelationNames; exports.extractRelationReferences = _chunkFG3I6YHAjs.extractRelationReferences; exports.file = _chunkFG3I6YHAjs.file; exports.fileConfigSchema = _chunkFG3I6YHAjs.fileConfigSchema; exports.flattenRelationsForEval = _chunkFG3I6YHAjs.flattenRelationsForEval; exports.flow = _chunkFG3I6YHAjs.flow; exports.formatAttributeValue = _chunkFG3I6YHAjs.formatAttributeValue; exports.formatFormulaResult = _chunkFG3I6YHAjs.formatFormulaResult; exports.formatRecord = _chunkFG3I6YHAjs.formatRecord; exports.formatRecords = _chunkFG3I6YHAjs.formatRecords; exports.formula = _chunkFG3I6YHAjs.formula; exports.formulaConfigSchema = _chunkFG3I6YHAjs.formulaConfigSchema; exports.generateId = _chunkFG3I6YHAjs.generateId; exports.generatePrefixedId = _chunkFG3I6YHAjs.generatePrefixedId; exports.getAttributeConfigSchema = _chunkFG3I6YHAjs.getAttributeConfigSchema; exports.getContext = _chunkFG3I6YHAjs.getContext; exports.getMissingRequiredAttributes = _chunkFG3I6YHAjs.getMissingRequiredAttributes; exports.getPathDepth = _chunkFG3I6YHAjs.getPathDepth; exports.getRelationPath = _chunkFG3I6YHAjs.getRelationPath; exports.getSyncPreview = _chunkFG3I6YHAjs.getSyncPreview; exports.getSystemAttributeList = _chunkFG3I6YHAjs.getSystemAttributeList; exports.getTargetAttributeName = _chunkFG3I6YHAjs.getTargetAttributeName; exports.getTenantId = _chunkFG3I6YHAjs.getTenantId; exports.getUserId = _chunkFG3I6YHAjs.getUserId; exports.getViewSyncPreview = _chunkFG3I6YHAjs.getViewSyncPreview; exports.group = _chunkFG3I6YHAjs.group; exports.hasContext = _chunkFG3I6YHAjs.hasContext; exports.hasRelationReferences = _chunkFG3I6YHAjs.hasRelationReferences; exports.isActivityTab = isActivityTab; exports.isAdvancedFilterState = isAdvancedFilterState; exports.isCustomTab = isCustomTab; exports.isDefaultRole = _chunk36UBIXJNjs.isDefaultRole; exports.isDirectTableTab = isDirectTableTab; exports.isFlowDefinition = isFlowDefinition; exports.isFlowPublished = isFlowPublished; exports.isForbiddenError = _chunkFG3I6YHAjs.isForbiddenError; exports.isFormTab = isFormTab; exports.isInverseTableTab = isInverseTableTab; exports.isLabelExpression = _chunkFG3I6YHAjs.isLabelExpression; exports.isNoValueOperator = isNoValueOperator; exports.isNotFoundError = _chunkFG3I6YHAjs.isNotFoundError; exports.isNotesTab = isNotesTab; exports.isProtectedResourceError = _chunkFG3I6YHAjs.isProtectedResourceError; exports.isRecordComplete = _chunkFG3I6YHAjs.isRecordComplete; exports.isSchemaError = _chunkFG3I6YHAjs.isSchemaError; exports.isSystemAttribute = _chunkFG3I6YHAjs.isSystemAttribute; exports.isSystemAttributeObject = _chunkFG3I6YHAjs.isSystemAttributeObject; exports.isSystemFlow = isSystemFlow; exports.isTableTab = isTableTab; exports.isUniversalRelation = _chunkFG3I6YHAjs.isUniversalRelation; exports.isValidationError = _chunkFG3I6YHAjs.isValidationError; exports.location = _chunkFG3I6YHAjs.location; exports.locationConfigSchema = _chunkFG3I6YHAjs.locationConfigSchema; exports.multiselect = _chunkFG3I6YHAjs.multiselect; exports.multiselectConfigSchema = _chunkFG3I6YHAjs.multiselectConfigSchema; exports.notesPolicy = _chunkFG3I6YHAjs.notesPolicy; exports.number = _chunkFG3I6YHAjs.number; exports.numberConfigSchema = _chunkFG3I6YHAjs.numberConfigSchema; exports.object = _chunkFG3I6YHAjs.object; exports.parseAttributeConfig = _chunkFG3I6YHAjs.parseAttributeConfig; exports.parsePath = _chunkFG3I6YHAjs.parsePath; exports.pathHasManyCardinality = _chunkFG3I6YHAjs.pathHasManyCardinality; exports.phone = _chunkFG3I6YHAjs.phone; exports.phoneConfigSchema = _chunkFG3I6YHAjs.phoneConfigSchema; exports.rating = _chunkFG3I6YHAjs.rating; exports.ratingConfigSchema = _chunkFG3I6YHAjs.ratingConfigSchema; exports.registry = _chunkFG3I6YHAjs.registry; exports.relation = _chunkFG3I6YHAjs.relation; exports.relationConfigSchema = _chunkFG3I6YHAjs.relationConfigSchema; exports.renderLabelExpression = _chunkFG3I6YHAjs.renderLabelExpression; exports.resolveMultiplePaths = _chunkFG3I6YHAjs.resolveMultiplePaths; exports.resolveSingleValue = _chunkFG3I6YHAjs.resolveSingleValue; exports.richtext = _chunkFG3I6YHAjs.richtext; exports.richtextConfigSchema = _chunkFG3I6YHAjs.richtextConfigSchema; exports.rollup = _chunkFG3I6YHAjs.rollup; exports.rollupConfigSchema = _chunkFG3I6YHAjs.rollupConfigSchema; exports.runWithContext = _chunkFG3I6YHAjs.runWithContext; exports.safeParseAttributeConfig = _chunkFG3I6YHAjs.safeParseAttributeConfig; exports.select = _chunkFG3I6YHAjs.select; exports.selectConfigSchema = _chunkFG3I6YHAjs.selectConfigSchema; exports.status = _chunkFG3I6YHAjs.status; exports.statusConfigSchema = _chunkFG3I6YHAjs.statusConfigSchema; exports.syncAll = _chunkFG3I6YHAjs.syncAll; exports.syncNativeObjects = _chunkFG3I6YHAjs.syncNativeObjects; exports.syncNativeViews = _chunkFG3I6YHAjs.syncNativeViews; exports.text = _chunkFG3I6YHAjs.text; exports.textConfigSchema = _chunkFG3I6YHAjs.textConfigSchema; exports.textarea = _chunkFG3I6YHAjs.textarea; exports.textareaConfigSchema = _chunkFG3I6YHAjs.textareaConfigSchema; exports.toAdvancedFilterState = toAdvancedFilterState; exports.toSimpleFilterState = toSimpleFilterState; exports.traversePath = _chunkFG3I6YHAjs.traversePath; exports.user = _chunkFG3I6YHAjs.user; exports.userConfigSchema = _chunkFG3I6YHAjs.userConfigSchema; exports.validateAttribute = _chunkFG3I6YHAjs.validateAttribute; exports.validateAttributeConfig = _chunkFG3I6YHAjs.validateAttributeConfig; exports.validateDraft = _chunkFG3I6YHAjs.validateDraft; exports.validateDraftOrThrow = _chunkFG3I6YHAjs.validateDraftOrThrow; exports.validateFormulaExpression = _chunkFG3I6YHAjs.validateFormulaExpression; exports.validateObject = _chunkFG3I6YHAjs.validateObject; exports.validateObjectOrThrow = _chunkFG3I6YHAjs.validateObjectOrThrow; exports.validatePath = _chunkFG3I6YHAjs.validatePath; exports.verifyNativeObjectsSync = _chunkFG3I6YHAjs.verifyNativeObjectsSync; exports.verifyNativeViewsSync = _chunkFG3I6YHAjs.verifyNativeViewsSync; exports.view = _chunkFG3I6YHAjs.view; exports.viewRegistry = viewRegistry; exports.withTenantContext = _chunkFG3I6YHAjs.withTenantContext;
728
+ exports.ALL_SYSTEM_RESOURCES = _chunk36UBIXJNjs.ALL_SYSTEM_RESOURCES; exports.ActivityTabConfig = _chunk5WYGAQYHjs.ActivityTabConfig; exports.AttributeInUseError = _chunk5WYGAQYHjs.AttributeInUseError; exports.AttributeNotFoundError = _chunk5WYGAQYHjs.AttributeNotFoundError; exports.AuditService = _chunk5WYGAQYHjs.AuditService; exports.CustomTabConfig = _chunk5WYGAQYHjs.CustomTabConfig; exports.DEFAULT_LABEL_FALLBACK = _chunk5WYGAQYHjs.DEFAULT_LABEL_FALLBACK; exports.DEFAULT_ROLES = _chunk36UBIXJNjs.DEFAULT_ROLES; exports.DEFAULT_ROLE_DESCRIPTIONS = _chunk36UBIXJNjs.DEFAULT_ROLE_DESCRIPTIONS; exports.DEFAULT_ROLE_LABELS = _chunk36UBIXJNjs.DEFAULT_ROLE_LABELS; exports.DEFAULT_ROLE_PERMISSIONS = _chunk36UBIXJNjs.DEFAULT_ROLE_PERMISSIONS; exports.DirectTableTabConfig = _chunk5WYGAQYHjs.DirectTableTabConfig; exports.DuplicateError = _chunk5WYGAQYHjs.DuplicateError; exports.EMPTY_VALUE_PLACEHOLDER = _chunk5WYGAQYHjs.EMPTY_VALUE_PLACEHOLDER; exports.FileNotFoundError = _chunk5WYGAQYHjs.FileNotFoundError; exports.FileService = _chunk5WYGAQYHjs.FileService; exports.FlowBuilder = _chunk5WYGAQYHjs.FlowBuilder; exports.FlowPageBuilder = _chunk5WYGAQYHjs.FlowPageBuilder; exports.FlowRowBuilder = _chunk5WYGAQYHjs.FlowRowBuilder; exports.FlowService = _chunk5WYGAQYHjs.FlowService; exports.ForbiddenError = _chunk5WYGAQYHjs.ForbiddenError; exports.GeocodingService = _chunk5WYGAQYHjs.GeocodingService; exports.GlobalSearchService = _chunk5WYGAQYHjs.GlobalSearchService; exports.GroupBuilder = _chunk5WYGAQYHjs.GroupBuilder; exports.InvalidPathError = _chunk5WYGAQYHjs.InvalidPathError; exports.InverseTableTabConfig = _chunk5WYGAQYHjs.InverseTableTabConfig; exports.MaxDepthExceededError = _chunk5WYGAQYHjs.MaxDepthExceededError; exports.NOTES = NOTES; exports.NO_VALUE_OPERATORS = NO_VALUE_OPERATORS; exports.NoopGeocodingAdapter = _chunk5WYGAQYHjs.NoopGeocodingAdapter; exports.NoopHookRegistry = _chunk5WYGAQYHjs.NoopHookRegistry; exports.NotFoundError = _chunk5WYGAQYHjs.NotFoundError; exports.NotSystemObjectError = _chunk5WYGAQYHjs.NotSystemObjectError; exports.NotesTabConfig = _chunk5WYGAQYHjs.NotesTabConfig; exports.OPERATORS_BY_TYPE = OPERATORS_BY_TYPE; exports.ObjectBuilder = _chunk5WYGAQYHjs.ObjectBuilder; exports.ObjectNotFoundError = _chunk5WYGAQYHjs.ObjectNotFoundError; exports.ObjectReferencedError = _chunk5WYGAQYHjs.ObjectReferencedError; exports.ObjectSchemaService = _chunk5WYGAQYHjs.ObjectSchemaService; exports.PermissionService = _chunk5WYGAQYHjs.PermissionService; exports.PolicyRegistry = _chunk5WYGAQYHjs.PolicyRegistry; exports.PolicyViolationError = _chunk5WYGAQYHjs.PolicyViolationError; exports.ProtectedResourceError = _chunk5WYGAQYHjs.ProtectedResourceError; exports.ProtectedRoleError = _chunk5WYGAQYHjs.ProtectedRoleError; exports.QueryBuilder = _chunk5WYGAQYHjs.QueryBuilder; exports.QueryMultipleResultsError = _chunk5WYGAQYHjs.QueryMultipleResultsError; exports.QueryNoResultError = _chunk5WYGAQYHjs.QueryNoResultError; exports.RELATION_TARGET_ANY = _chunk5WYGAQYHjs.RELATION_TARGET_ANY; exports.RESERVED_ATTRIBUTE_NAMES = _chunk5WYGAQYHjs.RESERVED_ATTRIBUTE_NAMES; exports.RecordNotFoundError = _chunk5WYGAQYHjs.RecordNotFoundError; exports.RecordReferencedError = _chunk5WYGAQYHjs.RecordReferencedError; exports.RecordService = _chunk5WYGAQYHjs.RecordService; exports.RelationResolverService = _chunk5WYGAQYHjs.RelationResolverService; exports.RelationService = _chunk5WYGAQYHjs.RelationService; exports.RoleNotFoundError = _chunk5WYGAQYHjs.RoleNotFoundError; exports.RollupScheduler = _chunk5WYGAQYHjs.RollupScheduler; exports.RollupService = _chunk5WYGAQYHjs.RollupService; exports.SHORTCUT_TO_FILTER_OPERATOR = _chunk5WYGAQYHjs.SHORTCUT_TO_FILTER_OPERATOR; exports.SYSTEM_ATTRIBUTES = _chunk5WYGAQYHjs.SYSTEM_ATTRIBUTES; exports.SYSTEM_FIELD_NAMES = _chunk5WYGAQYHjs.SYSTEM_FIELD_NAMES; exports.SYSTEM_RESOURCES = _chunk36UBIXJNjs.SYSTEM_RESOURCES; exports.SYSTEM_RESOURCE_LABELS = _chunk36UBIXJNjs.SYSTEM_RESOURCE_LABELS; exports.SchemaError = _chunk5WYGAQYHjs.SchemaError; exports.SchemaErrorCode = _chunk5WYGAQYHjs.SchemaErrorCode; exports.SyncError = _chunk5WYGAQYHjs.SyncError; exports.TabBuilder = _chunk5WYGAQYHjs.TabBuilder; exports.TenantAwareRepository = _chunk5WYGAQYHjs.TenantAwareRepository; exports.TenantAwareService = _chunk5WYGAQYHjs.TenantAwareService; exports.TenantContextError = _chunk5WYGAQYHjs.TenantContextError; exports.UserProfileNotFoundError = _chunk5WYGAQYHjs.UserProfileNotFoundError; exports.UserProfileService = _chunk5WYGAQYHjs.UserProfileService; exports.UserService = _chunk5WYGAQYHjs.UserService; exports.ValidationError = _chunk5WYGAQYHjs.ValidationError; exports.ViewBuilder = _chunk5WYGAQYHjs.ViewBuilder; exports.ViewService = _chunk5WYGAQYHjs.ViewService; exports.asTenantId = _chunk5WYGAQYHjs.asTenantId; exports.asUserId = _chunk5WYGAQYHjs.asUserId; exports.attributeConfigSchemas = _chunk5WYGAQYHjs.attributeConfigSchemas; exports.buildAuditChanges = _chunk5WYGAQYHjs.buildAuditChanges; exports.checkbox = _chunk5WYGAQYHjs.checkbox; exports.checkboxConfigSchema = _chunk5WYGAQYHjs.checkboxConfigSchema; exports.computeRecordStatus = _chunk5WYGAQYHjs.computeRecordStatus; exports.createAttributeValidator = _chunk5WYGAQYHjs.createAttributeValidator; exports.createCheckboxValidator = _chunk5WYGAQYHjs.createCheckboxValidator; exports.createCurrencyValidator = _chunk5WYGAQYHjs.createCurrencyValidator; exports.createDateValidator = _chunk5WYGAQYHjs.createDateValidator; exports.createDefaultState = _chunk5WYGAQYHjs.createDefaultState; exports.createDraftValidator = _chunk5WYGAQYHjs.createDraftValidator; exports.createFileValidator = _chunk5WYGAQYHjs.createFileValidator; exports.createFormulaValidator = _chunk5WYGAQYHjs.createFormulaValidator; exports.createLocationValidator = _chunk5WYGAQYHjs.createLocationValidator; exports.createMockAdapter = _chunk5WYGAQYHjs.createMockAdapter; exports.createMultiRelationValidator = _chunk5WYGAQYHjs.createMultiRelationValidator; exports.createMultiselectValidator = _chunk5WYGAQYHjs.createMultiselectValidator; exports.createNumberValidator = _chunk5WYGAQYHjs.createNumberValidator; exports.createObjectValidator = _chunk5WYGAQYHjs.createObjectValidator; exports.createPhoneValidator = _chunk5WYGAQYHjs.createPhoneValidator; exports.createQueryBuilder = _chunk5WYGAQYHjs.createQueryBuilder; exports.createRatingValidator = _chunk5WYGAQYHjs.createRatingValidator; exports.createRelationValidator = _chunk5WYGAQYHjs.createRelationValidator; exports.createRichtextValidator = _chunk5WYGAQYHjs.createRichtextValidator; exports.createRollupValidator = _chunk5WYGAQYHjs.createRollupValidator; exports.createSelectValidator = _chunk5WYGAQYHjs.createSelectValidator; exports.createSingleRelationValidator = _chunk5WYGAQYHjs.createSingleRelationValidator; exports.createStatusValidator = _chunk5WYGAQYHjs.createStatusValidator; exports.createTextAreaValidator = _chunk5WYGAQYHjs.createTextAreaValidator; exports.createTextValidator = _chunk5WYGAQYHjs.createTextValidator; exports.createUserValidator = _chunk5WYGAQYHjs.createUserValidator; exports.currency = _chunk5WYGAQYHjs.currency; exports.currencyConfigSchema = _chunk5WYGAQYHjs.currencyConfigSchema; exports.date = _chunk5WYGAQYHjs.date; exports.dateConfigSchema = _chunk5WYGAQYHjs.dateConfigSchema; exports.defaultPolicyRegistry = _chunk5WYGAQYHjs.defaultPolicyRegistry; exports.enrichValuesWithSelectLabels = _chunk5WYGAQYHjs.enrichValuesWithSelectLabels; exports.evaluateFormula = _chunk5WYGAQYHjs.evaluateFormula; exports.evaluateFormulaAttribute = _chunk5WYGAQYHjs.evaluateFormulaAttribute; exports.evaluateFormulaAttributeWithRelations = _chunk5WYGAQYHjs.evaluateFormulaAttributeWithRelations; exports.evaluateFormulaWithRelations = _chunk5WYGAQYHjs.evaluateFormulaWithRelations; exports.evaluateFormulaWithResult = _chunk5WYGAQYHjs.evaluateFormulaWithResult; exports.extractAttributeNames = _chunk5WYGAQYHjs.extractAttributeNames; exports.extractFormulaVariables = _chunk5WYGAQYHjs.extractFormulaVariables; exports.extractRelationNames = _chunk5WYGAQYHjs.extractRelationNames; exports.extractRelationReferences = _chunk5WYGAQYHjs.extractRelationReferences; exports.file = _chunk5WYGAQYHjs.file; exports.fileConfigSchema = _chunk5WYGAQYHjs.fileConfigSchema; exports.flattenRelationsForEval = _chunk5WYGAQYHjs.flattenRelationsForEval; exports.flow = _chunk5WYGAQYHjs.flow; exports.formatAttributeValue = _chunk5WYGAQYHjs.formatAttributeValue; exports.formatFormulaResult = _chunk5WYGAQYHjs.formatFormulaResult; exports.formatRecord = _chunk5WYGAQYHjs.formatRecord; exports.formatRecords = _chunk5WYGAQYHjs.formatRecords; exports.formula = _chunk5WYGAQYHjs.formula; exports.formulaConfigSchema = _chunk5WYGAQYHjs.formulaConfigSchema; exports.generateId = _chunk5WYGAQYHjs.generateId; exports.generatePrefixedId = _chunk5WYGAQYHjs.generatePrefixedId; exports.getAttributeConfigSchema = _chunk5WYGAQYHjs.getAttributeConfigSchema; exports.getContext = _chunk5WYGAQYHjs.getContext; exports.getMissingRequiredAttributes = _chunk5WYGAQYHjs.getMissingRequiredAttributes; exports.getPathDepth = _chunk5WYGAQYHjs.getPathDepth; exports.getRelationPath = _chunk5WYGAQYHjs.getRelationPath; exports.getSyncPreview = _chunk5WYGAQYHjs.getSyncPreview; exports.getSystemAttributeList = _chunk5WYGAQYHjs.getSystemAttributeList; exports.getTargetAttributeName = _chunk5WYGAQYHjs.getTargetAttributeName; exports.getTenantId = _chunk5WYGAQYHjs.getTenantId; exports.getUserId = _chunk5WYGAQYHjs.getUserId; exports.getViewSyncPreview = _chunk5WYGAQYHjs.getViewSyncPreview; exports.group = _chunk5WYGAQYHjs.group; exports.hasContext = _chunk5WYGAQYHjs.hasContext; exports.hasRelationReferences = _chunk5WYGAQYHjs.hasRelationReferences; exports.isActivityTab = isActivityTab; exports.isAdvancedFilterState = isAdvancedFilterState; exports.isCustomTab = isCustomTab; exports.isDefaultRole = _chunk36UBIXJNjs.isDefaultRole; exports.isDirectTableTab = isDirectTableTab; exports.isFlowDefinition = isFlowDefinition; exports.isFlowPublished = isFlowPublished; exports.isForbiddenError = _chunk5WYGAQYHjs.isForbiddenError; exports.isFormTab = isFormTab; exports.isInverseTableTab = isInverseTableTab; exports.isLabelExpression = _chunk5WYGAQYHjs.isLabelExpression; exports.isNoValueOperator = isNoValueOperator; exports.isNotFoundError = _chunk5WYGAQYHjs.isNotFoundError; exports.isNotesTab = isNotesTab; exports.isProtectedResourceError = _chunk5WYGAQYHjs.isProtectedResourceError; exports.isRecordComplete = _chunk5WYGAQYHjs.isRecordComplete; exports.isSchemaError = _chunk5WYGAQYHjs.isSchemaError; exports.isSystemAttribute = _chunk5WYGAQYHjs.isSystemAttribute; exports.isSystemAttributeObject = _chunk5WYGAQYHjs.isSystemAttributeObject; exports.isSystemFlow = isSystemFlow; exports.isTableTab = isTableTab; exports.isUniversalRelation = _chunk5WYGAQYHjs.isUniversalRelation; exports.isValidationError = _chunk5WYGAQYHjs.isValidationError; exports.location = _chunk5WYGAQYHjs.location; exports.locationConfigSchema = _chunk5WYGAQYHjs.locationConfigSchema; exports.multiselect = _chunk5WYGAQYHjs.multiselect; exports.multiselectConfigSchema = _chunk5WYGAQYHjs.multiselectConfigSchema; exports.notesPolicy = _chunk5WYGAQYHjs.notesPolicy; exports.number = _chunk5WYGAQYHjs.number; exports.numberConfigSchema = _chunk5WYGAQYHjs.numberConfigSchema; exports.object = _chunk5WYGAQYHjs.object; exports.parseAttributeConfig = _chunk5WYGAQYHjs.parseAttributeConfig; exports.parsePath = _chunk5WYGAQYHjs.parsePath; exports.pathHasManyCardinality = _chunk5WYGAQYHjs.pathHasManyCardinality; exports.phone = _chunk5WYGAQYHjs.phone; exports.phoneConfigSchema = _chunk5WYGAQYHjs.phoneConfigSchema; exports.rating = _chunk5WYGAQYHjs.rating; exports.ratingConfigSchema = _chunk5WYGAQYHjs.ratingConfigSchema; exports.registry = _chunk5WYGAQYHjs.registry; exports.relation = _chunk5WYGAQYHjs.relation; exports.relationConfigSchema = _chunk5WYGAQYHjs.relationConfigSchema; exports.renderLabelExpression = _chunk5WYGAQYHjs.renderLabelExpression; exports.resolveMultiplePaths = _chunk5WYGAQYHjs.resolveMultiplePaths; exports.resolveSingleValue = _chunk5WYGAQYHjs.resolveSingleValue; exports.richtext = _chunk5WYGAQYHjs.richtext; exports.richtextConfigSchema = _chunk5WYGAQYHjs.richtextConfigSchema; exports.rollup = _chunk5WYGAQYHjs.rollup; exports.rollupConfigSchema = _chunk5WYGAQYHjs.rollupConfigSchema; exports.runWithContext = _chunk5WYGAQYHjs.runWithContext; exports.safeParseAttributeConfig = _chunk5WYGAQYHjs.safeParseAttributeConfig; exports.select = _chunk5WYGAQYHjs.select; exports.selectConfigSchema = _chunk5WYGAQYHjs.selectConfigSchema; exports.status = _chunk5WYGAQYHjs.status; exports.statusConfigSchema = _chunk5WYGAQYHjs.statusConfigSchema; exports.syncAll = _chunk5WYGAQYHjs.syncAll; exports.syncNativeObjects = _chunk5WYGAQYHjs.syncNativeObjects; exports.syncNativeViews = _chunk5WYGAQYHjs.syncNativeViews; exports.text = _chunk5WYGAQYHjs.text; exports.textConfigSchema = _chunk5WYGAQYHjs.textConfigSchema; exports.textarea = _chunk5WYGAQYHjs.textarea; exports.textareaConfigSchema = _chunk5WYGAQYHjs.textareaConfigSchema; exports.toAdvancedFilterState = toAdvancedFilterState; exports.toSimpleFilterState = toSimpleFilterState; exports.traversePath = _chunk5WYGAQYHjs.traversePath; exports.user = _chunk5WYGAQYHjs.user; exports.userConfigSchema = _chunk5WYGAQYHjs.userConfigSchema; exports.validateAttribute = _chunk5WYGAQYHjs.validateAttribute; exports.validateAttributeConfig = _chunk5WYGAQYHjs.validateAttributeConfig; exports.validateDraft = _chunk5WYGAQYHjs.validateDraft; exports.validateDraftOrThrow = _chunk5WYGAQYHjs.validateDraftOrThrow; exports.validateFormulaExpression = _chunk5WYGAQYHjs.validateFormulaExpression; exports.validateObject = _chunk5WYGAQYHjs.validateObject; exports.validateObjectOrThrow = _chunk5WYGAQYHjs.validateObjectOrThrow; exports.validatePath = _chunk5WYGAQYHjs.validatePath; exports.verifyNativeObjectsSync = _chunk5WYGAQYHjs.verifyNativeObjectsSync; exports.verifyNativeViewsSync = _chunk5WYGAQYHjs.verifyNativeViewsSync; exports.view = _chunk5WYGAQYHjs.view; exports.viewRegistry = viewRegistry; exports.withTenantContext = _chunk5WYGAQYHjs.withTenantContext;
package/dist/index.mjs CHANGED
@@ -201,7 +201,7 @@ import {
201
201
  verifyNativeViewsSync,
202
202
  view,
203
203
  withTenantContext
204
- } from "./chunk-ZTEGJPX2.mjs";
204
+ } from "./chunk-E2CTZTQX.mjs";
205
205
  import {
206
206
  ALL_SYSTEM_RESOURCES,
207
207
  DEFAULT_ROLES,
package/dist/runtime.js CHANGED
@@ -74,7 +74,7 @@
74
74
 
75
75
 
76
76
 
77
- var _chunkFG3I6YHAjs = require('./chunk-FG3I6YHA.js');
77
+ var _chunk5WYGAQYHjs = require('./chunk-5WYGAQYH.js');
78
78
  require('./chunk-3RG5ZIWI.js');
79
79
 
80
80
 
@@ -152,4 +152,4 @@ require('./chunk-3RG5ZIWI.js');
152
152
 
153
153
 
154
154
 
155
- exports.AuditService = _chunkFG3I6YHAjs.AuditService; exports.DEFAULT_LABEL_FALLBACK = _chunkFG3I6YHAjs.DEFAULT_LABEL_FALLBACK; exports.FileService = _chunkFG3I6YHAjs.FileService; exports.FlowService = _chunkFG3I6YHAjs.FlowService; exports.GeocodingService = _chunkFG3I6YHAjs.GeocodingService; exports.GlobalSearchService = _chunkFG3I6YHAjs.GlobalSearchService; exports.InvalidPathError = _chunkFG3I6YHAjs.InvalidPathError; exports.MaxDepthExceededError = _chunkFG3I6YHAjs.MaxDepthExceededError; exports.NoopGeocodingAdapter = _chunkFG3I6YHAjs.NoopGeocodingAdapter; exports.NoopHookRegistry = _chunkFG3I6YHAjs.NoopHookRegistry; exports.ObjectSchemaService = _chunkFG3I6YHAjs.ObjectSchemaService; exports.PermissionService = _chunkFG3I6YHAjs.PermissionService; exports.PolicyRegistry = _chunkFG3I6YHAjs.PolicyRegistry; exports.PolicyViolationError = _chunkFG3I6YHAjs.PolicyViolationError; exports.QueryBuilder = _chunkFG3I6YHAjs.QueryBuilder; exports.QueryMultipleResultsError = _chunkFG3I6YHAjs.QueryMultipleResultsError; exports.QueryNoResultError = _chunkFG3I6YHAjs.QueryNoResultError; exports.RecordService = _chunkFG3I6YHAjs.RecordService; exports.RelationResolverService = _chunkFG3I6YHAjs.RelationResolverService; exports.RelationService = _chunkFG3I6YHAjs.RelationService; exports.RollupScheduler = _chunkFG3I6YHAjs.RollupScheduler; exports.RollupService = _chunkFG3I6YHAjs.RollupService; exports.SHORTCUT_TO_FILTER_OPERATOR = _chunkFG3I6YHAjs.SHORTCUT_TO_FILTER_OPERATOR; exports.TenantAwareRepository = _chunkFG3I6YHAjs.TenantAwareRepository; exports.TenantAwareService = _chunkFG3I6YHAjs.TenantAwareService; exports.TenantContextError = _chunkFG3I6YHAjs.TenantContextError; exports.UserProfileService = _chunkFG3I6YHAjs.UserProfileService; exports.UserService = _chunkFG3I6YHAjs.UserService; exports.ViewService = _chunkFG3I6YHAjs.ViewService; exports.buildAuditChanges = _chunkFG3I6YHAjs.buildAuditChanges; exports.createDefaultState = _chunkFG3I6YHAjs.createDefaultState; exports.createMockAdapter = _chunkFG3I6YHAjs.createMockAdapter; exports.createQueryBuilder = _chunkFG3I6YHAjs.createQueryBuilder; exports.defaultPolicyRegistry = _chunkFG3I6YHAjs.defaultPolicyRegistry; exports.enrichValuesWithSelectLabels = _chunkFG3I6YHAjs.enrichValuesWithSelectLabels; exports.evaluateFormula = _chunkFG3I6YHAjs.evaluateFormula; exports.evaluateFormulaAttribute = _chunkFG3I6YHAjs.evaluateFormulaAttribute; exports.evaluateFormulaAttributeWithRelations = _chunkFG3I6YHAjs.evaluateFormulaAttributeWithRelations; exports.evaluateFormulaWithRelations = _chunkFG3I6YHAjs.evaluateFormulaWithRelations; exports.evaluateFormulaWithResult = _chunkFG3I6YHAjs.evaluateFormulaWithResult; exports.extractAttributeNames = _chunkFG3I6YHAjs.extractAttributeNames; exports.extractFormulaVariables = _chunkFG3I6YHAjs.extractFormulaVariables; exports.extractRelationNames = _chunkFG3I6YHAjs.extractRelationNames; exports.extractRelationReferences = _chunkFG3I6YHAjs.extractRelationReferences; exports.flattenRelationsForEval = _chunkFG3I6YHAjs.flattenRelationsForEval; exports.formatFormulaResult = _chunkFG3I6YHAjs.formatFormulaResult; exports.formatRecord = _chunkFG3I6YHAjs.formatRecord; exports.formatRecords = _chunkFG3I6YHAjs.formatRecords; exports.getContext = _chunkFG3I6YHAjs.getContext; exports.getPathDepth = _chunkFG3I6YHAjs.getPathDepth; exports.getRelationPath = _chunkFG3I6YHAjs.getRelationPath; exports.getSyncPreview = _chunkFG3I6YHAjs.getSyncPreview; exports.getTargetAttributeName = _chunkFG3I6YHAjs.getTargetAttributeName; exports.getTenantId = _chunkFG3I6YHAjs.getTenantId; exports.getUserId = _chunkFG3I6YHAjs.getUserId; exports.getViewSyncPreview = _chunkFG3I6YHAjs.getViewSyncPreview; exports.hasContext = _chunkFG3I6YHAjs.hasContext; exports.hasRelationReferences = _chunkFG3I6YHAjs.hasRelationReferences; exports.isLabelExpression = _chunkFG3I6YHAjs.isLabelExpression; exports.notesPolicy = _chunkFG3I6YHAjs.notesPolicy; exports.parsePath = _chunkFG3I6YHAjs.parsePath; exports.pathHasManyCardinality = _chunkFG3I6YHAjs.pathHasManyCardinality; exports.renderLabelExpression = _chunkFG3I6YHAjs.renderLabelExpression; exports.resolveMultiplePaths = _chunkFG3I6YHAjs.resolveMultiplePaths; exports.resolveSingleValue = _chunkFG3I6YHAjs.resolveSingleValue; exports.runWithContext = _chunkFG3I6YHAjs.runWithContext; exports.syncAll = _chunkFG3I6YHAjs.syncAll; exports.syncNativeObjects = _chunkFG3I6YHAjs.syncNativeObjects; exports.syncNativeViews = _chunkFG3I6YHAjs.syncNativeViews; exports.traversePath = _chunkFG3I6YHAjs.traversePath; exports.validateFormulaExpression = _chunkFG3I6YHAjs.validateFormulaExpression; exports.validatePath = _chunkFG3I6YHAjs.validatePath; exports.verifyNativeObjectsSync = _chunkFG3I6YHAjs.verifyNativeObjectsSync; exports.verifyNativeViewsSync = _chunkFG3I6YHAjs.verifyNativeViewsSync; exports.withTenantContext = _chunkFG3I6YHAjs.withTenantContext;
155
+ exports.AuditService = _chunk5WYGAQYHjs.AuditService; exports.DEFAULT_LABEL_FALLBACK = _chunk5WYGAQYHjs.DEFAULT_LABEL_FALLBACK; exports.FileService = _chunk5WYGAQYHjs.FileService; exports.FlowService = _chunk5WYGAQYHjs.FlowService; exports.GeocodingService = _chunk5WYGAQYHjs.GeocodingService; exports.GlobalSearchService = _chunk5WYGAQYHjs.GlobalSearchService; exports.InvalidPathError = _chunk5WYGAQYHjs.InvalidPathError; exports.MaxDepthExceededError = _chunk5WYGAQYHjs.MaxDepthExceededError; exports.NoopGeocodingAdapter = _chunk5WYGAQYHjs.NoopGeocodingAdapter; exports.NoopHookRegistry = _chunk5WYGAQYHjs.NoopHookRegistry; exports.ObjectSchemaService = _chunk5WYGAQYHjs.ObjectSchemaService; exports.PermissionService = _chunk5WYGAQYHjs.PermissionService; exports.PolicyRegistry = _chunk5WYGAQYHjs.PolicyRegistry; exports.PolicyViolationError = _chunk5WYGAQYHjs.PolicyViolationError; exports.QueryBuilder = _chunk5WYGAQYHjs.QueryBuilder; exports.QueryMultipleResultsError = _chunk5WYGAQYHjs.QueryMultipleResultsError; exports.QueryNoResultError = _chunk5WYGAQYHjs.QueryNoResultError; exports.RecordService = _chunk5WYGAQYHjs.RecordService; exports.RelationResolverService = _chunk5WYGAQYHjs.RelationResolverService; exports.RelationService = _chunk5WYGAQYHjs.RelationService; exports.RollupScheduler = _chunk5WYGAQYHjs.RollupScheduler; exports.RollupService = _chunk5WYGAQYHjs.RollupService; exports.SHORTCUT_TO_FILTER_OPERATOR = _chunk5WYGAQYHjs.SHORTCUT_TO_FILTER_OPERATOR; exports.TenantAwareRepository = _chunk5WYGAQYHjs.TenantAwareRepository; exports.TenantAwareService = _chunk5WYGAQYHjs.TenantAwareService; exports.TenantContextError = _chunk5WYGAQYHjs.TenantContextError; exports.UserProfileService = _chunk5WYGAQYHjs.UserProfileService; exports.UserService = _chunk5WYGAQYHjs.UserService; exports.ViewService = _chunk5WYGAQYHjs.ViewService; exports.buildAuditChanges = _chunk5WYGAQYHjs.buildAuditChanges; exports.createDefaultState = _chunk5WYGAQYHjs.createDefaultState; exports.createMockAdapter = _chunk5WYGAQYHjs.createMockAdapter; exports.createQueryBuilder = _chunk5WYGAQYHjs.createQueryBuilder; exports.defaultPolicyRegistry = _chunk5WYGAQYHjs.defaultPolicyRegistry; exports.enrichValuesWithSelectLabels = _chunk5WYGAQYHjs.enrichValuesWithSelectLabels; exports.evaluateFormula = _chunk5WYGAQYHjs.evaluateFormula; exports.evaluateFormulaAttribute = _chunk5WYGAQYHjs.evaluateFormulaAttribute; exports.evaluateFormulaAttributeWithRelations = _chunk5WYGAQYHjs.evaluateFormulaAttributeWithRelations; exports.evaluateFormulaWithRelations = _chunk5WYGAQYHjs.evaluateFormulaWithRelations; exports.evaluateFormulaWithResult = _chunk5WYGAQYHjs.evaluateFormulaWithResult; exports.extractAttributeNames = _chunk5WYGAQYHjs.extractAttributeNames; exports.extractFormulaVariables = _chunk5WYGAQYHjs.extractFormulaVariables; exports.extractRelationNames = _chunk5WYGAQYHjs.extractRelationNames; exports.extractRelationReferences = _chunk5WYGAQYHjs.extractRelationReferences; exports.flattenRelationsForEval = _chunk5WYGAQYHjs.flattenRelationsForEval; exports.formatFormulaResult = _chunk5WYGAQYHjs.formatFormulaResult; exports.formatRecord = _chunk5WYGAQYHjs.formatRecord; exports.formatRecords = _chunk5WYGAQYHjs.formatRecords; exports.getContext = _chunk5WYGAQYHjs.getContext; exports.getPathDepth = _chunk5WYGAQYHjs.getPathDepth; exports.getRelationPath = _chunk5WYGAQYHjs.getRelationPath; exports.getSyncPreview = _chunk5WYGAQYHjs.getSyncPreview; exports.getTargetAttributeName = _chunk5WYGAQYHjs.getTargetAttributeName; exports.getTenantId = _chunk5WYGAQYHjs.getTenantId; exports.getUserId = _chunk5WYGAQYHjs.getUserId; exports.getViewSyncPreview = _chunk5WYGAQYHjs.getViewSyncPreview; exports.hasContext = _chunk5WYGAQYHjs.hasContext; exports.hasRelationReferences = _chunk5WYGAQYHjs.hasRelationReferences; exports.isLabelExpression = _chunk5WYGAQYHjs.isLabelExpression; exports.notesPolicy = _chunk5WYGAQYHjs.notesPolicy; exports.parsePath = _chunk5WYGAQYHjs.parsePath; exports.pathHasManyCardinality = _chunk5WYGAQYHjs.pathHasManyCardinality; exports.renderLabelExpression = _chunk5WYGAQYHjs.renderLabelExpression; exports.resolveMultiplePaths = _chunk5WYGAQYHjs.resolveMultiplePaths; exports.resolveSingleValue = _chunk5WYGAQYHjs.resolveSingleValue; exports.runWithContext = _chunk5WYGAQYHjs.runWithContext; exports.syncAll = _chunk5WYGAQYHjs.syncAll; exports.syncNativeObjects = _chunk5WYGAQYHjs.syncNativeObjects; exports.syncNativeViews = _chunk5WYGAQYHjs.syncNativeViews; exports.traversePath = _chunk5WYGAQYHjs.traversePath; exports.validateFormulaExpression = _chunk5WYGAQYHjs.validateFormulaExpression; exports.validatePath = _chunk5WYGAQYHjs.validatePath; exports.verifyNativeObjectsSync = _chunk5WYGAQYHjs.verifyNativeObjectsSync; exports.verifyNativeViewsSync = _chunk5WYGAQYHjs.verifyNativeViewsSync; exports.withTenantContext = _chunk5WYGAQYHjs.withTenantContext;
package/dist/runtime.mjs CHANGED
@@ -74,7 +74,7 @@ import {
74
74
  verifyNativeObjectsSync,
75
75
  verifyNativeViewsSync,
76
76
  withTenantContext
77
- } from "./chunk-ZTEGJPX2.mjs";
77
+ } from "./chunk-E2CTZTQX.mjs";
78
78
  import "./chunk-Y6FXYEAI.mjs";
79
79
  export {
80
80
  AuditService,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stndrds/schema",
3
- "version": "0.1.0-alpha.32",
3
+ "version": "0.1.0-alpha.33",
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.32"
26
+ "@stndrds/constants": "0.1.0-alpha.33"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@types/node": "^25.0.3",