@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.mjs CHANGED
@@ -1,23 +1,23 @@
1
- import { canonicalStringify, generateId } from './chunk-R57T4UDX.mjs';
2
- export { asTenantId, asUserId, canonicalStringify, deepEqual, generateId, indexBy } from './chunk-R57T4UDX.mjs';
3
- import { RESERVED_ATTRIBUTE_NAMES, SYSTEM_FILTER_ATTRIBUTE_TYPES, RESERVED_OBJECT_NAMES, listViewConfigSchema, detailViewConfigSchema, detailTabDraftSchema, groupWriteSchema, fieldSlotSchema, sortsSchema, filterStateSchema, columnsSchema, tableSourceSchema, listViewTabSchema, LIST_VIEW_TAB_VISIBILITIES, filterGroupSchema, isAttributeSortable, getAttributeCapabilities, resolveIsWithinBounds, normalizeForEdgeRpc, getOperatorPolarity, extractCurrencyFilterValue, LIST_TAB_KANBAN_KEYS, LIST_TAB_TABLE_KEYS } from './chunk-AGRAFDGU.mjs';
4
- export { ATTRIBUTE_FILTER_OPERATORS, LIST_TAB_KANBAN_KEYS, LIST_TAB_TABLE_KEYS, LIST_VIEW_TAB_VISIBILITIES, NO_VALUE_OPERATORS, OPERATORS_BY_TYPE, REMOVED_OPERATOR_REPLACEMENTS, RESERVED_ATTRIBUTE_NAMES, RESERVED_OBJECT_NAMES, RESOURCE_VISIBILITIES, SYNONYM_ALIASES, SYSTEM_ATTRIBUTES, SYSTEM_ATTRIBUTE_I18N_KEYS, SYSTEM_FIELD_NAMES, SYSTEM_FILTER_ATTRIBUTE_TYPES, canonicalizeFilterValue, collectQualifiedRuleIssues, columnsSchema, currentActor, detailTabDraftSchema, detailTabSchema, detailViewConfigSchema, extractCurrencyFilterValue, extractFilterValue, fieldSchema, fieldShape, fieldSlotSchema, filterGroupSchema, filterStateSchema, getAttributeCapabilities, getAttributeFilterOperators, getOperatorPolarity, getRollupFilterOperators, getSystemAttributeI18nKey, getSystemAttributeList, groupWriteSchema, inverseSourceSchema, isAttributeFilterable, isAttributeGroupable, isAttributeKanbanGroupable, isAttributeSearchable, isDynamicValue, isManagedSystemAttribute, isNoValueOperator, isRelativeDateValue, isSetMembershipOperator, listViewConfigSchema, listViewTabSchema, normalizeFilterRule, normalizeForEdgeRpc, normalizeOperator, now, parseResourceVisibility, parseViewConfig, relationSourceSchema, resolveEffectiveFilterType, resolveIsWithinBounds, resolveUtcDayBounds, sortsSchema, tableSourceSchema, toMultiValueOperator, toUtcDayString, today, validateQualifiedRule, viewConfigByTypeSchema, viewTypeSchema } from './chunk-AGRAFDGU.mjs';
5
- import { createObjectValidator, createAttributeValidator, validateAttribute, isNullishOrEmptyString } from './chunk-PNOWKRH2.mjs';
6
- export { createFormAttributeValidator, isNullishOrEmptyString, isValuePresent, rejectUnknownAttributesOrThrow, validateDraft, validateDraftOrThrow, validateObject, validateObjectOrThrow } from './chunk-PNOWKRH2.mjs';
1
+ import { canonicalStringify, generateId } from './chunk-JSQCTLV5.mjs';
2
+ export { asTenantId, asUserId, canonicalStringify, deepEqual, generateId, indexBy } from './chunk-JSQCTLV5.mjs';
3
+ import { RESERVED_ATTRIBUTE_NAMES, SYSTEM_FILTER_ATTRIBUTE_TYPES, RESERVED_OBJECT_NAMES, listViewConfigSchema, detailViewConfigSchema, detailTabDraftSchema, groupWriteSchema, fieldSlotSchema, sortsSchema, filterStateSchema, columnsSchema, tableSourceSchema, listViewTabSchema, LIST_VIEW_TAB_VISIBILITIES, filterGroupSchema, isAttributeSortable, getAttributeCapabilities, resolveIsWithinBounds, normalizeForEdgeRpc, getOperatorPolarity, extractCurrencyFilterValue, LIST_TAB_KANBAN_KEYS, LIST_TAB_TABLE_KEYS } from './chunk-RMJ75YLQ.mjs';
4
+ export { ATTRIBUTE_FILTER_OPERATORS, LIST_TAB_KANBAN_KEYS, LIST_TAB_TABLE_KEYS, LIST_VIEW_TAB_VISIBILITIES, NO_VALUE_OPERATORS, OPERATORS_BY_TYPE, REMOVED_OPERATOR_REPLACEMENTS, RESERVED_ATTRIBUTE_NAMES, RESERVED_OBJECT_NAMES, RESOURCE_VISIBILITIES, SYNONYM_ALIASES, SYSTEM_ATTRIBUTES, SYSTEM_ATTRIBUTE_I18N_KEYS, SYSTEM_FIELD_NAMES, SYSTEM_FILTER_ATTRIBUTE_TYPES, canonicalizeFilterValue, collectQualifiedRuleIssues, columnsSchema, currentActor, detailTabDraftSchema, detailTabSchema, detailViewConfigSchema, extractCurrencyFilterValue, extractFilterValue, fieldSchema, fieldShape, fieldSlotSchema, filterGroupSchema, filterStateSchema, getAttributeCapabilities, getAttributeFilterOperators, getOperatorPolarity, getRollupFilterOperators, getSystemAttributeI18nKey, getSystemAttributeList, groupWriteSchema, inverseSourceSchema, isAttributeFilterable, isAttributeGroupable, isAttributeKanbanGroupable, isAttributeSearchable, isDynamicValue, isManagedSystemAttribute, isNoValueOperator, isRelativeDateValue, isSetMembershipOperator, listViewConfigSchema, listViewTabSchema, normalizeFilterRule, normalizeForEdgeRpc, normalizeOperator, now, parseResourceVisibility, parseViewConfig, relationSourceSchema, resolveEffectiveFilterType, resolveIsWithinBounds, resolveUtcDayBounds, sortsSchema, tableSourceSchema, toMultiValueOperator, toUtcDayString, today, validateQualifiedRule, viewConfigByTypeSchema, viewTypeSchema } from './chunk-RMJ75YLQ.mjs';
5
+ import { createObjectValidator, createAttributeValidator, validateAttribute, isNullishOrEmptyString } from './chunk-KLDZHAGX.mjs';
6
+ export { createFormAttributeValidator, isNullishOrEmptyString, isValuePresent, rejectUnknownAttributesOrThrow, validateDraft, validateDraftOrThrow, validateObject, validateObjectOrThrow } from './chunk-KLDZHAGX.mjs';
7
7
  import './chunk-GO6LQADH.mjs';
8
8
  import './chunk-QVLQPW3O.mjs';
9
9
  import './chunk-ZDQ5AP26.mjs';
10
10
  import './chunk-LV3FEUKU.mjs';
11
11
  import './chunk-UXAHLSWC.mjs';
12
12
  import './chunk-NS63SPNN.mjs';
13
- import { iconNameSchema, parseAttributeConfigForCreate, parseComputedFormula, getAttributeConfigWriteSchema } from './chunk-5OBQRDRM.mjs';
14
- export { ComputedFormulaParseError, SCHEMA_LIMITS, colorIdSchema, iconNameSchema, multiselectOptionWriteSchema, parseAttributeConfig, parseAttributeConfigForCreate, parseAttributeConfigForUpdate, parseComputedFormula, selectOptionWriteSchema, statusGroupSchema, statusOptionWriteSchema } from './chunk-5OBQRDRM.mjs';
13
+ import { iconNameSchema, parseAttributeConfigForCreate, parseComputedFormula, getAttributeConfigWriteSchema } from './chunk-UW3BOSB6.mjs';
14
+ export { ComputedFormulaParseError, SCHEMA_LIMITS, colorIdSchema, iconNameSchema, multiselectOptionWriteSchema, parseAttributeConfig, parseAttributeConfigForCreate, parseAttributeConfigForUpdate, parseComputedFormula, selectOptionWriteSchema, statusGroupSchema, statusOptionWriteSchema } from './chunk-UW3BOSB6.mjs';
15
15
  export { createCheckboxValidator } from './chunk-OSSGN43B.mjs';
