@stndrds/schema 1.0.0-alpha.274 → 1.0.0-alpha.276

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/index.js CHANGED
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
3
  var chunkFRCDMQER_js = require('./chunk-FRCDMQER.js');
4
- var chunk63WWFZFY_js = require('./chunk-63WWFZFY.js');
5
- var chunkQN2N3IJZ_js = require('./chunk-QN2N3IJZ.js');
6
- var chunkV6Q7HCA7_js = require('./chunk-V6Q7HCA7.js');
4
+ var chunkEDOEX3O7_js = require('./chunk-EDOEX3O7.js');
5
+ var chunkT7BST4JS_js = require('./chunk-T7BST4JS.js');
6
+ var chunkRAF6K6VG_js = require('./chunk-RAF6K6VG.js');
7
7
  require('./chunk-EW5XR2X3.js');
8
8
  require('./chunk-QWKLQRBX.js');
9
9
  require('./chunk-KNGWHQLR.js');
@@ -13,7 +13,7 @@ var chunk5WATIVCA_js = require('./chunk-5WATIVCA.js');
13
13
  var chunkSI34M4IC_js = require('./chunk-SI34M4IC.js');
14
14
  var chunkYIP5FJ5H_js = require('./chunk-YIP5FJ5H.js');
15
15
  var chunkZPFOKBIN_js = require('./chunk-ZPFOKBIN.js');
16
- var chunkFDIAOFHS_js = require('./chunk-FDIAOFHS.js');
16
+ var chunkF3YPU2N6_js = require('./chunk-F3YPU2N6.js');
17
17
  require('./chunk-ACKMC6FL.js');
18
18
  require('./chunk-E6JUYGJX.js');
19
19
  var chunkQ4SZAMJT_js = require('./chunk-Q4SZAMJT.js');
@@ -81,7 +81,7 @@ function inferInverseCardinality(cardinality) {
81
81
  return cardinality === "one" ? "many" : "many";
82
82
  }
83
83
  function isAttributeSortable2(attr) {
84
- return chunk63WWFZFY_js.isAttributeSortable(attr);
84
+ return chunkEDOEX3O7_js.isAttributeSortable(attr);
85
85
  }
86
86
 
87
87
  // src/types/audit.ts
@@ -916,7 +916,7 @@ function validateObjectName(name) {
916
916
  OBJECT_NAME_SCHEMA.parse(name);
917
917
  } catch (error) {
918
918
  if (error instanceof z2__default.default.ZodError) {
919
- throw new chunkFDIAOFHS_js.SchemaError(error.issues[0].message, chunkFDIAOFHS_js.SchemaErrorCode.INVALID_OBJECT_NAME);
919
+ throw new chunkF3YPU2N6_js.SchemaError(error.issues[0].message, chunkF3YPU2N6_js.SchemaErrorCode.INVALID_OBJECT_NAME);
920
920
  }
921
921
  throw error;
922
922
  }
@@ -945,10 +945,10 @@ function validateAttributeName(name) {
945
945
  "[AttributeBuilder] Invalid attribute name format.\nName must be a valid variable identifier:\n \u2705 Valid: 'firstName', 'first_name', 'FirstName', 'FIRST_NAME'\n \u274C Invalid: 'first-name', 'first name', '123name', 'first.name'"
946
946
  );
947
947
  }
