@stndrds/schema 1.0.0-alpha.285 → 1.0.0-alpha.287

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.
Files changed (33) hide show
  1. package/dist/{all-bG_ha0VV.d.mts → all-DaucFjyz.d.mts} +1 -1
  2. package/dist/{all-DanoPxKr.d.ts → all-FGIrc6mI.d.ts} +1 -1
  3. package/dist/{chunk-V26R64A4.js → chunk-3YCZ5H3H.js} +1 -1
  4. package/dist/{chunk-BOICAZHR.js → chunk-5JMQNH2A.js} +4 -4
  5. package/dist/{chunk-RUO25ERR.mjs → chunk-7WEOBXXA.mjs} +1 -1
  6. package/dist/{chunk-R57T4UDX.mjs → chunk-JSQCTLV5.mjs} +1 -1
  7. package/dist/{chunk-YZ5RCMIQ.js → chunk-K7XGY34S.js} +36 -36
  8. package/dist/{chunk-PNOWKRH2.mjs → chunk-KLDZHAGX.mjs} +1 -1
  9. package/dist/{chunk-I3EYILYO.js → chunk-RDYTVHNN.js} +4 -4
  10. package/dist/{chunk-AGRAFDGU.mjs → chunk-RMJ75YLQ.mjs} +2 -2
  11. package/dist/{chunk-5OBQRDRM.mjs → chunk-UW3BOSB6.mjs} +1 -1
  12. package/dist/{chunk-K6ET4CXP.js → chunk-ZHB4VBCX.js} +3 -3
  13. package/dist/exceptions.js +39 -39
  14. package/dist/exceptions.mjs +1 -1
  15. package/dist/{index-Ns6KGfrZ.d.ts → index-0VG9u1XW.d.ts} +12 -0
  16. package/dist/{index-Ca-MzQuU.d.mts → index-Eh1tYq3i.d.mts} +12 -0
  17. package/dist/index.d.mts +68 -63
  18. package/dist/index.d.ts +68 -63
  19. package/dist/index.js +316 -346
  20. package/dist/index.mjs +47 -73
  21. package/dist/utils.js +8 -8
  22. package/dist/utils.mjs +2 -2
  23. package/dist/validation/all.d.mts +2 -2
  24. package/dist/validation/all.d.ts +2 -2
  25. package/dist/validation/all.js +29 -29
  26. package/dist/validation/all.mjs +4 -4
  27. package/dist/validation/config/index.d.mts +1 -1
  28. package/dist/validation/config/index.d.ts +1 -1
  29. package/dist/validation/config/index.js +12 -12
  30. package/dist/validation/config/index.mjs +2 -2
  31. package/dist/validation/object/index.js +14 -14
  32. package/dist/validation/object/index.mjs +2 -2
  33. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -1,20 +1,20 @@
1
1
  'use strict';
2
2
 
3
- var chunkK6ET4CXP_js = require('./chunk-K6ET4CXP.js');
4
- var chunkYZ5RCMIQ_js = require('./chunk-YZ5RCMIQ.js');
5
- var chunkI3EYILYO_js = require('./chunk-I3EYILYO.js');
3
+ var chunkZHB4VBCX_js = require('./chunk-ZHB4VBCX.js');
4
+ var chunkK7XGY34S_js = require('./chunk-K7XGY34S.js');
5
+ var chunkRDYTVHNN_js = require('./chunk-RDYTVHNN.js');
6
6
  require('./chunk-EEH4XQ7W.js');
7
7
  require('./chunk-EW5XR2X3.js');
8
8
  require('./chunk-QWKLQRBX.js');
9
9
  require('./chunk-KNGWHQLR.js');
10
10
  require('./chunk-HTSTPTNZ.js');
11
11
  require('./chunk-V2UA2D4E.js');
12
- var chunkBOICAZHR_js = require('./chunk-BOICAZHR.js');
12
+ var chunk5JMQNH2A_js = require('./chunk-5JMQNH2A.js');
13
13
  var chunk5WATIVCA_js = require('./chunk-5WATIVCA.js');
14
14
  var chunkSI34M4IC_js = require('./chunk-SI34M4IC.js');
15
15
  var chunkYIP5FJ5H_js = require('./chunk-YIP5FJ5H.js');
16
16
  var chunkZPFOKBIN_js = require('./chunk-ZPFOKBIN.js');
17
- var chunkV26R64A4_js = require('./chunk-V26R64A4.js');
17
+ var chunk3YCZ5H3H_js = require('./chunk-3YCZ5H3H.js');
18
18
  require('./chunk-ACKMC6FL.js');
19
19
  require('./chunk-E6JUYGJX.js');
20
20
  var chunkQ4SZAMJT_js = require('./chunk-Q4SZAMJT.js');
@@ -40,17 +40,11 @@ var NOTIFICATION_WORK_STATES = [
40
40
  "expired",
41
41
  "failed"
42
42
  ];
43
- var NOTIFICATION_TYPE_AGENT_SESSION_COMPLETED = "agent.session.completed";
44
- var NOTIFICATION_TYPE_AGENT_SESSION_FAILED = "agent.session.failed";
45
43
  var NOTIFICATION_TYPE_AGENT_SESSION_WAITING_HUMAN = "agent.session.waiting_human";
46
- var NOTIFICATION_TYPE_AGENT_SESSION_TIMEOUT = "agent.session.timeout";
47
44
  var NOTIFICATION_TYPE_AGENT_TASK_ASSIGNED = "agent.task.assigned";
48
45
  var NOTIFICATION_TYPE_AGENT_QUESTION_REQUESTED = "agent.question.requested";
49
46
  var NOTIFICATION_TYPES_V1 = [
50
- NOTIFICATION_TYPE_AGENT_SESSION_COMPLETED,
51
- NOTIFICATION_TYPE_AGENT_SESSION_FAILED,
52
47
  NOTIFICATION_TYPE_AGENT_SESSION_WAITING_HUMAN,
53
- NOTIFICATION_TYPE_AGENT_SESSION_TIMEOUT,
54
48
  NOTIFICATION_TYPE_AGENT_TASK_ASSIGNED,
55
49
  NOTIFICATION_TYPE_AGENT_QUESTION_REQUESTED
56
50
  ];
@@ -99,7 +93,7 @@ function inferInverseCardinality(cardinality) {
99
93
  return cardinality === "one" ? "many" : "many";
100
94
  }
101
95
  function isAttributeSortable2(attr) {
102
- return chunkYZ5RCMIQ_js.isAttributeSortable(attr);
96
+ return chunkK7XGY34S_js.isAttributeSortable(attr);
103
97
  }
104
98
 
105
99
  // src/types/audit.ts