16
16
  export { createDateValidator } from './chunk-Q44QKLN4.mjs';
17
17
  export { createNumberValidator } from './chunk-UANQJ2GH.mjs';
18
18
  export { TEXT_FORMAT_PATTERNS, createTextValidator, resolveTextPattern } from './chunk-O73ROMWQ.mjs';
19
- import { ValidationError, SchemaError, SchemaErrorCode, DuplicateError, NotFoundError } from './chunk-RUO25ERR.mjs';
20
- export { AccessDeniedError, AttributeInUseError, AttributeNotFoundError, ChangeTypeNotSupportedError, ConcurrentModificationError, DestructiveSyncNotAllowedError, DuplicateError, ForbiddenError, MemoryNotFoundError, MigrationTimeoutError, NotFoundError, NotImplementedError, ObjectNotFoundError, ObjectReferencedError, OrphanSystemAttributeError, ProtectedResourceError, ProtectedRoleError, RecordNotFoundError, RecordReferencedError, RepositoryError, RoleNotFoundError, SchemaError, SchemaErrorCode, SchemaPlanNotFoundError, SearchBackendError, StorageError, SyncCascadeError, SyncConflictError, SyncError, SystemEntityImmutableError, ValidationError, isAttributeInUseError, isNotFoundError, isObjectReferencedError, isProtectedResourceError, isRecordReferencedError, isSchemaError, isValidationError } from './chunk-RUO25ERR.mjs';
19
+ import { ValidationError, SchemaError, SchemaErrorCode, DuplicateError, NotFoundError } from './chunk-7WEOBXXA.mjs';
20
+ export { AccessDeniedError, AttributeInUseError, AttributeNotFoundError, ChangeTypeNotSupportedError, ConcurrentModificationError, DestructiveSyncNotAllowedError, DuplicateError, ForbiddenError, MemoryNotFoundError, MigrationTimeoutError, NotFoundError, NotImplementedError, ObjectNotFoundError, ObjectReferencedError, OrphanSystemAttributeError, ProtectedResourceError, ProtectedRoleError, RecordNotFoundError, RecordReferencedError, RepositoryError, RoleNotFoundError, SchemaError, SchemaErrorCode, SchemaPlanNotFoundError, SearchBackendError, StorageError, SyncCascadeError, SyncConflictError, SyncError, SystemEntityImmutableError, ValidationError, isAttributeInUseError, isNotFoundError, isObjectReferencedError, isProtectedResourceError, isRecordReferencedError, isSchemaError, isValidationError } from './chunk-7WEOBXXA.mjs';
21
21
  import './chunk-AYVHMVKQ.mjs';
22
22
  import './chunk-YUFTHPOE.mjs';
23
23
  import { formatPhoneForDisplay, normalizeCountrylessPhoneNumber, normalizePhoneNumber } from './chunk-R5LAJCBU.mjs';
@@ -39,17 +39,11 @@ var NOTIFICATION_WORK_STATES = [
39
39
  "expired",
40
40
  "failed"
41
41
  ];
42
- var NOTIFICATION_TYPE_AGENT_SESSION_COMPLETED = "agent.session.completed";
43
- var NOTIFICATION_TYPE_AGENT_SESSION_FAILED = "agent.session.failed";
44
42
  var NOTIFICATION_TYPE_AGENT_SESSION_WAITING_HUMAN = "agent.session.waiting_human";
45
- var NOTIFICATION_TYPE_AGENT_SESSION_TIMEOUT = "agent.session.timeout";
46
43
  var NOTIFICATION_TYPE_AGENT_TASK_ASSIGNED = "agent.task.assigned";
47
44
  var NOTIFICATION_TYPE_AGENT_QUESTION_REQUESTED = "agent.question.requested";
48
45
  var NOTIFICATION_TYPES_V1 = [
49
- NOTIFICATION_TYPE_AGENT_SESSION_COMPLETED,
50
- NOTIFICATION_TYPE_AGENT_SESSION_FAILED,
51
46
  NOTIFICATION_TYPE_AGENT_SESSION_WAITING_HUMAN,
52
- NOTIFICATION_TYPE_AGENT_SESSION_TIMEOUT,
53
47
  NOTIFICATION_TYPE_AGENT_TASK_ASSIGNED,
54
48
  NOTIFICATION_TYPE_AGENT_QUESTION_REQUESTED
55
49
  ];
@@ -4729,6 +4723,13 @@ Available objects: ${this.listNames().join(", ")}`;
4729
4723
  }
4730
4724
  };
4731
4725
  var registry = new NativeObjectRegistryClass();
4726
+
4727
+ // src/native/system-view.ts
4728
+ function markSystemView(view) {
4729
+ return { ...view, system: true };
4730
+ }
4731
+
4732
+ // src/native/skill.object.ts
4732
4733
  var SKILL_CONTENT_TEMPLATE = `## Overview
4733
4734
 
4734
4735
  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.
@@ -4766,8 +4767,12 @@ var SKILL_OBJECT = object({ name: "skill", label: "Skill" }).sealed().icon("spar
4766
4767
  '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."'
4767
4768
  )
4768
4769
  ).attribute(richtext({ name: "content", label: "Content" }).defaultValue(SKILL_CONTENT_TEMPLATE)).build();
4769
- 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();
4770
- 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();
4770
+ var SKILL_VIEW = markSystemView(
4771
+ 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()
4772
+ );
4773
+ var SKILL_LIST_VIEW = markSystemView(
4774
+ 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()
4775
+ );
4771
4776
  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(MEMORY_NAME_MAX_LENGTH).required()).attribute(
4772
4777
  text({ name: "description", label: "Description" }).multiline().maxLength(MEMORY_DESCRIPTION_MAX_LENGTH).required()
4773
4778
  ).attribute(richtext({ name: "content", label: "Content" })).attribute(
@@ -4784,25 +4789,33 @@ var MEMORY_OBJECT = object({ name: "memory", label: "Memory" }).sealed().icon("d
4784
4789
  { value: "corroborated", label: "Corroborated across users" }
4785
4790
  ])
4786
4791
  ).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();
4787
- var MEMORY_VIEW = detailView("memory-detail", "Memory").for("memory").default().sidePanel({
4788
- attributes: [
4789
- "description",
4790
- "kind",
4791
- "source",
4792
- "validFrom",
4793
- "invalidAt",
4794
- "supersededBy",
4795
- "subjects",
4796
- "links"
4797
- ]
4798
- }).tab("content", "Content").richtext("content").titleAttribute("name").build();
4799
- 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();
4792
+ var MEMORY_VIEW = markSystemView(
4793
+ detailView("memory-detail", "Memory").for("memory").default().sidePanel({
4794
+ attributes: [
4795
+ "description",
4796
+ "kind",
4797
+ "source",
4798
+ "validFrom",
4799
+ "invalidAt",
4800
+ "supersededBy",
4801
+ "subjects",
4802
+ "links"
4803
+ ]
4804
+ }).tab("content", "Content").richtext("content").titleAttribute("name").build()
4805
+ );
4806
+ var MEMORY_LIST_VIEW = markSystemView(
4807
+ 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()
4808
+ );
4800
4809
 
4801
4810
  // src/native/drive.object.ts
4802
4811
  var DRIVE_OBJECT_NAME = "drives";
4803
4812
  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();