948
- if (chunk63WWFZFY_js.RESERVED_ATTRIBUTE_NAMES.includes(name)) {
948
+ if (chunkEDOEX3O7_js.RESERVED_ATTRIBUTE_NAMES.includes(name)) {
949
949
  throw new Error(
950
950
  `[AttributeBuilder] "${name}" is a reserved name and cannot be used as an attribute name.
951
- Reserved names: ${chunk63WWFZFY_js.RESERVED_ATTRIBUTE_NAMES.join(", ")}`
951
+ Reserved names: ${chunkEDOEX3O7_js.RESERVED_ATTRIBUTE_NAMES.join(", ")}`
952
952
  );
953
953
  }
954
954
  }
@@ -1015,7 +1015,7 @@ var DEFAULT_AGENT_EXECUTION_CONFIG = {
1015
1015
  var AgentBuilder = class {
1016
1016
  constructor(config) {
1017
1017
  if (!config.name || config.name.trim().length === 0) {
1018
- throw new chunkFDIAOFHS_js.ValidationError("Agent name is required", []);
1018
+ throw new chunkF3YPU2N6_js.ValidationError("Agent name is required", []);
1019
1019
  }
1020
1020
  this.bp = { name: config.name, system: true, visibility: "workspace", triggers: [] };
1021
1021
  }
@@ -1130,13 +1130,13 @@ var AgentBuilder = class {
1130
1130
  }
1131
1131
  build() {
1132
1132
  if (!this.bp.systemPrompt) {
1133
- throw new chunkFDIAOFHS_js.ValidationError(`Agent "${this.bp.name}": systemPrompt is required`, []);
1133
+ throw new chunkF3YPU2N6_js.ValidationError(`Agent "${this.bp.name}": systemPrompt is required`, []);
1134
1134
  }
1135
1135
  if (!this.bp.model) {
1136
- throw new chunkFDIAOFHS_js.ValidationError(`Agent "${this.bp.name}": model is required`, []);
1136
+ throw new chunkF3YPU2N6_js.ValidationError(`Agent "${this.bp.name}": model is required`, []);
1137
1137
  }
1138
1138
  if (this.bp.system && this.bp.visibility === "private") {
1139
- throw new chunkFDIAOFHS_js.ValidationError(
1139
+ throw new chunkF3YPU2N6_js.ValidationError(
1140
1140
  `Agent "${this.bp.name}": system agents must use workspace visibility`,
1141
1141
  []
1142
1142
  );
@@ -1144,7 +1144,7 @@ var AgentBuilder = class {
1144
1144
  assertUniqueBy(
1145
1145
  this.bp.triggers,
1146
1146
  (t) => t.name,
1147
- (name) => new chunkFDIAOFHS_js.ValidationError(`Agent "${this.bp.name}": duplicate trigger name "${name}"`, [])
1147
+ (name) => new chunkF3YPU2N6_js.ValidationError(`Agent "${this.bp.name}": duplicate trigger name "${name}"`, [])
1148
1148
  );
1149
1149
  return {
1150
1150
  ...this.bp,
@@ -1199,7 +1199,7 @@ var BaseAttributeBuilder = class {
1199
1199
  * @see https://standardschema.dev/
1200
1200
  */
1201
1201
  get "~standard"() {
1202
- const zodSchema = chunkV6Q7HCA7_js.createAttributeValidator(this.build());
1202
+ const zodSchema = chunkRAF6K6VG_js.createAttributeValidator(this.build());
1203
1203
  return createStandardSchemaProps(zodSchema);
1204
1204
  }
1205
1205
  constructor(type, name, label) {
@@ -1946,9 +1946,9 @@ var RollupAttributeBuilder = class extends BaseAttributeBuilder {
1946
1946
  if (fn === "original" && targetType !== void 0 && targetType !== "select" && targetType !== "status" && targetType !== "multiselect") {
1947
1947
  const relation2 = this.attr.relationAttribute ?? "relation";
1948
1948
  const target = this.attr.targetAttribute ?? "field";
1949
- throw new chunkFDIAOFHS_js.SchemaError(
1949
+ throw new chunkF3YPU2N6_js.SchemaError(
1950
1950
  `Rollup "${this.attr.name}": .using("original") only supports a "select", "status", or "multiselect" target, but .targetType("${targetType}") was given. To surface a plain ${targetType} value from a related record, use a formula instead \u2014 e.g. formula({ name: "${this.attr.name}", label: "\u2026" }).expression("${relation2}.${target}").`,
1951
- chunkFDIAOFHS_js.SchemaErrorCode.VALIDATION_FAILED
1951
+ chunkF3YPU2N6_js.SchemaErrorCode.VALIDATION_FAILED
1952
1952
  );
1953
1953
  }
1954
1954
  return super.build();
@@ -2458,7 +2458,7 @@ var ObjectBuilder = class {
2458
2458
  * @see https://standardschema.dev/
2459
2459
  */
2460
2460
  get "~standard"() {
2461
- const zodSchema = chunkV6Q7HCA7_js.createObjectValidator(this.build());
2461
+ const zodSchema = chunkRAF6K6VG_js.createObjectValidator(this.build());
2462
2462
  return createStandardSchemaProps(zodSchema);
2463
2463
  }
2464
2464
  /**
@@ -2672,26 +2672,26 @@ var ObjectBuilder = class {
2672
2672
  throw new Error("[ObjectBuilder] Missing required field: label");
2673
2673
  }
2674
2674
  if (!this._labelExpression) {
2675
- throw new chunkFDIAOFHS_js.SchemaError(
2675
+ throw new chunkF3YPU2N6_js.SchemaError(
2676
2676
  `Object "${this.obj.name}" must have a labelExpression. The labelExpression defines how records are displayed in lists and relations (e.g. "{{ name }}").`,
2677
- chunkFDIAOFHS_js.SchemaErrorCode.VALIDATION_FAILED
2677
+ chunkF3YPU2N6_js.SchemaErrorCode.VALIDATION_FAILED
2678
2678
  );
2679
2679
  }
2680
2680
  const labelResult = labelExpressionSchema.safeParse(this._labelExpression);
2681
2681
  if (!labelResult.success) {
2682
2682
  const errorMsg = labelResult.error.issues[0]?.message ?? "Invalid labelExpression";
2683
- throw new chunkFDIAOFHS_js.SchemaError(
2683
+ throw new chunkF3YPU2N6_js.SchemaError(
2684
2684
  `Invalid labelExpression for "${this.obj.name}": ${errorMsg}`,
2685
- chunkFDIAOFHS_js.SchemaErrorCode.VALIDATION_FAILED
2685
+ chunkF3YPU2N6_js.SchemaErrorCode.VALIDATION_FAILED
2686
2686
  );
2687
2687
  }
2688
2688
  if (this._embeddingExpression !== void 0) {
2689
2689
  const embeddingResult = labelExpressionSchema.safeParse(this._embeddingExpression);
2690
2690
  if (!embeddingResult.success) {
2691
2691
  const errorMsg = embeddingResult.error.issues[0]?.message ?? "Invalid embeddingExpression";
2692
- throw new chunkFDIAOFHS_js.SchemaError(
2692
+ throw new chunkF3YPU2N6_js.SchemaError(
2693
2693
  `Invalid embeddingExpression for "${this.obj.name}": ${errorMsg}`,
2694
- chunkFDIAOFHS_js.SchemaErrorCode.VALIDATION_FAILED
2694
+ chunkF3YPU2N6_js.SchemaErrorCode.VALIDATION_FAILED
2695
2695
  );
2696
2696
  }
2697
2697
  }
@@ -2733,7 +2733,7 @@ function object(config) {
2733
2733
  }
2734
2734
  function validatePresetStructure(presetId, nodes, depth) {
2735
2735
  const fail = (message, detail) => {
2736
- throw new chunkFDIAOFHS_js.ValidationError(message, [
2736
+ throw new chunkF3YPU2N6_js.ValidationError(message, [
2737
2737
  { path: ["documentLayout", "presets", presetId], message: detail }
2738
2738
  ]);
2739
2739
  };
@@ -3756,7 +3756,7 @@ var ListViewTabConfigBuilder = class _ListViewTabConfigBuilder {
3756
3756
  const protectedAttribute = findProtectedTabFilterAttribute(filters);
3757
3757
  if (protectedAttribute) {
3758
3758
  const message = `Tab filters cannot target "${protectedAttribute}". Use .visibility("private")`;
3759
- throw new chunkFDIAOFHS_js.ValidationError(message, [{ path: ["filters"], message }]);
3759
+ throw new chunkF3YPU2N6_js.ValidationError(message, [{ path: ["filters"], message }]);
3760
3760
  }
3761
3761
  this.tabData.filters = filters;
3762
3762
  return this;
@@ -3970,7 +3970,7 @@ function jsonFlag(name, defaultValue) {
3970
3970
 
3971
3971
  // src/feature-flags/flag-registry.ts
3972
3972
  function duplicateFlagError(name) {
3973
- return new chunkFDIAOFHS_js.DuplicateError(
3973
+ return new chunkF3YPU2N6_js.DuplicateError(
3974
3974
  "feature flag",
3975
3975
  name,
3976
3976
  `Flag "${name}" is already registered. Each flag name must be unique.`
@@ -4048,7 +4048,7 @@ var FlagRegistry = class {
4048
4048
  getOrThrow(name) {
4049
4049
  const flag = this.get(name);
4050
4050
  if (!flag) {
4051
- throw new chunkFDIAOFHS_js.NotFoundError(
4051
+ throw new chunkF3YPU2N6_js.NotFoundError(
4052
4052
  "Feature flag",
4053
4053
  name,
4054
4054
  void 0,
@@ -4205,19 +4205,19 @@ var FlagService = class {
4205
4205
  */
4206
4206
  async setOverride(flagName, level, value, options = {}) {
4207
4207
  if (!this.repository) {
4208
- throw new chunkFDIAOFHS_js.SchemaError(
4208
+ throw new chunkF3YPU2N6_js.SchemaError(
4209
4209
  "Cannot set override: no FeatureFlagsRepository configured. Add featureFlags to your DatabaseAdapter to enable runtime overrides.",
4210
- chunkFDIAOFHS_js.SchemaErrorCode.CONFIGURATION_REQUIRED
4210
+ chunkF3YPU2N6_js.SchemaErrorCode.CONFIGURATION_REQUIRED
4211
4211
  );
4212
4212
  }
4213
4213
  const flag = this.registry.get(flagName);
4214
4214
  if (flag && !flag.allowedLevels.includes(level)) {
4215
4215
  const message = `Flag "${flagName}" does not allow ${level}-level overrides. Allowed levels: ${flag.allowedLevels.join(", ")}`;
4216
- throw new chunkFDIAOFHS_js.ValidationError(message, [{ path: ["level"], message }]);
4216
+ throw new chunkF3YPU2N6_js.ValidationError(message, [{ path: ["level"], message }]);
4217
4217
  }
4218
4218
  if (flag?.system) {
4219
4219
  const message = `Flag "${flagName}" is a system flag and cannot be overridden via API.`;
4220
- throw new chunkFDIAOFHS_js.ValidationError(message, [{ path: ["flagName"], message }]);
4220
+ throw new chunkF3YPU2N6_js.ValidationError(message, [{ path: ["flagName"], message }]);
4221
4221
  }
4222
4222
  await this.repository.setOverride({
4223
4223
  flagName,
@@ -4237,9 +4237,9 @@ var FlagService = class {
4237
4237
  */
4238
4238
  async deleteOverride(flagName, level, targetId) {
4239
4239
  if (!this.repository) {
4240
- throw new chunkFDIAOFHS_js.SchemaError(
4240
+ throw new chunkF3YPU2N6_js.SchemaError(
4241
4241
  "Cannot delete override: no FeatureFlagsRepository configured.",
4242
- chunkFDIAOFHS_js.SchemaErrorCode.CONFIGURATION_REQUIRED
4242
+ chunkF3YPU2N6_js.SchemaErrorCode.CONFIGURATION_REQUIRED
4243
4243
  );
4244
4244
  }
4245
4245
  await this.repository.deleteOverride(flagName, level, targetId);
@@ -4376,7 +4376,7 @@ var NativeObjectRegistryClass = class {
4376
4376
  if (!object2.system) {
4377
4377
  const message = `[NativeObjectRegistry] Cannot register object "${object2.name}" (id: ${object2.id}): missing system flag.
4378
4378
  Native objects must have system=true. Did you call .runtime() on the builder? Remove that call \u2014 objects are system:true by default.`;
4379
- throw new chunkFDIAOFHS_js.ValidationError(message, []);
4379
+ throw new chunkF3YPU2N6_js.ValidationError(message, []);
4380
4380
  }
4381
4381
  if (this.objects.has(object2.name)) {
4382
4382
  const existing = this.objects.get(object2.name);
@@ -4384,7 +4384,7 @@ Native objects must have system=true. Did you call .runtime() on the builder? Re
4384
4384
  - Existing: "${existing?.label}" (id: ${existing?.id})
4385
4385
  - New: "${object2.label}" (id: ${object2.id})
4386
4386
  Please use unique names for each native object.`;
4387
- throw new chunkFDIAOFHS_js.DuplicateError("object", object2.name, message);
4387
+ throw new chunkF3YPU2N6_js.DuplicateError("object", object2.name, message);
4388
4388
  }
4389
4389
  this.objects.set(object2.name, cloneObjectDefinition(object2));
4390
4390
  }
@@ -4416,7 +4416,7 @@ Please use unique names for each native object.`;
4416
4416
  if (!object2) {
4417
4417
  const message = `[NativeObjectRegistry] Native object "${name}" not found.
4418
4418
  Available objects: ${this.listNames().join(", ")}`;
4419
- throw new chunkFDIAOFHS_js.NotFoundError("Native object", name, chunkFDIAOFHS_js.SchemaErrorCode.OBJECT_NOT_FOUND, message);
4419
+ throw new chunkF3YPU2N6_js.NotFoundError("Native object", name, chunkF3YPU2N6_js.SchemaErrorCode.OBJECT_NOT_FOUND, message);
4420
4420
  }
4421
4421
  return object2;
4422
4422
  }
@@ -4555,7 +4555,7 @@ var ViewRegistry = class {
4555
4555
  const key = this.makeKey(view.object, view.name, view.type);
4556
4556
  if (this.views.has(key)) {
4557
4557
  const message = `[ViewRegistry] Duplicate view: "${view.name}" (${view.type}) for object "${view.object}"`;
4558
- throw new chunkFDIAOFHS_js.DuplicateError("view", key, message);
4558
+ throw new chunkF3YPU2N6_js.DuplicateError("view", key, message);
4559
4559
  }
4560
4560
  const storedView = cloneViewDefinition(view);
4561
4561
  this.views.set(key, storedView);
@@ -4600,7 +4600,7 @@ var ViewRegistry = class {
4600
4600
  const availableNames = available.map((v) => `${v.name} (${v.type})`).join(", ") || "(none)";
4601
4601
  const message = `[ViewRegistry] View "${viewName}" not found for object "${objectName}".
4602
4602
  Available views: ${availableNames}`;
4603
- throw new chunkFDIAOFHS_js.NotFoundError("View", `${objectName}:${viewName}`, void 0, message);
4603
+ throw new chunkF3YPU2N6_js.NotFoundError("View", `${objectName}:${viewName}`, void 0, message);
4604
4604
  }
4605
4605
  return view;
4606
4606
  }
@@ -4688,7 +4688,7 @@ var viewRegistry = new ViewRegistry();
4688
4688
  // src/views/auto-generator.ts
4689
4689
  function getRuntimeAttributes(attributes, excludeNames = []) {
4690
4690
  return attributes.filter(
4691
- (attr) => !(!chunk63WWFZFY_js.getAttributeCapabilities(attr).lifecycle.visibleInRuntime || attr.system || excludeNames.includes(attr.name))
4691
+ (attr) => !(!chunkEDOEX3O7_js.getAttributeCapabilities(attr).lifecycle.visibleInRuntime || attr.system || excludeNames.includes(attr.name))
4692
4692
  );
4693
4693
  }
4694
4694
  function sortAttributes(attributes) {
@@ -4721,7 +4721,7 @@ function generateDefaultDetailView(object2, options = {}) {
4721
4721
  const { includeActivityTab = true, includeDocumentsTab = true, excludeAttributes = [] } = options;
4722
4722
  const runtimeAttrs = getRuntimeAttributes(object2.attributes, excludeAttributes);
4723
4723
  const sortedAttrs = sortAttributes(
4724
- runtimeAttrs.filter((attr) => chunk63WWFZFY_js.getAttributeCapabilities(attr).presentation.formField)
4724
+ runtimeAttrs.filter((attr) => chunkEDOEX3O7_js.getAttributeCapabilities(attr).presentation.formField)
4725
4725
  );
4726
4726
  const formTab = {
4727
4727
  id: "form",
@@ -4778,7 +4778,7 @@ function generateDefaultListView(object2, options = {}) {
4778
4778
  const { excludeAttributes = [], maxListColumns = 5 } = options;
4779
4779
  const runtimeAttrs = getRuntimeAttributes(object2.attributes, excludeAttributes);
4780
4780
  const sortedAttrs = sortAttributes(
4781
- runtimeAttrs.filter((attr) => chunk63WWFZFY_js.getAttributeCapabilities(attr).presentation.defaultColumn)
4781
+ runtimeAttrs.filter((attr) => chunkEDOEX3O7_js.getAttributeCapabilities(attr).presentation.defaultColumn)
4782
4782
  );
4783
4783
  const columns = sortedAttrs.slice(0, maxListColumns).map((attr) => attr.name);
4784
4784
  const config = {
@@ -4908,7 +4908,7 @@ var FormRegistry = class {
4908
4908
  const forms = Array.isArray(formOrForms) ? formOrForms : [formOrForms];
4909
4909
  for (const f of forms) {
4910
4910
  if (this.forms.has(f.name)) {
4911
- throw new chunkFDIAOFHS_js.DuplicateError("form", f.name, `[FormRegistry] Duplicate form: "${f.name}"`);
4911
+ throw new chunkF3YPU2N6_js.DuplicateError("form", f.name, `[FormRegistry] Duplicate form: "${f.name}"`);
4912
4912
  }
4913
4913
  this.forms.set(f.name, cloneFormDefinition(f));
4914
4914
  }
@@ -5486,7 +5486,7 @@ function assertAcyclicComputedDependencies(nodes) {
5486
5486
  }
5487
5487
  function parseCompileFormula(expression) {
5488
5488
  try {
5489
- return chunkQN2N3IJZ_js.parseComputedFormula(expression);
5489
+ return chunkT7BST4JS_js.parseComputedFormula(expression);
5490
5490
  } catch (error) {
5491
5491
  if (error instanceof Error) {
5492
5492
  throw new ComputedFormulaCompileError(error.message);
@@ -6397,11 +6397,11 @@ function evaluateComputedAst(node, input) {
6397
6397
  return evaluateAst(node, input);
6398
6398
  }
6399
6399
  function evaluateComputedFormula(expression, input) {
6400
- return evaluateAst(chunkQN2N3IJZ_js.parseComputedFormula(expression), input);
6400
+ return evaluateAst(chunkT7BST4JS_js.parseComputedFormula(expression), input);
6401
6401
  }
6402
6402
  function evaluateComputedFormulaWithResult(expression, input, returnType, decimals) {
6403
6403
  try {
6404
- const raw = evaluateAst(chunkQN2N3IJZ_js.parseComputedFormula(expression), input);
6404
+ const raw = evaluateAst(chunkT7BST4JS_js.parseComputedFormula(expression), input);
6405
6405
  const value = returnType ? formatComputedResult(raw, returnType, decimals) : raw;
6406
6406
  return { value };
6407
6407
  } catch (error) {
@@ -6662,7 +6662,7 @@ var OPERATOR_SPECS = {
6662
6662
  appliesTo: ["date"],
6663
6663
  evaluateInMemory: (v, rv) => {
6664
6664
  const d = toDate2(v);
6665
- const bounds = chunk63WWFZFY_js.resolveIsWithinBounds(rv);
6665
+ const bounds = chunkEDOEX3O7_js.resolveIsWithinBounds(rv);
6666
6666
  if (!(d && bounds)) return false;
6667
6667
  return d.getTime() >= bounds.startMs && d.getTime() < bounds.endMs;
6668
6668
  }
@@ -6742,7 +6742,7 @@ function toMultiValueOperator(op) {
6742
6742
  // src/filters/evaluate.ts
6743
6743
  var systemAttribute = (name, type) => ({ id: `system:${name}`, name, label: name, type, system: true });
6744
6744
  var RECORD_SYSTEM_ATTRIBUTES = [
6745
- ...Object.entries(chunk63WWFZFY_js.SYSTEM_FILTER_ATTRIBUTE_TYPES).map(
6745
+ ...Object.entries(chunkEDOEX3O7_js.SYSTEM_FILTER_ATTRIBUTE_TYPES).map(
6746
6746
  ([name, type]) => systemAttribute(name, type)
6747
6747
  )
6748
6748
  ];
@@ -6886,10 +6886,10 @@ function canonicalStringify(value) {
6886
6886
  case "object":
6887
6887
  break;
6888
6888
  default:
6889
- throw new chunkFDIAOFHS_js.ValidationError(`Cannot canonicalize value of type ${typeof v}`, []);
6889
+ throw new chunkF3YPU2N6_js.ValidationError(`Cannot canonicalize value of type ${typeof v}`, []);
6890
6890
  }
6891
6891
  const obj = v;
6892
- if (seen.has(obj)) throw new chunkFDIAOFHS_js.ValidationError("Cannot canonicalize circular structure", []);
6892
+ if (seen.has(obj)) throw new chunkF3YPU2N6_js.ValidationError("Cannot canonicalize circular structure", []);
6893
6893
  seen.add(obj);
6894
6894
  try {
6895
6895
  if (Array.isArray(obj)) return `[${obj.map((e) => encode(e) ?? "null").join(",")}]`;
@@ -6974,10 +6974,10 @@ var attributeNameSchema = z2.z.string().min(1).superRefine((name, ctx) => {
6974
6974
  'The attribute\'s machine name \u2014 the record\'s field key, and what `{{ name }}` refers to in a labelExpression. Must be a valid identifier: starts with a letter or underscore, then only letters/digits/underscores ("montantHt", "first_name", "FIRST_NAME" are valid; "first-name", "first name", "123name" are not). Max 63 characters. Cannot be a name reserved by the record shape itself (id, createdAt, updatedAt, createdBy, lastUpdatedBy, objectId, label, embeddingText, values, metadata, deletedAt, deletedBy, schemaVersion).'
6975
6975
  );
6976
6976
  var objectNameSchema = z2.z.string().min(1).superRefine((name, ctx) => {
6977
- if (chunk63WWFZFY_js.RESERVED_OBJECT_NAMES.includes(name)) {
6977
+ if (chunkEDOEX3O7_js.RESERVED_OBJECT_NAMES.includes(name)) {
6978
6978
  ctx.addIssue({
6979
6979
  code: z2.z.ZodIssueCode.custom,
6980
- message: `"${name}" is a reserved object name (${chunk63WWFZFY_js.RESERVED_OBJECT_NAMES.join(", ")}) and cannot be used for a new object.`
6980
+ message: `"${name}" is a reserved object name (${chunkEDOEX3O7_js.RESERVED_OBJECT_NAMES.join(", ")}) and cannot be used for a new object.`
6981
6981
  });
6982
6982
  }
6983
6983
  try {
@@ -6991,7 +6991,7 @@ var objectNameSchema = z2.z.string().min(1).superRefine((name, ctx) => {
6991
6991
  function withConfigCheck(schema) {
6992
6992
  return schema.superRefine((attribute, ctx) => {
6993
6993
  try {
6994
- const parsedConfig = chunkQN2N3IJZ_js.parseAttributeConfigForCreate(attribute.type, {
6994
+ const parsedConfig = chunkT7BST4JS_js.parseAttributeConfigForCreate(attribute.type, {
6995
6995
  ...attribute.config ?? {},
6996
6996
  description: attribute.description
6997
6997
  });
@@ -7007,7 +7007,7 @@ function withConfigCheck(schema) {
7007
7007
  });
7008
7008
  }
7009
7009
  } catch (error) {
7010
- if (error instanceof chunkFDIAOFHS_js.ValidationError) {
7010
+ if (error instanceof chunkF3YPU2N6_js.ValidationError) {
7011
7011
  for (const issue of error.errors) {
7012
7012
  ctx.addIssue({
7013
7013
  code: z2.z.ZodIssueCode.custom,
@@ -7054,7 +7054,7 @@ var plannedObjectSchema = z2.z.object({
7054
7054
  'Human-readable plural display label (e.g. "Devis"/"Invoices"). Defaults from `label` if omitted.'
7055
7055
  ),
7056
7056
  description: z2.z.string().optional().describe("Help text describing what this object represents."),
7057
- icon: chunkQN2N3IJZ_js.iconNameSchema.describe(
7057
+ icon: chunkT7BST4JS_js.iconNameSchema.describe(
7058
7058
  "Required icon name for the object. Must be a catalogue value \u2014 call `search_icons` and use a name it returns verbatim. A name that is not in the catalogue is rejected without any hint as to what would have worked, so never guess one."
7059
7059
  ),
7060
7060
  labelExpression: labelExpressionSchema.describe(
@@ -7112,13 +7112,13 @@ var proposedDefaultViewTargetSchema = z2.z.discriminatedUnion("viewType", [
7112
7112
  z2.z.object({
7113
7113
  objectName: viewTargetObjectNameSchema,
7114
7114
  viewType: z2.z.literal("list").describe("Targets the object's default list view (the grid)."),
7115
- canonicalConfig: chunk63WWFZFY_js.listViewConfigSchema.describe(CANONICAL_CONFIG_DESCRIPTION),
7115
+ canonicalConfig: chunkEDOEX3O7_js.listViewConfigSchema.describe(CANONICAL_CONFIG_DESCRIPTION),
7116
7116
  baselineToken: z2.z.string().min(1).optional().describe(BASELINE_TOKEN_DESCRIPTION)
7117
7117
  }).strict(),
7118
7118
  z2.z.object({
7119
7119
  objectName: viewTargetObjectNameSchema,
7120
7120
  viewType: z2.z.literal("detail").describe("Targets the object's default detail view (the single-record view)."),
7121
- canonicalConfig: chunk63WWFZFY_js.detailViewConfigSchema.describe(CANONICAL_CONFIG_DESCRIPTION),
7121
+ canonicalConfig: chunkEDOEX3O7_js.detailViewConfigSchema.describe(CANONICAL_CONFIG_DESCRIPTION),
7122
7122
  baselineToken: z2.z.string().min(1).optional().describe(BASELINE_TOKEN_DESCRIPTION)
7123
7123
  }).strict()
7124
7124
  ]);
@@ -7132,13 +7132,13 @@ var persistedDefaultViewTargetSchema = z2.z.discriminatedUnion("viewType", [
7132
7132
  z2.z.object({
7133
7133
  objectName: z2.z.string().min(1),
7134
7134
  viewType: z2.z.literal("list"),
7135
- canonicalConfig: chunk63WWFZFY_js.listViewConfigSchema,
7135
+ canonicalConfig: chunkEDOEX3O7_js.listViewConfigSchema,
7136
7136
  ...persistedBaselineFields
7137
7137
  }).strict(),
7138
7138
  z2.z.object({
7139
7139
  objectName: z2.z.string().min(1),
7140
7140
  viewType: z2.z.literal("detail"),
7141
- canonicalConfig: chunk63WWFZFY_js.detailViewConfigSchema,
7141
+ canonicalConfig: chunkEDOEX3O7_js.detailViewConfigSchema,
7142
7142
  ...persistedBaselineFields
7143
7143
  }).strict()
7144
7144
  ]).superRefine((target, ctx) => {
@@ -7367,255 +7367,255 @@ Object.defineProperty(exports, "indexBy", {
7367
7367
  });
7368
7368
  Object.defineProperty(exports, "ATTRIBUTE_FILTER_OPERATORS", {
7369
7369
  enumerable: true,
7370
- get: function () { return chunk63WWFZFY_js.ATTRIBUTE_FILTER_OPERATORS; }
7370
+ get: function () { return chunkEDOEX3O7_js.ATTRIBUTE_FILTER_OPERATORS; }
7371
7371
  });
7372
7372
  Object.defineProperty(exports, "LIST_VIEW_TAB_VISIBILITIES", {
7373
7373
  enumerable: true,
7374
- get: function () { return chunk63WWFZFY_js.LIST_VIEW_TAB_VISIBILITIES; }
7374
+ get: function () { return chunkEDOEX3O7_js.LIST_VIEW_TAB_VISIBILITIES; }
7375
7375
  });
7376
7376
  Object.defineProperty(exports, "NO_VALUE_OPERATORS", {
7377
7377
  enumerable: true,
7378
- get: function () { return chunk63WWFZFY_js.NO_VALUE_OPERATORS; }
7378
+ get: function () { return chunkEDOEX3O7_js.NO_VALUE_OPERATORS; }
7379
7379
  });
7380
7380
  Object.defineProperty(exports, "OPERATORS_BY_TYPE", {
7381
7381
  enumerable: true,
7382
- get: function () { return chunk63WWFZFY_js.OPERATORS_BY_TYPE; }
7382
+ get: function () { return chunkEDOEX3O7_js.OPERATORS_BY_TYPE; }
7383
7383
  });
7384
7384
  Object.defineProperty(exports, "REMOVED_OPERATOR_REPLACEMENTS", {
7385
7385
  enumerable: true,
7386
- get: function () { return chunk63WWFZFY_js.REMOVED_OPERATOR_REPLACEMENTS; }
7386
+ get: function () { return chunkEDOEX3O7_js.REMOVED_OPERATOR_REPLACEMENTS; }
7387
7387
  });
7388
7388
  Object.defineProperty(exports, "RESERVED_ATTRIBUTE_NAMES", {
7389
7389
  enumerable: true,
7390
- get: function () { return chunk63WWFZFY_js.RESERVED_ATTRIBUTE_NAMES; }
7390
+ get: function () { return chunkEDOEX3O7_js.RESERVED_ATTRIBUTE_NAMES; }
7391
7391
  });
7392
7392
  Object.defineProperty(exports, "RESERVED_OBJECT_NAMES", {
7393
7393
  enumerable: true,
7394
- get: function () { return chunk63WWFZFY_js.RESERVED_OBJECT_NAMES; }
7394
+ get: function () { return chunkEDOEX3O7_js.RESERVED_OBJECT_NAMES; }
7395
7395
  });
7396
7396
  Object.defineProperty(exports, "RESOURCE_VISIBILITIES", {
7397
7397
  enumerable: true,
7398
- get: function () { return chunk63WWFZFY_js.RESOURCE_VISIBILITIES; }
7398
+ get: function () { return chunkEDOEX3O7_js.RESOURCE_VISIBILITIES; }
7399
7399
  });
7400
7400
  Object.defineProperty(exports, "SYNONYM_ALIASES", {
7401
7401
  enumerable: true,
7402
- get: function () { return chunk63WWFZFY_js.SYNONYM_ALIASES; }
7402
+ get: function () { return chunkEDOEX3O7_js.SYNONYM_ALIASES; }
7403
7403
  });
7404
7404
  Object.defineProperty(exports, "SYSTEM_ATTRIBUTES", {
7405
7405
  enumerable: true,
7406
- get: function () { return chunk63WWFZFY_js.SYSTEM_ATTRIBUTES; }
7406
+ get: function () { return chunkEDOEX3O7_js.SYSTEM_ATTRIBUTES; }
7407
7407
  });
7408
7408
  Object.defineProperty(exports, "SYSTEM_ATTRIBUTE_I18N_KEYS", {
7409
7409
  enumerable: true,
7410
- get: function () { return chunk63WWFZFY_js.SYSTEM_ATTRIBUTE_I18N_KEYS; }
7410
+ get: function () { return chunkEDOEX3O7_js.SYSTEM_ATTRIBUTE_I18N_KEYS; }
7411
7411
  });
7412
7412
  Object.defineProperty(exports, "SYSTEM_FIELD_NAMES", {
7413
7413
  enumerable: true,
7414
- get: function () { return chunk63WWFZFY_js.SYSTEM_FIELD_NAMES; }
7414
+ get: function () { return chunkEDOEX3O7_js.SYSTEM_FIELD_NAMES; }
7415
7415
  });
7416
7416
  Object.defineProperty(exports, "SYSTEM_FILTER_ATTRIBUTE_TYPES", {
7417
7417
  enumerable: true,
7418
- get: function () { return chunk63WWFZFY_js.SYSTEM_FILTER_ATTRIBUTE_TYPES; }
7418
+ get: function () { return chunkEDOEX3O7_js.SYSTEM_FILTER_ATTRIBUTE_TYPES; }
7419
7419
  });
7420
7420
  Object.defineProperty(exports, "collectQualifiedRuleIssues", {
7421
7421
  enumerable: true,
7422
- get: function () { return chunk63WWFZFY_js.collectQualifiedRuleIssues; }
7422
+ get: function () { return chunkEDOEX3O7_js.collectQualifiedRuleIssues; }
7423
7423
  });
7424
7424
  Object.defineProperty(exports, "currentActor", {
7425
7425
  enumerable: true,
7426
- get: function () { return chunk63WWFZFY_js.currentActor; }
7426
+ get: function () { return chunkEDOEX3O7_js.currentActor; }
7427
7427
  });
7428
7428
  Object.defineProperty(exports, "detailTabSchema", {
7429
7429
  enumerable: true,
7430
- get: function () { return chunk63WWFZFY_js.detailTabSchema; }
7430
+ get: function () { return chunkEDOEX3O7_js.detailTabSchema; }
7431
7431
  });
7432
7432
  Object.defineProperty(exports, "detailViewConfigSchema", {
7433
7433
  enumerable: true,
7434
- get: function () { return chunk63WWFZFY_js.detailViewConfigSchema; }
7434
+ get: function () { return chunkEDOEX3O7_js.detailViewConfigSchema; }
7435
7435
  });
7436
7436
  Object.defineProperty(exports, "getAttributeCapabilities", {
7437
7437
  enumerable: true,
7438
- get: function () { return chunk63WWFZFY_js.getAttributeCapabilities; }
7438
+ get: function () { return chunkEDOEX3O7_js.getAttributeCapabilities; }
7439
7439
  });
7440
7440
  Object.defineProperty(exports, "getAttributeFilterOperators", {
7441
7441
  enumerable: true,
7442
- get: function () { return chunk63WWFZFY_js.getAttributeFilterOperators; }
7442
+ get: function () { return chunkEDOEX3O7_js.getAttributeFilterOperators; }
7443
7443
  });
7444
7444
  Object.defineProperty(exports, "getRollupFilterOperators", {
7445
7445
  enumerable: true,
7446
- get: function () { return chunk63WWFZFY_js.getRollupFilterOperators; }
7446
+ get: function () { return chunkEDOEX3O7_js.getRollupFilterOperators; }
7447
7447
  });
7448
7448
  Object.defineProperty(exports, "getSystemAttributeI18nKey", {
7449
7449
  enumerable: true,
7450
- get: function () { return chunk63WWFZFY_js.getSystemAttributeI18nKey; }
7450
+ get: function () { return chunkEDOEX3O7_js.getSystemAttributeI18nKey; }
7451
7451
  });
7452
7452
  Object.defineProperty(exports, "getSystemAttributeList", {
7453
7453
  enumerable: true,
7454
- get: function () { return chunk63WWFZFY_js.getSystemAttributeList; }
7454
+ get: function () { return chunkEDOEX3O7_js.getSystemAttributeList; }
7455
7455
  });
7456
7456
  Object.defineProperty(exports, "inverseSourceSchema", {
7457
7457
  enumerable: true,
7458
- get: function () { return chunk63WWFZFY_js.inverseSourceSchema; }
7458
+ get: function () { return chunkEDOEX3O7_js.inverseSourceSchema; }
7459
7459
  });
7460
7460
  Object.defineProperty(exports, "isAttributeFilterable", {
7461
7461
  enumerable: true,
7462
- get: function () { return chunk63WWFZFY_js.isAttributeFilterable; }
7462
+ get: function () { return chunkEDOEX3O7_js.isAttributeFilterable; }
7463
7463
  });
7464
7464
  Object.defineProperty(exports, "isAttributeGroupable", {
7465
7465
  enumerable: true,
7466
- get: function () { return chunk63WWFZFY_js.isAttributeGroupable; }
7466
+ get: function () { return chunkEDOEX3O7_js.isAttributeGroupable; }
7467
7467
  });
7468
7468
  Object.defineProperty(exports, "isAttributeKanbanGroupable", {
7469
7469
  enumerable: true,
7470
- get: function () { return chunk63WWFZFY_js.isAttributeKanbanGroupable; }
7470
+ get: function () { return chunkEDOEX3O7_js.isAttributeKanbanGroupable; }
7471
7471
  });
7472
7472
  Object.defineProperty(exports, "isAttributeSearchable", {
7473
7473
  enumerable: true,
7474
- get: function () { return chunk63WWFZFY_js.isAttributeSearchable; }
7474
+ get: function () { return chunkEDOEX3O7_js.isAttributeSearchable; }
7475
7475
  });
7476
7476
  Object.defineProperty(exports, "isDynamicValue", {
7477
7477
  enumerable: true,
7478
- get: function () { return chunk63WWFZFY_js.isDynamicValue; }
7478
+ get: function () { return chunkEDOEX3O7_js.isDynamicValue; }
7479
7479
  });
7480
7480
  Object.defineProperty(exports, "isManagedSystemAttribute", {
7481
7481
  enumerable: true,
7482
- get: function () { return chunk63WWFZFY_js.isManagedSystemAttribute; }
7482
+ get: function () { return chunkEDOEX3O7_js.isManagedSystemAttribute; }
7483
7483
  });
7484
7484
  Object.defineProperty(exports, "isNoValueOperator", {
7485
7485
  enumerable: true,
7486
- get: function () { return chunk63WWFZFY_js.isNoValueOperator; }
7486
+ get: function () { return chunkEDOEX3O7_js.isNoValueOperator; }
7487
7487
  });
7488
7488
  Object.defineProperty(exports, "isRelativeDateValue", {
7489
7489
  enumerable: true,
7490
- get: function () { return chunk63WWFZFY_js.isRelativeDateValue; }
7490
+ get: function () { return chunkEDOEX3O7_js.isRelativeDateValue; }
7491
7491
  });
7492
7492
  Object.defineProperty(exports, "listViewConfigSchema", {
7493
7493
  enumerable: true,
7494
- get: function () { return chunk63WWFZFY_js.listViewConfigSchema; }
7494
+ get: function () { return chunkEDOEX3O7_js.listViewConfigSchema; }
7495
7495
  });
7496
7496
  Object.defineProperty(exports, "listViewTabSchema", {
7497
7497
  enumerable: true,
7498
- get: function () { return chunk63WWFZFY_js.listViewTabSchema; }
7498
+ get: function () { return chunkEDOEX3O7_js.listViewTabSchema; }
7499
7499
  });
7500
7500
  Object.defineProperty(exports, "normalizeFilterRule", {
7501
7501
  enumerable: true,
7502
- get: function () { return chunk63WWFZFY_js.normalizeFilterRule; }
7502
+ get: function () { return chunkEDOEX3O7_js.normalizeFilterRule; }
7503
7503
  });
7504
7504
  Object.defineProperty(exports, "normalizeOperator", {
7505
7505
  enumerable: true,
7506
- get: function () { return chunk63WWFZFY_js.normalizeOperator; }
7506
+ get: function () { return chunkEDOEX3O7_js.normalizeOperator; }
7507
7507
  });
7508
7508
  Object.defineProperty(exports, "now", {
7509
7509
  enumerable: true,
7510
- get: function () { return chunk63WWFZFY_js.now; }
7510
+ get: function () { return chunkEDOEX3O7_js.now; }
7511
7511
  });
7512
7512
  Object.defineProperty(exports, "parseViewConfig", {
7513
7513
  enumerable: true,
7514
- get: function () { return chunk63WWFZFY_js.parseViewConfig; }
7514
+ get: function () { return chunkEDOEX3O7_js.parseViewConfig; }
7515
7515
  });
7516
7516
  Object.defineProperty(exports, "relationSourceSchema", {
7517
7517
  enumerable: true,
7518
- get: function () { return chunk63WWFZFY_js.relationSourceSchema; }
7518
+ get: function () { return chunkEDOEX3O7_js.relationSourceSchema; }
7519
7519
  });
7520
7520
  Object.defineProperty(exports, "resolveIsWithinBounds", {
7521
7521
  enumerable: true,
7522
- get: function () { return chunk63WWFZFY_js.resolveIsWithinBounds; }
7522
+ get: function () { return chunkEDOEX3O7_js.resolveIsWithinBounds; }
7523
7523
  });
7524
7524
  Object.defineProperty(exports, "tableSourceSchema", {
7525
7525
  enumerable: true,
7526
- get: function () { return chunk63WWFZFY_js.tableSourceSchema; }
7526
+ get: function () { return chunkEDOEX3O7_js.tableSourceSchema; }
7527
7527
  });
7528
7528
  Object.defineProperty(exports, "toUtcDayString", {
7529
7529
  enumerable: true,
7530
- get: function () { return chunk63WWFZFY_js.toUtcDayString; }
7530
+ get: function () { return chunkEDOEX3O7_js.toUtcDayString; }
7531
7531
  });
7532
7532
  Object.defineProperty(exports, "today", {
7533
7533
  enumerable: true,
7534
- get: function () { return chunk63WWFZFY_js.today; }
7534
+ get: function () { return chunkEDOEX3O7_js.today; }
7535
7535
  });
7536
7536
  Object.defineProperty(exports, "validateQualifiedRule", {
7537
7537
  enumerable: true,
7538
- get: function () { return chunk63WWFZFY_js.validateQualifiedRule; }
7538
+ get: function () { return chunkEDOEX3O7_js.validateQualifiedRule; }
7539
7539
  });
7540
7540
  Object.defineProperty(exports, "viewConfigByTypeSchema", {
7541
7541
  enumerable: true,
7542
- get: function () { return chunk63WWFZFY_js.viewConfigByTypeSchema; }
7542
+ get: function () { return chunkEDOEX3O7_js.viewConfigByTypeSchema; }
7543
7543
  });
7544
7544
  Object.defineProperty(exports, "viewTypeSchema", {
7545
7545
  enumerable: true,
7546
- get: function () { return chunk63WWFZFY_js.viewTypeSchema; }
7546
+ get: function () { return chunkEDOEX3O7_js.viewTypeSchema; }
7547
7547
  });
7548
7548
  Object.defineProperty(exports, "ComputedFormulaParseError", {
7549
7549
  enumerable: true,
7550
- get: function () { return chunkQN2N3IJZ_js.ComputedFormulaParseError; }
7550
+ get: function () { return chunkT7BST4JS_js.ComputedFormulaParseError; }
7551
7551
  });
7552
7552
  Object.defineProperty(exports, "SCHEMA_LIMITS", {
7553
7553
  enumerable: true,
7554
- get: function () { return chunkQN2N3IJZ_js.SCHEMA_LIMITS; }
7554
+ get: function () { return chunkT7BST4JS_js.SCHEMA_LIMITS; }
7555
7555
  });
7556
7556
  Object.defineProperty(exports, "colorIdSchema", {
7557
7557
  enumerable: true,
7558
- get: function () { return chunkQN2N3IJZ_js.colorIdSchema; }
7558
+ get: function () { return chunkT7BST4JS_js.colorIdSchema; }
7559
7559
  });
7560
7560
  Object.defineProperty(exports, "iconNameSchema", {
7561
7561
  enumerable: true,
7562
- get: function () { return chunkQN2N3IJZ_js.iconNameSchema; }
7562
+ get: function () { return chunkT7BST4JS_js.iconNameSchema; }
7563
7563
  });
7564
7564
  Object.defineProperty(exports, "multiselectOptionWriteSchema", {
7565
7565
  enumerable: true,
7566
- get: function () { return chunkQN2N3IJZ_js.multiselectOptionWriteSchema; }
7566
+ get: function () { return chunkT7BST4JS_js.multiselectOptionWriteSchema; }
7567
7567
  });
7568
7568
  Object.defineProperty(exports, "parseAttributeConfig", {
7569
7569
  enumerable: true,
7570
- get: function () { return chunkQN2N3IJZ_js.parseAttributeConfig; }
7570
+ get: function () { return chunkT7BST4JS_js.parseAttributeConfig; }
7571
7571
  });
7572
7572
  Object.defineProperty(exports, "parseAttributeConfigForCreate", {
7573
7573
  enumerable: true,
7574
- get: function () { return chunkQN2N3IJZ_js.parseAttributeConfigForCreate; }
7574
+ get: function () { return chunkT7BST4JS_js.parseAttributeConfigForCreate; }
7575
7575
  });
7576
7576
  Object.defineProperty(exports, "parseAttributeConfigForUpdate", {
7577
7577
  enumerable: true,
7578
- get: function () { return chunkQN2N3IJZ_js.parseAttributeConfigForUpdate; }
7578
+ get: function () { return chunkT7BST4JS_js.parseAttributeConfigForUpdate; }
7579
7579
  });
7580
7580
  Object.defineProperty(exports, "parseComputedFormula", {
7581
7581
  enumerable: true,
7582
- get: function () { return chunkQN2N3IJZ_js.parseComputedFormula; }
7582
+ get: function () { return chunkT7BST4JS_js.parseComputedFormula; }
7583
7583
  });
7584
7584
  Object.defineProperty(exports, "selectOptionWriteSchema", {
7585
7585
  enumerable: true,
7586
- get: function () { return chunkQN2N3IJZ_js.selectOptionWriteSchema; }
7586
+ get: function () { return chunkT7BST4JS_js.selectOptionWriteSchema; }
7587
7587
  });
7588
7588
  Object.defineProperty(exports, "statusGroupSchema", {
7589
7589
  enumerable: true,
7590
- get: function () { return chunkQN2N3IJZ_js.statusGroupSchema; }
7590
+ get: function () { return chunkT7BST4JS_js.statusGroupSchema; }
7591
7591
  });
7592
7592
  Object.defineProperty(exports, "statusOptionWriteSchema", {
7593
7593
  enumerable: true,
7594
- get: function () { return chunkQN2N3IJZ_js.statusOptionWriteSchema; }
7594
+ get: function () { return chunkT7BST4JS_js.statusOptionWriteSchema; }
7595
7595
  });
7596
7596
  Object.defineProperty(exports, "createFormAttributeValidator", {
7597
7597
  enumerable: true,
7598
- get: function () { return chunkV6Q7HCA7_js.createFormAttributeValidator; }
7598
+ get: function () { return chunkRAF6K6VG_js.createFormAttributeValidator; }
7599
7599
  });
7600
7600
  Object.defineProperty(exports, "rejectUnknownAttributesOrThrow", {
7601
7601
  enumerable: true,
7602
- get: function () { return chunkV6Q7HCA7_js.rejectUnknownAttributesOrThrow; }
7602
+ get: function () { return chunkRAF6K6VG_js.rejectUnknownAttributesOrThrow; }
7603
7603
  });
7604
7604
  Object.defineProperty(exports, "validateDraft", {
7605
7605
  enumerable: true,
7606
- get: function () { return chunkV6Q7HCA7_js.validateDraft; }
7606
+ get: function () { return chunkRAF6K6VG_js.validateDraft; }
7607
7607
  });
7608
7608
  Object.defineProperty(exports, "validateDraftOrThrow", {
7609
7609
  enumerable: true,
7610
- get: function () { return chunkV6Q7HCA7_js.validateDraftOrThrow; }
7610
+ get: function () { return chunkRAF6K6VG_js.validateDraftOrThrow; }
7611
7611
  });
7612
7612
  Object.defineProperty(exports, "validateObject", {
7613
7613
  enumerable: true,
7614
- get: function () { return chunkV6Q7HCA7_js.validateObject; }
7614
+ get: function () { return chunkRAF6K6VG_js.validateObject; }
7615
7615
  });
7616
7616
  Object.defineProperty(exports, "validateObjectOrThrow", {
7617
7617
  enumerable: true,
7618
- get: function () { return chunkV6Q7HCA7_js.validateObjectOrThrow; }
7618
+ get: function () { return chunkRAF6K6VG_js.validateObjectOrThrow; }
7619
7619
  });
7620
7620
  Object.defineProperty(exports, "createCheckboxValidator", {
7621
7621
  enumerable: true,
@@ -7643,155 +7643,155 @@ Object.defineProperty(exports, "resolveTextPattern", {
7643
7643
  });
7644
7644
  Object.defineProperty(exports, "AccessDeniedError", {
7645
7645
  enumerable: true,
7646
- get: function () { return chunkFDIAOFHS_js.AccessDeniedError; }
7646
+ get: function () { return chunkF3YPU2N6_js.AccessDeniedError; }
7647
7647
  });
7648
7648
  Object.defineProperty(exports, "AttributeInUseError", {
7649
7649
  enumerable: true,
7650
- get: function () { return chunkFDIAOFHS_js.AttributeInUseError; }
7650
+ get: function () { return chunkF3YPU2N6_js.AttributeInUseError; }
7651
7651
  });
7652
7652
  Object.defineProperty(exports, "AttributeNotFoundError", {
7653
7653
  enumerable: true,
7654
- get: function () { return chunkFDIAOFHS_js.AttributeNotFoundError; }
7654
+ get: function () { return chunkF3YPU2N6_js.AttributeNotFoundError; }
7655
7655
  });
7656
7656
  Object.defineProperty(exports, "ChangeTypeNotSupportedError", {
7657
7657
  enumerable: true,
7658
- get: function () { return chunkFDIAOFHS_js.ChangeTypeNotSupportedError; }
7658
+ get: function () { return chunkF3YPU2N6_js.ChangeTypeNotSupportedError; }
7659
7659
  });
7660
7660
  Object.defineProperty(exports, "ConcurrentModificationError", {
7661
7661
  enumerable: true,
7662
- get: function () { return chunkFDIAOFHS_js.ConcurrentModificationError; }
7662
+ get: function () { return chunkF3YPU2N6_js.ConcurrentModificationError; }
7663
7663
  });
7664
7664
  Object.defineProperty(exports, "DestructiveSyncNotAllowedError", {
7665
7665
  enumerable: true,
7666
- get: function () { return chunkFDIAOFHS_js.DestructiveSyncNotAllowedError; }
7666
+ get: function () { return chunkF3YPU2N6_js.DestructiveSyncNotAllowedError; }
7667
7667
  });
7668
7668
  Object.defineProperty(exports, "DuplicateError", {
7669
7669
  enumerable: true,
7670
- get: function () { return chunkFDIAOFHS_js.DuplicateError; }
7670
+ get: function () { return chunkF3YPU2N6_js.DuplicateError; }
7671
7671
  });
7672
7672
  Object.defineProperty(exports, "ForbiddenError", {
7673
7673
  enumerable: true,
7674
- get: function () { return chunkFDIAOFHS_js.ForbiddenError; }
7674
+ get: function () { return chunkF3YPU2N6_js.ForbiddenError; }
7675
7675
  });
7676
7676
  Object.defineProperty(exports, "MemoryNotFoundError", {
7677
7677
  enumerable: true,
7678
- get: function () { return chunkFDIAOFHS_js.MemoryNotFoundError; }
7678
+ get: function () { return chunkF3YPU2N6_js.MemoryNotFoundError; }
7679
7679
  });
7680
7680
  Object.defineProperty(exports, "MigrationTimeoutError", {
7681
7681
  enumerable: true,
7682
- get: function () { return chunkFDIAOFHS_js.MigrationTimeoutError; }
7682
+ get: function () { return chunkF3YPU2N6_js.MigrationTimeoutError; }
7683
7683
  });
7684
7684
  Object.defineProperty(exports, "NotFoundError", {
7685
7685
  enumerable: true,
7686
- get: function () { return chunkFDIAOFHS_js.NotFoundError; }
7686
+ get: function () { return chunkF3YPU2N6_js.NotFoundError; }
7687
7687
  });
7688
7688
  Object.defineProperty(exports, "NotImplementedError", {
7689
7689
  enumerable: true,
7690
- get: function () { return chunkFDIAOFHS_js.NotImplementedError; }
7690
+ get: function () { return chunkF3YPU2N6_js.NotImplementedError; }
7691
7691
  });
7692
7692
  Object.defineProperty(exports, "ObjectNotFoundError", {
7693
7693
  enumerable: true,
7694
- get: function () { return chunkFDIAOFHS_js.ObjectNotFoundError; }
7694
+ get: function () { return chunkF3YPU2N6_js.ObjectNotFoundError; }
7695
7695
  });
7696
7696
  Object.defineProperty(exports, "ObjectReferencedError", {
7697
7697
  enumerable: true,
7698
- get: function () { return chunkFDIAOFHS_js.ObjectReferencedError; }
7698
+ get: function () { return chunkF3YPU2N6_js.ObjectReferencedError; }
7699
7699
  });
7700
7700
  Object.defineProperty(exports, "OrphanSystemAttributeError", {
7701
7701
  enumerable: true,
7702
- get: function () { return chunkFDIAOFHS_js.OrphanSystemAttributeError; }
7702
+ get: function () { return chunkF3YPU2N6_js.OrphanSystemAttributeError; }
7703
7703
  });
7704
7704
  Object.defineProperty(exports, "ProtectedResourceError", {
7705
7705
  enumerable: true,
7706
- get: function () { return chunkFDIAOFHS_js.ProtectedResourceError; }
7706
+ get: function () { return chunkF3YPU2N6_js.ProtectedResourceError; }
7707
7707
  });
7708
7708
  Object.defineProperty(exports, "ProtectedRoleError", {
7709
7709
  enumerable: true,
7710
- get: function () { return chunkFDIAOFHS_js.ProtectedRoleError; }
7710
+ get: function () { return chunkF3YPU2N6_js.ProtectedRoleError; }
7711
7711
  });
7712
7712
  Object.defineProperty(exports, "RecordNotFoundError", {
7713
7713
  enumerable: true,
7714
- get: function () { return chunkFDIAOFHS_js.RecordNotFoundError; }
7714
+ get: function () { return chunkF3YPU2N6_js.RecordNotFoundError; }
7715
7715
  });
7716
7716
  Object.defineProperty(exports, "RecordReferencedError", {
7717
7717
  enumerable: true,
7718
- get: function () { return chunkFDIAOFHS_js.RecordReferencedError; }
7718
+ get: function () { return chunkF3YPU2N6_js.RecordReferencedError; }
7719
7719
  });
7720
7720
  Object.defineProperty(exports, "RepositoryError", {
7721
7721
  enumerable: true,
7722
- get: function () { return chunkFDIAOFHS_js.RepositoryError; }
7722
+ get: function () { return chunkF3YPU2N6_js.RepositoryError; }
7723
7723
  });
7724
7724
  Object.defineProperty(exports, "RoleNotFoundError", {
7725
7725
  enumerable: true,
7726
- get: function () { return chunkFDIAOFHS_js.RoleNotFoundError; }
7726
+ get: function () { return chunkF3YPU2N6_js.RoleNotFoundError; }
7727
7727
  });
7728
7728
  Object.defineProperty(exports, "SchemaError", {
7729
7729
  enumerable: true,
7730
- get: function () { return chunkFDIAOFHS_js.SchemaError; }
7730
+ get: function () { return chunkF3YPU2N6_js.SchemaError; }
7731
7731
  });
7732
7732
  Object.defineProperty(exports, "SchemaErrorCode", {
7733
7733
  enumerable: true,
7734
- get: function () { return chunkFDIAOFHS_js.SchemaErrorCode; }
7734
+ get: function () { return chunkF3YPU2N6_js.SchemaErrorCode; }
7735
7735
  });
7736
7736
  Object.defineProperty(exports, "SchemaPlanNotFoundError", {
7737
7737
  enumerable: true,
7738
- get: function () { return chunkFDIAOFHS_js.SchemaPlanNotFoundError; }
7738
+ get: function () { return chunkF3YPU2N6_js.SchemaPlanNotFoundError; }
7739
7739
  });
7740
7740
  Object.defineProperty(exports, "SearchBackendError", {
7741
7741
  enumerable: true,
7742
- get: function () { return chunkFDIAOFHS_js.SearchBackendError; }
7742
+ get: function () { return chunkF3YPU2N6_js.SearchBackendError; }
7743
7743
  });
7744
7744
  Object.defineProperty(exports, "StorageError", {
7745
7745
  enumerable: true,
7746
- get: function () { return chunkFDIAOFHS_js.StorageError; }
7746
+ get: function () { return chunkF3YPU2N6_js.StorageError; }
7747
7747
  });
7748
7748
  Object.defineProperty(exports, "SyncCascadeError", {
7749
7749
  enumerable: true,
7750
- get: function () { return chunkFDIAOFHS_js.SyncCascadeError; }
7750
+ get: function () { return chunkF3YPU2N6_js.SyncCascadeError; }
7751
7751
  });
7752
7752
  Object.defineProperty(exports, "SyncConflictError", {
7753
7753
  enumerable: true,
7754
- get: function () { return chunkFDIAOFHS_js.SyncConflictError; }
7754
+ get: function () { return chunkF3YPU2N6_js.SyncConflictError; }
7755
7755
  });
7756
7756
  Object.defineProperty(exports, "SyncError", {
7757
7757
  enumerable: true,
7758
- get: function () { return chunkFDIAOFHS_js.SyncError; }
7758
+ get: function () { return chunkF3YPU2N6_js.SyncError; }
7759
7759
  });
7760
7760
  Object.defineProperty(exports, "SystemEntityImmutableError", {
7761
7761
  enumerable: true,
7762
- get: function () { return chunkFDIAOFHS_js.SystemEntityImmutableError; }
7762
+ get: function () { return chunkF3YPU2N6_js.SystemEntityImmutableError; }
7763
7763
  });
7764
7764
  Object.defineProperty(exports, "ValidationError", {
7765
7765
  enumerable: true,
7766
- get: function () { return chunkFDIAOFHS_js.ValidationError; }
7766
+ get: function () { return chunkF3YPU2N6_js.ValidationError; }
7767
7767
  });
7768
7768
  Object.defineProperty(exports, "isAttributeInUseError", {
7769
7769
  enumerable: true,
7770
- get: function () { return chunkFDIAOFHS_js.isAttributeInUseError; }
7770
+ get: function () { return chunkF3YPU2N6_js.isAttributeInUseError; }
7771
7771
  });
7772
7772
  Object.defineProperty(exports, "isNotFoundError", {
7773
7773
  enumerable: true,
7774
- get: function () { return chunkFDIAOFHS_js.isNotFoundError; }
7774
+ get: function () { return chunkF3YPU2N6_js.isNotFoundError; }
7775
7775
  });
7776
7776
  Object.defineProperty(exports, "isObjectReferencedError", {
7777
7777
  enumerable: true,
7778
- get: function () { return chunkFDIAOFHS_js.isObjectReferencedError; }
7778
+ get: function () { return chunkF3YPU2N6_js.isObjectReferencedError; }
7779
7779
  });
7780
7780
  Object.defineProperty(exports, "isProtectedResourceError", {
7781
7781
  enumerable: true,
7782
- get: function () { return chunkFDIAOFHS_js.isProtectedResourceError; }
7782
+ get: function () { return chunkF3YPU2N6_js.isProtectedResourceError; }
7783
7783
  });
7784
7784
  Object.defineProperty(exports, "isRecordReferencedError", {
7785
7785
  enumerable: true,
7786
- get: function () { return chunkFDIAOFHS_js.isRecordReferencedError; }
7786
+ get: function () { return chunkF3YPU2N6_js.isRecordReferencedError; }
7787
7787
  });
7788
7788
  Object.defineProperty(exports, "isSchemaError", {
7789
7789
  enumerable: true,
7790
- get: function () { return chunkFDIAOFHS_js.isSchemaError; }
7790
+ get: function () { return chunkF3YPU2N6_js.isSchemaError; }
7791
7791
  });
7792
7792
  Object.defineProperty(exports, "isValidationError", {
7793
7793
  enumerable: true,
7794
- get: function () { return chunkFDIAOFHS_js.isValidationError; }
7794
+ get: function () { return chunkF3YPU2N6_js.isValidationError; }
7795
7795
  });
7796
7796
  Object.defineProperty(exports, "DEFAULT_VALIDATION_MESSAGES", {
7797
7797
  enumerable: true,