@@ -166,14 +160,14 @@ function sessionStateToLegacyStatus(state) {
166
160
  return "idle";
167
161
  case "parked":
168
162
  if (state.parkedOn === void 0) {
169
- throw new chunkV26R64A4_js.SchemaError("parked state without parkedOn", chunkV26R64A4_js.SchemaErrorCode.INVARIANT_VIOLATION);
163
+ throw new chunk3YCZ5H3H_js.SchemaError("parked state without parkedOn", chunk3YCZ5H3H_js.SchemaErrorCode.INVARIANT_VIOLATION);
170
164
  }
171
165
  return state.parkedOn === "agents" ? "waiting_agents" : "waiting_human";
172
166
  case "terminal":
173
167
  if (state.outcome === void 0) {
174
- throw new chunkV26R64A4_js.SchemaError(
168
+ throw new chunk3YCZ5H3H_js.SchemaError(
175
169
  "terminal state without outcome",
176
- chunkV26R64A4_js.SchemaErrorCode.INVARIANT_VIOLATION
170
+ chunk3YCZ5H3H_js.SchemaErrorCode.INVARIANT_VIOLATION
177
171
  );
178
172
  }
179
173
  return state.outcome;
@@ -254,7 +248,7 @@ var NATIVE_AGENT_UI_PART_IDS_METADATA_KEY = "__stndrdsNativeUiPartIds";
254
248
  var NATIVE_AGENT_UI_PART_IDS_METADATA_SCHEMA_VERSION = 1;
255
249
  var INVALID_NATIVE_PART_IDS = "Native agent UI part IDs metadata is invalid";
256
250
  function invalidNativePartIds() {
257
- throw new chunkV26R64A4_js.ValidationError(INVALID_NATIVE_PART_IDS, []);
251
+ throw new chunk3YCZ5H3H_js.ValidationError(INVALID_NATIVE_PART_IDS, []);
258
252
  }
259
253
  function isPlainRecord(value) {
260
254
  if (value === null || typeof value !== "object" || Array.isArray(value)) return false;
@@ -441,7 +435,7 @@ function parseCountMode(value) {
441
435
  if (typeof value === "string" && COUNT_MODES.includes(value)) {
442
436
  return value;
443
437
  }
444
- throw new chunkV26R64A4_js.ValidationError(
438
+ throw new chunk3YCZ5H3H_js.ValidationError(
445
439
  `countMode must be one of: ${COUNT_MODES.join(", ")} (received: ${String(value)})`,
446
440
  []
447
441
  );
@@ -547,7 +541,7 @@ function isDateRangeValue(value) {
547
541
  return typeof value === "object" && value !== null && typeof value.start === "string";
548
542
  }
549
543
  function normalizeDateValue(value, attr) {
550
- if (chunkI3EYILYO_js.isNullishOrEmptyString(value)) return null;
544
+ if (chunkRDYTVHNN_js.isNullishOrEmptyString(value)) return null;
551
545
  if (isDateRangeValue(value)) {
552
546
  return attr.endDate ? { start: value.start, end: value.end ?? null } : value.start;
553
547
  }
@@ -685,7 +679,7 @@ function formatMultiselect(value, attribute) {
685
679
  return value.join(", ");
686
680
  }
687
681
  function formatAttributeValue(value, attribute) {
688
- if (chunkI3EYILYO_js.isNullishOrEmptyString(value)) {
682
+ if (chunkRDYTVHNN_js.isNullishOrEmptyString(value)) {
689
683
  return EMPTY_VALUE_PLACEHOLDER;
690
684
  }
691
685
  switch (attribute.type) {
@@ -838,7 +832,7 @@ function renderLabelExpression(template, values, fallback = DEFAULT_LABEL_FALLBA
838
832
  break;
839
833
  }
840
834
  }
841
- const isEmpty2 = chunkI3EYILYO_js.isNullishOrEmptyString(value);
835
+ const isEmpty2 = chunkRDYTVHNN_js.isNullishOrEmptyString(value);
842
836
  if (isEmpty2 && pipes.length === 0) return "";
843
837
  for (const pipeExpr of pipes) {
844
838
  const { name: pipeName, args } = parsePipeExpression(pipeExpr);
@@ -921,7 +915,7 @@ function qualifiedPropertyDefs(attribute) {
921
915
  return void 0;
922
916
  }
923
917
  function extractValueRefs(value) {
924
- if (chunkI3EYILYO_js.isNullishOrEmptyString(value)) return [];
918
+ if (chunkRDYTVHNN_js.isNullishOrEmptyString(value)) return [];
925
919
  if (typeof value === "string") return [{ id: value }];
926
920
  if (Array.isArray(value)) return value.flatMap((item) => extractValueRefs(item));
927
921
  if (typeof value === "object" && "id" in value) {
@@ -1125,24 +1119,24 @@ function validateObjectName(name) {
1125
1119
  OBJECT_NAME_SCHEMA.parse(name);
1126
1120
  } catch (error) {
1127
1121
  if (error instanceof z2__default.default.ZodError) {
1128
- throw new chunkV26R64A4_js.SchemaError(error.issues[0].message, chunkV26R64A4_js.SchemaErrorCode.INVALID_OBJECT_NAME);
1122
+ throw new chunk3YCZ5H3H_js.SchemaError(error.issues[0].message, chunk3YCZ5H3H_js.SchemaErrorCode.INVALID_OBJECT_NAME);
1129
1123
  }
1130
1124
  throw error;
1131
1125
  }
1132
1126
  }
1133
1127
  function validateViewName(name) {
1134
1128
  if (!name || name.length === 0) {
1135
- throw new chunkV26R64A4_js.ValidationError("View name cannot be empty", [
1129
+ throw new chunk3YCZ5H3H_js.ValidationError("View name cannot be empty", [
1136
1130
  { path: ["name"], message: "View name cannot be empty" }
1137
1131
  ]);
1138
1132
  }
1139
1133
  if (name.length > MAX_NAME_LENGTH) {
1140
- throw new chunkV26R64A4_js.ValidationError("View name is too long", [
1134
+ throw new chunk3YCZ5H3H_js.ValidationError("View name is too long", [
1141
1135
  { path: ["name"], message: `View name is too long (max ${MAX_NAME_LENGTH} characters)` }
1142
1136
  ]);
1143
1137
  }
1144
1138
  if (!VIEW_NAME_REGEX.test(name)) {
1145
- throw new chunkV26R64A4_js.ValidationError("Invalid view name format", [
1139
+ throw new chunk3YCZ5H3H_js.ValidationError("Invalid view name format", [
1146
1140
  {
1147
1141
  path: ["name"],
1148
1142
  message: "View name must be in kebab-case (e.g., 'detail', 'list-view')"
@@ -1163,7 +1157,7 @@ function assertUniqueBy(items, getKey, buildError) {
1163
1157
  var ATTRIBUTE_NAME_SCHEMA = z2__default.default.string().min(1, "Attribute name cannot be empty").max(MAX_NAME_LENGTH, `Attribute name is too long (max ${MAX_NAME_LENGTH} characters)`).regex(ATTRIBUTE_NAME_REGEX, {
1164
1158
  message: "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'"
1165
1159
  }).refine(
1166
- (name) => !chunkYZ5RCMIQ_js.RESERVED_ATTRIBUTE_NAMES.includes(name),
1160
+ (name) => !chunkK7XGY34S_js.RESERVED_ATTRIBUTE_NAMES.includes(name),
1167
1161
  { message: "This is a reserved attribute name" }
1168
1162
  );
1169
1163
  function validateAttributeName(name) {
@@ -1180,10 +1174,10 @@ function validateAttributeName(name) {
1180
1174
  "[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'"
1181
1175
  );
1182
1176
  }
1183
- if (chunkYZ5RCMIQ_js.RESERVED_ATTRIBUTE_NAMES.includes(name)) {
1177
+ if (chunkK7XGY34S_js.RESERVED_ATTRIBUTE_NAMES.includes(name)) {
1184
1178
  throw new Error(
1185
1179
  `[AttributeBuilder] "${name}" is a reserved name and cannot be used as an attribute name.
1186
- Reserved names: ${chunkYZ5RCMIQ_js.RESERVED_ATTRIBUTE_NAMES.join(", ")}`
1180
+ Reserved names: ${chunkK7XGY34S_js.RESERVED_ATTRIBUTE_NAMES.join(", ")}`
1187
1181
  );
1188
1182
  }
1189
1183
  }
@@ -1250,7 +1244,7 @@ var DEFAULT_AGENT_EXECUTION_CONFIG = {
1250
1244
  var AgentBuilder = class {
1251
1245
  constructor(config) {
1252
1246
  if (!config.name || config.name.trim().length === 0) {
1253
- throw new chunkV26R64A4_js.ValidationError("Agent name is required", []);
1247
+ throw new chunk3YCZ5H3H_js.ValidationError("Agent name is required", []);
1254
1248
  }
1255
1249
  this.bp = { name: config.name, system: true, visibility: "workspace", triggers: [] };
1256
1250
  }
@@ -1384,13 +1378,13 @@ var AgentBuilder = class {
1384
1378
  }
1385
1379
  build() {
1386
1380
  if (!this.bp.systemPrompt) {
1387
- throw new chunkV26R64A4_js.ValidationError(`Agent "${this.bp.name}": systemPrompt is required`, []);
1381
+ throw new chunk3YCZ5H3H_js.ValidationError(`Agent "${this.bp.name}": systemPrompt is required`, []);
1388
1382
  }
1389
1383
  if (!this.bp.model) {
1390
- throw new chunkV26R64A4_js.ValidationError(`Agent "${this.bp.name}": model is required`, []);
1384
+ throw new chunk3YCZ5H3H_js.ValidationError(`Agent "${this.bp.name}": model is required`, []);
1391
1385
  }
1392
1386
  if (this.bp.system && this.bp.visibility === "private") {
1393
- throw new chunkV26R64A4_js.ValidationError(
1387
+ throw new chunk3YCZ5H3H_js.ValidationError(
1394
1388
  `Agent "${this.bp.name}": system agents must use workspace visibility`,
1395
1389
  []
1396
1390
  );
@@ -1398,7 +1392,7 @@ var AgentBuilder = class {
1398
1392
  assertUniqueBy(
1399
1393
  this.bp.triggers,
1400
1394
  (t) => t.name,
1401
- (name) => new chunkV26R64A4_js.ValidationError(`Agent "${this.bp.name}": duplicate trigger name "${name}"`, [])
1395
+ (name) => new chunk3YCZ5H3H_js.ValidationError(`Agent "${this.bp.name}": duplicate trigger name "${name}"`, [])
1402
1396
  );
1403
1397
  return {
1404
1398
  ...this.bp,
@@ -1453,7 +1447,7 @@ var BaseAttributeBuilder = class {
1453
1447
  * @see https://standardschema.dev/
1454
1448
  */
1455
1449
  get "~standard"() {
1456
- const zodSchema = chunkI3EYILYO_js.createAttributeValidator(this.build());
1450
+ const zodSchema = chunkRDYTVHNN_js.createAttributeValidator(this.build());
1457
1451
  return createStandardSchemaProps(zodSchema);
1458
1452
  }
1459
1453
  constructor(type, name, label) {
@@ -2210,9 +2204,9 @@ var RollupAttributeBuilder = class extends BaseAttributeBuilder {
2210
2204
  if (fn === "original" && targetType !== void 0 && targetType !== "select" && targetType !== "status" && targetType !== "multiselect") {
2211
2205
  const relation2 = this.attr.relationAttribute ?? "relation";
2212
2206
  const target = this.attr.targetAttribute ?? "field";
2213
- throw new chunkV26R64A4_js.SchemaError(
2207
+ throw new chunk3YCZ5H3H_js.SchemaError(
2214
2208
  `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}").`,
2215
- chunkV26R64A4_js.SchemaErrorCode.VALIDATION_FAILED
2209
+ chunk3YCZ5H3H_js.SchemaErrorCode.VALIDATION_FAILED
2216
2210
  );
2217
2211
  }
2218
2212
  return super.build();
@@ -2722,7 +2716,7 @@ var ObjectBuilder = class {
2722
2716
  * @see https://standardschema.dev/
2723
2717
  */
2724
2718
  get "~standard"() {
2725
- const zodSchema = chunkI3EYILYO_js.createObjectValidator(this.build());
2719
+ const zodSchema = chunkRDYTVHNN_js.createObjectValidator(this.build());
2726
2720
  return createStandardSchemaProps(zodSchema);
2727
2721
  }
2728
2722
  /**
@@ -2850,7 +2844,7 @@ var ObjectBuilder = class {
2850
2844
  assertUniqueBy(
2851
2845
  [...this.obj.attributes, ...finalAttrs],
2852
2846
  (attribute) => attribute.name,
2853
- (name) => new chunkV26R64A4_js.DuplicateError(
2847
+ (name) => new chunk3YCZ5H3H_js.DuplicateError(
2854
2848
  "attribute",
2855
2849
  name,
2856
2850
  `Object "${this.obj.name}": duplicate attribute name "${name}"`
@@ -2979,26 +2973,26 @@ var ObjectBuilder = class {
2979
2973
  throw new Error("[ObjectBuilder] Missing required field: label");
2980
2974
  }
2981
2975
  if (!this._labelExpression) {
2982
- throw new chunkV26R64A4_js.SchemaError(
2976
+ throw new chunk3YCZ5H3H_js.SchemaError(
2983
2977
  `Object "${this.obj.name}" must have a labelExpression. The labelExpression defines how records are displayed in lists and relations (e.g. "{{ name }}").`,
2984
- chunkV26R64A4_js.SchemaErrorCode.VALIDATION_FAILED
2978
+ chunk3YCZ5H3H_js.SchemaErrorCode.VALIDATION_FAILED
2985
2979
  );
2986
2980
  }
2987
2981
  const labelResult = labelExpressionSchema.safeParse(this._labelExpression);
2988
2982
  if (!labelResult.success) {
2989
2983
  const errorMsg = labelResult.error.issues[0]?.message ?? "Invalid labelExpression";
2990
- throw new chunkV26R64A4_js.SchemaError(
2984
+ throw new chunk3YCZ5H3H_js.SchemaError(
2991
2985
  `Invalid labelExpression for "${this.obj.name}": ${errorMsg}`,
2992
- chunkV26R64A4_js.SchemaErrorCode.VALIDATION_FAILED
2986
+ chunk3YCZ5H3H_js.SchemaErrorCode.VALIDATION_FAILED
2993
2987
  );
2994
2988
  }
2995
2989
  if (this._embeddingExpression !== void 0) {
2996
2990
  const embeddingResult = labelExpressionSchema.safeParse(this._embeddingExpression);
2997
2991
  if (!embeddingResult.success) {
2998
2992
  const errorMsg = embeddingResult.error.issues[0]?.message ?? "Invalid embeddingExpression";
2999
- throw new chunkV26R64A4_js.SchemaError(
2993
+ throw new chunk3YCZ5H3H_js.SchemaError(
3000
2994
  `Invalid embeddingExpression for "${this.obj.name}": ${errorMsg}`,
3001
- chunkV26R64A4_js.SchemaErrorCode.VALIDATION_FAILED
2995
+ chunk3YCZ5H3H_js.SchemaErrorCode.VALIDATION_FAILED
3002
2996
  );
3003
2997
  }
3004
2998
  }
@@ -3040,7 +3034,7 @@ function object(config) {
3040
3034
  }
3041
3035
  function validatePresetStructure(presetId, nodes, depth) {
3042
3036
  const fail = (message, detail) => {
3043
- throw new chunkV26R64A4_js.ValidationError(message, [
3037
+ throw new chunk3YCZ5H3H_js.ValidationError(message, [
3044
3038
  { path: ["documentLayout", "presets", presetId], message: detail }
3045
3039
  ]);
3046
3040
  };
@@ -3811,7 +3805,7 @@ var ListViewBuilder = class {
3811
3805
  }
3812
3806
  const config = {
3813
3807
  defaultFilters: this.data.defaultFilters ? {
3814
- id: chunkK6ET4CXP_js.generateId(),
3808
+ id: chunkZHB4VBCX_js.generateId(),
3815
3809
  combinator: this.data.defaultFilters.combinator,
3816
3810
  rules: this.data.defaultFilters.rules
3817
3811
  } : void 0,
@@ -3826,7 +3820,7 @@ var ListViewBuilder = class {
3826
3820
  visibility: tab.visibility,
3827
3821
  columns: tab.columns,
3828
3822
  filters: tab.filters ? {
3829
- id: chunkK6ET4CXP_js.generateId(),
3823
+ id: chunkZHB4VBCX_js.generateId(),
3830
3824
  combinator: tab.filters.combinator,
3831
3825
  rules: tab.filters.rules
3832
3826
  } : void 0,
@@ -3992,7 +3986,7 @@ var ListViewTabConfigBuilder = class _ListViewTabConfigBuilder {
3992
3986
  const protectedAttribute = findProtectedTabFilterAttribute(filters);
3993
3987
  if (protectedAttribute) {
3994
3988
  const message = `Tab filters cannot target "${protectedAttribute}". Use .visibility("private")`;
3995
- throw new chunkV26R64A4_js.ValidationError(message, [{ path: ["filters"], message }]);
3989
+ throw new chunk3YCZ5H3H_js.ValidationError(message, [{ path: ["filters"], message }]);
3996
3990
  }
3997
3991
  this.tabData.filters = filters;
3998
3992
  return this;
@@ -4203,7 +4197,7 @@ function jsonFlag(name, defaultValue) {
4203
4197
 
4204
4198
  // src/feature-flags/flag-registry.ts
4205
4199
  function duplicateFlagError(name) {
4206
- return new chunkV26R64A4_js.DuplicateError(
4200
+ return new chunk3YCZ5H3H_js.DuplicateError(
4207
4201
  "feature flag",
4208
4202
  name,
4209
4203
  `Flag "${name}" is already registered. Each flag name must be unique.`
@@ -4281,7 +4275,7 @@ var FlagRegistry = class {
4281
4275
  getOrThrow(name) {
4282
4276
  const flag = this.get(name);
4283
4277
  if (!flag) {
4284
- throw new chunkV26R64A4_js.NotFoundError(
4278
+ throw new chunk3YCZ5H3H_js.NotFoundError(
4285
4279
  "Feature flag",
4286
4280
  name,
4287
4281
  void 0,
@@ -4458,19 +4452,19 @@ var FlagService = class {
4458
4452
  */
4459
4453
  async setOverride(flagName, level, value, options = {}) {
4460
4454
  if (!this.repository) {
4461
- throw new chunkV26R64A4_js.SchemaError(
4455
+ throw new chunk3YCZ5H3H_js.SchemaError(
4462
4456
  "Cannot set override: no FeatureFlagsRepository configured. Add featureFlags to your DatabaseAdapter to enable runtime overrides.",
4463
- chunkV26R64A4_js.SchemaErrorCode.CONFIGURATION_REQUIRED
4457
+ chunk3YCZ5H3H_js.SchemaErrorCode.CONFIGURATION_REQUIRED
4464
4458
  );
4465
4459
  }
4466
4460
  const flag = this.registry.get(flagName);
4467
4461
  if (flag && !flag.allowedLevels.includes(level)) {
4468
4462
  const message = `Flag "${flagName}" does not allow ${level}-level overrides. Allowed levels: ${flag.allowedLevels.join(", ")}`;
4469
- throw new chunkV26R64A4_js.ValidationError(message, [{ path: ["level"], message }]);
4463
+ throw new chunk3YCZ5H3H_js.ValidationError(message, [{ path: ["level"], message }]);
4470
4464
  }
4471
4465
  if (flag?.system) {
4472
4466
  const message = `Flag "${flagName}" is a system flag and cannot be overridden via API.`;
4473
- throw new chunkV26R64A4_js.ValidationError(message, [{ path: ["flagName"], message }]);
4467
+ throw new chunk3YCZ5H3H_js.ValidationError(message, [{ path: ["flagName"], message }]);
4474
4468
  }
4475
4469
  await this.repository.setOverride({
4476
4470
  flagName,
@@ -4490,9 +4484,9 @@ var FlagService = class {
4490
4484
  */
4491
4485
  async deleteOverride(flagName, level, targetId) {
4492
4486
  if (!this.repository) {
4493
- throw new chunkV26R64A4_js.SchemaError(
4487
+ throw new chunk3YCZ5H3H_js.SchemaError(
4494
4488
  "Cannot delete override: no FeatureFlagsRepository configured.",
4495
- chunkV26R64A4_js.SchemaErrorCode.CONFIGURATION_REQUIRED
4489
+ chunk3YCZ5H3H_js.SchemaErrorCode.CONFIGURATION_REQUIRED
4496
4490
  );
4497
4491
  }
4498
4492
  await this.repository.deleteOverride(flagName, level, targetId);
@@ -4629,7 +4623,7 @@ var NativeObjectRegistryClass = class {
4629
4623
  if (!object2.system) {
4630
4624
  const message = `[NativeObjectRegistry] Cannot register object "${object2.name}" (id: ${object2.id}): missing system flag.
4631
4625
  Native objects must have system=true. Did you call .runtime() on the builder? Remove that call \u2014 objects are system:true by default.`;
4632
- throw new chunkV26R64A4_js.ValidationError(message, []);
4626
+ throw new chunk3YCZ5H3H_js.ValidationError(message, []);
4633
4627
  }
4634
4628
  if (this.objects.has(object2.name)) {
4635
4629
  const existing = this.objects.get(object2.name);
@@ -4637,7 +4631,7 @@ Native objects must have system=true. Did you call .runtime() on the builder? Re
4637
4631
  - Existing: "${existing?.label}" (id: ${existing?.id})
4638
4632
  - New: "${object2.label}" (id: ${object2.id})
4639
4633
  Please use unique names for each native object.`;
4640
- throw new chunkV26R64A4_js.DuplicateError("object", object2.name, message);
4634
+ throw new chunk3YCZ5H3H_js.DuplicateError("object", object2.name, message);
4641
4635
  }
4642
4636
  this.objects.set(object2.name, cloneObjectDefinition(object2));
4643
4637
  }
@@ -4669,7 +4663,7 @@ Please use unique names for each native object.`;
4669
4663
  if (!object2) {
4670
4664
  const message = `[NativeObjectRegistry] Native object "${name}" not found.
4671
4665
  Available objects: ${this.listNames().join(", ")}`;
4672
- throw new chunkV26R64A4_js.NotFoundError("Native object", name, chunkV26R64A4_js.SchemaErrorCode.OBJECT_NOT_FOUND, message);
4666
+ throw new chunk3YCZ5H3H_js.NotFoundError("Native object", name, chunk3YCZ5H3H_js.SchemaErrorCode.OBJECT_NOT_FOUND, message);
4673
4667
  }
4674
4668
  return object2;
4675
4669
  }
@@ -4730,6 +4724,13 @@ Available objects: ${this.listNames().join(", ")}`;
4730
4724
  }
4731
4725
  };
4732
4726
  var registry = new NativeObjectRegistryClass();
4727
+
4728
+ // src/native/system-view.ts
4729
+ function markSystemView(view) {
4730
+ return { ...view, system: true };
4731
+ }
4732
+
4733
+ // src/native/skill.object.ts
4733
4734
  var SKILL_CONTENT_TEMPLATE = `## Overview
4734
4735
 
4735
4736
  Describe in one or two sentences what this skill does and the outcome it produces. The agent reads this page when it uses the skill \u2014 write instructions for the agent, not documentation for people.
@@ -4767,8 +4768,12 @@ var SKILL_OBJECT = object({ name: "skill", label: "Skill" }).sealed().icon("spar
4767
4768
  'What this skill does and when to use it \u2014 e.g. "Drafts replies to customer complaints. Use when asked to answer an unhappy customer."'
4768
4769
  )
4769
4770
  ).attribute(richtext({ name: "content", label: "Content" }).defaultValue(SKILL_CONTENT_TEMPLATE)).build();
4770
- var SKILL_VIEW = detailView("skill-detail", "Skill").for("skill").default().sidePanel({ attributes: ["name", "description"] }).tab("content", "Content").richtext("content").titleAttribute("name").done().tab("files", "Files").documents().done().build();
4771
- var SKILL_LIST_VIEW = listView("skill-list", "Skills").for("skill").default().tab("workspace", "Skills").default().icon("table").visibility("workspace").table().columns("name", "description").sort("name", "asc").tab("mine", "My skills").icon("lock").visibility("private").table().columns("name", "description").sort("name", "asc").build();
4771
+ var SKILL_VIEW = markSystemView(
4772
+ detailView("skill-detail", "Skill").for("skill").default().sidePanel({ attributes: ["name", "description"] }).tab("content", "Content").richtext("content").titleAttribute("name").done().tab("files", "Files").documents().done().build()
4773
+ );
4774
+ var SKILL_LIST_VIEW = markSystemView(
4775
+ listView("skill-list", "Skills").for("skill").default().tab("workspace", "Skills").default().icon("table").visibility("workspace").table().columns("name", "description").sort("name", "asc").tab("mine", "My skills").icon("lock").visibility("private").table().columns("name", "description").sort("name", "asc").build()
4776
+ );
4772
4777
  var MEMORY_OBJECT = object({ name: "memory", label: "Memory" }).sealed().icon("database").order(Number.MAX_SAFE_INTEGER).pluralLabel("Memories").labelExpression("{{ name }}").embeddingExpression("{{ name }}\n{{ description }}\n{{ content }}").migration(2, (migration) => migration.changeType("content", "text", "richtext")).attribute(text({ name: "name", label: "Name" }).maxLength(constants.MEMORY_NAME_MAX_LENGTH).required()).attribute(
4773
4778
  text({ name: "description", label: "Description" }).multiline().maxLength(constants.MEMORY_DESCRIPTION_MAX_LENGTH).required()
4774
4779
  ).attribute(richtext({ name: "content", label: "Content" })).attribute(
@@ -4785,25 +4790,33 @@ var MEMORY_OBJECT = object({ name: "memory", label: "Memory" }).sealed().icon("d
4785
4790
  { value: "corroborated", label: "Corroborated across users" }
4786
4791
  ])
4787
4792
  ).attribute(date({ name: "validFrom", label: "Valid from" }).includeTime()).attribute(date({ name: "invalidAt", label: "Invalid at" }).includeTime()).attribute(relation({ name: "supersededBy", label: "Superseded by" }).to("memory")).build();
4788
- var MEMORY_VIEW = detailView("memory-detail", "Memory").for("memory").default().sidePanel({
4789
- attributes: [
4790
- "description",
4791
- "kind",
4792
- "source",
4793
- "validFrom",
4794
- "invalidAt",
4795
- "supersededBy",
4796
- "subjects",
4797
- "links"
4798
- ]
4799
- }).tab("content", "Content").richtext("content").titleAttribute("name").build();
4800
- var MEMORY_LIST_VIEW = listView("memory-list", "Memories").for("memory").default().tab("workspace", "Memories").default().icon("table").visibility("workspace").table().columns("name", "kind", "description", "createdAt").sort("name", "asc").tab("mine", "My memories").icon("lock").visibility("private").table().columns("name", "kind", "description", "createdAt").sort("name", "asc").build();
4793
+ var MEMORY_VIEW = markSystemView(
4794
+ detailView("memory-detail", "Memory").for("memory").default().sidePanel({
4795
+ attributes: [
4796
+ "description",
4797
+ "kind",
4798
+ "source",
4799
+ "validFrom",
4800
+ "invalidAt",
4801
+ "supersededBy",
4802
+ "subjects",
4803
+ "links"
4804
+ ]
4805
+ }).tab("content", "Content").richtext("content").titleAttribute("name").build()
4806
+ );
4807
+ var MEMORY_LIST_VIEW = markSystemView(
4808
+ listView("memory-list", "Memories").for("memory").default().tab("workspace", "Memories").default().icon("table").visibility("workspace").table().columns("name", "kind", "description", "createdAt").sort("name", "asc").tab("mine", "My memories").icon("lock").visibility("private").table().columns("name", "kind", "description", "createdAt").sort("name", "asc").build()
4809
+ );
4801
4810
 
4802
4811
  // src/native/drive.object.ts
4803
4812
  var DRIVE_OBJECT_NAME = "drives";
4804
4813
  var DRIVE_OBJECT = object({ name: DRIVE_OBJECT_NAME, label: "Drive" }).sealed().icon("folder").hidden().pluralLabel("Drives").labelExpression("{{ name }}").embeddingExpression("{{ name }}\n{{ description }}").attribute(text({ name: "name", label: "Name" }).required()).attribute(text({ name: "description", label: "Description" }).multiline()).build();
4805
- var DRIVE_VIEW = detailView("drive-detail", "Drive").for(DRIVE_OBJECT_NAME).default().sidePanel({ attributes: ["description"] }).tab("documents", "Documents").documents().build();
4806
- var DRIVE_LIST_VIEW = listView("drive-list", "Drives").for(DRIVE_OBJECT_NAME).default().tab("workspace", "Shared").default().icon("users").visibility("workspace").table().columns("name", "description", "updatedAt").sort("name", "asc").tab("mine", "My drives").icon("lock").visibility("private").table().columns("name", "description", "updatedAt").sort("name", "asc").build();
4814
+ var DRIVE_VIEW = markSystemView(
4815
+ detailView("drive-detail", "Drive").for(DRIVE_OBJECT_NAME).default().sidePanel({ attributes: ["description"] }).tab("documents", "Documents").documents().build()
4816
+ );
4817
+ var DRIVE_LIST_VIEW = markSystemView(
4818
+ listView("drive-list", "Drives").for(DRIVE_OBJECT_NAME).default().tab("workspace", "Shared").default().icon("users").visibility("workspace").table().columns("name", "description", "updatedAt").sort("name", "asc").tab("mine", "My drives").icon("lock").visibility("private").table().columns("name", "description", "updatedAt").sort("name", "asc").build()
4819
+ );
4807
4820
 
4808
4821
  // src/views/registry.ts
4809
4822
  function cloneViewDefinition(view) {
@@ -4831,7 +4844,7 @@ var ViewRegistry = class {
4831
4844
  const key = this.makeKey(view.object, view.name, view.type);
4832
4845
  if (this.views.has(key)) {
4833
4846
  const message = `[ViewRegistry] Duplicate view: "${view.name}" (${view.type}) for object "${view.object}"`;
4834
- throw new chunkV26R64A4_js.DuplicateError("view", key, message);
4847
+ throw new chunk3YCZ5H3H_js.DuplicateError("view", key, message);
4835
4848
  }
4836
4849
  const storedView = cloneViewDefinition(view);
4837
4850
  this.views.set(key, storedView);
@@ -4876,7 +4889,7 @@ var ViewRegistry = class {
4876
4889
  const availableNames = available.map((v) => `${v.name} (${v.type})`).join(", ") || "(none)";
4877
4890
  const message = `[ViewRegistry] View "${viewName}" not found for object "${objectName}".
4878
4891
  Available views: ${availableNames}`;
4879
- throw new chunkV26R64A4_js.NotFoundError("View", `${objectName}:${viewName}`, void 0, message);
4892
+ throw new chunk3YCZ5H3H_js.NotFoundError("View", `${objectName}:${viewName}`, void 0, message);
4880
4893
  }
4881
4894
  return view;
4882
4895
  }
@@ -4964,7 +4977,7 @@ var viewRegistry = new ViewRegistry();
4964
4977
  // src/views/auto-generator.ts
4965
4978
  function getRuntimeAttributes(attributes, excludeNames = []) {
4966
4979
  return attributes.filter(
4967
- (attr) => !(!chunkYZ5RCMIQ_js.getAttributeCapabilities(attr).lifecycle.visibleInRuntime || attr.system || excludeNames.includes(attr.name))
4980
+ (attr) => !(!chunkK7XGY34S_js.getAttributeCapabilities(attr).lifecycle.visibleInRuntime || attr.system || excludeNames.includes(attr.name))
4968
4981
  );
4969
4982
  }
4970
4983
  function sortAttributes(attributes) {
@@ -4997,7 +5010,7 @@ function generateDefaultDetailView(object2, options = {}) {
4997
5010
  const { includeActivityTab = true, includeDocumentsTab = true, excludeAttributes = [] } = options;
4998
5011
  const runtimeAttrs = getRuntimeAttributes(object2.attributes, excludeAttributes);
4999
5012
  const sortedAttrs = sortAttributes(
5000
- runtimeAttrs.filter((attr) => chunkYZ5RCMIQ_js.getAttributeCapabilities(attr).presentation.formField)
5013
+ runtimeAttrs.filter((attr) => chunkK7XGY34S_js.getAttributeCapabilities(attr).presentation.formField)
5001
5014
  );
5002
5015
  const formTab = {
5003
5016
  id: "form",
@@ -5054,7 +5067,7 @@ function generateDefaultListView(object2, options = {}) {
5054
5067
  const { excludeAttributes = [], maxListColumns = 5 } = options;
5055
5068
  const runtimeAttrs = getRuntimeAttributes(object2.attributes, excludeAttributes);
5056
5069
  const sortedAttrs = sortAttributes(
5057
- runtimeAttrs.filter((attr) => chunkYZ5RCMIQ_js.getAttributeCapabilities(attr).presentation.defaultColumn)
5070
+ runtimeAttrs.filter((attr) => chunkK7XGY34S_js.getAttributeCapabilities(attr).presentation.defaultColumn)
5058
5071
  );
5059
5072
  const columns = sortedAttrs.slice(0, maxListColumns).map((attr) => attr.name);
5060
5073
  const config = {
@@ -5184,7 +5197,7 @@ var FormRegistry = class {
5184
5197
  const forms = Array.isArray(formOrForms) ? formOrForms : [formOrForms];
5185
5198
  for (const f of forms) {
5186
5199
  if (this.forms.has(f.name)) {
5187
- throw new chunkV26R64A4_js.DuplicateError("form", f.name, `[FormRegistry] Duplicate form: "${f.name}"`);
5200
+ throw new chunk3YCZ5H3H_js.DuplicateError("form", f.name, `[FormRegistry] Duplicate form: "${f.name}"`);
5188
5201
  }
5189
5202
  this.forms.set(f.name, cloneFormDefinition(f));
5190
5203
  }
@@ -5282,8 +5295,6 @@ function liveChannelKey(channel) {
5282
5295
  return `record:${encodeURIComponent(channel.objectId)}:${encodeURIComponent(channel.recordId)}`;
5283
5296
  case "view":
5284
5297
  return `view:${encodeURIComponent(channel.viewId)}`;
5285
- case "agent":
5286
- return `agent:${encodeURIComponent(channel.tenantId)}`;
5287
5298
  case "user":
5288
5299
  return `user:${encodeURIComponent(channel.actorId)}`;
5289
5300
  case "conversation":
@@ -5323,10 +5334,6 @@ function parseLiveChannelKey(key) {
5323
5334
  const viewId = decodeLiveChannelPart(parts[1]);
5324
5335
  return viewId ? { kind: "view", viewId } : null;
5325
5336
  }
5326
- if (parts[0] === "agent" && parts.length === 2 && parts[1]) {
5327
- const tenantId = decodeLiveChannelPart(parts[1]);
5328
- return tenantId ? { kind: "agent", tenantId } : null;
5329
- }
5330
5337
  if (parts[0] === "user" && parts.length === 2 && parts[1]) {
5331
5338
  const actorId = decodeLiveChannelPart(parts[1]);
5332
5339
  return actorId ? { kind: "user", actorId } : null;
@@ -5343,7 +5350,6 @@ function parseLiveChannelKey(key) {
5343
5350
  }
5344
5351
 
5345
5352
  // src/realtime/events.ts
5346
- var BROWSER_PREVIEW_STATUSES = ["live", "paused", "ended", "disconnected"];
5347
5353
  var LIVE_EVENT_TYPE_REGISTRY = {
5348
5354
  "record.patch": true,
5349
5355
  "record.deleted": true,
@@ -5351,13 +5357,10 @@ var LIVE_EVENT_TYPE_REGISTRY = {
5351
5357
  "record.created": true,
5352
5358
  "view.projection.stale": true,
5353
5359
  "agent.session.patch": true,
5354
- "agent.unread.patch": true,
5355
5360
  "notification.created": true,
5356
5361
  "notification.recipient.patch": true,
5357
5362
  "notification.count.patch": true,
5358
5363
  "notification.inbox.archived": true,
5359
- "conversation.renamed": true,
5360
- "browser.preview.updated": true,
5361
5364
  "reflex.state.changed": true,
5362
5365
  "reflex.run.completed": true,
5363
5366
  "reflex.authoring.progress": true,
@@ -5387,19 +5390,6 @@ var NOTIFICATION_RECIPIENT_PATCH_KEYS = [
5387
5390
  "dismissedAt",
5388
5391
  "updatedAt"
5389
5392
  ];
5390
- var BROWSER_PREVIEW_UPDATED_PAYLOAD_KEYS = [
5391
- "type",
5392
- "preview"
5393
- ];
5394
- var BROWSER_PREVIEW_DESCRIPTOR_KEYS = [
5395
- "previewId",
5396
- "rootSessionId",
5397
- "agentSessionId",
5398
- "browserSession",
5399
- "status",
5400
- "sequence",
5401
- "updatedAt"
5402
- ];
5403
5393
  var RECORD_REMOVED_PAYLOAD_KEYS = [
5404
5394
  "type",
5405
5395
  "objectId",
@@ -5460,8 +5450,6 @@ function isLiveEventPayloadForType(type, payload) {
5460
5450
  return isViewProjectionStalePayload(payload);
5461
5451
  case "agent.session.patch":
5462
5452
  return isAgentSessionPatchPayload(payload);
5463
- case "agent.unread.patch":
5464
- return isAgentUnreadPatchPayload(payload);
5465
5453
  case "notification.created":
5466
5454
  return isNotificationCreatedPayload(payload);
5467
5455
  case "notification.recipient.patch":
@@ -5470,10 +5458,6 @@ function isLiveEventPayloadForType(type, payload) {
5470
5458
  return isNotificationCountPatchPayload(payload);
5471
5459
  case "notification.inbox.archived":
5472
5460
  return isNotificationInboxArchivedPayload(payload);
5473
- case "conversation.renamed":
5474
- return isConversationRenamedPayload(payload);
5475
- case "browser.preview.updated":
5476
- return isBrowserPreviewUpdatedPayload(payload);
5477
5461
  case "reflex.state.changed":
5478
5462
  return isReflexStateChangedPayload(payload);
5479
5463
  case "reflex.run.completed":
@@ -5578,9 +5562,6 @@ function isViewProjectionStalePayload(payload) {
5578
5562
  function isAgentSessionPatchPayload(payload) {
5579
5563
  return payload.type === "agent.session.patch" && hasString(payload, "sessionId") && isRecord2(payload.patch) && hasVersion(payload, "version") && hasString(payload, "updatedAt");
5580
5564
  }
5581
- function isAgentUnreadPatchPayload(payload) {
5582
- return payload.type === "agent.unread.patch" && hasString(payload, "targetActorId") && hasString(payload, "sessionId") && hasVersion(payload, "unreadCount") && hasVersion(payload, "version") && hasString(payload, "updatedAt") && (!Object.hasOwn(payload, "session") || isRecord2(payload.session) && payload.session.id === payload.sessionId);
5583
- }
5584
5565
  function isLiveNotification(value) {
5585
5566
  return isRecord2(value) && hasString(value, "id") && hasString(value, "tenantId") && hasOptional(value, "senderActorId", isString) && hasOptional(value, "rootActorId", isString) && hasOptional(value, "triggeredByActorId", isString) && isNotificationKind(value.kind) && hasString(value, "type") && hasOptional(value, "subject", isNotificationSubject) && hasString(value, "title") && hasOptional(value, "summary", isString) && isRecord2(value.payload) && isNotificationPriority(value.priority) && isNotificationSensitivity(value.sensitivity) && hasOptional(value, "threadKey", isString) && hasOptional(value, "idempotencyKey", isString) && hasOptional(value, "expiresAt", isIsoDateString) && hasIsoDateString(value, "createdAt") && hasIsoDateString(value, "updatedAt");
5586
5567
  }
@@ -5610,13 +5591,6 @@ function isNotificationCountPatchPayload(payload) {
5610
5591
  function isNotificationInboxArchivedPayload(payload) {
5611
5592
  return payload.type === "notification.inbox.archived" && hasOnlyKeys(payload, NOTIFICATION_INBOX_ARCHIVED_PAYLOAD_KEYS) && hasNonEmptyString(payload, "targetActorId") && hasVersion(payload, "archivedCount") && hasVersion(payload, "version") && hasIsoDateString(payload, "updatedAt");
5612
5593
  }
5613
- function isConversationRenamedPayload(payload) {
5614
- return payload.type === "conversation.renamed" && hasString(payload, "sessionId") && hasString(payload, "title") && hasVersion(payload, "version") && hasString(payload, "updatedAt");
5615
- }
5616
- function isBrowserPreviewUpdatedPayload(payload) {
5617
- const preview = payload.preview;
5618
- return payload.type === "browser.preview.updated" && hasOnlyKeys(payload, BROWSER_PREVIEW_UPDATED_PAYLOAD_KEYS) && isRecord2(preview) && hasOnlyKeys(preview, BROWSER_PREVIEW_DESCRIPTOR_KEYS) && hasNonEmptyString(preview, "previewId") && hasNonEmptyString(preview, "rootSessionId") && hasNonEmptyString(preview, "agentSessionId") && hasNonEmptyString(preview, "browserSession") && isOneOf(preview.status, BROWSER_PREVIEW_STATUSES) && hasVersion(preview, "sequence") && hasIsoDateString(preview, "updatedAt") && preview.previewId === `browser:${preview.agentSessionId}:${preview.browserSession}`;
5619
- }
5620
5594
  var REFLEX_STATES = ["armed", "disarmed"];
5621
5595
  var REFLEX_AUTHORING_STATUSES = [
5622
5596
  "authoring",
@@ -5813,7 +5787,7 @@ function assertAcyclicComputedDependencies(nodes) {
5813
5787
  }
5814
5788
  function parseCompileFormula(expression) {
5815
5789
  try {
5816
- return chunkBOICAZHR_js.parseComputedFormula(expression);
5790
+ return chunk5JMQNH2A_js.parseComputedFormula(expression);
5817
5791
  } catch (error) {
5818
5792
  if (error instanceof Error) {
5819
5793
  throw new ComputedFormulaCompileError(error.message);
@@ -6582,9 +6556,9 @@ function evaluateCall(functionName, args) {
6582
6556
  case "percent_not_empty":
6583
6557
  return percentByEmptyState(args[0], false);
6584
6558
  case "count_empty":
6585
- return collectionItems(args[0]).filter(chunkI3EYILYO_js.isNullishOrEmptyString).length;
6559
+ return collectionItems(args[0]).filter(chunkRDYTVHNN_js.isNullishOrEmptyString).length;
6586
6560
  case "count_not_empty":
6587
- return collectionItems(args[0]).filter((item) => !chunkI3EYILYO_js.isNullishOrEmptyString(item)).length;
6561
+ return collectionItems(args[0]).filter((item) => !chunkRDYTVHNN_js.isNullishOrEmptyString(item)).length;
6588
6562
  case "count_unique":
6589
6563
  return uniqueNonEmpty(collectionItems(args[0])).length;
6590
6564
  default:
@@ -6645,14 +6619,14 @@ function percentByEmptyState(value, countEmpty) {
6645
6619
  if (items.length === 0) {
6646
6620
  return 0;
6647
6621
  }
6648
- const count = items.filter((item) => chunkI3EYILYO_js.isNullishOrEmptyString(item) === countEmpty).length;
6622
+ const count = items.filter((item) => chunkRDYTVHNN_js.isNullishOrEmptyString(item) === countEmpty).length;
6649
6623
  return count / items.length;
6650
6624
  }
6651
6625
  function uniqueNonEmpty(values) {
6652
6626
  const seen = /* @__PURE__ */ new Set();
6653
6627
  const result = [];
6654
6628
  for (const value of values) {
6655
- if (chunkI3EYILYO_js.isNullishOrEmptyString(value)) {
6629
+ if (chunkRDYTVHNN_js.isNullishOrEmptyString(value)) {
6656
6630
  continue;
6657
6631
  }
6658
6632
  const key = uniqueKey(value);
@@ -6769,11 +6743,11 @@ function evaluateComputedAst(node, input) {
6769
6743
  return evaluateAst(node, input);
6770
6744
  }
6771
6745
  function evaluateComputedFormula(expression, input) {
6772
- return evaluateAst(chunkBOICAZHR_js.parseComputedFormula(expression), input);
6746
+ return evaluateAst(chunk5JMQNH2A_js.parseComputedFormula(expression), input);
6773
6747
  }
6774
6748
  function evaluateComputedFormulaWithResult(expression, input, returnType, decimals) {
6775
6749
  try {
6776
- const raw = evaluateAst(chunkBOICAZHR_js.parseComputedFormula(expression), input);
6750
+ const raw = evaluateAst(chunk5JMQNH2A_js.parseComputedFormula(expression), input);
6777
6751
  const value = returnType ? formatComputedResult(raw, returnType, decimals) : raw;
6778
6752
  return { value };
6779
6753
  } catch (error) {
@@ -6898,10 +6872,10 @@ var COMPUTED_FUNCTION_METADATA = [
6898
6872
  ];
6899
6873
 
6900
6874
  // src/filters/operators.ts
6901
- var isEmpty = (v) => chunkI3EYILYO_js.isNullishOrEmptyString(v) || Array.isArray(v) && v.length === 0;
6875
+ var isEmpty = (v) => chunkRDYTVHNN_js.isNullishOrEmptyString(v) || Array.isArray(v) && v.length === 0;
6902
6876
  var toStr = (v) => v == null ? "" : String(v);
6903
6877
  var toNum = (v) => {
6904
- if (chunkI3EYILYO_js.isNullishOrEmptyString(v)) return null;
6878
+ if (chunkRDYTVHNN_js.isNullishOrEmptyString(v)) return null;
6905
6879
  const n = typeof v === "number" ? v : Number(v);
6906
6880
  return Number.isFinite(n) ? n : null;
6907
6881
  };
@@ -7034,7 +7008,7 @@ var OPERATOR_SPECS = {
7034
7008
  appliesTo: ["date"],
7035
7009
  evaluateInMemory: (v, rv) => {
7036
7010
  const d = toDate2(v);
7037
- const bounds = chunkYZ5RCMIQ_js.resolveIsWithinBounds(rv);
7011
+ const bounds = chunkK7XGY34S_js.resolveIsWithinBounds(rv);
7038
7012
  if (!(d && bounds)) return false;
7039
7013
  return d.getTime() >= bounds.startMs && d.getTime() < bounds.endMs;
7040
7014
  }
@@ -7070,7 +7044,7 @@ var OPERATOR_SPECS = {
7070
7044
  // src/filters/evaluate.ts
7071
7045
  var systemAttribute = (name, type) => ({ id: `system:${name}`, name, label: name, type, system: true });
7072
7046
  var RECORD_SYSTEM_ATTRIBUTES = [
7073
- ...Object.entries(chunkYZ5RCMIQ_js.SYSTEM_FILTER_ATTRIBUTE_TYPES).map(
7047
+ ...Object.entries(chunkK7XGY34S_js.SYSTEM_FILTER_ATTRIBUTE_TYPES).map(
7074
7048
  ([name, type]) => systemAttribute(name, type)
7075
7049
  )
7076
7050
  ];
@@ -7111,7 +7085,7 @@ function evaluateRule(rule, values, attrByName) {
7111
7085
  (definition) => definition.name === rule.property
7112
7086
  );
7113
7087
  if (!property) return false;
7114
- const positiveOperator = chunkYZ5RCMIQ_js.normalizeForEdgeRpc(rule.operator);
7088
+ const positiveOperator = chunkK7XGY34S_js.normalizeForEdgeRpc(rule.operator);
7115
7089
  const propertySpec = OPERATOR_SPECS[positiveOperator];
7116
7090
  if (!propertySpec?.appliesTo.includes(property.type)) return false;
7117
7091
  const rootValue = values[rule.attribute];
@@ -7129,7 +7103,7 @@ function evaluateRule(rule, values, attrByName) {
7129
7103
  property
7130
7104
  );
7131
7105
  });
7132
- return (rule.quantifier ?? chunkYZ5RCMIQ_js.getOperatorPolarity(rule.operator)) === "none" ? !matches : matches;
7106
+ return (rule.quantifier ?? chunkK7XGY34S_js.getOperatorPolarity(rule.operator)) === "none" ? !matches : matches;
7133
7107
  }
7134
7108
  const spec = OPERATOR_SPECS[rule.operator];
7135
7109
  if (!spec) return false;
@@ -7178,7 +7152,7 @@ function normalizePhoneComparands(stored, rule) {
7178
7152
  return [normalizeOne(stored), normalizeOne(rule)];
7179
7153
  }
7180
7154
  function normalizeComparableValue(type, value) {
7181
- if (type === "currency") return chunkYZ5RCMIQ_js.extractCurrencyFilterValue(value);
7155
+ if (type === "currency") return chunkK7XGY34S_js.extractCurrencyFilterValue(value);
7182
7156
  if (type === "date") {
7183
7157
  if (isDateRangeValue(value)) return dateValueStart(value);
7184
7158
  if (value instanceof Date) return Number.isNaN(value.getTime()) ? null : value.toISOString();
@@ -7287,10 +7261,10 @@ var attributeNameSchema = z2.z.string().min(1).superRefine((name, ctx) => {
7287
7261
  '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).'
7288
7262
  );
7289
7263
  var objectNameSchema = z2.z.string().min(1).superRefine((name, ctx) => {
7290
- if (chunkYZ5RCMIQ_js.RESERVED_OBJECT_NAMES.includes(name)) {
7264
+ if (chunkK7XGY34S_js.RESERVED_OBJECT_NAMES.includes(name)) {
7291
7265
  ctx.addIssue({
7292
7266
  code: z2.z.ZodIssueCode.custom,
7293
- message: `"${name}" is a reserved object name (${chunkYZ5RCMIQ_js.RESERVED_OBJECT_NAMES.join(", ")}) and cannot be used for a new object.`
7267
+ message: `"${name}" is a reserved object name (${chunkK7XGY34S_js.RESERVED_OBJECT_NAMES.join(", ")}) and cannot be used for a new object.`
7294
7268
  });
7295
7269
  }
7296
7270
  try {
@@ -7304,7 +7278,7 @@ var objectNameSchema = z2.z.string().min(1).superRefine((name, ctx) => {
7304
7278
  function withConfigCheck(schema) {
7305
7279
  return schema.superRefine((attribute, ctx) => {
7306
7280
  try {
7307
- const parsedConfig = chunkBOICAZHR_js.parseAttributeConfigForCreate(attribute.type, {
7281
+ const parsedConfig = chunk5JMQNH2A_js.parseAttributeConfigForCreate(attribute.type, {
7308
7282
  ...attribute.config ?? {},
7309
7283
  description: attribute.description
7310
7284
  });
@@ -7320,7 +7294,7 @@ function withConfigCheck(schema) {
7320
7294
  });
7321
7295
  }
7322
7296
  } catch (error) {
7323
- if (error instanceof chunkV26R64A4_js.ValidationError) {
7297
+ if (error instanceof chunk3YCZ5H3H_js.ValidationError) {
7324
7298
  for (const issue of error.errors) {
7325
7299
  ctx.addIssue({
7326
7300
  code: z2.z.ZodIssueCode.custom,
@@ -7367,7 +7341,7 @@ var plannedObjectSchema = z2.z.object({
7367
7341
  'Human-readable plural display label (e.g. "Devis"/"Invoices"). Defaults from `label` if omitted.'
7368
7342
  ),
7369
7343
  description: z2.z.string().optional().describe("Help text describing what this object represents."),
7370
- icon: chunkBOICAZHR_js.iconNameSchema.describe(
7344
+ icon: chunk5JMQNH2A_js.iconNameSchema.describe(
7371
7345
  "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."
7372
7346
  ),
7373
7347
  labelExpression: labelExpressionSchema.describe(
@@ -7425,13 +7399,13 @@ var proposedDefaultViewTargetSchema = z2.z.discriminatedUnion("viewType", [
7425
7399
  z2.z.object({
7426
7400
  objectName: viewTargetObjectNameSchema,
7427
7401
  viewType: z2.z.literal("list").describe("Targets the object's default list view (the grid)."),
7428
- canonicalConfig: chunkYZ5RCMIQ_js.listViewConfigSchema.describe(CANONICAL_CONFIG_DESCRIPTION),
7402
+ canonicalConfig: chunkK7XGY34S_js.listViewConfigSchema.describe(CANONICAL_CONFIG_DESCRIPTION),
7429
7403
  baselineToken: z2.z.string().min(1).optional().describe(BASELINE_TOKEN_DESCRIPTION)
7430
7404
  }).strict(),
7431
7405
  z2.z.object({
7432
7406
  objectName: viewTargetObjectNameSchema,
7433
7407
  viewType: z2.z.literal("detail").describe("Targets the object's default detail view (the single-record view)."),
7434
- canonicalConfig: chunkYZ5RCMIQ_js.detailViewConfigSchema.describe(CANONICAL_CONFIG_DESCRIPTION),
7408
+ canonicalConfig: chunkK7XGY34S_js.detailViewConfigSchema.describe(CANONICAL_CONFIG_DESCRIPTION),
7435
7409
  baselineToken: z2.z.string().min(1).optional().describe(BASELINE_TOKEN_DESCRIPTION)
7436
7410
  }).strict()
7437
7411
  ]);
@@ -7445,13 +7419,13 @@ var persistedDefaultViewTargetSchema = z2.z.discriminatedUnion("viewType", [
7445
7419
  z2.z.object({
7446
7420
  objectName: z2.z.string().min(1),
7447
7421
  viewType: z2.z.literal("list"),
7448
- canonicalConfig: chunkYZ5RCMIQ_js.listViewConfigSchema,
7422
+ canonicalConfig: chunkK7XGY34S_js.listViewConfigSchema,
7449
7423
  ...persistedBaselineFields
7450
7424
  }).strict(),
7451
7425
  z2.z.object({
7452
7426
  objectName: z2.z.string().min(1),
7453
7427
  viewType: z2.z.literal("detail"),
7454
- canonicalConfig: chunkYZ5RCMIQ_js.detailViewConfigSchema,
7428
+ canonicalConfig: chunkK7XGY34S_js.detailViewConfigSchema,
7455
7429
  ...persistedBaselineFields
7456
7430
  }).strict()
7457
7431
  ]).superRefine((target, ctx) => {
@@ -7598,7 +7572,7 @@ function boundSerializedPlanInput(input, ctx) {
7598
7572
  });
7599
7573
  return z2.z.NEVER;
7600
7574
  }
7601
- const serializedBytes = new TextEncoder().encode(chunkK6ET4CXP_js.canonicalStringify(input)).byteLength;
7575
+ const serializedBytes = new TextEncoder().encode(chunkZHB4VBCX_js.canonicalStringify(input)).byteLength;
7602
7576
  if (serializedBytes > SCHEMA_PLAN_LIMITS.serializedBytes) {
7603
7577
  ctx.addIssue({
7604
7578
  code: "too_big",
@@ -7831,7 +7805,7 @@ function isAgentUIDataName(value) {
7831
7805
  return value in customDataChunkSchemas;
7832
7806
  }
7833
7807
  function agentUIValidationError(issues) {
7834
- return new chunkV26R64A4_js.ValidationError(
7808
+ return new chunk3YCZ5H3H_js.ValidationError(
7835
7809
  "Invalid agent UI message chunk",
7836
7810
  issues.map((issue) => ({
7837
7811
  path: issue.path.map(String),
@@ -7842,19 +7816,19 @@ function agentUIValidationError(issues) {
7842
7816
  }
7843
7817
  function assertCustomAgentUIMessageChunk(value) {
7844
7818
  if (typeof value !== "object" || value === null || typeof value.type !== "string") {
7845
- throw new chunkV26R64A4_js.ValidationError("Invalid agent UI message chunk", [
7819
+ throw new chunk3YCZ5H3H_js.ValidationError("Invalid agent UI message chunk", [
7846
7820
  { path: ["type"], message: "Expected UI message chunk type", code: "invalid_type" }
7847
7821
  ]);
7848
7822
  }
7849
7823
  const type = value.type;
7850
7824
  if (!type.startsWith("data-")) {
7851
- throw new chunkV26R64A4_js.ValidationError("Invalid agent UI message chunk", [
7825
+ throw new chunk3YCZ5H3H_js.ValidationError("Invalid agent UI message chunk", [
7852
7826
  { path: ["type"], message: "Expected agent data chunk type", code: "invalid_value" }
7853
7827
  ]);
7854
7828
  }
7855
7829
  const name = type.slice("data-".length);
7856
7830
  if (!isAgentUIDataName(name)) {
7857
- throw new chunkV26R64A4_js.ValidationError("Invalid agent UI message chunk", [
7831
+ throw new chunk3YCZ5H3H_js.ValidationError("Invalid agent UI message chunk", [
7858
7832
  { path: ["type"], message: `Unknown agent UI data type: ${name}`, code: "invalid_value" }
7859
7833
  ]);
7860
7834
  }
@@ -7898,7 +7872,7 @@ var operationBase = { id: z2.z.string().min(1) };
7898
7872
  var viewOperationBase = { ...operationBase, viewId: z2.z.string().min(1) };
7899
7873
  function mapView(state, viewId, fn) {
7900
7874
  if (!state.views.some((v) => v.id === viewId)) {
7901
- throw new chunkV26R64A4_js.ValidationError(`View "${viewId}" is not in the draftable state`, []);
7875
+ throw new chunk3YCZ5H3H_js.ValidationError(`View "${viewId}" is not in the draftable state`, []);
7902
7876
  }
7903
7877
  return { ...state, views: state.views.map((v) => v.id === viewId ? fn(v) : v) };
7904
7878
  }
@@ -7910,14 +7884,14 @@ function moveWithin(items, from, toIndex) {
7910
7884
  }
7911
7885
  function reorderById(items, order, what) {
7912
7886
  if (order.length !== items.length) {
7913
- throw new chunkV26R64A4_js.ValidationError(
7887
+ throw new chunk3YCZ5H3H_js.ValidationError(
7914
7888
  `${what} order lists ${order.length} ids for ${items.length} items`,
7915
7889
  []
7916
7890
  );
7917
7891
  }
7918
7892
  return order.map((id) => {
7919
7893
  const found = items.find((item) => item.id === id);
7920
- if (!found) throw new chunkV26R64A4_js.ValidationError(`${what} "${id}" is not in this collection`, []);
7894
+ if (!found) throw new chunk3YCZ5H3H_js.ValidationError(`${what} "${id}" is not in this collection`, []);
7921
7895
  return found;
7922
7896
  });
7923
7897
  }
@@ -7925,15 +7899,15 @@ function reorderById(items, order, what) {
7925
7899
  // src/architect/operations/detail-view.ts
7926
7900
  function mapFormTab(view, tabId, fn) {
7927
7901
  const found = view.tabs.find((t) => t.id === tabId);
7928
- if (!found) throw new chunkV26R64A4_js.ValidationError(`Tab "${tabId}" is not in view "${view.id}"`, []);
7902
+ if (!found) throw new chunk3YCZ5H3H_js.ValidationError(`Tab "${tabId}" is not in view "${view.id}"`, []);
7929
7903
  if (found.type !== "form") {
7930
- throw new chunkV26R64A4_js.ValidationError(`Tab "${tabId}" is not a form tab`, []);
7904
+ throw new chunk3YCZ5H3H_js.ValidationError(`Tab "${tabId}" is not a form tab`, []);
7931
7905
  }
7932
7906
  return { ...view, tabs: view.tabs.map((t) => t.id === tabId ? fn(found) : t) };
7933
7907
  }
7934
7908
  function requireGroup(tab, groupId) {
7935
7909
  const found = tab.groups.find((g) => g.id === groupId);
7936
- if (!found) throw new chunkV26R64A4_js.ValidationError(`Group "${groupId}" is not in tab "${tab.id}"`, []);
7910
+ if (!found) throw new chunk3YCZ5H3H_js.ValidationError(`Group "${groupId}" is not in tab "${tab.id}"`, []);
7937
7911
  return found;
7938
7912
  }
7939
7913
  function locateField(tab, fieldId) {
@@ -7941,7 +7915,7 @@ function locateField(tab, fieldId) {
7941
7915
  const field = group2.fields.find((f) => f.id === fieldId);
7942
7916
  if (field) return { group: group2, field };
7943
7917
  }
7944
- throw new chunkV26R64A4_js.ValidationError(`Field slot "${fieldId}" is not in tab "${tab.id}"`, []);
7918
+ throw new chunk3YCZ5H3H_js.ValidationError(`Field slot "${fieldId}" is not in tab "${tab.id}"`, []);
7945
7919
  }
7946
7920
  function viewFocus(op) {
7947
7921
  return { viewId: op.viewId };
@@ -7981,9 +7955,9 @@ function firstChangedProperty(op) {
7981
7955
  const keys = Object.keys(op.changes).sort();
7982
7956
  return keys.length === 1 ? [keys[0]] : void 0;
7983
7957
  }
7984
- var tabPayload = chunkYZ5RCMIQ_js.detailTabDraftSchema;
7985
- var groupPayload = chunkYZ5RCMIQ_js.groupWriteSchema;
7986
- var fieldPayload = chunkYZ5RCMIQ_js.fieldSlotSchema;
7958
+ var tabPayload = chunkK7XGY34S_js.detailTabDraftSchema;
7959
+ var groupPayload = chunkK7XGY34S_js.groupWriteSchema;
7960
+ var fieldPayload = chunkK7XGY34S_js.fieldSlotSchema;
7987
7961
  var addTabSchema = z2.z.object({
7988
7962
  ...viewOperationBase,
7989
7963
  type: z2.z.literal("add_tab"),
@@ -7994,7 +7968,7 @@ var addTab = defineOperation({
7994
7968
  schema: addTabSchema,
7995
7969
  apply: (state, op) => mapView(state, op.viewId, (view) => {
7996
7970
  if (view.tabs.some((t) => t.id === op.tab.id)) {
7997
- throw new chunkV26R64A4_js.ValidationError(`Tab "${op.tab.id}" already exists in view "${op.viewId}"`, []);
7971
+ throw new chunk3YCZ5H3H_js.ValidationError(`Tab "${op.tab.id}" already exists in view "${op.viewId}"`, []);
7998
7972
  }
7999
7973
  return { ...view, tabs: [...view.tabs, op.tab] };
8000
7974
  }),
@@ -8012,7 +7986,7 @@ var removeTab = defineOperation({
8012
7986
  schema: removeTabSchema,
8013
7987
  apply: (state, op) => mapView(state, op.viewId, (view) => {
8014
7988
  if (!view.tabs.some((t) => t.id === op.tabId)) {
8015
- throw new chunkV26R64A4_js.ValidationError(`Tab "${op.tabId}" is not in view "${op.viewId}"`, []);
7989
+ throw new chunk3YCZ5H3H_js.ValidationError(`Tab "${op.tabId}" is not in view "${op.viewId}"`, []);
8016
7990
  }
8017
7991
  return { ...view, tabs: view.tabs.filter((t) => t.id !== op.tabId) };
8018
7992
  }),
@@ -8022,7 +7996,7 @@ var removeTab = defineOperation({
8022
7996
  });
8023
7997
  var updateTabChanges = z2.z.object({
8024
7998
  label: z2.z.string().min(1).optional(),
8025
- icon: chunkBOICAZHR_js.iconNameSchema.optional(),
7999
+ icon: chunk5JMQNH2A_js.iconNameSchema.optional(),
8026
8000
  order: z2.z.number().int().optional()
8027
8001
  });
8028
8002
  var UPDATE_TAB_CHANGE_KEYS = Object.keys(
@@ -8046,7 +8020,7 @@ var updateTab = defineOperation({
8046
8020
  schema: updateTabSchema,
8047
8021
  apply: (state, op) => mapView(state, op.viewId, (view) => {
8048
8022
  if (!view.tabs.some((t) => t.id === op.tabId)) {
8049
- throw new chunkV26R64A4_js.ValidationError(`Tab "${op.tabId}" is not in view "${op.viewId}"`, []);
8023
+ throw new chunk3YCZ5H3H_js.ValidationError(`Tab "${op.tabId}" is not in view "${op.viewId}"`, []);
8050
8024
  }
8051
8025
  return {
8052
8026
  ...view,
@@ -8087,7 +8061,7 @@ var addGroup = defineOperation({
8087
8061
  op.viewId,
8088
8062
  (view) => mapFormTab(view, op.tabId, (tab) => {
8089
8063
  if (tab.groups.some((g) => g.id === op.group.id)) {
8090
- throw new chunkV26R64A4_js.ValidationError(
8064
+ throw new chunk3YCZ5H3H_js.ValidationError(
8091
8065
  `Group "${op.group.id}" already exists in tab "${op.tabId}"`,
8092
8066
  []
8093
8067
  );
@@ -8194,7 +8168,7 @@ var addField = defineOperation({
8194
8168
  (view) => mapFormTab(view, op.tabId, (tab) => {
8195
8169
  requireGroup(tab, op.groupId);
8196
8170
  if (tab.groups.some((g) => g.fields.some((f) => f.id === op.field.id))) {
8197
- throw new chunkV26R64A4_js.ValidationError(
8171
+ throw new chunk3YCZ5H3H_js.ValidationError(
8198
8172
  `Field slot "${op.field.id}" already exists in tab "${op.tabId}"`,
8199
8173
  []
8200
8174
  );
@@ -8340,14 +8314,14 @@ var updateTableTabChanges = z2.z.object({
8340
8314
  * splitting the pair across two operations would wipe the column list while
8341
8315
  * the source change vanished (#2763, #2787).
8342
8316
  */
8343
- source: chunkYZ5RCMIQ_js.tableSourceSchema.optional(),
8344
- columns: chunkYZ5RCMIQ_js.columnsSchema.optional(),
8317
+ source: chunkK7XGY34S_js.tableSourceSchema.optional(),
8318
+ columns: chunkK7XGY34S_js.columnsSchema.optional(),
8345
8319
  // Nullable, not merely optional: the panels clear a filter list or a sort
8346
8320
  // list by sending `null`, because `undefined` does not survive
8347
8321
  // `JSON.stringify` and the operation would arrive with no changes at all
8348
8322
  // (#2787). `apply` drops the key rather than storing the null.
8349
- filters: chunkYZ5RCMIQ_js.filterStateSchema.nullable().optional(),
8350
- sorts: chunkYZ5RCMIQ_js.sortsSchema.nullable().optional(),
8323
+ filters: chunkK7XGY34S_js.filterStateSchema.nullable().optional(),
8324
+ sorts: chunkK7XGY34S_js.sortsSchema.nullable().optional(),
8351
8325
  allowCreate: z2.z.boolean().optional(),
8352
8326
  allowEdit: z2.z.boolean().optional(),
8353
8327
  allowDelete: z2.z.boolean().optional(),
@@ -8404,12 +8378,12 @@ var updateTabConfig = defineOperation({
8404
8378
  apply: (state, op) => mapView(state, op.viewId, (view) => {
8405
8379
  const found = view.tabs.find((t) => t.id === op.tabId);
8406
8380
  if (!found) {
8407
- throw new chunkV26R64A4_js.ValidationError(`Tab "${op.tabId}" is not in view "${view.id}"`, []);
8381
+ throw new chunk3YCZ5H3H_js.ValidationError(`Tab "${op.tabId}" is not in view "${view.id}"`, []);
8408
8382
  }
8409
8383
  for (const key of Object.keys(op.changes)) {
8410
8384
  const allowed = TAB_CONFIG_FIELD_OWNERS[key];
8411
8385
  if (allowed && !allowed.includes(found.type)) {
8412
- throw new chunkV26R64A4_js.ValidationError(`"${key}" is not a setting of a "${found.type}" tab`, []);
8386
+ throw new chunk3YCZ5H3H_js.ValidationError(`"${key}" is not a setting of a "${found.type}" tab`, []);
8413
8387
  }
8414
8388
  }
8415
8389
  return {
@@ -8439,9 +8413,9 @@ var updateTableTab = defineOperation({
8439
8413
  schema: updateTableTabSchema,
8440
8414
  apply: (state, op) => mapView(state, op.viewId, (view) => {
8441
8415
  const found = view.tabs.find((t) => t.id === op.tabId);
8442
- if (!found) throw new chunkV26R64A4_js.ValidationError(`Tab "${op.tabId}" is not in view "${view.id}"`, []);
8416
+ if (!found) throw new chunk3YCZ5H3H_js.ValidationError(`Tab "${op.tabId}" is not in view "${view.id}"`, []);
8443
8417
  if (found.type !== "table") {
8444
- throw new chunkV26R64A4_js.ValidationError(`Tab "${op.tabId}" is not a table tab`, []);
8418
+ throw new chunk3YCZ5H3H_js.ValidationError(`Tab "${op.tabId}" is not a table tab`, []);
8445
8419
  }
8446
8420
  const entries = Object.entries(op.changes);
8447
8421
  const applied = Object.fromEntries(entries.filter(([, value]) => value !== null));
@@ -8511,22 +8485,22 @@ function firstChangedProperty2(op) {
8511
8485
  }
8512
8486
  function withoutKanbanKeys(tab) {
8513
8487
  const rest = { ...tab };
8514
- for (const key of chunkYZ5RCMIQ_js.LIST_TAB_KANBAN_KEYS) delete rest[key];
8488
+ for (const key of chunkK7XGY34S_js.LIST_TAB_KANBAN_KEYS) delete rest[key];
8515
8489
  return rest;
8516
8490
  }
8517
8491
  function withoutTableKeys(tab) {
8518
8492
  const rest = { ...tab };
8519
- for (const key of chunkYZ5RCMIQ_js.LIST_TAB_TABLE_KEYS) delete rest[key];
8493
+ for (const key of chunkK7XGY34S_js.LIST_TAB_TABLE_KEYS) delete rest[key];
8520
8494
  return rest;
8521
8495
  }
8522
8496
  function assertStillPublishableTab(before, after, viewId, tabId) {
8523
- const parsed = chunkYZ5RCMIQ_js.listViewTabSchema.safeParse(after);
8497
+ const parsed = chunkK7XGY34S_js.listViewTabSchema.safeParse(after);
8524
8498
  if (!parsed.success) {
8525
- if (!chunkYZ5RCMIQ_js.listViewTabSchema.safeParse(before).success) return after;
8499
+ if (!chunkK7XGY34S_js.listViewTabSchema.safeParse(before).success) return after;
8526
8500
  const detail = parsed.error.issues.map(
8527
8501
  (issue) => issue.path.length ? `${issue.path.join(".")}: ${issue.message}` : issue.message
8528
8502
  ).join(", ");
8529
- throw new chunkV26R64A4_js.ValidationError(
8503
+ throw new chunk3YCZ5H3H_js.ValidationError(
8530
8504
  `List tab "${tabId}" in view "${viewId}" would no longer be publishable: ${detail}`,
8531
8505
  []
8532
8506
  );
@@ -8537,7 +8511,7 @@ function mapListTab(state, viewId, tabId, fn) {
8537
8511
  return mapView(state, viewId, (view) => {
8538
8512
  const tabs = view.config.tabs ?? [];
8539
8513
  if (!tabs.some((t) => t.id === tabId)) {
8540
- throw new chunkV26R64A4_js.ValidationError(`List tab "${tabId}" is not in view "${viewId}"`, []);
8514
+ throw new chunk3YCZ5H3H_js.ValidationError(`List tab "${tabId}" is not in view "${viewId}"`, []);
8541
8515
  }
8542
8516
  return {
8543
8517
  ...view,
@@ -8550,9 +8524,9 @@ function mapListTab(state, viewId, tabId, fn) {
8550
8524
  };
8551
8525
  });
8552
8526
  }
8553
- var listTabPayload = chunkYZ5RCMIQ_js.listViewTabSchema;
8554
- var filterGroupPayload = chunkYZ5RCMIQ_js.filterGroupSchema;
8555
- var sortRulesPayload = chunkYZ5RCMIQ_js.sortsSchema;
8527
+ var listTabPayload = chunkK7XGY34S_js.listViewTabSchema;
8528
+ var filterGroupPayload = chunkK7XGY34S_js.filterGroupSchema;
8529
+ var sortRulesPayload = chunkK7XGY34S_js.sortsSchema;
8556
8530
  function setOnTab(type, key, valueSchema, describe) {
8557
8531
  const schema = z2.z.object({ ...listTabBase, type: z2.z.literal(type), value: valueSchema });
8558
8532
  return defineOperation({
@@ -8581,7 +8555,7 @@ var addListTab = defineOperation({
8581
8555
  apply: (state, op) => mapView(state, op.viewId, (view) => {
8582
8556
  const tabs = view.config.tabs ?? [];
8583
8557
  if (tabs.some((t) => t.id === op.tab.id)) {
8584
- throw new chunkV26R64A4_js.ValidationError(
8558
+ throw new chunk3YCZ5H3H_js.ValidationError(
8585
8559
  `List tab "${op.tab.id}" already exists in view "${op.viewId}"`,
8586
8560
  []
8587
8561
  );
@@ -8602,7 +8576,7 @@ var removeListTab = defineOperation({
8602
8576
  apply: (state, op) => mapView(state, op.viewId, (view) => {
8603
8577
  const tabs = view.config.tabs ?? [];
8604
8578
  if (!tabs.some((t) => t.id === op.tabId)) {
8605
- throw new chunkV26R64A4_js.ValidationError(`List tab "${op.tabId}" is not in view "${op.viewId}"`, []);
8579
+ throw new chunk3YCZ5H3H_js.ValidationError(`List tab "${op.tabId}" is not in view "${op.viewId}"`, []);
8606
8580
  }
8607
8581
  return {
8608
8582
  ...view,
@@ -8618,9 +8592,9 @@ var updateListTabSchema = z2.z.object({
8618
8592
  type: z2.z.literal("update_list_tab"),
8619
8593
  changes: z2.z.object({
8620
8594
  label: z2.z.string().min(1).optional(),
8621
- icon: chunkBOICAZHR_js.iconNameSchema.optional(),
8595
+ icon: chunk5JMQNH2A_js.iconNameSchema.optional(),
8622
8596
  default: z2.z.boolean().optional(),
8623
- visibility: z2.z.enum(chunkYZ5RCMIQ_js.LIST_VIEW_TAB_VISIBILITIES).optional()
8597
+ visibility: z2.z.enum(chunkK7XGY34S_js.LIST_VIEW_TAB_VISIBILITIES).optional()
8624
8598
  }).refine((c) => Object.keys(c).length > 0, "update_list_tab needs at least one change")
8625
8599
  });
8626
8600
  var updateListTabFocus = (op) => ({
@@ -8679,7 +8653,7 @@ var setLayout = defineOperation({
8679
8653
  apply: (state, op) => mapListTab(state, op.viewId, op.tabId, (tab) => {
8680
8654
  if (op.value === "table") return { ...withoutKanbanKeys(tab), layout: "table" };
8681
8655
  if (tab.groupByAttribute === void 0) {
8682
- throw new chunkV26R64A4_js.ValidationError(
8656
+ throw new chunk3YCZ5H3H_js.ValidationError(
8683
8657
  `List tab "${op.tabId}" cannot switch to kanban without a group attribute \u2014 use set_group_by, which switches the layout itself`,
8684
8658
  []
8685
8659
  );
@@ -8783,7 +8757,7 @@ var LIST_VIEW_OPERATIONS = [
8783
8757
  ];
8784
8758
  function requireObject(state, objectId) {
8785
8759
  if (!state.objects.some((o) => o.id === objectId)) {
8786
- throw new chunkV26R64A4_js.ValidationError(`Object "${objectId}" is not in the draftable state`, []);
8760
+ throw new chunk3YCZ5H3H_js.ValidationError(`Object "${objectId}" is not in the draftable state`, []);
8787
8761
  }
8788
8762
  }
8789
8763
  function objectFocus(op) {
@@ -8815,10 +8789,10 @@ var addObject = defineOperation({
8815
8789
  schema: addObjectSchema,
8816
8790
  apply: (state, op) => {
8817
8791
  if (state.objects.some((o) => o.name === op.name)) {
8818
- throw new chunkV26R64A4_js.ValidationError(`Object "${op.name}" already exists`, []);
8792
+ throw new chunk3YCZ5H3H_js.ValidationError(`Object "${op.name}" already exists`, []);
8819
8793
  }
8820
8794
  if (state.objects.some((o) => o.id === op.objectId)) {
8821
- throw new chunkV26R64A4_js.ValidationError(`Object id "${op.objectId}" is already taken`, []);
8795
+ throw new chunk3YCZ5H3H_js.ValidationError(`Object id "${op.objectId}" is already taken`, []);
8822
8796
  }
8823
8797
  const created = {
8824
8798
  id: op.objectId,
@@ -8893,9 +8867,9 @@ var addAttributeSchema = z2.z.object({
8893
8867
  config: z2.z.record(z2.z.string(), z2.z.unknown()).optional()
8894
8868
  }).superRefine((op, ctx) => {
8895
8869
  try {
8896
- chunkBOICAZHR_js.parseAttributeConfigForCreate(op.attributeType, op.config ?? {});
8870
+ chunk5JMQNH2A_js.parseAttributeConfigForCreate(op.attributeType, op.config ?? {});
8897
8871
  } catch (error) {
8898
- if (error instanceof chunkV26R64A4_js.ValidationError) {
8872
+ if (error instanceof chunk3YCZ5H3H_js.ValidationError) {
8899
8873
  for (const detail of error.errors) {
8900
8874
  ctx.addIssue({
8901
8875
  code: "custom",
@@ -8914,7 +8888,7 @@ var addAttribute = defineOperation({
8914
8888
  apply: (state, op) => {
8915
8889
  requireObject(state, op.objectId);
8916
8890
  if (state.attributes.some((a) => a.objectId === op.objectId && a.name === op.name)) {
8917
- throw new chunkV26R64A4_js.ValidationError(
8891
+ throw new chunk3YCZ5H3H_js.ValidationError(
8918
8892
  `Attribute "${op.name}" already exists on object "${op.objectId}"`,
8919
8893
  []
8920
8894
  );
@@ -8950,7 +8924,7 @@ var updateAttribute = defineOperation({
8950
8924
  schema: updateAttributeSchema,
8951
8925
  apply: (state, op) => {
8952
8926
  if (!state.attributes.some((a) => a.id === op.attributeId)) {
8953
- throw new chunkV26R64A4_js.ValidationError(`Attribute "${op.attributeId}" is not in the draftable state`, []);
8927
+ throw new chunk3YCZ5H3H_js.ValidationError(`Attribute "${op.attributeId}" is not in the draftable state`, []);
8954
8928
  }
8955
8929
  return {
8956
8930
  ...state,
@@ -8977,13 +8951,13 @@ var removeAttribute = defineOperation({
8977
8951
  apply: (state, op) => {
8978
8952
  const removed = state.attributes.find((a) => a.id === op.attributeId);
8979
8953
  if (!removed) {
8980
- throw new chunkV26R64A4_js.ValidationError(`Attribute "${op.attributeId}" is not in the draftable state`, []);
8954
+ throw new chunk3YCZ5H3H_js.ValidationError(`Attribute "${op.attributeId}" is not in the draftable state`, []);
8981
8955
  }
8982
8956
  const user2 = state.sampleRecords.find(
8983
8957
  (r) => r.objectId === removed.objectId && removed.name in r.values
8984
8958
  );
8985
8959
  if (user2) {
8986
- throw new chunkV26R64A4_js.ValidationError(
8960
+ throw new chunk3YCZ5H3H_js.ValidationError(
8987
8961
  `Attribute "${removed.name}" is still used by sample record "${user2.id}"`,
8988
8962
  []
8989
8963
  );
@@ -9004,15 +8978,15 @@ function assertSampleValue(recordId, key, attribute, value) {
9004
8978
  ...attribute.config
9005
8979
  };
9006
8980
  try {
9007
- chunkI3EYILYO_js.createAttributeValidator(reconstructed);
8981
+ chunkRDYTVHNN_js.createAttributeValidator(reconstructed);
9008
8982
  } catch {
9009
8983
  return;
9010
8984
  }
9011
- const result = chunkI3EYILYO_js.validateAttribute(reconstructed, value);
8985
+ const result = chunkRDYTVHNN_js.validateAttribute(reconstructed, value);
9012
8986
  if (result.success) return;
9013
8987
  const errors = result.errors ?? [];
9014
8988
  const detail = errors.map((error) => error.message).join(", ");
9015
- throw new chunkV26R64A4_js.ValidationError(
8989
+ throw new chunk3YCZ5H3H_js.ValidationError(
9016
8990
  `Sample record "${recordId}" has an invalid value for "${key}": ${detail}`,
9017
8991
  errors.map((error) => ({ path: error.path, message: error.message }))
9018
8992
  );
@@ -9021,7 +8995,7 @@ function assertRequiredCovered(recordId, attribute, values) {
9021
8995
  if (attribute.config?.required !== true) return;
9022
8996
  if (attribute.config?.defaultValue !== void 0) return;
9023
8997
  if (attribute.name in values && values[attribute.name] !== void 0) return;
9024
- throw new chunkV26R64A4_js.ValidationError(
8998
+ throw new chunk3YCZ5H3H_js.ValidationError(
9025
8999
  `Sample record "${recordId}" is missing a value for required attribute "${attribute.name}"`,
9026
9000
  []
9027
9001
  );
@@ -9039,7 +9013,7 @@ var addSampleRecord = defineOperation({
9039
9013
  apply: (state, op) => {
9040
9014
  requireObject(state, op.objectId);
9041
9015
  if (state.sampleRecords.some((r) => r.id === op.recordId)) {
9042
- throw new chunkV26R64A4_js.ValidationError(`Sample record "${op.recordId}" already exists`, []);
9016
+ throw new chunk3YCZ5H3H_js.ValidationError(`Sample record "${op.recordId}" already exists`, []);
9043
9017
  }
9044
9018
  const known = new Map(
9045
9019
  state.attributes.filter((a) => a.objectId === op.objectId).map((a) => [a.name, a])
@@ -9047,7 +9021,7 @@ var addSampleRecord = defineOperation({
9047
9021
  for (const [key, value] of Object.entries(op.values)) {
9048
9022
  const attribute = known.get(key);
9049
9023
  if (!attribute) {
9050
- throw new chunkV26R64A4_js.ValidationError(
9024
+ throw new chunk3YCZ5H3H_js.ValidationError(
9051
9025
  `Sample record "${op.recordId}" uses unknown attribute "${key}"`,
9052
9026
  []
9053
9027
  );
@@ -9081,7 +9055,7 @@ var removeSampleRecord = defineOperation({
9081
9055
  schema: removeSampleRecordSchema,
9082
9056
  apply: (state, op) => {
9083
9057
  if (!state.sampleRecords.some((r) => r.id === op.recordId && r.objectId === op.objectId)) {
9084
- throw new chunkV26R64A4_js.ValidationError(
9058
+ throw new chunk3YCZ5H3H_js.ValidationError(
9085
9059
  `Sample record "${op.recordId}" is not in object "${op.objectId}"`,
9086
9060
  []
9087
9061
  );
@@ -9112,7 +9086,7 @@ function build() {
9112
9086
  ...LIST_VIEW_OPERATIONS
9113
9087
  ]) {
9114
9088
  if (map.has(definition.type)) {
9115
- throw new chunkV26R64A4_js.DuplicateError("architect operation", definition.type);
9089
+ throw new chunk3YCZ5H3H_js.DuplicateError("architect operation", definition.type);
9116
9090
  }
9117
9091
  map.set(definition.type, definition);
9118
9092
  }
@@ -9125,7 +9099,7 @@ var ALL_OPERATION_TYPES = [...OPERATION_REGISTRY.keys()];
9125
9099
  function defOf(operation) {
9126
9100
  const definition = OPERATION_REGISTRY.get(operation.type);
9127
9101
  if (!definition) {
9128
- throw new chunkV26R64A4_js.ValidationError(
9102
+ throw new chunk3YCZ5H3H_js.ValidationError(
9129
9103
  `Operation "${operation.id}" has unknown type "${operation.type}"`,
9130
9104
  []
9131
9105
  );
@@ -9146,19 +9120,19 @@ function describeOperations(operations, ctx) {
9146
9120
  }
9147
9121
  function parseOperation(candidate) {
9148
9122
  if (typeof candidate !== "object" || candidate === null || !("type" in candidate)) {
9149
- throw new chunkV26R64A4_js.ValidationError("An operation must be an object carrying a type", []);
9123
+ throw new chunk3YCZ5H3H_js.ValidationError("An operation must be an object carrying a type", []);
9150
9124
  }
9151
9125
  const type = candidate.type;
9152
9126
  if (typeof type !== "string") {
9153
- throw new chunkV26R64A4_js.ValidationError("An operation's type must be a string", []);
9127
+ throw new chunk3YCZ5H3H_js.ValidationError("An operation's type must be a string", []);
9154
9128
  }
9155
9129
  const definition = OPERATION_REGISTRY.get(type);
9156
9130
  if (!definition) {
9157
- throw new chunkV26R64A4_js.ValidationError(`Unknown operation type "${type}"`, []);
9131
+ throw new chunk3YCZ5H3H_js.ValidationError(`Unknown operation type "${type}"`, []);
9158
9132
  }
9159
9133
  const parsed = definition.schema.safeParse(candidate);
9160
9134
  if (!parsed.success) {
9161
- throw new chunkV26R64A4_js.ValidationError(
9135
+ throw new chunk3YCZ5H3H_js.ValidationError(
9162
9136
  `Operation "${type}" is invalid: ${parsed.error.issues.map((i) => `${i.path.join(".")} ${i.message}`).join("; ")}`,
9163
9137
  []
9164
9138
  );
@@ -9171,16 +9145,16 @@ function toJsonSchema(schema) {
9171
9145
  function describeOperationInput(type) {
9172
9146
  const definition = OPERATION_REGISTRY.get(type);
9173
9147
  if (!definition) {
9174
- throw new chunkV26R64A4_js.ValidationError(`Unknown operation type "${type}"`, []);
9148
+ throw new chunk3YCZ5H3H_js.ValidationError(`Unknown operation type "${type}"`, []);
9175
9149
  }
9176
9150
  return toJsonSchema(definition.schema);
9177
9151
  }
9178
9152
  function describeAttributeConfig(type) {
9179
9153
  const draftable = DRAFTABLE_ATTRIBUTE_TYPES.find((candidate) => candidate === type);
9180
9154
  if (!draftable) {
9181
- throw new chunkV26R64A4_js.ValidationError(`Unknown attribute type "${type}"`, []);
9155
+ throw new chunk3YCZ5H3H_js.ValidationError(`Unknown attribute type "${type}"`, []);
9182
9156
  }
9183
- return toJsonSchema(chunkBOICAZHR_js.getAttributeConfigWriteSchema(draftable));
9157
+ return toJsonSchema(chunk5JMQNH2A_js.getAttributeConfigWriteSchema(draftable));
9184
9158
  }
9185
9159
  function listDescribableNames() {
9186
9160
  return { operations: [...ALL_OPERATION_TYPES], attributeTypes: [...DRAFTABLE_ATTRIBUTE_TYPES] };
@@ -9334,371 +9308,371 @@ function fromDraftableView(original, drafted) {
9334
9308
 
9335
9309
  Object.defineProperty(exports, "asTenantId", {
9336
9310
  enumerable: true,
9337
- get: function () { return chunkK6ET4CXP_js.asTenantId; }
9311
+ get: function () { return chunkZHB4VBCX_js.asTenantId; }
9338
9312
  });
9339
9313
  Object.defineProperty(exports, "asUserId", {
9340
9314
  enumerable: true,
9341
- get: function () { return chunkK6ET4CXP_js.asUserId; }
9315
+ get: function () { return chunkZHB4VBCX_js.asUserId; }
9342
9316
  });
9343
9317
  Object.defineProperty(exports, "canonicalStringify", {
9344
9318
  enumerable: true,
9345
- get: function () { return chunkK6ET4CXP_js.canonicalStringify; }
9319
+ get: function () { return chunkZHB4VBCX_js.canonicalStringify; }
9346
9320
  });
9347
9321
  Object.defineProperty(exports, "deepEqual", {
9348
9322
  enumerable: true,
9349
- get: function () { return chunkK6ET4CXP_js.deepEqual; }
9323
+ get: function () { return chunkZHB4VBCX_js.deepEqual; }
9350
9324
  });
9351
9325
  Object.defineProperty(exports, "generateId", {
9352
9326
  enumerable: true,
9353
- get: function () { return chunkK6ET4CXP_js.generateId; }
9327
+ get: function () { return chunkZHB4VBCX_js.generateId; }
9354
9328
  });
9355
9329
  Object.defineProperty(exports, "indexBy", {
9356
9330
  enumerable: true,
9357
- get: function () { return chunkK6ET4CXP_js.indexBy; }
9331
+ get: function () { return chunkZHB4VBCX_js.indexBy; }
9358
9332
  });
9359
9333
  Object.defineProperty(exports, "ATTRIBUTE_FILTER_OPERATORS", {
9360
9334
  enumerable: true,
9361
- get: function () { return chunkYZ5RCMIQ_js.ATTRIBUTE_FILTER_OPERATORS; }
9335
+ get: function () { return chunkK7XGY34S_js.ATTRIBUTE_FILTER_OPERATORS; }
9362
9336
  });
9363
9337
  Object.defineProperty(exports, "LIST_TAB_KANBAN_KEYS", {
9364
9338
  enumerable: true,
9365
- get: function () { return chunkYZ5RCMIQ_js.LIST_TAB_KANBAN_KEYS; }
9339
+ get: function () { return chunkK7XGY34S_js.LIST_TAB_KANBAN_KEYS; }
9366
9340
  });
9367
9341
  Object.defineProperty(exports, "LIST_TAB_TABLE_KEYS", {
9368
9342
  enumerable: true,
9369
- get: function () { return chunkYZ5RCMIQ_js.LIST_TAB_TABLE_KEYS; }
9343
+ get: function () { return chunkK7XGY34S_js.LIST_TAB_TABLE_KEYS; }
9370
9344
  });
9371
9345
  Object.defineProperty(exports, "LIST_VIEW_TAB_VISIBILITIES", {
9372
9346
  enumerable: true,
9373
- get: function () { return chunkYZ5RCMIQ_js.LIST_VIEW_TAB_VISIBILITIES; }
9347
+ get: function () { return chunkK7XGY34S_js.LIST_VIEW_TAB_VISIBILITIES; }
9374
9348
  });
9375
9349
  Object.defineProperty(exports, "NO_VALUE_OPERATORS", {
9376
9350
  enumerable: true,
9377
- get: function () { return chunkYZ5RCMIQ_js.NO_VALUE_OPERATORS; }
9351
+ get: function () { return chunkK7XGY34S_js.NO_VALUE_OPERATORS; }
9378
9352
  });
9379
9353
  Object.defineProperty(exports, "OPERATORS_BY_TYPE", {
9380
9354
  enumerable: true,
9381
- get: function () { return chunkYZ5RCMIQ_js.OPERATORS_BY_TYPE; }
9355
+ get: function () { return chunkK7XGY34S_js.OPERATORS_BY_TYPE; }
9382
9356
  });
9383
9357
  Object.defineProperty(exports, "REMOVED_OPERATOR_REPLACEMENTS", {
9384
9358
  enumerable: true,
9385
- get: function () { return chunkYZ5RCMIQ_js.REMOVED_OPERATOR_REPLACEMENTS; }
9359
+ get: function () { return chunkK7XGY34S_js.REMOVED_OPERATOR_REPLACEMENTS; }
9386
9360
  });
9387
9361
  Object.defineProperty(exports, "RESERVED_ATTRIBUTE_NAMES", {
9388
9362
  enumerable: true,
9389
- get: function () { return chunkYZ5RCMIQ_js.RESERVED_ATTRIBUTE_NAMES; }
9363
+ get: function () { return chunkK7XGY34S_js.RESERVED_ATTRIBUTE_NAMES; }
9390
9364
  });
9391
9365
  Object.defineProperty(exports, "RESERVED_OBJECT_NAMES", {
9392
9366
  enumerable: true,
9393
- get: function () { return chunkYZ5RCMIQ_js.RESERVED_OBJECT_NAMES; }
9367
+ get: function () { return chunkK7XGY34S_js.RESERVED_OBJECT_NAMES; }
9394
9368
  });
9395
9369
  Object.defineProperty(exports, "RESOURCE_VISIBILITIES", {
9396
9370
  enumerable: true,
9397
- get: function () { return chunkYZ5RCMIQ_js.RESOURCE_VISIBILITIES; }
9371
+ get: function () { return chunkK7XGY34S_js.RESOURCE_VISIBILITIES; }
9398
9372
  });
9399
9373
  Object.defineProperty(exports, "SYNONYM_ALIASES", {
9400
9374
  enumerable: true,
9401
- get: function () { return chunkYZ5RCMIQ_js.SYNONYM_ALIASES; }
9375
+ get: function () { return chunkK7XGY34S_js.SYNONYM_ALIASES; }
9402
9376
  });
9403
9377
  Object.defineProperty(exports, "SYSTEM_ATTRIBUTES", {
9404
9378
  enumerable: true,
9405
- get: function () { return chunkYZ5RCMIQ_js.SYSTEM_ATTRIBUTES; }
9379
+ get: function () { return chunkK7XGY34S_js.SYSTEM_ATTRIBUTES; }
9406
9380
  });
9407
9381
  Object.defineProperty(exports, "SYSTEM_ATTRIBUTE_I18N_KEYS", {
9408
9382
  enumerable: true,
9409
- get: function () { return chunkYZ5RCMIQ_js.SYSTEM_ATTRIBUTE_I18N_KEYS; }
9383
+ get: function () { return chunkK7XGY34S_js.SYSTEM_ATTRIBUTE_I18N_KEYS; }
9410
9384
  });
9411
9385
  Object.defineProperty(exports, "SYSTEM_FIELD_NAMES", {
9412
9386
  enumerable: true,
9413
- get: function () { return chunkYZ5RCMIQ_js.SYSTEM_FIELD_NAMES; }
9387
+ get: function () { return chunkK7XGY34S_js.SYSTEM_FIELD_NAMES; }
9414
9388
  });
9415
9389
  Object.defineProperty(exports, "SYSTEM_FILTER_ATTRIBUTE_TYPES", {
9416
9390
  enumerable: true,
9417
- get: function () { return chunkYZ5RCMIQ_js.SYSTEM_FILTER_ATTRIBUTE_TYPES; }
9391
+ get: function () { return chunkK7XGY34S_js.SYSTEM_FILTER_ATTRIBUTE_TYPES; }
9418
9392
  });
9419
9393
  Object.defineProperty(exports, "canonicalizeFilterValue", {
9420
9394
  enumerable: true,
9421
- get: function () { return chunkYZ5RCMIQ_js.canonicalizeFilterValue; }
9395
+ get: function () { return chunkK7XGY34S_js.canonicalizeFilterValue; }
9422
9396
  });
9423
9397
  Object.defineProperty(exports, "collectQualifiedRuleIssues", {
9424
9398
  enumerable: true,
9425
- get: function () { return chunkYZ5RCMIQ_js.collectQualifiedRuleIssues; }
9399
+ get: function () { return chunkK7XGY34S_js.collectQualifiedRuleIssues; }
9426
9400
  });
9427
9401
  Object.defineProperty(exports, "columnsSchema", {
9428
9402
  enumerable: true,
9429
- get: function () { return chunkYZ5RCMIQ_js.columnsSchema; }
9403
+ get: function () { return chunkK7XGY34S_js.columnsSchema; }
9430
9404
  });
9431
9405
  Object.defineProperty(exports, "currentActor", {
9432
9406
  enumerable: true,
9433
- get: function () { return chunkYZ5RCMIQ_js.currentActor; }
9407
+ get: function () { return chunkK7XGY34S_js.currentActor; }
9434
9408
  });
9435
9409
  Object.defineProperty(exports, "detailTabDraftSchema", {
9436
9410
  enumerable: true,
9437
- get: function () { return chunkYZ5RCMIQ_js.detailTabDraftSchema; }
9411
+ get: function () { return chunkK7XGY34S_js.detailTabDraftSchema; }
9438
9412
  });
9439
9413
  Object.defineProperty(exports, "detailTabSchema", {
9440
9414
  enumerable: true,
9441
- get: function () { return chunkYZ5RCMIQ_js.detailTabSchema; }
9415
+ get: function () { return chunkK7XGY34S_js.detailTabSchema; }
9442
9416
  });
9443
9417
  Object.defineProperty(exports, "detailViewConfigSchema", {
9444
9418
  enumerable: true,
9445
- get: function () { return chunkYZ5RCMIQ_js.detailViewConfigSchema; }
9419
+ get: function () { return chunkK7XGY34S_js.detailViewConfigSchema; }
9446
9420
  });
9447
9421
  Object.defineProperty(exports, "extractCurrencyFilterValue", {
9448
9422
  enumerable: true,
9449
- get: function () { return chunkYZ5RCMIQ_js.extractCurrencyFilterValue; }
9423
+ get: function () { return chunkK7XGY34S_js.extractCurrencyFilterValue; }
9450
9424
  });
9451
9425
  Object.defineProperty(exports, "extractFilterValue", {
9452
9426
  enumerable: true,
9453
- get: function () { return chunkYZ5RCMIQ_js.extractFilterValue; }
9427
+ get: function () { return chunkK7XGY34S_js.extractFilterValue; }
9454
9428
  });
9455
9429
  Object.defineProperty(exports, "fieldSchema", {
9456
9430
  enumerable: true,
9457
- get: function () { return chunkYZ5RCMIQ_js.fieldSchema; }
9431
+ get: function () { return chunkK7XGY34S_js.fieldSchema; }
9458
9432
  });
9459
9433
  Object.defineProperty(exports, "fieldShape", {
9460
9434
  enumerable: true,
9461
- get: function () { return chunkYZ5RCMIQ_js.fieldShape; }
9435
+ get: function () { return chunkK7XGY34S_js.fieldShape; }
9462
9436
  });
9463
9437
  Object.defineProperty(exports, "fieldSlotSchema", {
9464
9438
  enumerable: true,
9465
- get: function () { return chunkYZ5RCMIQ_js.fieldSlotSchema; }
9439
+ get: function () { return chunkK7XGY34S_js.fieldSlotSchema; }
9466
9440
  });
9467
9441
  Object.defineProperty(exports, "filterGroupSchema", {
9468
9442
  enumerable: true,
9469
- get: function () { return chunkYZ5RCMIQ_js.filterGroupSchema; }
9443
+ get: function () { return chunkK7XGY34S_js.filterGroupSchema; }
9470
9444
  });
9471
9445
  Object.defineProperty(exports, "filterStateSchema", {
9472
9446
  enumerable: true,
9473
- get: function () { return chunkYZ5RCMIQ_js.filterStateSchema; }
9447
+ get: function () { return chunkK7XGY34S_js.filterStateSchema; }
9474
9448
  });
9475
9449
  Object.defineProperty(exports, "getAttributeCapabilities", {
9476
9450
  enumerable: true,
9477
- get: function () { return chunkYZ5RCMIQ_js.getAttributeCapabilities; }
9451
+ get: function () { return chunkK7XGY34S_js.getAttributeCapabilities; }
9478
9452
  });
9479
9453
  Object.defineProperty(exports, "getAttributeFilterOperators", {
9480
9454
  enumerable: true,
9481
- get: function () { return chunkYZ5RCMIQ_js.getAttributeFilterOperators; }
9455
+ get: function () { return chunkK7XGY34S_js.getAttributeFilterOperators; }
9482
9456
  });
9483
9457
  Object.defineProperty(exports, "getOperatorPolarity", {
9484
9458
  enumerable: true,
9485
- get: function () { return chunkYZ5RCMIQ_js.getOperatorPolarity; }
9459
+ get: function () { return chunkK7XGY34S_js.getOperatorPolarity; }
9486
9460
  });
9487
9461
  Object.defineProperty(exports, "getRollupFilterOperators", {
9488
9462
  enumerable: true,
9489
- get: function () { return chunkYZ5RCMIQ_js.getRollupFilterOperators; }
9463
+ get: function () { return chunkK7XGY34S_js.getRollupFilterOperators; }
9490
9464
  });
9491
9465
  Object.defineProperty(exports, "getSystemAttributeI18nKey", {
9492
9466
  enumerable: true,
9493
- get: function () { return chunkYZ5RCMIQ_js.getSystemAttributeI18nKey; }
9467
+ get: function () { return chunkK7XGY34S_js.getSystemAttributeI18nKey; }
9494
9468
  });
9495
9469
  Object.defineProperty(exports, "getSystemAttributeList", {
9496
9470
  enumerable: true,
9497
- get: function () { return chunkYZ5RCMIQ_js.getSystemAttributeList; }
9471
+ get: function () { return chunkK7XGY34S_js.getSystemAttributeList; }
9498
9472
  });
9499
9473
  Object.defineProperty(exports, "groupWriteSchema", {
9500
9474
  enumerable: true,
9501
- get: function () { return chunkYZ5RCMIQ_js.groupWriteSchema; }
9475
+ get: function () { return chunkK7XGY34S_js.groupWriteSchema; }
9502
9476
  });
9503
9477
  Object.defineProperty(exports, "inverseSourceSchema", {
9504
9478
  enumerable: true,
9505
- get: function () { return chunkYZ5RCMIQ_js.inverseSourceSchema; }
9479
+ get: function () { return chunkK7XGY34S_js.inverseSourceSchema; }
9506
9480
  });
9507
9481
  Object.defineProperty(exports, "isAttributeFilterable", {
9508
9482
  enumerable: true,
9509
- get: function () { return chunkYZ5RCMIQ_js.isAttributeFilterable; }
9483
+ get: function () { return chunkK7XGY34S_js.isAttributeFilterable; }
9510
9484
  });
9511
9485
  Object.defineProperty(exports, "isAttributeGroupable", {
9512
9486
  enumerable: true,
9513
- get: function () { return chunkYZ5RCMIQ_js.isAttributeGroupable; }
9487
+ get: function () { return chunkK7XGY34S_js.isAttributeGroupable; }
9514
9488
  });
9515
9489
  Object.defineProperty(exports, "isAttributeKanbanGroupable", {
9516
9490
  enumerable: true,
9517
- get: function () { return chunkYZ5RCMIQ_js.isAttributeKanbanGroupable; }
9491
+ get: function () { return chunkK7XGY34S_js.isAttributeKanbanGroupable; }
9518
9492
  });
9519
9493
  Object.defineProperty(exports, "isAttributeSearchable", {
9520
9494
  enumerable: true,
9521
- get: function () { return chunkYZ5RCMIQ_js.isAttributeSearchable; }
9495
+ get: function () { return chunkK7XGY34S_js.isAttributeSearchable; }
9522
9496
  });
9523
9497
  Object.defineProperty(exports, "isDynamicValue", {
9524
9498
  enumerable: true,
9525
- get: function () { return chunkYZ5RCMIQ_js.isDynamicValue; }
9499
+ get: function () { return chunkK7XGY34S_js.isDynamicValue; }
9526
9500
  });
9527
9501
  Object.defineProperty(exports, "isManagedSystemAttribute", {
9528
9502
  enumerable: true,
9529
- get: function () { return chunkYZ5RCMIQ_js.isManagedSystemAttribute; }
9503
+ get: function () { return chunkK7XGY34S_js.isManagedSystemAttribute; }
9530
9504
  });
9531
9505
  Object.defineProperty(exports, "isNoValueOperator", {
9532
9506
  enumerable: true,
9533
- get: function () { return chunkYZ5RCMIQ_js.isNoValueOperator; }
9507
+ get: function () { return chunkK7XGY34S_js.isNoValueOperator; }
9534
9508
  });
9535
9509
  Object.defineProperty(exports, "isRelativeDateValue", {
9536
9510
  enumerable: true,
9537
- get: function () { return chunkYZ5RCMIQ_js.isRelativeDateValue; }
9511
+ get: function () { return chunkK7XGY34S_js.isRelativeDateValue; }
9538
9512
  });
9539
9513
  Object.defineProperty(exports, "isSetMembershipOperator", {
9540
9514
  enumerable: true,
9541
- get: function () { return chunkYZ5RCMIQ_js.isSetMembershipOperator; }
9515
+ get: function () { return chunkK7XGY34S_js.isSetMembershipOperator; }
9542
9516
  });
9543
9517
  Object.defineProperty(exports, "listViewConfigSchema", {
9544
9518
  enumerable: true,
9545
- get: function () { return chunkYZ5RCMIQ_js.listViewConfigSchema; }
9519
+ get: function () { return chunkK7XGY34S_js.listViewConfigSchema; }
9546
9520
  });
9547
9521
  Object.defineProperty(exports, "listViewTabSchema", {
9548
9522
  enumerable: true,
9549
- get: function () { return chunkYZ5RCMIQ_js.listViewTabSchema; }
9523
+ get: function () { return chunkK7XGY34S_js.listViewTabSchema; }
9550
9524
  });
9551
9525
  Object.defineProperty(exports, "normalizeFilterRule", {
9552
9526
  enumerable: true,
9553
- get: function () { return chunkYZ5RCMIQ_js.normalizeFilterRule; }
9527
+ get: function () { return chunkK7XGY34S_js.normalizeFilterRule; }
9554
9528
  });
9555
9529
  Object.defineProperty(exports, "normalizeForEdgeRpc", {
9556
9530
  enumerable: true,
9557
- get: function () { return chunkYZ5RCMIQ_js.normalizeForEdgeRpc; }
9531
+ get: function () { return chunkK7XGY34S_js.normalizeForEdgeRpc; }
9558
9532
  });
9559
9533
  Object.defineProperty(exports, "normalizeOperator", {
9560
9534
  enumerable: true,
9561
- get: function () { return chunkYZ5RCMIQ_js.normalizeOperator; }
9535
+ get: function () { return chunkK7XGY34S_js.normalizeOperator; }
9562
9536
  });
9563
9537
  Object.defineProperty(exports, "now", {
9564
9538
  enumerable: true,
9565
- get: function () { return chunkYZ5RCMIQ_js.now; }
9539
+ get: function () { return chunkK7XGY34S_js.now; }
9566
9540
  });
9567
9541
  Object.defineProperty(exports, "parseResourceVisibility", {
9568
9542
  enumerable: true,
9569
- get: function () { return chunkYZ5RCMIQ_js.parseResourceVisibility; }
9543
+ get: function () { return chunkK7XGY34S_js.parseResourceVisibility; }
9570
9544
  });
9571
9545
  Object.defineProperty(exports, "parseViewConfig", {
9572
9546
  enumerable: true,
9573
- get: function () { return chunkYZ5RCMIQ_js.parseViewConfig; }
9547
+ get: function () { return chunkK7XGY34S_js.parseViewConfig; }
9574
9548
  });
9575
9549
  Object.defineProperty(exports, "relationSourceSchema", {
9576
9550
  enumerable: true,
9577
- get: function () { return chunkYZ5RCMIQ_js.relationSourceSchema; }
9551
+ get: function () { return chunkK7XGY34S_js.relationSourceSchema; }
9578
9552
  });
9579
9553
  Object.defineProperty(exports, "resolveEffectiveFilterType", {
9580
9554
  enumerable: true,
9581
- get: function () { return chunkYZ5RCMIQ_js.resolveEffectiveFilterType; }
9555
+ get: function () { return chunkK7XGY34S_js.resolveEffectiveFilterType; }
9582
9556
  });
9583
9557
  Object.defineProperty(exports, "resolveIsWithinBounds", {
9584
9558
  enumerable: true,
9585
- get: function () { return chunkYZ5RCMIQ_js.resolveIsWithinBounds; }
9559
+ get: function () { return chunkK7XGY34S_js.resolveIsWithinBounds; }
9586
9560
  });
9587
9561
  Object.defineProperty(exports, "resolveUtcDayBounds", {
9588
9562
  enumerable: true,
9589
- get: function () { return chunkYZ5RCMIQ_js.resolveUtcDayBounds; }
9563
+ get: function () { return chunkK7XGY34S_js.resolveUtcDayBounds; }
9590
9564
  });
9591
9565
  Object.defineProperty(exports, "sortsSchema", {
9592
9566
  enumerable: true,
9593
- get: function () { return chunkYZ5RCMIQ_js.sortsSchema; }
9567
+ get: function () { return chunkK7XGY34S_js.sortsSchema; }
9594
9568
  });
9595
9569
  Object.defineProperty(exports, "tableSourceSchema", {
9596
9570
  enumerable: true,
9597
- get: function () { return chunkYZ5RCMIQ_js.tableSourceSchema; }
9571
+ get: function () { return chunkK7XGY34S_js.tableSourceSchema; }
9598
9572
  });
9599
9573
  Object.defineProperty(exports, "toMultiValueOperator", {
9600
9574
  enumerable: true,
9601
- get: function () { return chunkYZ5RCMIQ_js.toMultiValueOperator; }
9575
+ get: function () { return chunkK7XGY34S_js.toMultiValueOperator; }
9602
9576
  });
9603
9577
  Object.defineProperty(exports, "toUtcDayString", {
9604
9578
  enumerable: true,
9605
- get: function () { return chunkYZ5RCMIQ_js.toUtcDayString; }
9579
+ get: function () { return chunkK7XGY34S_js.toUtcDayString; }
9606
9580
  });
9607
9581
  Object.defineProperty(exports, "today", {
9608
9582
  enumerable: true,
9609
- get: function () { return chunkYZ5RCMIQ_js.today; }
9583
+ get: function () { return chunkK7XGY34S_js.today; }
9610
9584
  });
9611
9585
  Object.defineProperty(exports, "validateQualifiedRule", {
9612
9586
  enumerable: true,
9613
- get: function () { return chunkYZ5RCMIQ_js.validateQualifiedRule; }
9587
+ get: function () { return chunkK7XGY34S_js.validateQualifiedRule; }
9614
9588
  });
9615
9589
  Object.defineProperty(exports, "viewConfigByTypeSchema", {
9616
9590
  enumerable: true,
9617
- get: function () { return chunkYZ5RCMIQ_js.viewConfigByTypeSchema; }
9591
+ get: function () { return chunkK7XGY34S_js.viewConfigByTypeSchema; }
9618
9592
  });
9619
9593
  Object.defineProperty(exports, "viewTypeSchema", {
9620
9594
  enumerable: true,
9621
- get: function () { return chunkYZ5RCMIQ_js.viewTypeSchema; }
9595
+ get: function () { return chunkK7XGY34S_js.viewTypeSchema; }
9622
9596
  });
9623
9597
  Object.defineProperty(exports, "createFormAttributeValidator", {
9624
9598
  enumerable: true,
9625
- get: function () { return chunkI3EYILYO_js.createFormAttributeValidator; }
9599
+ get: function () { return chunkRDYTVHNN_js.createFormAttributeValidator; }
9626
9600
  });
9627
9601
  Object.defineProperty(exports, "isNullishOrEmptyString", {
9628
9602
  enumerable: true,
9629
- get: function () { return chunkI3EYILYO_js.isNullishOrEmptyString; }
9603
+ get: function () { return chunkRDYTVHNN_js.isNullishOrEmptyString; }
9630
9604
  });
9631
9605
  Object.defineProperty(exports, "isValuePresent", {
9632
9606
  enumerable: true,
9633
- get: function () { return chunkI3EYILYO_js.isValuePresent; }
9607
+ get: function () { return chunkRDYTVHNN_js.isValuePresent; }
9634
9608
  });
9635
9609
  Object.defineProperty(exports, "rejectUnknownAttributesOrThrow", {
9636
9610
  enumerable: true,
9637
- get: function () { return chunkI3EYILYO_js.rejectUnknownAttributesOrThrow; }
9611
+ get: function () { return chunkRDYTVHNN_js.rejectUnknownAttributesOrThrow; }
9638
9612
  });
9639
9613
  Object.defineProperty(exports, "validateDraft", {
9640
9614
  enumerable: true,
9641
- get: function () { return chunkI3EYILYO_js.validateDraft; }
9615
+ get: function () { return chunkRDYTVHNN_js.validateDraft; }
9642
9616
  });
9643
9617
  Object.defineProperty(exports, "validateDraftOrThrow", {
9644
9618
  enumerable: true,
9645
- get: function () { return chunkI3EYILYO_js.validateDraftOrThrow; }
9619
+ get: function () { return chunkRDYTVHNN_js.validateDraftOrThrow; }
9646
9620
  });
9647
9621
  Object.defineProperty(exports, "validateObject", {
9648
9622
  enumerable: true,
9649
- get: function () { return chunkI3EYILYO_js.validateObject; }
9623
+ get: function () { return chunkRDYTVHNN_js.validateObject; }
9650
9624
  });
9651
9625
  Object.defineProperty(exports, "validateObjectOrThrow", {
9652
9626
  enumerable: true,
9653
- get: function () { return chunkI3EYILYO_js.validateObjectOrThrow; }
9627
+ get: function () { return chunkRDYTVHNN_js.validateObjectOrThrow; }
9654
9628
  });
9655
9629
  Object.defineProperty(exports, "ComputedFormulaParseError", {
9656
9630
  enumerable: true,
9657
- get: function () { return chunkBOICAZHR_js.ComputedFormulaParseError; }
9631
+ get: function () { return chunk5JMQNH2A_js.ComputedFormulaParseError; }
9658
9632
  });
9659
9633
  Object.defineProperty(exports, "SCHEMA_LIMITS", {
9660
9634
  enumerable: true,
9661
- get: function () { return chunkBOICAZHR_js.SCHEMA_LIMITS; }
9635
+ get: function () { return chunk5JMQNH2A_js.SCHEMA_LIMITS; }
9662
9636
  });
9663
9637
  Object.defineProperty(exports, "colorIdSchema", {
9664
9638
  enumerable: true,
9665
- get: function () { return chunkBOICAZHR_js.colorIdSchema; }
9639
+ get: function () { return chunk5JMQNH2A_js.colorIdSchema; }
9666
9640
  });
9667
9641
  Object.defineProperty(exports, "iconNameSchema", {
9668
9642
  enumerable: true,
9669
- get: function () { return chunkBOICAZHR_js.iconNameSchema; }
9643
+ get: function () { return chunk5JMQNH2A_js.iconNameSchema; }
9670
9644
  });
9671
9645
  Object.defineProperty(exports, "multiselectOptionWriteSchema", {
9672
9646
  enumerable: true,
9673
- get: function () { return chunkBOICAZHR_js.multiselectOptionWriteSchema; }
9647
+ get: function () { return chunk5JMQNH2A_js.multiselectOptionWriteSchema; }
9674
9648
  });
9675
9649
  Object.defineProperty(exports, "parseAttributeConfig", {
9676
9650
  enumerable: true,
9677
- get: function () { return chunkBOICAZHR_js.parseAttributeConfig; }
9651
+ get: function () { return chunk5JMQNH2A_js.parseAttributeConfig; }
9678
9652
  });
9679
9653
  Object.defineProperty(exports, "parseAttributeConfigForCreate", {
9680
9654
  enumerable: true,
9681
- get: function () { return chunkBOICAZHR_js.parseAttributeConfigForCreate; }
9655
+ get: function () { return chunk5JMQNH2A_js.parseAttributeConfigForCreate; }
9682
9656
  });
9683
9657
  Object.defineProperty(exports, "parseAttributeConfigForUpdate", {
9684
9658
  enumerable: true,
9685
- get: function () { return chunkBOICAZHR_js.parseAttributeConfigForUpdate; }
9659
+ get: function () { return chunk5JMQNH2A_js.parseAttributeConfigForUpdate; }
9686
9660
  });
9687
9661
  Object.defineProperty(exports, "parseComputedFormula", {
9688
9662
  enumerable: true,
9689
- get: function () { return chunkBOICAZHR_js.parseComputedFormula; }
9663
+ get: function () { return chunk5JMQNH2A_js.parseComputedFormula; }
9690
9664
  });
9691
9665
  Object.defineProperty(exports, "selectOptionWriteSchema", {
9692
9666
  enumerable: true,
9693
- get: function () { return chunkBOICAZHR_js.selectOptionWriteSchema; }
9667
+ get: function () { return chunk5JMQNH2A_js.selectOptionWriteSchema; }
9694
9668
  });
9695
9669
  Object.defineProperty(exports, "statusGroupSchema", {
9696
9670
  enumerable: true,
9697
- get: function () { return chunkBOICAZHR_js.statusGroupSchema; }
9671
+ get: function () { return chunk5JMQNH2A_js.statusGroupSchema; }
9698
9672
  });
9699
9673
  Object.defineProperty(exports, "statusOptionWriteSchema", {
9700
9674
  enumerable: true,
9701
- get: function () { return chunkBOICAZHR_js.statusOptionWriteSchema; }
9675
+ get: function () { return chunk5JMQNH2A_js.statusOptionWriteSchema; }
9702
9676
  });
9703
9677
  Object.defineProperty(exports, "createCheckboxValidator", {
9704
9678
  enumerable: true,
@@ -9726,155 +9700,155 @@ Object.defineProperty(exports, "resolveTextPattern", {
9726
9700
  });
9727
9701
  Object.defineProperty(exports, "AccessDeniedError", {
9728
9702
  enumerable: true,
9729
- get: function () { return chunkV26R64A4_js.AccessDeniedError; }
9703
+ get: function () { return chunk3YCZ5H3H_js.AccessDeniedError; }
9730
9704
  });
9731
9705
  Object.defineProperty(exports, "AttributeInUseError", {
9732
9706
  enumerable: true,
9733
- get: function () { return chunkV26R64A4_js.AttributeInUseError; }
9707
+ get: function () { return chunk3YCZ5H3H_js.AttributeInUseError; }
9734
9708
  });
9735
9709
  Object.defineProperty(exports, "AttributeNotFoundError", {
9736
9710
  enumerable: true,
9737
- get: function () { return chunkV26R64A4_js.AttributeNotFoundError; }
9711
+ get: function () { return chunk3YCZ5H3H_js.AttributeNotFoundError; }
9738
9712
  });
9739
9713
  Object.defineProperty(exports, "ChangeTypeNotSupportedError", {
9740
9714
  enumerable: true,
9741
- get: function () { return chunkV26R64A4_js.ChangeTypeNotSupportedError; }
9715
+ get: function () { return chunk3YCZ5H3H_js.ChangeTypeNotSupportedError; }
9742
9716
  });
9743
9717
  Object.defineProperty(exports, "ConcurrentModificationError", {
9744
9718
  enumerable: true,
9745
- get: function () { return chunkV26R64A4_js.ConcurrentModificationError; }
9719
+ get: function () { return chunk3YCZ5H3H_js.ConcurrentModificationError; }
9746
9720
  });
9747
9721
  Object.defineProperty(exports, "DestructiveSyncNotAllowedError", {
9748
9722
  enumerable: true,
9749
- get: function () { return chunkV26R64A4_js.DestructiveSyncNotAllowedError; }
9723
+ get: function () { return chunk3YCZ5H3H_js.DestructiveSyncNotAllowedError; }
9750
9724
  });
9751
9725
  Object.defineProperty(exports, "DuplicateError", {
9752
9726
  enumerable: true,
9753
- get: function () { return chunkV26R64A4_js.DuplicateError; }
9727
+ get: function () { return chunk3YCZ5H3H_js.DuplicateError; }
9754
9728
  });
9755
9729
  Object.defineProperty(exports, "ForbiddenError", {
9756
9730
  enumerable: true,
9757
- get: function () { return chunkV26R64A4_js.ForbiddenError; }
9731
+ get: function () { return chunk3YCZ5H3H_js.ForbiddenError; }
9758
9732
  });
9759
9733
  Object.defineProperty(exports, "MemoryNotFoundError", {
9760
9734
  enumerable: true,
9761
- get: function () { return chunkV26R64A4_js.MemoryNotFoundError; }
9735
+ get: function () { return chunk3YCZ5H3H_js.MemoryNotFoundError; }
9762
9736
  });
9763
9737
  Object.defineProperty(exports, "MigrationTimeoutError", {
9764
9738
  enumerable: true,
9765
- get: function () { return chunkV26R64A4_js.MigrationTimeoutError; }
9739
+ get: function () { return chunk3YCZ5H3H_js.MigrationTimeoutError; }
9766
9740
  });
9767
9741
  Object.defineProperty(exports, "NotFoundError", {
9768
9742
  enumerable: true,
9769
- get: function () { return chunkV26R64A4_js.NotFoundError; }
9743
+ get: function () { return chunk3YCZ5H3H_js.NotFoundError; }
9770
9744
  });
9771
9745
  Object.defineProperty(exports, "NotImplementedError", {
9772
9746
  enumerable: true,
9773
- get: function () { return chunkV26R64A4_js.NotImplementedError; }
9747
+ get: function () { return chunk3YCZ5H3H_js.NotImplementedError; }
9774
9748
  });
9775
9749
  Object.defineProperty(exports, "ObjectNotFoundError", {
9776
9750
  enumerable: true,
9777
- get: function () { return chunkV26R64A4_js.ObjectNotFoundError; }
9751
+ get: function () { return chunk3YCZ5H3H_js.ObjectNotFoundError; }
9778
9752
  });
9779
9753
  Object.defineProperty(exports, "ObjectReferencedError", {
9780
9754
  enumerable: true,
9781
- get: function () { return chunkV26R64A4_js.ObjectReferencedError; }
9755
+ get: function () { return chunk3YCZ5H3H_js.ObjectReferencedError; }
9782
9756
  });
9783
9757
  Object.defineProperty(exports, "OrphanSystemAttributeError", {
9784
9758
  enumerable: true,
9785
- get: function () { return chunkV26R64A4_js.OrphanSystemAttributeError; }
9759
+ get: function () { return chunk3YCZ5H3H_js.OrphanSystemAttributeError; }
9786
9760
  });
9787
9761
  Object.defineProperty(exports, "ProtectedResourceError", {
9788
9762
  enumerable: true,
9789
- get: function () { return chunkV26R64A4_js.ProtectedResourceError; }
9763
+ get: function () { return chunk3YCZ5H3H_js.ProtectedResourceError; }
9790
9764
  });
9791
9765
  Object.defineProperty(exports, "ProtectedRoleError", {
9792
9766
  enumerable: true,
9793
- get: function () { return chunkV26R64A4_js.ProtectedRoleError; }
9767
+ get: function () { return chunk3YCZ5H3H_js.ProtectedRoleError; }
9794
9768
  });
9795
9769
  Object.defineProperty(exports, "RecordNotFoundError", {
9796
9770
  enumerable: true,
9797
- get: function () { return chunkV26R64A4_js.RecordNotFoundError; }
9771
+ get: function () { return chunk3YCZ5H3H_js.RecordNotFoundError; }
9798
9772
  });
9799
9773
  Object.defineProperty(exports, "RecordReferencedError", {
9800
9774
  enumerable: true,
9801
- get: function () { return chunkV26R64A4_js.RecordReferencedError; }
9775
+ get: function () { return chunk3YCZ5H3H_js.RecordReferencedError; }
9802
9776
  });
9803
9777
  Object.defineProperty(exports, "RepositoryError", {
9804
9778
  enumerable: true,
9805
- get: function () { return chunkV26R64A4_js.RepositoryError; }
9779
+ get: function () { return chunk3YCZ5H3H_js.RepositoryError; }
9806
9780
  });
9807
9781
  Object.defineProperty(exports, "RoleNotFoundError", {
9808
9782
  enumerable: true,
9809
- get: function () { return chunkV26R64A4_js.RoleNotFoundError; }
9783
+ get: function () { return chunk3YCZ5H3H_js.RoleNotFoundError; }
9810
9784
  });
9811
9785
  Object.defineProperty(exports, "SchemaError", {
9812
9786
  enumerable: true,
9813
- get: function () { return chunkV26R64A4_js.SchemaError; }
9787
+ get: function () { return chunk3YCZ5H3H_js.SchemaError; }
9814
9788
  });
9815
9789
  Object.defineProperty(exports, "SchemaErrorCode", {
9816
9790
  enumerable: true,
9817
- get: function () { return chunkV26R64A4_js.SchemaErrorCode; }
9791
+ get: function () { return chunk3YCZ5H3H_js.SchemaErrorCode; }
9818
9792
  });
9819
9793
  Object.defineProperty(exports, "SchemaPlanNotFoundError", {
9820
9794
  enumerable: true,
9821
- get: function () { return chunkV26R64A4_js.SchemaPlanNotFoundError; }
9795
+ get: function () { return chunk3YCZ5H3H_js.SchemaPlanNotFoundError; }
9822
9796
  });
9823
9797
  Object.defineProperty(exports, "SearchBackendError", {
9824
9798
  enumerable: true,
9825
- get: function () { return chunkV26R64A4_js.SearchBackendError; }
9799
+ get: function () { return chunk3YCZ5H3H_js.SearchBackendError; }
9826
9800
  });
9827
9801
  Object.defineProperty(exports, "StorageError", {
9828
9802
  enumerable: true,
9829
- get: function () { return chunkV26R64A4_js.StorageError; }
9803
+ get: function () { return chunk3YCZ5H3H_js.StorageError; }
9830
9804
  });
9831
9805
  Object.defineProperty(exports, "SyncCascadeError", {
9832
9806
  enumerable: true,
9833
- get: function () { return chunkV26R64A4_js.SyncCascadeError; }
9807
+ get: function () { return chunk3YCZ5H3H_js.SyncCascadeError; }
9834
9808
  });
9835
9809
  Object.defineProperty(exports, "SyncConflictError", {
9836
9810
  enumerable: true,
9837
- get: function () { return chunkV26R64A4_js.SyncConflictError; }
9811
+ get: function () { return chunk3YCZ5H3H_js.SyncConflictError; }
9838
9812
  });
9839
9813
  Object.defineProperty(exports, "SyncError", {
9840
9814
  enumerable: true,
9841
- get: function () { return chunkV26R64A4_js.SyncError; }
9815
+ get: function () { return chunk3YCZ5H3H_js.SyncError; }
9842
9816
  });
9843
9817
  Object.defineProperty(exports, "SystemEntityImmutableError", {
9844
9818
  enumerable: true,
9845
- get: function () { return chunkV26R64A4_js.SystemEntityImmutableError; }
9819
+ get: function () { return chunk3YCZ5H3H_js.SystemEntityImmutableError; }
9846
9820
  });
9847
9821
  Object.defineProperty(exports, "ValidationError", {
9848
9822
  enumerable: true,
9849
- get: function () { return chunkV26R64A4_js.ValidationError; }
9823
+ get: function () { return chunk3YCZ5H3H_js.ValidationError; }
9850
9824
  });
9851
9825
  Object.defineProperty(exports, "isAttributeInUseError", {
9852
9826
  enumerable: true,
9853
- get: function () { return chunkV26R64A4_js.isAttributeInUseError; }
9827
+ get: function () { return chunk3YCZ5H3H_js.isAttributeInUseError; }
9854
9828
  });
9855
9829
  Object.defineProperty(exports, "isNotFoundError", {
9856
9830
  enumerable: true,
9857
- get: function () { return chunkV26R64A4_js.isNotFoundError; }
9831
+ get: function () { return chunk3YCZ5H3H_js.isNotFoundError; }
9858
9832
  });
9859
9833
  Object.defineProperty(exports, "isObjectReferencedError", {
9860
9834
  enumerable: true,
9861
- get: function () { return chunkV26R64A4_js.isObjectReferencedError; }
9835
+ get: function () { return chunk3YCZ5H3H_js.isObjectReferencedError; }
9862
9836
  });
9863
9837
  Object.defineProperty(exports, "isProtectedResourceError", {
9864
9838
  enumerable: true,
9865
- get: function () { return chunkV26R64A4_js.isProtectedResourceError; }
9839
+ get: function () { return chunk3YCZ5H3H_js.isProtectedResourceError; }
9866
9840
  });
9867
9841
  Object.defineProperty(exports, "isRecordReferencedError", {
9868
9842
  enumerable: true,
9869
- get: function () { return chunkV26R64A4_js.isRecordReferencedError; }
9843
+ get: function () { return chunk3YCZ5H3H_js.isRecordReferencedError; }
9870
9844
  });
9871
9845
  Object.defineProperty(exports, "isSchemaError", {
9872
9846
  enumerable: true,
9873
- get: function () { return chunkV26R64A4_js.isSchemaError; }
9847
+ get: function () { return chunk3YCZ5H3H_js.isSchemaError; }
9874
9848
  });
9875
9849
  Object.defineProperty(exports, "isValidationError", {
9876
9850
  enumerable: true,
9877
- get: function () { return chunkV26R64A4_js.isValidationError; }
9851
+ get: function () { return chunk3YCZ5H3H_js.isValidationError; }
9878
9852
  });
9879
9853
  Object.defineProperty(exports, "DEFAULT_VALIDATION_MESSAGES", {
9880
9854
  enumerable: true,
@@ -9896,7 +9870,6 @@ exports.AUDIT_RESOURCE_TYPES = AUDIT_RESOURCE_TYPES;
9896
9870
  exports.ActivityTabConfig = ActivityTabConfig;
9897
9871
  exports.AgentBuilder = AgentBuilder;
9898
9872
  exports.BEHAVIOR_PROPERTIES = BEHAVIOR_PROPERTIES;
9899
- exports.BROWSER_PREVIEW_STATUSES = BROWSER_PREVIEW_STATUSES;
9900
9873
  exports.BYTE_UNIT_LABELS = BYTE_UNIT_LABELS;
9901
9874
  exports.CLAIMABLE_SESSION_STATUSES = CLAIMABLE_SESSION_STATUSES;
9902
9875
  exports.COMPUTED_FUNCTIONS = COMPUTED_FUNCTIONS;
@@ -9954,9 +9927,6 @@ exports.NOTIFICATION_PRIORITIES = NOTIFICATION_PRIORITIES;
9954
9927
  exports.NOTIFICATION_SENSITIVITIES = NOTIFICATION_SENSITIVITIES;
9955
9928
  exports.NOTIFICATION_TYPES_V1 = NOTIFICATION_TYPES_V1;
9956
9929
  exports.NOTIFICATION_TYPE_AGENT_QUESTION_REQUESTED = NOTIFICATION_TYPE_AGENT_QUESTION_REQUESTED;
9957
- exports.NOTIFICATION_TYPE_AGENT_SESSION_COMPLETED = NOTIFICATION_TYPE_AGENT_SESSION_COMPLETED;
9958
- exports.NOTIFICATION_TYPE_AGENT_SESSION_FAILED = NOTIFICATION_TYPE_AGENT_SESSION_FAILED;
9959
- exports.NOTIFICATION_TYPE_AGENT_SESSION_TIMEOUT = NOTIFICATION_TYPE_AGENT_SESSION_TIMEOUT;
9960
9930
  exports.NOTIFICATION_TYPE_AGENT_SESSION_WAITING_HUMAN = NOTIFICATION_TYPE_AGENT_SESSION_WAITING_HUMAN;
9961
9931
  exports.NOTIFICATION_TYPE_AGENT_TASK_ASSIGNED = NOTIFICATION_TYPE_AGENT_TASK_ASSIGNED;
9962
9932
  exports.NOTIFICATION_WORK_STATES = NOTIFICATION_WORK_STATES;