4804
- var DRIVE_VIEW = detailView("drive-detail", "Drive").for(DRIVE_OBJECT_NAME).default().sidePanel({ attributes: ["description"] }).tab("documents", "Documents").documents().build();
4805
- 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();
4813
+ var DRIVE_VIEW = markSystemView(
4814
+ detailView("drive-detail", "Drive").for(DRIVE_OBJECT_NAME).default().sidePanel({ attributes: ["description"] }).tab("documents", "Documents").documents().build()
4815
+ );
4816
+ var DRIVE_LIST_VIEW = markSystemView(
4817
+ 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()
4818
+ );
4806
4819
 
4807
4820
  // src/views/registry.ts
4808
4821
  function cloneViewDefinition(view) {
@@ -5281,8 +5294,6 @@ function liveChannelKey(channel) {
5281
5294
  return `record:${encodeURIComponent(channel.objectId)}:${encodeURIComponent(channel.recordId)}`;
5282
5295
  case "view":
5283
5296
  return `view:${encodeURIComponent(channel.viewId)}`;
5284
- case "agent":
5285
- return `agent:${encodeURIComponent(channel.tenantId)}`;
5286
5297
  case "user":
5287
5298
  return `user:${encodeURIComponent(channel.actorId)}`;
5288
5299
  case "conversation":
@@ -5322,10 +5333,6 @@ function parseLiveChannelKey(key) {
5322
5333
  const viewId = decodeLiveChannelPart(parts[1]);
5323
5334
  return viewId ? { kind: "view", viewId } : null;
5324
5335
  }
5325
- if (parts[0] === "agent" && parts.length === 2 && parts[1]) {
5326
- const tenantId = decodeLiveChannelPart(parts[1]);
5327
- return tenantId ? { kind: "agent", tenantId } : null;
5328
- }
5329
5336
  if (parts[0] === "user" && parts.length === 2 && parts[1]) {
5330
5337
  const actorId = decodeLiveChannelPart(parts[1]);
5331
5338
  return actorId ? { kind: "user", actorId } : null;
@@ -5342,7 +5349,6 @@ function parseLiveChannelKey(key) {
5342
5349
  }
5343
5350
 
5344
5351
  // src/realtime/events.ts
5345
- var BROWSER_PREVIEW_STATUSES = ["live", "paused", "ended", "disconnected"];
5346
5352
  var LIVE_EVENT_TYPE_REGISTRY = {
5347
5353
  "record.patch": true,
5348
5354
  "record.deleted": true,
@@ -5350,13 +5356,10 @@ var LIVE_EVENT_TYPE_REGISTRY = {
5350
5356
  "record.created": true,
5351
5357
  "view.projection.stale": true,
5352
5358
  "agent.session.patch": true,
5353
- "agent.unread.patch": true,
5354
5359
  "notification.created": true,
5355
5360
  "notification.recipient.patch": true,
5356
5361
  "notification.count.patch": true,
5357
5362
  "notification.inbox.archived": true,
5358
- "conversation.renamed": true,
5359
- "browser.preview.updated": true,
5360
5363
  "reflex.state.changed": true,
5361
5364
  "reflex.run.completed": true,
5362
5365
  "reflex.authoring.progress": true,
@@ -5386,19 +5389,6 @@ var NOTIFICATION_RECIPIENT_PATCH_KEYS = [
5386
5389
  "dismissedAt",
5387
5390
  "updatedAt"
5388
5391
  ];
5389
- var BROWSER_PREVIEW_UPDATED_PAYLOAD_KEYS = [
5390
- "type",
5391
- "preview"
5392
- ];
5393
- var BROWSER_PREVIEW_DESCRIPTOR_KEYS = [
5394
- "previewId",
5395
- "rootSessionId",
5396
- "agentSessionId",
5397
- "browserSession",
5398
- "status",
5399
- "sequence",
5400
- "updatedAt"
5401
- ];
5402
5392
  var RECORD_REMOVED_PAYLOAD_KEYS = [
5403
5393
  "type",
5404
5394
  "objectId",
@@ -5459,8 +5449,6 @@ function isLiveEventPayloadForType(type, payload) {
5459
5449
  return isViewProjectionStalePayload(payload);
5460
5450
  case "agent.session.patch":
5461
5451
  return isAgentSessionPatchPayload(payload);
5462
- case "agent.unread.patch":
5463
- return isAgentUnreadPatchPayload(payload);
5464
5452
  case "notification.created":
5465
5453
  return isNotificationCreatedPayload(payload);
5466
5454
  case "notification.recipient.patch":
@@ -5469,10 +5457,6 @@ function isLiveEventPayloadForType(type, payload) {
5469
5457
  return isNotificationCountPatchPayload(payload);
5470
5458
  case "notification.inbox.archived":
5471
5459
  return isNotificationInboxArchivedPayload(payload);
5472
- case "conversation.renamed":
5473
- return isConversationRenamedPayload(payload);
5474
- case "browser.preview.updated":
5475
- return isBrowserPreviewUpdatedPayload(payload);
5476
5460
  case "reflex.state.changed":
5477
5461
  return isReflexStateChangedPayload(payload);
5478
5462
  case "reflex.run.completed":
@@ -5577,9 +5561,6 @@ function isViewProjectionStalePayload(payload) {
5577
5561
  function isAgentSessionPatchPayload(payload) {
5578
5562
  return payload.type === "agent.session.patch" && hasString(payload, "sessionId") && isRecord2(payload.patch) && hasVersion(payload, "version") && hasString(payload, "updatedAt");
5579
5563
  }
5580
- function isAgentUnreadPatchPayload(payload) {
5581
- 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);
5582
- }
5583
5564
  function isLiveNotification(value) {
5584
5565
  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");
5585
5566
  }
@@ -5609,13 +5590,6 @@ function isNotificationCountPatchPayload(payload) {
5609
5590
  function isNotificationInboxArchivedPayload(payload) {
5610
5591
  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");
5611
5592
  }
5612
- function isConversationRenamedPayload(payload) {
5613
- return payload.type === "conversation.renamed" && hasString(payload, "sessionId") && hasString(payload, "title") && hasVersion(payload, "version") && hasString(payload, "updatedAt");
5614
- }
5615
- function isBrowserPreviewUpdatedPayload(payload) {
5616
- const preview = payload.preview;
5617
- 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}`;
5618
- }
5619
5593
  var REFLEX_STATES = ["armed", "disarmed"];
5620
5594
  var REFLEX_AUTHORING_STATUSES = [
5621
5595
  "authoring",
@@ -9331,4 +9305,4 @@ function fromDraftableView(original, drafted) {
9331
9305
  };
9332
9306
  }
9333
9307
 
9334
- export { AGENT_UI_BATCH_MAX_BYTES, AGENT_UI_BATCH_MAX_ITEMS, ALLOWED_PROPERTY_TYPES, ALL_ACTIONS, ALL_OPERATION_TYPES, ALL_SYSTEM_RESOURCES, ATTRIBUTE_TYPES, AUDIT_ACTIONS, AUDIT_RESOURCE_TYPES, ActivityTabConfig, AgentBuilder, BEHAVIOR_PROPERTIES, BROWSER_PREVIEW_STATUSES, BYTE_UNIT_LABELS, CLAIMABLE_SESSION_STATUSES, COMPUTED_FUNCTIONS, COMPUTED_FUNCTION_METADATA, COMPUTED_FUNCTION_NAMES, CONNECTOR_CALLBACK_PARAM, COUNT_MODES, ComputedFormulaCompileError, CustomTabConfig, DB_COLUMN_FIELDS, DEFAULT_AGENT_EXECUTION_CONFIG, DEFAULT_APPROVAL_POLICY, DEFAULT_LABEL_FALLBACK, DEFAULT_ROLES, DEFAULT_ROLE_DESCRIPTIONS, DEFAULT_ROLE_LABELS, DEFAULT_ROLE_PERMISSIONS, DOCUMENT_SYSTEM_ATTRIBUTES, DRAFTABLE_ATTRIBUTE_TYPES, DRIVE_LIST_VIEW, DRIVE_OBJECT, DRIVE_OBJECT_NAME, DRIVE_VIEW, DetailViewBuilder, DocumentsTabConfig, EMPTY_VALUE_PLACEHOLDER, ESTIMATED_COUNT_CAP, EmailsTabConfig, FORM_FORBIDDEN_ATTRIBUTE_TYPES, FlagRegistry, FlagService, FormBuilder, FormRegistry, FormRowBuilder, FormStepBuilder, GroupBuilder, IDENTITY_PROPERTIES, LIVE_EVENT_TYPES, ListViewBuilder, ListViewTabConfigBuilder, MAX_PRESET_DEPTH, MAX_TODOS, MAX_TODO_DESCRIPTION_CHARS, MAX_TODO_ID_CHARS, MAX_TODO_RESULT_CHARS, MEMORY_LIST_VIEW, MEMORY_OBJECT, MEMORY_VIEW, MeetingsTabConfig, NATIVE_AGENT_UI_PART_IDS_METADATA_KEY, NATIVE_AGENT_UI_PART_IDS_METADATA_SCHEMA_VERSION, NOTIFICATION_INBOX_STATES, NOTIFICATION_KINDS, NOTIFICATION_PRIORITIES, NOTIFICATION_SENSITIVITIES, NOTIFICATION_TYPES_V1, NOTIFICATION_TYPE_AGENT_QUESTION_REQUESTED, NOTIFICATION_TYPE_AGENT_SESSION_COMPLETED, NOTIFICATION_TYPE_AGENT_SESSION_FAILED, NOTIFICATION_TYPE_AGENT_SESSION_TIMEOUT, NOTIFICATION_TYPE_AGENT_SESSION_WAITING_HUMAN, NOTIFICATION_TYPE_AGENT_TASK_ASSIGNED, NOTIFICATION_WORK_STATES, NoopGeocodingAdapter, OBJECT_NAME_SCHEMA, OPEN_TOOL_PART_STATES, OPERATION_REGISTRY, OPERATOR_SPECS, ObjectBuilder, PRESENTATION_PROPERTIES, QUALIFIED_SEPARATOR, RECORD_CREATOR_ROOT_ACTOR_METADATA_KEY, RELATION_TARGET_ANY, RichtextTabConfig, SCHEMA_PLAN_LIMITS, SESSION_TERMINAL_STATUSES, SKILL_LIST_VIEW, SKILL_OBJECT, SKILL_VIEW, STANDARD_SCHEMA_VENDOR, SYSTEM_RESOURCES, SYSTEM_RESOURCE_LABELS, TODAY_DEFAULT, TODO_PLAN_STATUSES, TODO_STATUSES, TOOL_APPROVAL_STATES, TabBuilder, TableTabConfig, UPDATE_TABLE_TAB_CHANGE_KEYS, UPDATE_TAB_CHANGE_KEYS, UPDATE_TAB_CONFIG_CHANGE_KEYS, USER_STATUSES, USER_WORK_POSTURES, accessLevelToActions, actionsToAccessLevel, agent, agentDataChunk, agentDisplayName, agentMessageAttachmentSchema, agentMessagePartSchema, agentSessionMessageSchema, agentUIValidationError, applyOperations, applyPipes, applyRelationProps, assertAcyclicComputedDependencies, assertCustomAgentUIMessageChunk, booleanFlag, buildAgentFallbackTitle, buildPermissionFlags, buildPropertySchema, buildQualifiedAttribute, checkbox, compareAgentSessionMessages, compileComputedFormula, compileRollupAttribute, computeByteMagnitude, conversationDisplayTitle, createFlagRegistry, createFlagService, createStandardSchemaProps, currency, customDataChunkSchemas, date, dateInTimezone, dateValueStart, defineOperation, definePresentation, deriveArchitectChanges, deriveInitials, describeAttributeConfig, describeOperationInput, describeOperations, destructiveSchema, detailView, document, durableDateSchema, ensureFieldIds, episodeImpactOf, evaluateComputedAst, evaluateComputedFormula, evaluateComputedFormulaWithResult, evaluateFilterState, evaluateRecordFilterState, extractAttributeNames, extractValueRefs, flagRegistry, focusOf, form, formFieldFlatKey, formFieldKey, formRegistry, formatAttributeValue, formatByteSize, formatComputedResult, formatLocationValue, formula, fromDraftableView, generateDefaultDetailView, generateDefaultListView, getActiveTab, getErrorMessage, getLiveProtocolPayloadChannel, getRecordCreatorPrincipalId, getSlotFieldTargets, getUserDisplayName, group, hasDestructiveEntries, hasOptions, includesAction, inferInverseCardinality, inferRollupReturnType, isAgentUIDataName, isAgentUIMessageBatch, isAttributeSortable2 as isAttributeSortable, isBilateralRelation, isCheckboxEquality, isClaimableSessionStatus, isComputedFunctionName, isDateRangeValue, isDefaultRole, isDetailView, isDocumentAttribute, isEmptyObject, isFieldGroup, isFormDefinition, isFormFieldsRow, isFormFreeFieldRef, isFormHeadingRow, isFormSeparatorRow, isFormSlotFieldRef, isFormTextRow, isLabelExpression, isListView, isLiveEventEnvelope, isLiveEventPayload, isLiveEventPayloadForType, isLiveEventType, isNotEmpty, isOpenToolPartState, isPlainRecord2 as isPlainRecord, isStandardSchema, isTerminalSessionStatus, isTerminalState, isToolApprovalState, isUniversalRelation, jsonFlag, legacyStatusToSessionState, listDescribableNames, listView, liveChannelKey, location, makeFieldId, matchesAccepts, mentionReferenceSchema, modelDefinitionSchema, multiselect, nativeAgentUIPartIdMetadataKey, normalizeDateValue, number, numberFlag, object, orderAgentSessionMessages, parseCountMode, parseLiveChannelKey, parseNativeAgentUIPartIdsMetadata, parseOperation, parseOptionalCountMode, parseQualifiedAttribute, persistedDefaultViewTargetSchema, persistedSchemaPlanSchema, phone, plannedAttributeSchema, plannedInlineAttributeSchema, plannedObjectSchema, presentationOf, proposedDefaultViewTargetSchema, qualifiedPropertyDefs, readFormFieldValue, registry, relation, relationPropertyDefs, renderLabelExpression, resetViewToDefault, resolveAttributeDefaultValue, resolveFieldRequired, resolvePropertyDefinitions, richtext, rollup, rollupToFormulaExpression, schemaPlanSchema, select, sessionStateToLegacyStatus, status, stringFlag, text, toDraftableAttributes, toDraftableObject, toDraftableView, toUndefinedIfEmpty, todoItemSchema, todoPlanSchema, toolImpactSchema, user, validateAttributeName, validateLabelExpression, validateObjectName, validateViewName, viewRegistry, viewStateKey, viewSyncPayload };
9308
+ export { AGENT_UI_BATCH_MAX_BYTES, AGENT_UI_BATCH_MAX_ITEMS, ALLOWED_PROPERTY_TYPES, ALL_ACTIONS, ALL_OPERATION_TYPES, ALL_SYSTEM_RESOURCES, ATTRIBUTE_TYPES, AUDIT_ACTIONS, AUDIT_RESOURCE_TYPES, ActivityTabConfig, AgentBuilder, BEHAVIOR_PROPERTIES, BYTE_UNIT_LABELS, CLAIMABLE_SESSION_STATUSES, COMPUTED_FUNCTIONS, COMPUTED_FUNCTION_METADATA, COMPUTED_FUNCTION_NAMES, CONNECTOR_CALLBACK_PARAM, COUNT_MODES, ComputedFormulaCompileError, CustomTabConfig, DB_COLUMN_FIELDS, DEFAULT_AGENT_EXECUTION_CONFIG, DEFAULT_APPROVAL_POLICY, DEFAULT_LABEL_FALLBACK, DEFAULT_ROLES, DEFAULT_ROLE_DESCRIPTIONS, DEFAULT_ROLE_LABELS, DEFAULT_ROLE_PERMISSIONS, DOCUMENT_SYSTEM_ATTRIBUTES, DRAFTABLE_ATTRIBUTE_TYPES, DRIVE_LIST_VIEW, DRIVE_OBJECT, DRIVE_OBJECT_NAME, DRIVE_VIEW, DetailViewBuilder, DocumentsTabConfig, EMPTY_VALUE_PLACEHOLDER, ESTIMATED_COUNT_CAP, EmailsTabConfig, FORM_FORBIDDEN_ATTRIBUTE_TYPES, FlagRegistry, FlagService, FormBuilder, FormRegistry, FormRowBuilder, FormStepBuilder, GroupBuilder, IDENTITY_PROPERTIES, LIVE_EVENT_TYPES, ListViewBuilder, ListViewTabConfigBuilder, MAX_PRESET_DEPTH, MAX_TODOS, MAX_TODO_DESCRIPTION_CHARS, MAX_TODO_ID_CHARS, MAX_TODO_RESULT_CHARS, MEMORY_LIST_VIEW, MEMORY_OBJECT, MEMORY_VIEW, MeetingsTabConfig, NATIVE_AGENT_UI_PART_IDS_METADATA_KEY, NATIVE_AGENT_UI_PART_IDS_METADATA_SCHEMA_VERSION, NOTIFICATION_INBOX_STATES, NOTIFICATION_KINDS, NOTIFICATION_PRIORITIES, NOTIFICATION_SENSITIVITIES, NOTIFICATION_TYPES_V1, NOTIFICATION_TYPE_AGENT_QUESTION_REQUESTED, NOTIFICATION_TYPE_AGENT_SESSION_WAITING_HUMAN, NOTIFICATION_TYPE_AGENT_TASK_ASSIGNED, NOTIFICATION_WORK_STATES, NoopGeocodingAdapter, OBJECT_NAME_SCHEMA, OPEN_TOOL_PART_STATES, OPERATION_REGISTRY, OPERATOR_SPECS, ObjectBuilder, PRESENTATION_PROPERTIES, QUALIFIED_SEPARATOR, RECORD_CREATOR_ROOT_ACTOR_METADATA_KEY, RELATION_TARGET_ANY, RichtextTabConfig, SCHEMA_PLAN_LIMITS, SESSION_TERMINAL_STATUSES, SKILL_LIST_VIEW, SKILL_OBJECT, SKILL_VIEW, STANDARD_SCHEMA_VENDOR, SYSTEM_RESOURCES, SYSTEM_RESOURCE_LABELS, TODAY_DEFAULT, TODO_PLAN_STATUSES, TODO_STATUSES, TOOL_APPROVAL_STATES, TabBuilder, TableTabConfig, UPDATE_TABLE_TAB_CHANGE_KEYS, UPDATE_TAB_CHANGE_KEYS, UPDATE_TAB_CONFIG_CHANGE_KEYS, USER_STATUSES, USER_WORK_POSTURES, accessLevelToActions, actionsToAccessLevel, agent, agentDataChunk, agentDisplayName, agentMessageAttachmentSchema, agentMessagePartSchema, agentSessionMessageSchema, agentUIValidationError, applyOperations, applyPipes, applyRelationProps, assertAcyclicComputedDependencies, assertCustomAgentUIMessageChunk, booleanFlag, buildAgentFallbackTitle, buildPermissionFlags, buildPropertySchema, buildQualifiedAttribute, checkbox, compareAgentSessionMessages, compileComputedFormula, compileRollupAttribute, computeByteMagnitude, conversationDisplayTitle, createFlagRegistry, createFlagService, createStandardSchemaProps, currency, customDataChunkSchemas, date, dateInTimezone, dateValueStart, defineOperation, definePresentation, deriveArchitectChanges, deriveInitials, describeAttributeConfig, describeOperationInput, describeOperations, destructiveSchema, detailView, document, durableDateSchema, ensureFieldIds, episodeImpactOf, evaluateComputedAst, evaluateComputedFormula, evaluateComputedFormulaWithResult, evaluateFilterState, evaluateRecordFilterState, extractAttributeNames, extractValueRefs, flagRegistry, focusOf, form, formFieldFlatKey, formFieldKey, formRegistry, formatAttributeValue, formatByteSize, formatComputedResult, formatLocationValue, formula, fromDraftableView, generateDefaultDetailView, generateDefaultListView, getActiveTab, getErrorMessage, getLiveProtocolPayloadChannel, getRecordCreatorPrincipalId, getSlotFieldTargets, getUserDisplayName, group, hasDestructiveEntries, hasOptions, includesAction, inferInverseCardinality, inferRollupReturnType, isAgentUIDataName, isAgentUIMessageBatch, isAttributeSortable2 as isAttributeSortable, isBilateralRelation, isCheckboxEquality, isClaimableSessionStatus, isComputedFunctionName, isDateRangeValue, isDefaultRole, isDetailView, isDocumentAttribute, isEmptyObject, isFieldGroup, isFormDefinition, isFormFieldsRow, isFormFreeFieldRef, isFormHeadingRow, isFormSeparatorRow, isFormSlotFieldRef, isFormTextRow, isLabelExpression, isListView, isLiveEventEnvelope, isLiveEventPayload, isLiveEventPayloadForType, isLiveEventType, isNotEmpty, isOpenToolPartState, isPlainRecord2 as isPlainRecord, isStandardSchema, isTerminalSessionStatus, isTerminalState, isToolApprovalState, isUniversalRelation, jsonFlag, legacyStatusToSessionState, listDescribableNames, listView, liveChannelKey, location, makeFieldId, matchesAccepts, mentionReferenceSchema, modelDefinitionSchema, multiselect, nativeAgentUIPartIdMetadataKey, normalizeDateValue, number, numberFlag, object, orderAgentSessionMessages, parseCountMode, parseLiveChannelKey, parseNativeAgentUIPartIdsMetadata, parseOperation, parseOptionalCountMode, parseQualifiedAttribute, persistedDefaultViewTargetSchema, persistedSchemaPlanSchema, phone, plannedAttributeSchema, plannedInlineAttributeSchema, plannedObjectSchema, presentationOf, proposedDefaultViewTargetSchema, qualifiedPropertyDefs, readFormFieldValue, registry, relation, relationPropertyDefs, renderLabelExpression, resetViewToDefault, resolveAttributeDefaultValue, resolveFieldRequired, resolvePropertyDefinitions, richtext, rollup, rollupToFormulaExpression, schemaPlanSchema, select, sessionStateToLegacyStatus, status, stringFlag, text, toDraftableAttributes, toDraftableObject, toDraftableView, toUndefinedIfEmpty, todoItemSchema, todoPlanSchema, toolImpactSchema, user, validateAttributeName, validateLabelExpression, validateObjectName, validateViewName, viewRegistry, viewStateKey, viewSyncPayload };
package/dist/utils.js CHANGED
@@ -1,31 +1,31 @@
1
1
  'use strict';
2
2
 
3
- var chunkK6ET4CXP_js = require('./chunk-K6ET4CXP.js');
4
- require('./chunk-V26R64A4.js');
3
+ var chunkZHB4VBCX_js = require('./chunk-ZHB4VBCX.js');
4
+ require('./chunk-3YCZ5H3H.js');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, "asTenantId", {
9
9
  enumerable: true,
10
- get: function () { return chunkK6ET4CXP_js.asTenantId; }
10
+ get: function () { return chunkZHB4VBCX_js.asTenantId; }
11
11
  });
12
12
  Object.defineProperty(exports, "asUserId", {
13
13
  enumerable: true,
14
- get: function () { return chunkK6ET4CXP_js.asUserId; }
14
+ get: function () { return chunkZHB4VBCX_js.asUserId; }
15
15
  });
16
16
  Object.defineProperty(exports, "canonicalStringify", {
17
17
  enumerable: true,
18
- get: function () { return chunkK6ET4CXP_js.canonicalStringify; }
18
+ get: function () { return chunkZHB4VBCX_js.canonicalStringify; }
19
19
  });
20
20
  Object.defineProperty(exports, "deepEqual", {
21
21
  enumerable: true,
22
- get: function () { return chunkK6ET4CXP_js.deepEqual; }
22
+ get: function () { return chunkZHB4VBCX_js.deepEqual; }
23
23
  });
24
24
  Object.defineProperty(exports, "generateId", {
25
25
  enumerable: true,
26
- get: function () { return chunkK6ET4CXP_js.generateId; }
26
+ get: function () { return chunkZHB4VBCX_js.generateId; }
27
27
  });
28
28
  Object.defineProperty(exports, "indexBy", {
29
29
  enumerable: true,
30
- get: function () { return chunkK6ET4CXP_js.indexBy; }
30
+ get: function () { return chunkZHB4VBCX_js.indexBy; }
31
31
  });
package/dist/utils.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export { asTenantId, asUserId, canonicalStringify, deepEqual, generateId, indexBy } from './chunk-R57T4UDX.mjs';
2
- import './chunk-RUO25ERR.mjs';
1
+ export { asTenantId, asUserId, canonicalStringify, deepEqual, generateId, indexBy } from './chunk-JSQCTLV5.mjs';
2
+ import './chunk-7WEOBXXA.mjs';
@@ -1,7 +1,7 @@
1
1
  export { V as ValidationMessages } from '../types-CVYiFc69.mjs';
2
2
  export { DEFAULT_VALIDATION_MESSAGES, formatZodErrors } from './core/index.mjs';
3
- export { ab as multiselectOptionWriteSchema, ac as parseAttributeConfig, ad as parseAttributeConfigForCreate, ae as parseAttributeConfigForUpdate, af as selectOptionWriteSchema, ag as statusGroupSchema, ah as statusOptionWriteSchema } from '../index-Ca-MzQuU.mjs';
4
- export { S as SCHEMA_LIMITS, c as colorIdSchema, e as detailTabSchema, f as detailViewConfigSchema, m as iconNameSchema, n as inverseSourceSchema, o as listViewConfigSchema, p as listViewTabSchema, q as parseViewConfig, r as relationSourceSchema, t as tableSourceSchema, v as viewConfigByTypeSchema } from '../all-bG_ha0VV.mjs';
3
+ export { ab as multiselectOptionWriteSchema, ac as parseAttributeConfig, ad as parseAttributeConfigForCreate, ae as parseAttributeConfigForUpdate, af as selectOptionWriteSchema, ag as statusGroupSchema, ah as statusOptionWriteSchema } from '../index-Eh1tYq3i.mjs';
4
+ export { S as SCHEMA_LIMITS, c as colorIdSchema, e as detailTabSchema, f as detailViewConfigSchema, m as iconNameSchema, n as inverseSourceSchema, o as listViewConfigSchema, p as listViewTabSchema, q as parseViewConfig, r as relationSourceSchema, t as tableSourceSchema, v as viewConfigByTypeSchema } from '../all-DaucFjyz.mjs';
5
5
  export { a as createFormAttributeValidator, r as rejectUnknownAttributesOrThrow, b as validateDraft, d as validateDraftOrThrow, e as validateObject, f as validateObjectOrThrow } from '../helpers-Dul_r9rJ.mjs';
6
6
  import '../attributes-CWPLbp7c.mjs';
7
7
  import '@stndrds/constants';
@@ -1,7 +1,7 @@
1
1
  export { V as ValidationMessages } from '../types-NGEww_ln.js';
2
2
  export { DEFAULT_VALIDATION_MESSAGES, formatZodErrors } from './core/index.js';
3
- export { ab as multiselectOptionWriteSchema, ac as parseAttributeConfig, ad as parseAttributeConfigForCreate, ae as parseAttributeConfigForUpdate, af as selectOptionWriteSchema, ag as statusGroupSchema, ah as statusOptionWriteSchema } from '../index-Ns6KGfrZ.js';
4
- export { S as SCHEMA_LIMITS, c as colorIdSchema, e as detailTabSchema, f as detailViewConfigSchema, m as iconNameSchema, n as inverseSourceSchema, o as listViewConfigSchema, p as listViewTabSchema, q as parseViewConfig, r as relationSourceSchema, t as tableSourceSchema, v as viewConfigByTypeSchema } from '../all-DanoPxKr.js';
3
+ export { ab as multiselectOptionWriteSchema, ac as parseAttributeConfig, ad as parseAttributeConfigForCreate, ae as parseAttributeConfigForUpdate, af as selectOptionWriteSchema, ag as statusGroupSchema, ah as statusOptionWriteSchema } from '../index-0VG9u1XW.js';
4
+ export { S as SCHEMA_LIMITS, c as colorIdSchema, e as detailTabSchema, f as detailViewConfigSchema, m as iconNameSchema, n as inverseSourceSchema, o as listViewConfigSchema, p as listViewTabSchema, q as parseViewConfig, r as relationSourceSchema, t as tableSourceSchema, v as viewConfigByTypeSchema } from '../all-FGIrc6mI.js';
5
5
  export { a as createFormAttributeValidator, r as rejectUnknownAttributesOrThrow, b as validateDraft, d as validateDraftOrThrow, e as validateObject, f as validateObjectOrThrow } from '../helpers-CXkVwpsl.js';
6
6
  import '../attributes-CNYwg_Nr.js';
7
7
  import '@stndrds/constants';
@@ -1,19 +1,19 @@
1
1
  'use strict';
2
2
 
3
- var chunkYZ5RCMIQ_js = require('../chunk-YZ5RCMIQ.js');
4
- var chunkI3EYILYO_js = require('../chunk-I3EYILYO.js');
3
+ var chunkK7XGY34S_js = require('../chunk-K7XGY34S.js');
4
+ var chunkRDYTVHNN_js = require('../chunk-RDYTVHNN.js');
5
5
  require('../chunk-EEH4XQ7W.js');
6
6
  require('../chunk-EW5XR2X3.js');
7
7
  require('../chunk-QWKLQRBX.js');
8
8
  require('../chunk-KNGWHQLR.js');
9
9
  require('../chunk-HTSTPTNZ.js');
10
10
  require('../chunk-V2UA2D4E.js');
11
- var chunkBOICAZHR_js = require('../chunk-BOICAZHR.js');
11
+ var chunk5JMQNH2A_js = require('../chunk-5JMQNH2A.js');
12
12
  require('../chunk-5WATIVCA.js');
13
13
  require('../chunk-SI34M4IC.js');
14
14
  require('../chunk-YIP5FJ5H.js');
15
15
  require('../chunk-ZPFOKBIN.js');
16
- require('../chunk-V26R64A4.js');
16
+ require('../chunk-3YCZ5H3H.js');
17
17
  require('../chunk-ACKMC6FL.js');
18
18
  require('../chunk-E6JUYGJX.js');
19
19
  require('../chunk-Q4SZAMJT.js');
@@ -23,103 +23,103 @@ var chunkYKWSHBT5_js = require('../chunk-YKWSHBT5.js');
23
23
 
24
24
  Object.defineProperty(exports, "detailTabSchema", {
25
25
  enumerable: true,
26
- get: function () { return chunkYZ5RCMIQ_js.detailTabSchema; }
26
+ get: function () { return chunkK7XGY34S_js.detailTabSchema; }
27
27
  });
28
28
  Object.defineProperty(exports, "detailViewConfigSchema", {
29
29
  enumerable: true,
30
- get: function () { return chunkYZ5RCMIQ_js.detailViewConfigSchema; }
30
+ get: function () { return chunkK7XGY34S_js.detailViewConfigSchema; }
31
31
  });
32
32
  Object.defineProperty(exports, "inverseSourceSchema", {
33
33
  enumerable: true,
34
- get: function () { return chunkYZ5RCMIQ_js.inverseSourceSchema; }
34
+ get: function () { return chunkK7XGY34S_js.inverseSourceSchema; }
35
35
  });
36
36
  Object.defineProperty(exports, "listViewConfigSchema", {
37
37
  enumerable: true,
38
- get: function () { return chunkYZ5RCMIQ_js.listViewConfigSchema; }
38
+ get: function () { return chunkK7XGY34S_js.listViewConfigSchema; }
39
39
  });
40
40
  Object.defineProperty(exports, "listViewTabSchema", {
41
41
  enumerable: true,
42
- get: function () { return chunkYZ5RCMIQ_js.listViewTabSchema; }
42
+ get: function () { return chunkK7XGY34S_js.listViewTabSchema; }
43
43
  });
44
44
  Object.defineProperty(exports, "parseViewConfig", {
45
45
  enumerable: true,
46
- get: function () { return chunkYZ5RCMIQ_js.parseViewConfig; }
46
+ get: function () { return chunkK7XGY34S_js.parseViewConfig; }
47
47
  });
48
48
  Object.defineProperty(exports, "relationSourceSchema", {
49
49
  enumerable: true,
50
- get: function () { return chunkYZ5RCMIQ_js.relationSourceSchema; }
50
+ get: function () { return chunkK7XGY34S_js.relationSourceSchema; }
51
51
  });
52
52
  Object.defineProperty(exports, "tableSourceSchema", {
53
53
  enumerable: true,
54
- get: function () { return chunkYZ5RCMIQ_js.tableSourceSchema; }
54
+ get: function () { return chunkK7XGY34S_js.tableSourceSchema; }
55
55
  });
56
56
  Object.defineProperty(exports, "viewConfigByTypeSchema", {
57
57
  enumerable: true,
58
- get: function () { return chunkYZ5RCMIQ_js.viewConfigByTypeSchema; }
58
+ get: function () { return chunkK7XGY34S_js.viewConfigByTypeSchema; }
59
59
  });
60
60
  Object.defineProperty(exports, "createFormAttributeValidator", {
61
61
  enumerable: true,
62
- get: function () { return chunkI3EYILYO_js.createFormAttributeValidator; }
62
+ get: function () { return chunkRDYTVHNN_js.createFormAttributeValidator; }
63
63
  });
64
64
  Object.defineProperty(exports, "rejectUnknownAttributesOrThrow", {
65
65
  enumerable: true,
66
- get: function () { return chunkI3EYILYO_js.rejectUnknownAttributesOrThrow; }
66
+ get: function () { return chunkRDYTVHNN_js.rejectUnknownAttributesOrThrow; }
67
67
  });
68
68
  Object.defineProperty(exports, "validateDraft", {
69
69
  enumerable: true,
70
- get: function () { return chunkI3EYILYO_js.validateDraft; }
70
+ get: function () { return chunkRDYTVHNN_js.validateDraft; }
71
71
  });
72
72
  Object.defineProperty(exports, "validateDraftOrThrow", {
73
73
  enumerable: true,
74
- get: function () { return chunkI3EYILYO_js.validateDraftOrThrow; }
74
+ get: function () { return chunkRDYTVHNN_js.validateDraftOrThrow; }
75
75
  });
76
76
  Object.defineProperty(exports, "validateObject", {
77
77
  enumerable: true,
78
- get: function () { return chunkI3EYILYO_js.validateObject; }
78
+ get: function () { return chunkRDYTVHNN_js.validateObject; }
79
79
  });
80
80
  Object.defineProperty(exports, "validateObjectOrThrow", {
81
81
  enumerable: true,
82
- get: function () { return chunkI3EYILYO_js.validateObjectOrThrow; }
82
+ get: function () { return chunkRDYTVHNN_js.validateObjectOrThrow; }
83
83
  });
84
84
  Object.defineProperty(exports, "SCHEMA_LIMITS", {
85
85
  enumerable: true,
86
- get: function () { return chunkBOICAZHR_js.SCHEMA_LIMITS; }
86
+ get: function () { return chunk5JMQNH2A_js.SCHEMA_LIMITS; }
87
87
  });
88
88
  Object.defineProperty(exports, "colorIdSchema", {
89
89
  enumerable: true,
90
- get: function () { return chunkBOICAZHR_js.colorIdSchema; }
90
+ get: function () { return chunk5JMQNH2A_js.colorIdSchema; }
91
91
  });
92
92
  Object.defineProperty(exports, "iconNameSchema", {
93
93
  enumerable: true,
94
- get: function () { return chunkBOICAZHR_js.iconNameSchema; }
94
+ get: function () { return chunk5JMQNH2A_js.iconNameSchema; }
95
95
  });
96
96
  Object.defineProperty(exports, "multiselectOptionWriteSchema", {
97
97
  enumerable: true,
98
- get: function () { return chunkBOICAZHR_js.multiselectOptionWriteSchema; }
98
+ get: function () { return chunk5JMQNH2A_js.multiselectOptionWriteSchema; }
99
99
  });
100
100
  Object.defineProperty(exports, "parseAttributeConfig", {
101
101
  enumerable: true,
102
- get: function () { return chunkBOICAZHR_js.parseAttributeConfig; }
102
+ get: function () { return chunk5JMQNH2A_js.parseAttributeConfig; }
103
103
  });
104
104
  Object.defineProperty(exports, "parseAttributeConfigForCreate", {
105
105
  enumerable: true,
106
- get: function () { return chunkBOICAZHR_js.parseAttributeConfigForCreate; }
106
+ get: function () { return chunk5JMQNH2A_js.parseAttributeConfigForCreate; }
107
107
  });
108
108
  Object.defineProperty(exports, "parseAttributeConfigForUpdate", {
109
109
  enumerable: true,
110
- get: function () { return chunkBOICAZHR_js.parseAttributeConfigForUpdate; }
110
+ get: function () { return chunk5JMQNH2A_js.parseAttributeConfigForUpdate; }
111
111
  });
112
112
  Object.defineProperty(exports, "selectOptionWriteSchema", {
113
113
  enumerable: true,
114
- get: function () { return chunkBOICAZHR_js.selectOptionWriteSchema; }
114
+ get: function () { return chunk5JMQNH2A_js.selectOptionWriteSchema; }
115
115
  });
116
116
  Object.defineProperty(exports, "statusGroupSchema", {
117
117
  enumerable: true,
118
- get: function () { return chunkBOICAZHR_js.statusGroupSchema; }
118
+ get: function () { return chunk5JMQNH2A_js.statusGroupSchema; }
119
119
  });
120
120
  Object.defineProperty(exports, "statusOptionWriteSchema", {
121
121
  enumerable: true,
122
- get: function () { return chunkBOICAZHR_js.statusOptionWriteSchema; }
122
+ get: function () { return chunk5JMQNH2A_js.statusOptionWriteSchema; }
123
123
  });
124
124
  Object.defineProperty(exports, "DEFAULT_VALIDATION_MESSAGES", {
125
125
  enumerable: true,
@@ -1,17 +1,17 @@
1
- export { detailTabSchema, detailViewConfigSchema, inverseSourceSchema, listViewConfigSchema, listViewTabSchema, parseViewConfig, relationSourceSchema, tableSourceSchema, viewConfigByTypeSchema } from '../chunk-AGRAFDGU.mjs';
2
- export { createFormAttributeValidator, rejectUnknownAttributesOrThrow, validateDraft, validateDraftOrThrow, validateObject, validateObjectOrThrow } from '../chunk-PNOWKRH2.mjs';
1
+ export { detailTabSchema, detailViewConfigSchema, inverseSourceSchema, listViewConfigSchema, listViewTabSchema, parseViewConfig, relationSourceSchema, tableSourceSchema, viewConfigByTypeSchema } from '../chunk-RMJ75YLQ.mjs';
2
+ export { createFormAttributeValidator, rejectUnknownAttributesOrThrow, validateDraft, validateDraftOrThrow, validateObject, validateObjectOrThrow } from '../chunk-KLDZHAGX.mjs';
3
3
  import '../chunk-GO6LQADH.mjs';
4
4
  import '../chunk-QVLQPW3O.mjs';
5
5
  import '../chunk-ZDQ5AP26.mjs';
6
6
  import '../chunk-LV3FEUKU.mjs';
7
7
  import '../chunk-UXAHLSWC.mjs';
8
8
  import '../chunk-NS63SPNN.mjs';
9
- export { SCHEMA_LIMITS, colorIdSchema, iconNameSchema, multiselectOptionWriteSchema, parseAttributeConfig, parseAttributeConfigForCreate, parseAttributeConfigForUpdate, selectOptionWriteSchema, statusGroupSchema, statusOptionWriteSchema } from '../chunk-5OBQRDRM.mjs';
9
+ export { SCHEMA_LIMITS, colorIdSchema, iconNameSchema, multiselectOptionWriteSchema, parseAttributeConfig, parseAttributeConfigForCreate, parseAttributeConfigForUpdate, selectOptionWriteSchema, statusGroupSchema, statusOptionWriteSchema } from '../chunk-UW3BOSB6.mjs';
10
10
  import '../chunk-OSSGN43B.mjs';
11
11
  import '../chunk-Q44QKLN4.mjs';
12
12
  import '../chunk-UANQJ2GH.mjs';
13
13
  import '../chunk-O73ROMWQ.mjs';
14
- import '../chunk-RUO25ERR.mjs';
14
+ import '../chunk-7WEOBXXA.mjs';
15
15
  import '../chunk-AYVHMVKQ.mjs';
16
16
  import '../chunk-YUFTHPOE.mjs';
17
17
  import '../chunk-R5LAJCBU.mjs';
@@ -1,4 +1,4 @@
1
- export { ai as attributeConfigSchemas, aj as getAttributeConfigSchema, ak as getAttributeConfigWriteSchema, ab as multiselectOptionWriteSchema, ac as parseAttributeConfig, ad as parseAttributeConfigForCreate, ae as parseAttributeConfigForUpdate, af as selectOptionWriteSchema, ag as statusGroupSchema, ah as statusOptionWriteSchema } from '../../index-Ca-MzQuU.mjs';
1
+ export { ai as attributeConfigSchemas, aj as getAttributeConfigSchema, ak as getAttributeConfigWriteSchema, ab as multiselectOptionWriteSchema, ac as parseAttributeConfig, ad as parseAttributeConfigForCreate, ae as parseAttributeConfigForUpdate, af as selectOptionWriteSchema, ag as statusGroupSchema, ah as statusOptionWriteSchema } from '../../index-Eh1tYq3i.mjs';
2
2
  import 'zod';
3
3
  import '../../attributes-CWPLbp7c.mjs';
4
4
  import '@stndrds/constants';
@@ -1,4 +1,4 @@
1
- export { ai as attributeConfigSchemas, aj as getAttributeConfigSchema, ak as getAttributeConfigWriteSchema, ab as multiselectOptionWriteSchema, ac as parseAttributeConfig, ad as parseAttributeConfigForCreate, ae as parseAttributeConfigForUpdate, af as selectOptionWriteSchema, ag as statusGroupSchema, ah as statusOptionWriteSchema } from '../../index-Ns6KGfrZ.js';
1
+ export { ai as attributeConfigSchemas, aj as getAttributeConfigSchema, ak as getAttributeConfigWriteSchema, ab as multiselectOptionWriteSchema, ac as parseAttributeConfig, ad as parseAttributeConfigForCreate, ae as parseAttributeConfigForUpdate, af as selectOptionWriteSchema, ag as statusGroupSchema, ah as statusOptionWriteSchema } from '../../index-0VG9u1XW.js';
2
2
  import 'zod';
3
3
  import '../../attributes-CNYwg_Nr.js';
4
4
  import '@stndrds/constants';
@@ -1,52 +1,52 @@
1
1
  'use strict';
2
2
 
3
- var chunkBOICAZHR_js = require('../../chunk-BOICAZHR.js');
3
+ var chunk5JMQNH2A_js = require('../../chunk-5JMQNH2A.js');
4
4
  require('../../chunk-5WATIVCA.js');
5
5
  require('../../chunk-SI34M4IC.js');
6
6
  require('../../chunk-YIP5FJ5H.js');
7
7
  require('../../chunk-ZPFOKBIN.js');
8
- require('../../chunk-V26R64A4.js');
8
+ require('../../chunk-3YCZ5H3H.js');
9
9
  require('../../chunk-YKWSHBT5.js');
10
10
 
11
11
 
12
12
 
13
13
  Object.defineProperty(exports, "attributeConfigSchemas", {
14
14
  enumerable: true,
15
- get: function () { return chunkBOICAZHR_js.attributeConfigSchemas; }
15
+ get: function () { return chunk5JMQNH2A_js.attributeConfigSchemas; }
16
16
  });
17
17
  Object.defineProperty(exports, "getAttributeConfigSchema", {
18
18
  enumerable: true,
19
- get: function () { return chunkBOICAZHR_js.getAttributeConfigSchema; }
19
+ get: function () { return chunk5JMQNH2A_js.getAttributeConfigSchema; }
20
20
  });
21
21
  Object.defineProperty(exports, "getAttributeConfigWriteSchema", {
22
22
  enumerable: true,
23
- get: function () { return chunkBOICAZHR_js.getAttributeConfigWriteSchema; }
23
+ get: function () { return chunk5JMQNH2A_js.getAttributeConfigWriteSchema; }
24
24
  });
25
25
  Object.defineProperty(exports, "multiselectOptionWriteSchema", {
26
26
  enumerable: true,
27
- get: function () { return chunkBOICAZHR_js.multiselectOptionWriteSchema; }
27
+ get: function () { return chunk5JMQNH2A_js.multiselectOptionWriteSchema; }
28
28
  });
29
29
  Object.defineProperty(exports, "parseAttributeConfig", {
30
30
  enumerable: true,
31
- get: function () { return chunkBOICAZHR_js.parseAttributeConfig; }
31
+ get: function () { return chunk5JMQNH2A_js.parseAttributeConfig; }
32
32
  });
33
33
  Object.defineProperty(exports, "parseAttributeConfigForCreate", {
34
34
  enumerable: true,
35
- get: function () { return chunkBOICAZHR_js.parseAttributeConfigForCreate; }
35
+ get: function () { return chunk5JMQNH2A_js.parseAttributeConfigForCreate; }
36
36
  });
37
37
  Object.defineProperty(exports, "parseAttributeConfigForUpdate", {
38
38
  enumerable: true,
39
- get: function () { return chunkBOICAZHR_js.parseAttributeConfigForUpdate; }
39
+ get: function () { return chunk5JMQNH2A_js.parseAttributeConfigForUpdate; }
40
40
  });
41
41
  Object.defineProperty(exports, "selectOptionWriteSchema", {
42
42
  enumerable: true,
43
- get: function () { return chunkBOICAZHR_js.selectOptionWriteSchema; }
43
+ get: function () { return chunk5JMQNH2A_js.selectOptionWriteSchema; }
44
44
  });
45
45
  Object.defineProperty(exports, "statusGroupSchema", {
46
46
  enumerable: true,
47
- get: function () { return chunkBOICAZHR_js.statusGroupSchema; }
47
+ get: function () { return chunk5JMQNH2A_js.statusGroupSchema; }
48
48
  });
49
49
  Object.defineProperty(exports, "statusOptionWriteSchema", {
50
50
  enumerable: true,
51
- get: function () { return chunkBOICAZHR_js.statusOptionWriteSchema; }
51
+ get: function () { return chunk5JMQNH2A_js.statusOptionWriteSchema; }
52
52
  });
@@ -1,7 +1,7 @@
1
- export { attributeConfigSchemas, getAttributeConfigSchema, getAttributeConfigWriteSchema, multiselectOptionWriteSchema, parseAttributeConfig, parseAttributeConfigForCreate, parseAttributeConfigForUpdate, selectOptionWriteSchema, statusGroupSchema, statusOptionWriteSchema } from '../../chunk-5OBQRDRM.mjs';
1
+ export { attributeConfigSchemas, getAttributeConfigSchema, getAttributeConfigWriteSchema, multiselectOptionWriteSchema, parseAttributeConfig, parseAttributeConfigForCreate, parseAttributeConfigForUpdate, selectOptionWriteSchema, statusGroupSchema, statusOptionWriteSchema } from '../../chunk-UW3BOSB6.mjs';
2
2
  import '../../chunk-OSSGN43B.mjs';
3
3
  import '../../chunk-Q44QKLN4.mjs';
4
4
  import '../../chunk-UANQJ2GH.mjs';
5
5
  import '../../chunk-O73ROMWQ.mjs';
6
- import '../../chunk-RUO25ERR.mjs';
6
+ import '../../chunk-7WEOBXXA.mjs';
7
7
  import '../../chunk-HRQEZUAA.mjs';