@xnetjs/data 2.1.0 → 2.3.0

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 (151) hide show
  1. package/dist/{account-ZD3HMRY6.js → account-LYZ3VDC4.js} +4 -4
  2. package/dist/{account-ledger-ZHBNVREV.js → account-ledger-7VF5SHTT.js} +2 -2
  3. package/dist/{agent-OFQJQMNB.js → agent-IJLOS2LA.js} +4 -4
  4. package/dist/auth/index.d.ts +4 -4
  5. package/dist/{budget-FTGZEXX6.js → budget-WXX7PAWQ.js} +4 -4
  6. package/dist/canvas-64KGRYXI.js +10 -0
  7. package/dist/channel-DXLP6PEJ.js +12 -0
  8. package/dist/chat-message-EZW77LY3.js +10 -0
  9. package/dist/{checkpoint-MZHJ7PCZ.js → checkpoint-SAKNGDI3.js} +4 -4
  10. package/dist/{chunk-4S73XDWH.js → chunk-27AF2RSY.js} +77 -4
  11. package/dist/{chunk-ZKMWJNDQ.js → chunk-2DAVPHDV.js} +1 -1
  12. package/dist/{chunk-KTPSQJ5L.js → chunk-2JROE7ML.js} +2 -2
  13. package/dist/{chunk-JWGS7JMA.js → chunk-2K6BLSNC.js} +2 -2
  14. package/dist/{chunk-LZX7O72B.js → chunk-32IVMT6Z.js} +193 -190
  15. package/dist/{chunk-IKGUBSZP.js → chunk-37PXEMYQ.js} +1 -1
  16. package/dist/{chunk-M4KGY2PC.js → chunk-3FWYS6AW.js} +2 -2
  17. package/dist/chunk-3UOUVEZW.js +122 -0
  18. package/dist/{chunk-EYRZ6ZUB.js → chunk-4HJZJMPI.js} +14 -1
  19. package/dist/{chunk-T45PWXNA.js → chunk-4SIMTLCC.js} +2 -2
  20. package/dist/{chunk-DESSPQBS.js → chunk-56EXPOJ4.js} +50 -9
  21. package/dist/{chunk-5UJMY3AH.js → chunk-57AT2DT2.js} +2 -2
  22. package/dist/{chunk-4KJ4NAMC.js → chunk-5ECIKN6Z.js} +1 -1
  23. package/dist/{chunk-MEAIGK3W.js → chunk-6AKAZHVZ.js} +1 -1
  24. package/dist/{chunk-UUQVNDBG.js → chunk-7MSSPUMC.js} +2 -2
  25. package/dist/{chunk-OF6455OV.js → chunk-AKKBG7HW.js} +2 -2
  26. package/dist/{chunk-FWCM2TKJ.js → chunk-CM57A2GS.js} +2 -2
  27. package/dist/{chunk-HPUXHSKR.js → chunk-CTQALHJM.js} +2 -2
  28. package/dist/{chunk-WC7EDJHC.js → chunk-CY6EJUNV.js} +1 -1
  29. package/dist/{chunk-JLUFPUIL.js → chunk-EA2PZ3EU.js} +2 -2
  30. package/dist/{chunk-NSMSOIEW.js → chunk-EUJR5QQC.js} +2 -2
  31. package/dist/{chunk-RXBLWQQI.js → chunk-EZJ3OD5A.js} +2 -2
  32. package/dist/{chunk-SOXXBQ4P.js → chunk-F6ICOU6R.js} +2 -2
  33. package/dist/{chunk-D4EVJN2P.js → chunk-FTKHARBY.js} +2 -2
  34. package/dist/{chunk-LK5ZIAIE.js → chunk-GSLOK5KV.js} +8 -1
  35. package/dist/{chunk-EZTBWWMS.js → chunk-HSCGVBQN.js} +2 -2
  36. package/dist/{chunk-Z5I2T75Z.js → chunk-HXIEK5L6.js} +6 -2
  37. package/dist/{chunk-I7JMGCV6.js → chunk-ICBC5VLZ.js} +2 -2
  38. package/dist/{chunk-C4CQH7UD.js → chunk-IJZ5YPYT.js} +1 -1
  39. package/dist/{chunk-WWQO7QKV.js → chunk-IKREWSCX.js} +2 -2
  40. package/dist/{chunk-XQDXQ7WG.js → chunk-IVCHWQY7.js} +2 -2
  41. package/dist/{chunk-ZKJXGQCR.js → chunk-JB6BPIVP.js} +2 -2
  42. package/dist/{chunk-3PV6QTKF.js → chunk-JUTPAFDP.js} +1 -1
  43. package/dist/{chunk-HTZTBXKL.js → chunk-KHLOVRMQ.js} +2 -2
  44. package/dist/{chunk-IKI5FBNO.js → chunk-L6DF76E2.js} +2 -2
  45. package/dist/{chunk-7PCMTV6J.js → chunk-LDKJDNSW.js} +1 -1
  46. package/dist/{chunk-22FKOLMX.js → chunk-M6STMJ2V.js} +2 -2
  47. package/dist/{chunk-RRXJNZX5.js → chunk-NH6OLO3X.js} +46 -0
  48. package/dist/{chunk-26HTTVJN.js → chunk-O34JPX6Q.js} +2 -2
  49. package/dist/{chunk-YD2ZPFT7.js → chunk-PKLHOQSO.js} +2 -2
  50. package/dist/{chunk-DPJ4T2LQ.js → chunk-QH7RZEHT.js} +2 -2
  51. package/dist/{chunk-S6JWYPVW.js → chunk-QOTR4SGT.js} +2 -2
  52. package/dist/{chunk-52DR23IW.js → chunk-QVGTYLL3.js} +2 -2
  53. package/dist/{chunk-IA23CLGV.js → chunk-R2AZXT3D.js} +2 -2
  54. package/dist/{chunk-YSD4NSCE.js → chunk-RAJNAD64.js} +2 -2
  55. package/dist/{chunk-JA56EQJO.js → chunk-RLRAWZJE.js} +1 -1
  56. package/dist/{chunk-ZKVRGKLM.js → chunk-RRIRY7FP.js} +3 -3
  57. package/dist/{chunk-GCTONBF6.js → chunk-TH2BJPDZ.js} +1 -1
  58. package/dist/{chunk-6ZUJID52.js → chunk-TOQ2LBAN.js} +2 -2
  59. package/dist/{chunk-TRPXLCND.js → chunk-UFV5QWCL.js} +21 -3
  60. package/dist/{chunk-QDLWTOII.js → chunk-WOBZDEKQ.js} +2 -2
  61. package/dist/{chunk-S5RP5RKY.js → chunk-WOEFYS7Y.js} +16 -1
  62. package/dist/{chunk-W3QOEPUN.js → chunk-WQRBUG65.js} +1 -1
  63. package/dist/{chunk-57UZYV3L.js → chunk-XFOUIAJF.js} +1 -1
  64. package/dist/{chunk-OIWW5TG3.js → chunk-XP3VSSXD.js} +2 -2
  65. package/dist/{chunk-YHO7GNZK.js → chunk-Y2XWK7AA.js} +2 -2
  66. package/dist/{chunk-Q6VTTPG4.js → chunk-YFLL3CME.js} +1 -1
  67. package/dist/{chunk-EN6XTVLZ.js → chunk-YRFCXKJC.js} +2 -2
  68. package/dist/{chunk-DP4Q2HMO.js → chunk-ZEMCCIIO.js} +2 -2
  69. package/dist/{chunk-XJBDESCX.js → chunk-ZNHLH7SC.js} +1 -1
  70. package/dist/{clone-DNcpkYAA.d.ts → clone-rOJgldM-.d.ts} +3 -3
  71. package/dist/comment-2AS6EGH3.js +10 -0
  72. package/dist/{crm-AFJSSPHK.js → crm-VIJIXKFO.js} +4 -4
  73. package/dist/dashboard-BDKJKEGQ.js +10 -0
  74. package/dist/database/index.d.ts +5 -5
  75. package/dist/database/index.js +12 -10
  76. package/dist/database-VJSYCFXH.js +10 -0
  77. package/dist/database-field-JTTDAN4A.js +10 -0
  78. package/dist/database-row-NFINK37Z.js +10 -0
  79. package/dist/database-select-option-TYDAHMXK.js +10 -0
  80. package/dist/database-view-3OHCI5YK.js +10 -0
  81. package/dist/debug-report-JFSUVHHJ.js +10 -0
  82. package/dist/{draft-KGHITKX2.js → draft-T5KDLPC4.js} +2 -2
  83. package/dist/experiment-ZEUCF3B7.js +10 -0
  84. package/dist/{external-item-ZVD33IXV.js → external-item-K7MZNXKZ.js} +4 -4
  85. package/dist/{external-reference-LGFNVEKC.js → external-reference-NWFUYRF3.js} +2 -2
  86. package/dist/feed-WR4A7XUF.js +12 -0
  87. package/dist/{feed-item-QXRIE6FU.js → feed-item-S7XTCRWW.js} +4 -4
  88. package/dist/{folder-NU5TJFOT.js → folder-D4IL7UHP.js} +2 -2
  89. package/dist/{form-types-BlZvpDEE.d.ts → form-types-BrHYdpi0.d.ts} +19 -4
  90. package/dist/{game-7WW2JX6O.js → game-NEQP7OFX.js} +4 -4
  91. package/dist/{grant-W772T6FE.js → grant-LNTRVBUG.js} +2 -2
  92. package/dist/{grant-expiration-cleaner-1by9wRlb.d.ts → grant-expiration-cleaner-CRS9OyhV.d.ts} +2 -2
  93. package/dist/{import-batch-ZRU4FY6Y.js → import-batch-4AI3Q2HT.js} +4 -4
  94. package/dist/{inbox-state-IO5C7HVE.js → inbox-state-4XQSSHUQ.js} +2 -2
  95. package/dist/index.d.ts +8 -8
  96. package/dist/index.js +166 -150
  97. package/dist/map-TDNNBSMU.js +10 -0
  98. package/dist/{media-asset-VHFL65HI.js → media-asset-BQOGFRJZ.js} +2 -2
  99. package/dist/{meeting-PVNKBGTI.js → meeting-XQWTQK7J.js} +4 -4
  100. package/dist/{memory-5PD3XCKB.js → memory-PAPUIKWD.js} +2 -2
  101. package/dist/metric-ZZ3C6T2W.js +10 -0
  102. package/dist/{milestone-MZAZCWGR.js → milestone-HACU5NDB.js} +4 -4
  103. package/dist/{moderation-CXQB77CP.js → moderation-HRMMBFVH.js} +2 -2
  104. package/dist/observation-MVIQQNYJ.js +10 -0
  105. package/dist/page-RUS2BKMX.js +10 -0
  106. package/dist/{posting-5VZZMOKS.js → posting-ZQRTWYSE.js} +4 -4
  107. package/dist/{profile-USKJ6PN7.js → profile-5H6XWCK4.js} +2 -2
  108. package/dist/project-PBEJY4LU.js +10 -0
  109. package/dist/{query-ast-NV5StnHo.d.ts → query-ast-DQJO7yRV.d.ts} +1 -1
  110. package/dist/reaction-MRZHOGPW.js +10 -0
  111. package/dist/{registry-s1fYgCSj.d.ts → registry-C9IRLLeR.d.ts} +1 -1
  112. package/dist/saved-view-NQ7QS2YM.js +10 -0
  113. package/dist/schema/index.d.ts +362 -193
  114. package/dist/schema/index.js +87 -73
  115. package/dist/{schema-extension-DV5D7JCQ.js → schema-extension-3AYLTMFL.js} +4 -4
  116. package/dist/{space-THD2MWHR.js → space-GBTEHZOK.js} +5 -5
  117. package/dist/{space-membership-M3QFMONE.js → space-membership-PS2O5TEQ.js} +2 -2
  118. package/dist/store/index.d.ts +4 -4
  119. package/dist/store/index.js +6 -4
  120. package/dist/{store-BIDKtpjW.d.ts → store-BYkdPZRJ.d.ts} +9 -1
  121. package/dist/{system-LFIMY3QQ.js → system-X2F6HN3K.js} +2 -2
  122. package/dist/{tag-W7ZYPXHK.js → tag-LHP2J53R.js} +2 -2
  123. package/dist/{task-DHTPD66H.js → task-YLRF5NBH.js} +4 -4
  124. package/dist/task-view-YUGGCX7N.js +10 -0
  125. package/dist/{transaction-ANNDXCJM.js → transaction-XVDTENOA.js} +4 -4
  126. package/dist/{transcription-DFTQ4FQ4.js → transcription-H5COCUFG.js} +4 -4
  127. package/dist/{types-C64g-IXg.d.ts → types-gws1tSf-.d.ts} +2 -2
  128. package/dist/{user-widget-5IRVORF3.js → user-widget-Q4A2BKRN.js} +2 -2
  129. package/dist/{workspace-RC4V4IF3.js → workspace-CGRCQCJN.js} +2 -2
  130. package/package.json +7 -7
  131. package/dist/canvas-NQBTRNLS.js +0 -10
  132. package/dist/channel-474QAZGP.js +0 -12
  133. package/dist/chat-message-LGLCITLE.js +0 -10
  134. package/dist/comment-IAZJHG6G.js +0 -10
  135. package/dist/dashboard-2DLFZM2J.js +0 -10
  136. package/dist/database-5M7ZA33U.js +0 -10
  137. package/dist/database-field-IFUWOK7X.js +0 -10
  138. package/dist/database-row-C52KCOPB.js +0 -10
  139. package/dist/database-select-option-AEAPKXEE.js +0 -10
  140. package/dist/database-view-GUGJHS7J.js +0 -10
  141. package/dist/debug-report-BTNZAKX3.js +0 -10
  142. package/dist/experiment-JXHENWXV.js +0 -10
  143. package/dist/feed-CLEHVA6Q.js +0 -12
  144. package/dist/map-BZAVGCR6.js +0 -10
  145. package/dist/metric-6IGGFJMB.js +0 -10
  146. package/dist/observation-O3DLKVIH.js +0 -10
  147. package/dist/page-UE5NPYEF.js +0 -10
  148. package/dist/project-UHGGEFLP.js +0 -10
  149. package/dist/reaction-KD3G75UH.js +0 -10
  150. package/dist/saved-view-AZTUINZA.js +0 -10
  151. package/dist/task-view-J2WRE62C.js +0 -10
@@ -1,10 +1,10 @@
1
- import { P as PropertyBuilder, S as SchemaIRI, D as DefinedSchema, bi as DocumentType, z as DID, R as InferNode, V as ValidationResult, a as Schema, E as PropertyType, h as NodeState, w as NodeChangeEvent, H as ValidationError, X as LensOperation, W as SchemaLens } from '../types-C64g-IXg.js';
2
- export { J as CreateNodeOptions, bj as DEFAULT_SCHEMA_VERSION, I as InferCreateProps, Q as InferProperties, K as InferPropertyType, _ as LensRegistry, Z as MigrationError, Y as MigrationResult, y as Node, b as ParsedSchemaIRI, F as PropertyDefinition, bl as buildSchemaIRI, B as createNodeId, bn as getBaseSchemaIRI, bp as getSchemaVersion, A as isNode, bo as isSameSchema, $ as lensRegistry, bm as normalizeSchemaIRI, bk as parseSchemaIRI } from '../types-C64g-IXg.js';
1
+ import { P as PropertyBuilder, S as SchemaIRI, D as DefinedSchema, bd as DocumentType, z as DID, R as InferNode, V as ValidationResult, a as Schema, E as PropertyType, h as NodeState, w as NodeChangeEvent, H as ValidationError, X as LensOperation, W as SchemaLens } from '../types-gws1tSf-.js';
2
+ export { J as CreateNodeOptions, be as DEFAULT_SCHEMA_VERSION, I as InferCreateProps, Q as InferProperties, K as InferPropertyType, _ as LensRegistry, Z as MigrationError, Y as MigrationResult, y as Node, b as ParsedSchemaIRI, F as PropertyDefinition, bg as buildSchemaIRI, B as createNodeId, bi as getBaseSchemaIRI, bk as getSchemaVersion, A as isNode, bj as isSameSchema, $ as lensRegistry, bh as normalizeSchemaIRI, bf as parseSchemaIRI } from '../types-gws1tSf-.js';
3
3
  import { AuthorizationDefinition } from '@xnetjs/core';
4
- import { S as SavedViewDescriptor } from '../query-ast-NV5StnHo.js';
5
- import { a7 as FormSubmissionMeta, W as FilterGroup, Z as SortConfig, an as SummaryFunction, a4 as FormViewConfig, a5 as FormFieldRule } from '../form-types-BlZvpDEE.js';
6
- import { N as NodeStore } from '../store-BIDKtpjW.js';
7
- export { S as SchemaRegistry, s as schemaRegistry } from '../registry-s1fYgCSj.js';
4
+ import { S as SavedViewDescriptor } from '../query-ast-DQJO7yRV.js';
5
+ import { Y as FilterGroup, $ as SortConfig, ap as SummaryFunction, a6 as FormViewConfig, a7 as FormFieldRule, a9 as FormSubmissionMeta } from '../form-types-BrHYdpi0.js';
6
+ import { N as NodeStore } from '../store-BYkdPZRJ.js';
7
+ export { S as SchemaRegistry, s as schemaRegistry } from '../registry-C9IRLLeR.js';
8
8
  import '@xnetjs/crypto';
9
9
  import '@xnetjs/sqlite';
10
10
  import '@xnetjs/sync';
@@ -292,6 +292,42 @@ interface DateRangeOptions {
292
292
  */
293
293
  declare function dateRange(options?: DateRangeOptions): PropertyBuilder<DateRange>;
294
294
 
295
+ /**
296
+ * Geographic point property helper (exploration 0339, Map sub-decision B).
297
+ *
298
+ * A single first-class location value — `{ lat, lng }` in WGS84 decimal
299
+ * degrees — instead of the paired-number-columns convention. One field,
300
+ * one picker; the database Map view binds to it directly and
301
+ * right-click-to-create writes one cell.
302
+ */
303
+
304
+ /** A geographic point in WGS84 decimal degrees. */
305
+ interface GeoPoint {
306
+ /** Latitude in decimal degrees, -90..90 */
307
+ lat: number;
308
+ /** Longitude in decimal degrees, -180..180 */
309
+ lng: number;
310
+ }
311
+ interface GeoOptions {
312
+ required?: boolean;
313
+ }
314
+ /** Narrow an unknown value to a structurally-valid GeoPoint. */
315
+ declare function isGeoPoint(value: unknown): value is GeoPoint;
316
+ /**
317
+ * Define a geographic point property.
318
+ *
319
+ * @example
320
+ * ```typescript
321
+ * const schema = defineSchema({
322
+ * properties: {
323
+ * location: geo(),
324
+ * hq: geo({ required: true })
325
+ * }
326
+ * })
327
+ * ```
328
+ */
329
+ declare function geo(options?: GeoOptions): PropertyBuilder<GeoPoint>;
330
+
295
331
  /**
296
332
  * Select property helper with literal type inference.
297
333
  */
@@ -979,6 +1015,97 @@ declare function mentionsInclude(mentions: MessageMentions | undefined | null, d
979
1015
  /** Validate a mentions value structurally (used by hub-side relay checks). */
980
1016
  declare function isValidMentions(value: unknown): value is MessageMentions;
981
1017
 
1018
+ declare const MEETING_SCHEMA_IRI: "xnet://xnet.fyi/Meeting@1.0.0";
1019
+ declare const MEETING_TRANSCRIPT_SCHEMA_IRI: "xnet://xnet.fyi/MeetingTranscript@1.0.0";
1020
+ /**
1021
+ * Speaker attribution channel (the Granola trick): the microphone stream is
1022
+ * `me`, the system-audio stream is `them`. Everyone on the far end collapses
1023
+ * into `them` until a diarization upgrade splits that channel.
1024
+ */
1025
+ declare const MEETING_CHANNELS: readonly ["me", "them"];
1026
+ type MeetingChannel = (typeof MEETING_CHANNELS)[number];
1027
+ /** One timed, channel-attributed slice of a meeting transcript. */
1028
+ interface MeetingSegment {
1029
+ /** Which capture channel produced this slice. */
1030
+ channel: MeetingChannel;
1031
+ /** Transcribed text for the slice. */
1032
+ text: string;
1033
+ /** Start offset from meeting start, in milliseconds. */
1034
+ startMs: number;
1035
+ /** End offset from meeting start, in milliseconds. */
1036
+ endMs: number;
1037
+ /**
1038
+ * Optional speaker label once diarization/calendar attribution upgrades
1039
+ * `them` into named speakers (phase 4). Absent = channel label only.
1040
+ */
1041
+ speaker?: string;
1042
+ }
1043
+ /** Built-in enhancement template ids (phase 2); free-form ids are allowed. */
1044
+ declare const MEETING_TEMPLATE_IDS: readonly ["generic", "1on1", "standup", "sales", "interview"];
1045
+ type MeetingTemplateId = (typeof MEETING_TEMPLATE_IDS)[number];
1046
+ declare const MeetingSchema: DefinedSchema<{
1047
+ /** Meeting title — from the calendar event when available. */
1048
+ title: PropertyBuilder<string>;
1049
+ /** Wall-clock start, epoch ms. */
1050
+ startedAt: PropertyBuilder<number>;
1051
+ /** Total captured duration in milliseconds. */
1052
+ durationMs: PropertyBuilder<number>;
1053
+ /** Enhancement template shaping the AI notes, e.g. "1on1" | "standup". */
1054
+ templateId: PropertyBuilder<string>;
1055
+ /** The sibling transcript node (one per meeting). */
1056
+ transcript: PropertyBuilder<string>;
1057
+ /** Calendar event this meeting came from, when detected (phase 4). */
1058
+ calendarEventId: PropertyBuilder<string>;
1059
+ /** Attendee display names from the calendar, for context + attribution. */
1060
+ attendees: PropertyBuilder<string[]>;
1061
+ /** Canonical home; empty = Unfiled (exploration 0169). */
1062
+ folder: PropertyBuilder<string>;
1063
+ /** Workspace-wide labels, referenced by id (exploration 0169). */
1064
+ tags: PropertyBuilder<string[]>;
1065
+ /** Order among siblings — fractional index. */
1066
+ sortKey: PropertyBuilder<string>;
1067
+ /** Canonical SECURITY home; empty = personal/private (exploration 0179). */
1068
+ space: PropertyBuilder<string>;
1069
+ /**
1070
+ * Per-node visibility. Defaults to `private` — a meeting may contain
1071
+ * anything, and must never leak to a public surface by accident (0279).
1072
+ */
1073
+ visibility: PropertyBuilder<"public" | "private" | "unlisted" | "inherit">;
1074
+ }>;
1075
+ declare const MeetingTranscriptSchema: DefinedSchema<{
1076
+ /** The meeting this transcript belongs to. */
1077
+ meeting: PropertyBuilder<string>;
1078
+ /**
1079
+ * Concatenated transcript text — FTS-indexed so meetings are searchable.
1080
+ * Rebuilt from `segments` on each batched upsert.
1081
+ */
1082
+ fullText: PropertyBuilder<string>;
1083
+ /** Timed, channel-attributed segments (me | them). */
1084
+ segments: PropertyBuilder<MeetingSegment[]>;
1085
+ /** Detected/used language (BCP-47-ish, e.g. "en"), when known. */
1086
+ language: PropertyBuilder<string>;
1087
+ /** Which engine produced this, e.g. "parakeet-sherpa" | "whisper-cpp" | "byo". */
1088
+ engineId: PropertyBuilder<string>;
1089
+ /** Which model produced this, e.g. "parakeet-tdt-0.6b-v2". */
1090
+ modelId: PropertyBuilder<string>;
1091
+ /** Length of the transcribed audio in milliseconds. */
1092
+ durationMs: PropertyBuilder<number>;
1093
+ /**
1094
+ * Optional source audio, stored as a content-addressed blob reference.
1095
+ * Off by default — retained only when the user opts into keeping audio
1096
+ * (0279 privacy norm; the bytes live in BlobStore, never the change log).
1097
+ */
1098
+ audio: PropertyBuilder<FileRef>;
1099
+ /** Canonical SECURITY home; empty = personal/private (exploration 0179). */
1100
+ space: PropertyBuilder<string>;
1101
+ /** Per-node visibility. Defaults to `private`, like the meeting itself. */
1102
+ visibility: PropertyBuilder<"public" | "private" | "unlisted" | "inherit">;
1103
+ }>;
1104
+ /** A Meeting node type (inferred from schema). */
1105
+ type Meeting = InferNode<(typeof MeetingSchema)['_properties']>;
1106
+ /** A MeetingTranscript node type (inferred from schema). */
1107
+ type MeetingTranscript = InferNode<(typeof MeetingTranscriptSchema)['_properties']>;
1108
+
982
1109
  /** A `[longitude, latitude]` (optionally with altitude) position. */
983
1110
  type GeoPosition = [number, number] | [number, number, number];
984
1111
  /** GeoJSON geometry object (coordinates kept loose — Point→Polygon nesting). */
@@ -1110,96 +1237,128 @@ declare const MapSchema: DefinedSchema<{
1110
1237
  */
1111
1238
  type Map$1 = InferNode<(typeof MapSchema)['_properties']>;
1112
1239
 
1113
- declare const MEETING_SCHEMA_IRI: "xnet://xnet.fyi/Meeting@1.0.0";
1114
- declare const MEETING_TRANSCRIPT_SCHEMA_IRI: "xnet://xnet.fyi/MeetingTranscript@1.0.0";
1115
- /**
1116
- * Speaker attribution channel (the Granola trick): the microphone stream is
1117
- * `me`, the system-audio stream is `them`. Everyone on the far end collapses
1118
- * into `them` until a diarization upgrade splits that channel.
1119
- */
1120
- declare const MEETING_CHANNELS: readonly ["me", "them"];
1121
- type MeetingChannel = (typeof MEETING_CHANNELS)[number];
1122
- /** One timed, channel-attributed slice of a meeting transcript. */
1123
- interface MeetingSegment {
1124
- /** Which capture channel produced this slice. */
1125
- channel: MeetingChannel;
1126
- /** Transcribed text for the slice. */
1127
- text: string;
1128
- /** Start offset from meeting start, in milliseconds. */
1129
- startMs: number;
1130
- /** End offset from meeting start, in milliseconds. */
1131
- endMs: number;
1240
+ declare const DatabaseFieldSchema: DefinedSchema<{
1241
+ /** Parent database */
1242
+ database: PropertyBuilder<string>;
1243
+ /** Display name */
1244
+ name: PropertyBuilder<string>;
1245
+ /** Field type (FieldType union, enforced in field-operations) */
1246
+ type: PropertyBuilder<string>;
1132
1247
  /**
1133
- * Optional speaker label once diarization/calendar attribution upgrades
1134
- * `them` into named speakers (phase 4). Absent = channel label only.
1248
+ * Type-specific configuration (FieldConfig).
1249
+ * Note: select/multiSelect options are NOT stored here they are
1250
+ * separate DatabaseSelectOption nodes so concurrent option creation
1251
+ * merges cleanly.
1135
1252
  */
1136
- speaker?: string;
1137
- }
1138
- /** Built-in enhancement template ids (phase 2); free-form ids are allowed. */
1139
- declare const MEETING_TEMPLATE_IDS: readonly ["generic", "1on1", "standup", "sales", "interview"];
1140
- type MeetingTemplateId = (typeof MEETING_TEMPLATE_IDS)[number];
1141
- declare const MeetingSchema: DefinedSchema<{
1142
- /** Meeting title — from the calendar event when available. */
1143
- title: PropertyBuilder<string>;
1144
- /** Wall-clock start, epoch ms. */
1145
- startedAt: PropertyBuilder<number>;
1146
- /** Total captured duration in milliseconds. */
1147
- durationMs: PropertyBuilder<number>;
1148
- /** Enhancement template shaping the AI notes, e.g. "1on1" | "standup". */
1149
- templateId: PropertyBuilder<string>;
1150
- /** The sibling transcript node (one per meeting). */
1151
- transcript: PropertyBuilder<string>;
1152
- /** Calendar event this meeting came from, when detected (phase 4). */
1153
- calendarEventId: PropertyBuilder<string>;
1154
- /** Attendee display names from the calendar, for context + attribution. */
1155
- attendees: PropertyBuilder<string[]>;
1156
- /** Canonical home; empty = Unfiled (exploration 0169). */
1157
- folder: PropertyBuilder<string>;
1158
- /** Workspace-wide labels, referenced by id (exploration 0169). */
1159
- tags: PropertyBuilder<string[]>;
1160
- /** Order among siblings — fractional index. */
1253
+ config: PropertyBuilder<Record<string, unknown>>;
1254
+ /** Fractional index for default column ordering */
1161
1255
  sortKey: PropertyBuilder<string>;
1162
- /** Canonical SECURITY home; empty = personal/private (exploration 0179). */
1163
- space: PropertyBuilder<string>;
1164
- /**
1165
- * Per-node visibility. Defaults to `private` — a meeting may contain
1166
- * anything, and must never leak to a public surface by accident (0279).
1167
- */
1168
- visibility: PropertyBuilder<"public" | "private" | "unlisted" | "inherit">;
1256
+ /** Default column width in pixels (table views) */
1257
+ width: PropertyBuilder<number>;
1258
+ /** Whether this is the title field (exactly one per database) */
1259
+ isTitle: PropertyBuilder<boolean>;
1260
+ /** Hidden by default (views can override) */
1261
+ hidden: PropertyBuilder<boolean>;
1169
1262
  }>;
1170
- declare const MeetingTranscriptSchema: DefinedSchema<{
1171
- /** The meeting this transcript belongs to. */
1172
- meeting: PropertyBuilder<string>;
1263
+ /**
1264
+ * A DatabaseField node type (inferred from schema).
1265
+ */
1266
+ type DatabaseField = InferNode<(typeof DatabaseFieldSchema)['_properties']>;
1267
+
1268
+ declare const DatabaseSelectOptionSchema: DefinedSchema<{
1269
+ /** Parent field (must be a select/multiSelect field) */
1270
+ field: PropertyBuilder<string>;
1173
1271
  /**
1174
- * Concatenated transcript text FTS-indexed so meetings are searchable.
1175
- * Rebuilt from `segments` on each batched upsert.
1272
+ * Parent database (denormalized from the field) so all options for a
1273
+ * database load in a single indexed query.
1176
1274
  */
1177
- fullText: PropertyBuilder<string>;
1178
- /** Timed, channel-attributed segments (me | them). */
1179
- segments: PropertyBuilder<MeetingSegment[]>;
1180
- /** Detected/used language (BCP-47-ish, e.g. "en"), when known. */
1181
- language: PropertyBuilder<string>;
1182
- /** Which engine produced this, e.g. "parakeet-sherpa" | "whisper-cpp" | "byo". */
1183
- engineId: PropertyBuilder<string>;
1184
- /** Which model produced this, e.g. "parakeet-tdt-0.6b-v2". */
1185
- modelId: PropertyBuilder<string>;
1186
- /** Length of the transcribed audio in milliseconds. */
1187
- durationMs: PropertyBuilder<number>;
1275
+ database: PropertyBuilder<string>;
1276
+ /** Display name (the tag text) */
1277
+ name: PropertyBuilder<string>;
1278
+ /** Display color (SelectColor union; enforced in field-operations) */
1279
+ color: PropertyBuilder<string>;
1280
+ /** Fractional index for option ordering in pickers */
1281
+ sortKey: PropertyBuilder<string>;
1282
+ }>;
1283
+ /**
1284
+ * A DatabaseSelectOption node type (inferred from schema).
1285
+ */
1286
+ type DatabaseSelectOption = InferNode<(typeof DatabaseSelectOptionSchema)['_properties']>;
1287
+
1288
+ /**
1289
+ * Per-group presentation override for grouped views (board stacks,
1290
+ * timeline swimlanes). Keyed by select option ID in `groupMeta`.
1291
+ */
1292
+ interface ViewGroupMeta {
1293
+ /** Manual stack order (fractional sortKey, code-unit collation) */
1294
+ sortKey?: string;
1295
+ /** Hide this stack from the view */
1296
+ hidden?: boolean;
1297
+ }
1298
+ declare const DatabaseViewSchema: DefinedSchema<{
1299
+ /** Parent database */
1300
+ database: PropertyBuilder<string>;
1301
+ /** Display name */
1302
+ name: PropertyBuilder<string>;
1303
+ /** View type */
1304
+ type: PropertyBuilder<"map" | "list" | "table" | "timeline" | "board" | "gallery" | "calendar" | "form">;
1305
+ /** Filter tree (FilterGroup) — whole-tree LWW */
1306
+ filters: PropertyBuilder<FilterGroup>;
1307
+ /** Sort list (SortConfig[]) — whole-list LWW */
1308
+ sorts: PropertyBuilder<SortConfig[]>;
1309
+ /** Group-by field ID */
1310
+ groupBy: PropertyBuilder<string>;
1311
+ /** Group sort direction ('asc' | 'desc') */
1312
+ groupSort: PropertyBuilder<string>;
1313
+ /** Collapsed group keys */
1314
+ collapsedGroups: PropertyBuilder<string[]>;
1315
+ /** Per-view field order: fieldId -> fractional sortKey override */
1316
+ fieldOrder: PropertyBuilder<Record<string, string>>;
1317
+ /** Per-view field widths: fieldId -> pixels */
1318
+ fieldWidths: PropertyBuilder<Record<string, number>>;
1319
+ /** Per-view hidden field IDs */
1320
+ hiddenFields: PropertyBuilder<string[]>;
1321
+ /** Row-height density tier (RowHeight: short | medium | tall | extraTall) */
1322
+ rowHeight: PropertyBuilder<string>;
1323
+ /** Per-column footer summary functions: fieldId -> SummaryFunction */
1324
+ columnSummaries: PropertyBuilder<Record<string, SummaryFunction>>;
1325
+ /** Fractional index for view tab ordering */
1326
+ sortKey: PropertyBuilder<string>;
1327
+ /** Cover image field ID */
1328
+ coverField: PropertyBuilder<string>;
1329
+ /** Card size ('small' | 'medium' | 'large') */
1330
+ cardSize: PropertyBuilder<string>;
1331
+ /** Cover image fit ('cover' | 'contain') */
1332
+ coverFit: PropertyBuilder<string>;
1333
+ /** Select field ID used to color cards/bars/pins */
1334
+ colorBy: PropertyBuilder<string>;
1188
1335
  /**
1189
- * Optional source audio, stored as a content-addressed blob reference.
1190
- * Off by default retained only when the user opts into keeping audio
1191
- * (0279 privacy norm; the bytes live in BlobStore, never the change log).
1336
+ * Per-group presentation overrides keyed by select option ID (or
1337
+ * '__none__' for the null group): manual stack order + hidden stacks.
1338
+ * Collapse state lives in `collapsedGroups`.
1192
1339
  */
1193
- audio: PropertyBuilder<FileRef>;
1194
- /** Canonical SECURITY home; empty = personal/private (exploration 0179). */
1195
- space: PropertyBuilder<string>;
1196
- /** Per-node visibility. Defaults to `private`, like the meeting itself. */
1197
- visibility: PropertyBuilder<"public" | "private" | "unlisted" | "inherit">;
1340
+ groupMeta: PropertyBuilder<Record<string, ViewGroupMeta>>;
1341
+ /** Start date field ID */
1342
+ dateField: PropertyBuilder<string>;
1343
+ /** End date field ID */
1344
+ endDateField: PropertyBuilder<string>;
1345
+ /** Latitude field ID (number field) */
1346
+ latField: PropertyBuilder<string>;
1347
+ /** Longitude field ID (number field) */
1348
+ lngField: PropertyBuilder<string>;
1349
+ /** Persisted map camera (center + zoom) — whole-object LWW */
1350
+ mapViewport: PropertyBuilder<MapViewport>;
1351
+ /** Form question config (FormViewConfig) — whole-object LWW */
1352
+ formConfig: PropertyBuilder<FormViewConfig>;
1353
+ /** Per-question show-if rules: fieldId -> FormFieldRule — whole-map LWW */
1354
+ formRules: PropertyBuilder<Record<string, FormFieldRule>>;
1355
+ /** Accepting responses toggle (form view) */
1356
+ formAccepting: PropertyBuilder<boolean>;
1198
1357
  }>;
1199
- /** A Meeting node type (inferred from schema). */
1200
- type Meeting = InferNode<(typeof MeetingSchema)['_properties']>;
1201
- /** A MeetingTranscript node type (inferred from schema). */
1202
- type MeetingTranscript = InferNode<(typeof MeetingTranscriptSchema)['_properties']>;
1358
+ /**
1359
+ * A DatabaseView node type (inferred from schema).
1360
+ */
1361
+ type DatabaseView = InferNode<(typeof DatabaseViewSchema)['_properties']>;
1203
1362
 
1204
1363
  declare const PageSchema: DefinedSchema<{
1205
1364
  /** Page title */
@@ -1337,54 +1496,6 @@ declare const DatabaseSchema: DefinedSchema<{
1337
1496
  */
1338
1497
  type Database = InferNode<(typeof DatabaseSchema)['_properties']>;
1339
1498
 
1340
- declare const DatabaseFieldSchema: DefinedSchema<{
1341
- /** Parent database */
1342
- database: PropertyBuilder<string>;
1343
- /** Display name */
1344
- name: PropertyBuilder<string>;
1345
- /** Field type (FieldType union, enforced in field-operations) */
1346
- type: PropertyBuilder<string>;
1347
- /**
1348
- * Type-specific configuration (FieldConfig).
1349
- * Note: select/multiSelect options are NOT stored here — they are
1350
- * separate DatabaseSelectOption nodes so concurrent option creation
1351
- * merges cleanly.
1352
- */
1353
- config: PropertyBuilder<Record<string, unknown>>;
1354
- /** Fractional index for default column ordering */
1355
- sortKey: PropertyBuilder<string>;
1356
- /** Default column width in pixels (table views) */
1357
- width: PropertyBuilder<number>;
1358
- /** Whether this is the title field (exactly one per database) */
1359
- isTitle: PropertyBuilder<boolean>;
1360
- /** Hidden by default (views can override) */
1361
- hidden: PropertyBuilder<boolean>;
1362
- }>;
1363
- /**
1364
- * A DatabaseField node type (inferred from schema).
1365
- */
1366
- type DatabaseField = InferNode<(typeof DatabaseFieldSchema)['_properties']>;
1367
-
1368
- declare const DatabaseSelectOptionSchema: DefinedSchema<{
1369
- /** Parent field (must be a select/multiSelect field) */
1370
- field: PropertyBuilder<string>;
1371
- /**
1372
- * Parent database (denormalized from the field) so all options for a
1373
- * database load in a single indexed query.
1374
- */
1375
- database: PropertyBuilder<string>;
1376
- /** Display name (the tag text) */
1377
- name: PropertyBuilder<string>;
1378
- /** Display color (SelectColor union; enforced in field-operations) */
1379
- color: PropertyBuilder<string>;
1380
- /** Fractional index for option ordering in pickers */
1381
- sortKey: PropertyBuilder<string>;
1382
- }>;
1383
- /**
1384
- * A DatabaseSelectOption node type (inferred from schema).
1385
- */
1386
- type DatabaseSelectOption = InferNode<(typeof DatabaseSelectOptionSchema)['_properties']>;
1387
-
1388
1499
  declare const DatabaseRowSchema: DefinedSchema<{
1389
1500
  /**
1390
1501
  * Reference to the parent database.
@@ -1414,55 +1525,6 @@ declare const DatabaseRowSchema: DefinedSchema<{
1414
1525
  */
1415
1526
  type DatabaseRow = InferNode<(typeof DatabaseRowSchema)['_properties']>;
1416
1527
 
1417
- declare const DatabaseViewSchema: DefinedSchema<{
1418
- /** Parent database */
1419
- database: PropertyBuilder<string>;
1420
- /** Display name */
1421
- name: PropertyBuilder<string>;
1422
- /** View type */
1423
- type: PropertyBuilder<"list" | "table" | "timeline" | "board" | "gallery" | "calendar" | "form">;
1424
- /** Filter tree (FilterGroup) — whole-tree LWW */
1425
- filters: PropertyBuilder<FilterGroup>;
1426
- /** Sort list (SortConfig[]) — whole-list LWW */
1427
- sorts: PropertyBuilder<SortConfig[]>;
1428
- /** Group-by field ID */
1429
- groupBy: PropertyBuilder<string>;
1430
- /** Group sort direction ('asc' | 'desc') */
1431
- groupSort: PropertyBuilder<string>;
1432
- /** Collapsed group keys */
1433
- collapsedGroups: PropertyBuilder<string[]>;
1434
- /** Per-view field order: fieldId -> fractional sortKey override */
1435
- fieldOrder: PropertyBuilder<Record<string, string>>;
1436
- /** Per-view field widths: fieldId -> pixels */
1437
- fieldWidths: PropertyBuilder<Record<string, number>>;
1438
- /** Per-view hidden field IDs */
1439
- hiddenFields: PropertyBuilder<string[]>;
1440
- /** Row-height density tier (RowHeight: short | medium | tall | extraTall) */
1441
- rowHeight: PropertyBuilder<string>;
1442
- /** Per-column footer summary functions: fieldId -> SummaryFunction */
1443
- columnSummaries: PropertyBuilder<Record<string, SummaryFunction>>;
1444
- /** Fractional index for view tab ordering */
1445
- sortKey: PropertyBuilder<string>;
1446
- /** Cover image field ID */
1447
- coverField: PropertyBuilder<string>;
1448
- /** Card size ('small' | 'medium' | 'large') */
1449
- cardSize: PropertyBuilder<string>;
1450
- /** Start date field ID */
1451
- dateField: PropertyBuilder<string>;
1452
- /** End date field ID */
1453
- endDateField: PropertyBuilder<string>;
1454
- /** Form question config (FormViewConfig) — whole-object LWW */
1455
- formConfig: PropertyBuilder<FormViewConfig>;
1456
- /** Per-question show-if rules: fieldId -> FormFieldRule — whole-map LWW */
1457
- formRules: PropertyBuilder<Record<string, FormFieldRule>>;
1458
- /** Accepting responses toggle (form view) */
1459
- formAccepting: PropertyBuilder<boolean>;
1460
- }>;
1461
- /**
1462
- * A DatabaseView node type (inferred from schema).
1463
- */
1464
- type DatabaseView = InferNode<(typeof DatabaseViewSchema)['_properties']>;
1465
-
1466
1528
  declare const SCHEMA_EXTENSION_SCHEMA_IRI: SchemaIRI;
1467
1529
  declare const EXTENSION_FIELD_SCHEMA_IRI: SchemaIRI;
1468
1530
  declare const SchemaExtensionSchema: DefinedSchema<{
@@ -2646,6 +2708,13 @@ declare const SpaceMembershipSchema: DefinedSchema<{
2646
2708
  addedBy: PropertyBuilder<`did:key:${string}`>;
2647
2709
  /** When the member was added (ms since epoch) */
2648
2710
  addedAt: PropertyBuilder<number>;
2711
+ /**
2712
+ * Optional expiry (ms since epoch) for time-boxed grants — e.g. sharing a
2713
+ * diagnostics Space with a support identity (exploration 0341). Absent =
2714
+ * permanent. Clients treat an expired membership as revoked and sweep the
2715
+ * edge node on sight.
2716
+ */
2717
+ expiresAt: PropertyBuilder<number>;
2649
2718
  createdAt: PropertyBuilder<number>;
2650
2719
  createdBy: PropertyBuilder<`did:key:${string}`>;
2651
2720
  }>;
@@ -2664,7 +2733,7 @@ declare const ExternalReferenceSchema: DefinedSchema<{
2664
2733
  /** Normalized provider identifier */
2665
2734
  provider: PropertyBuilder<"github" | "figma" | "youtube" | "loom" | "vimeo" | "codesandbox" | "spotify" | "twitter" | "instagram" | "tiktok" | "generic">;
2666
2735
  /** Normalized reference kind */
2667
- kind: PropertyBuilder<"link" | "design" | "issue" | "pull-request" | "video" | "sandbox" | "social" | "audio">;
2736
+ kind: PropertyBuilder<"link" | "social" | "design" | "issue" | "pull-request" | "video" | "sandbox" | "audio">;
2668
2737
  /** Provider-specific stable identifier */
2669
2738
  refId: PropertyBuilder<string>;
2670
2739
  /** Compact display title */
@@ -2825,6 +2894,8 @@ declare const DebugReportSchema: DefinedSchema<{
2825
2894
  lane: PropertyBuilder<"user" | "auto" | "hub">;
2826
2895
  /** Grouping key: hash(errorName + normalized top frame + release). */
2827
2896
  fingerprint: PropertyBuilder<string>;
2897
+ /** Cross-release issue identity: the fingerprint minus release (0341). */
2898
+ issueKey: PropertyBuilder<string>;
2828
2899
  errorName: PropertyBuilder<string>;
2829
2900
  message: PropertyBuilder<string>;
2830
2901
  stack: PropertyBuilder<string>;
@@ -2839,6 +2910,8 @@ declare const DebugReportSchema: DefinedSchema<{
2839
2910
  didHash: PropertyBuilder<string>;
2840
2911
  occurrences: PropertyBuilder<number>;
2841
2912
  status: PropertyBuilder<"fixed" | "in-progress" | "new" | "acked" | "released">;
2913
+ /** Set when the operator escalated this report to the vendor: the quotable XR-… handle (0341). */
2914
+ escalatedId: PropertyBuilder<string>;
2842
2915
  firstSeen: PropertyBuilder<number>;
2843
2916
  lastSeen: PropertyBuilder<number>;
2844
2917
  createdAt: PropertyBuilder<number>;
@@ -2871,6 +2944,19 @@ declare const ProfileSchema: DefinedSchema<{
2871
2944
  statusEmoji: PropertyBuilder<string>;
2872
2945
  /** Free-form status message */
2873
2946
  statusMessage: PropertyBuilder<string>;
2947
+ /**
2948
+ * Linked ATProto identity (explorations 0301/0322/0337). These fields are
2949
+ * the xNet half of the bidirectional binding: the PDS half is the signed
2950
+ * `net.x.identity.binding` record at `atprotoBindingUri`. Foreign DIDs are
2951
+ * represent-only — they never sign xNet data — and a handle renders as
2952
+ * "verified" only after the hub has resolved the DID document, fetched the
2953
+ * binding record from the canonical PDS, and checked the xNet signature.
2954
+ */
2955
+ atprotoDid: PropertyBuilder<string>;
2956
+ /** The ATProto handle at link time (e.g. `alice.bsky.social`). */
2957
+ atprotoHandle: PropertyBuilder<string>;
2958
+ /** `at://` URI of the binding record in the subject's ATProto repo. */
2959
+ atprotoBindingUri: PropertyBuilder<string>;
2874
2960
  createdAt: PropertyBuilder<number>;
2875
2961
  createdBy: PropertyBuilder<`did:key:${string}`>;
2876
2962
  }>;
@@ -3100,7 +3186,7 @@ declare const DeviceRecordSchema: DefinedSchema<{
3100
3186
  /** A recovery method registered for the account (commitment only — never the secret). */
3101
3187
  declare const RecoveryRecordSchema: DefinedSchema<{
3102
3188
  account: PropertyBuilder<string>;
3103
- method: PropertyBuilder<"admin" | "social" | "phrase" | "hardware" | "backup-passkey">;
3189
+ method: PropertyBuilder<"admin" | "phrase" | "social" | "hardware" | "backup-passkey">;
3104
3190
  label: PropertyBuilder<string>;
3105
3191
  /** Public commitment to the recovery key (e.g. the recovery DID), not the secret. */
3106
3192
  publicKeyHash: PropertyBuilder<string>;
@@ -3247,6 +3333,65 @@ declare function accountState(input: {
3247
3333
  revoked: ReadonlySet<string>;
3248
3334
  };
3249
3335
 
3336
+ /**
3337
+ * Account-ledger write enforcement (explorations 0149/0243 follow-up, wired by 0337).
3338
+ *
3339
+ * The ledger records (`AccountRecord`/`DeviceRecord`/`RecoveryRecord`/
3340
+ * `RevocationRecord`) are only meaningful if not anyone can write them. This is
3341
+ * the pure decision both verifiers share:
3342
+ *
3343
+ * - the **hub** evaluates every relayed ledger change before appending it
3344
+ * (`LedgerGuard` in `@xnetjs/hub`), and
3345
+ * - the **client** evaluates every remote ledger change before applying it
3346
+ * (`NodeStore.applyRemoteChange`),
3347
+ *
3348
+ * each hydrating `LedgerEnforcementState` from its own storage. The rules:
3349
+ * only an *active controller* (listed on the account record, not revoked) may
3350
+ * write ledger records; account genesis must include its author as a
3351
+ * controller; epochs may only move forward, and a revocation must bump the
3352
+ * epoch by exactly one so stale authorizations are detectable.
3353
+ */
3354
+ type LedgerWriteKind = 'account' | 'device' | 'recovery' | 'revocation';
3355
+ /** Map a schema IRI to the ledger record kind it writes, or null for non-ledger schemas. */
3356
+ declare function ledgerWriteKind(schemaId: string | undefined): LedgerWriteKind | null;
3357
+ /** The account this ledger record belongs to (accountId on the root, account elsewhere). */
3358
+ declare function ledgerAccountId(kind: LedgerWriteKind, properties: Record<string, unknown>): string | null;
3359
+ /** What a verifier knows about an account when evaluating a write. */
3360
+ interface LedgerEnforcementState {
3361
+ /** Latest account record, or null when this verifier has never seen the account. */
3362
+ account: {
3363
+ accountId: string;
3364
+ controllers: readonly string[];
3365
+ epoch: number;
3366
+ } | null;
3367
+ /** Whether the writing author has a revocation record under this account. */
3368
+ authorRevoked: boolean;
3369
+ }
3370
+ type LedgerWriteDecision = {
3371
+ allowed: true;
3372
+ genesis?: boolean;
3373
+ } | LedgerWriteDenied;
3374
+ type LedgerWriteDenied = {
3375
+ allowed: false;
3376
+ reason: string;
3377
+ };
3378
+ /**
3379
+ * Decide whether `authorDid` may write this ledger record given what the
3380
+ * verifier currently knows. Pure — hydration is the caller's job.
3381
+ */
3382
+ declare function evaluateLedgerWrite(input: {
3383
+ schemaId: string | undefined;
3384
+ authorDid: string;
3385
+ properties: Record<string, unknown>;
3386
+ state: LedgerEnforcementState;
3387
+ }): LedgerWriteDecision;
3388
+ /**
3389
+ * Fold an accepted account-record write into verifier state (device/recovery
3390
+ * records don't alter controller state; revocations are folded by re-checking
3391
+ * `authorRevoked` at hydration time).
3392
+ */
3393
+ declare function foldAccountRecord(properties: Record<string, unknown>): LedgerEnforcementState['account'];
3394
+
3250
3395
  declare const SavedViewSchema: DefinedSchema<{
3251
3396
  /** Human-readable view title */
3252
3397
  title: PropertyBuilder<string>;
@@ -4594,7 +4739,7 @@ declare const builtInSchemas: {
4594
4739
  readonly 'xnet://xnet.fyi/DatabaseView@1.0.0': () => Promise<DefinedSchema<{
4595
4740
  database: PropertyBuilder<string>;
4596
4741
  name: PropertyBuilder<string>;
4597
- type: PropertyBuilder<"list" | "table" | "timeline" | "board" | "gallery" | "calendar" | "form">;
4742
+ type: PropertyBuilder<"map" | "list" | "table" | "timeline" | "board" | "gallery" | "calendar" | "form">;
4598
4743
  filters: PropertyBuilder<FilterGroup>;
4599
4744
  sorts: PropertyBuilder<SortConfig[]>;
4600
4745
  groupBy: PropertyBuilder<string>;
@@ -4608,8 +4753,14 @@ declare const builtInSchemas: {
4608
4753
  sortKey: PropertyBuilder<string>;
4609
4754
  coverField: PropertyBuilder<string>;
4610
4755
  cardSize: PropertyBuilder<string>;
4756
+ coverFit: PropertyBuilder<string>;
4757
+ colorBy: PropertyBuilder<string>;
4758
+ groupMeta: PropertyBuilder<Record<string, ViewGroupMeta>>;
4611
4759
  dateField: PropertyBuilder<string>;
4612
4760
  endDateField: PropertyBuilder<string>;
4761
+ latField: PropertyBuilder<string>;
4762
+ lngField: PropertyBuilder<string>;
4763
+ mapViewport: PropertyBuilder<MapViewport>;
4613
4764
  formConfig: PropertyBuilder<FormViewConfig>;
4614
4765
  formRules: PropertyBuilder<Record<string, FormFieldRule>>;
4615
4766
  formAccepting: PropertyBuilder<boolean>;
@@ -4947,13 +5098,14 @@ declare const builtInSchemas: {
4947
5098
  role: PropertyBuilder<"owner" | "admin" | "viewer" | "commenter" | "member">;
4948
5099
  addedBy: PropertyBuilder<`did:key:${string}`>;
4949
5100
  addedAt: PropertyBuilder<number>;
5101
+ expiresAt: PropertyBuilder<number>;
4950
5102
  createdAt: PropertyBuilder<number>;
4951
5103
  createdBy: PropertyBuilder<`did:key:${string}`>;
4952
5104
  }>>;
4953
5105
  readonly 'xnet://xnet.fyi/ExternalReference@1.0.0': () => Promise<DefinedSchema<{
4954
5106
  url: PropertyBuilder<string>;
4955
5107
  provider: PropertyBuilder<"github" | "figma" | "youtube" | "loom" | "vimeo" | "codesandbox" | "spotify" | "twitter" | "instagram" | "tiktok" | "generic">;
4956
- kind: PropertyBuilder<"link" | "design" | "issue" | "pull-request" | "video" | "sandbox" | "social" | "audio">;
5108
+ kind: PropertyBuilder<"link" | "social" | "design" | "issue" | "pull-request" | "video" | "sandbox" | "audio">;
4957
5109
  refId: PropertyBuilder<string>;
4958
5110
  title: PropertyBuilder<string>;
4959
5111
  subtitle: PropertyBuilder<string>;
@@ -5088,6 +5240,7 @@ declare const builtInSchemas: {
5088
5240
  space: PropertyBuilder<string>;
5089
5241
  lane: PropertyBuilder<"user" | "auto" | "hub">;
5090
5242
  fingerprint: PropertyBuilder<string>;
5243
+ issueKey: PropertyBuilder<string>;
5091
5244
  errorName: PropertyBuilder<string>;
5092
5245
  message: PropertyBuilder<string>;
5093
5246
  stack: PropertyBuilder<string>;
@@ -5100,6 +5253,7 @@ declare const builtInSchemas: {
5100
5253
  didHash: PropertyBuilder<string>;
5101
5254
  occurrences: PropertyBuilder<number>;
5102
5255
  status: PropertyBuilder<"fixed" | "in-progress" | "new" | "acked" | "released">;
5256
+ escalatedId: PropertyBuilder<string>;
5103
5257
  firstSeen: PropertyBuilder<number>;
5104
5258
  lastSeen: PropertyBuilder<number>;
5105
5259
  createdAt: PropertyBuilder<number>;
@@ -5112,6 +5266,9 @@ declare const builtInSchemas: {
5112
5266
  avatar: PropertyBuilder<string>;
5113
5267
  statusEmoji: PropertyBuilder<string>;
5114
5268
  statusMessage: PropertyBuilder<string>;
5269
+ atprotoDid: PropertyBuilder<string>;
5270
+ atprotoHandle: PropertyBuilder<string>;
5271
+ atprotoBindingUri: PropertyBuilder<string>;
5115
5272
  createdAt: PropertyBuilder<number>;
5116
5273
  createdBy: PropertyBuilder<`did:key:${string}`>;
5117
5274
  }>>;
@@ -5229,7 +5386,7 @@ declare const builtInSchemas: {
5229
5386
  }>>;
5230
5387
  readonly 'xnet://xnet.fyi/RecoveryRecord@1.0.0': () => Promise<DefinedSchema<{
5231
5388
  account: PropertyBuilder<string>;
5232
- method: PropertyBuilder<"admin" | "social" | "phrase" | "hardware" | "backup-passkey">;
5389
+ method: PropertyBuilder<"admin" | "phrase" | "social" | "hardware" | "backup-passkey">;
5233
5390
  label: PropertyBuilder<string>;
5234
5391
  publicKeyHash: PropertyBuilder<string>;
5235
5392
  status: PropertyBuilder<"active" | "revoked">;
@@ -5763,7 +5920,7 @@ declare const builtInSchemas: {
5763
5920
  readonly 'xnet://xnet.fyi/DatabaseView': () => Promise<DefinedSchema<{
5764
5921
  database: PropertyBuilder<string>;
5765
5922
  name: PropertyBuilder<string>;
5766
- type: PropertyBuilder<"list" | "table" | "timeline" | "board" | "gallery" | "calendar" | "form">;
5923
+ type: PropertyBuilder<"map" | "list" | "table" | "timeline" | "board" | "gallery" | "calendar" | "form">;
5767
5924
  filters: PropertyBuilder<FilterGroup>;
5768
5925
  sorts: PropertyBuilder<SortConfig[]>;
5769
5926
  groupBy: PropertyBuilder<string>;
@@ -5777,8 +5934,14 @@ declare const builtInSchemas: {
5777
5934
  sortKey: PropertyBuilder<string>;
5778
5935
  coverField: PropertyBuilder<string>;
5779
5936
  cardSize: PropertyBuilder<string>;
5937
+ coverFit: PropertyBuilder<string>;
5938
+ colorBy: PropertyBuilder<string>;
5939
+ groupMeta: PropertyBuilder<Record<string, ViewGroupMeta>>;
5780
5940
  dateField: PropertyBuilder<string>;
5781
5941
  endDateField: PropertyBuilder<string>;
5942
+ latField: PropertyBuilder<string>;
5943
+ lngField: PropertyBuilder<string>;
5944
+ mapViewport: PropertyBuilder<MapViewport>;
5782
5945
  formConfig: PropertyBuilder<FormViewConfig>;
5783
5946
  formRules: PropertyBuilder<Record<string, FormFieldRule>>;
5784
5947
  formAccepting: PropertyBuilder<boolean>;
@@ -6116,13 +6279,14 @@ declare const builtInSchemas: {
6116
6279
  role: PropertyBuilder<"owner" | "admin" | "viewer" | "commenter" | "member">;
6117
6280
  addedBy: PropertyBuilder<`did:key:${string}`>;
6118
6281
  addedAt: PropertyBuilder<number>;
6282
+ expiresAt: PropertyBuilder<number>;
6119
6283
  createdAt: PropertyBuilder<number>;
6120
6284
  createdBy: PropertyBuilder<`did:key:${string}`>;
6121
6285
  }>>;
6122
6286
  readonly 'xnet://xnet.fyi/ExternalReference': () => Promise<DefinedSchema<{
6123
6287
  url: PropertyBuilder<string>;
6124
6288
  provider: PropertyBuilder<"github" | "figma" | "youtube" | "loom" | "vimeo" | "codesandbox" | "spotify" | "twitter" | "instagram" | "tiktok" | "generic">;
6125
- kind: PropertyBuilder<"link" | "design" | "issue" | "pull-request" | "video" | "sandbox" | "social" | "audio">;
6289
+ kind: PropertyBuilder<"link" | "social" | "design" | "issue" | "pull-request" | "video" | "sandbox" | "audio">;
6126
6290
  refId: PropertyBuilder<string>;
6127
6291
  title: PropertyBuilder<string>;
6128
6292
  subtitle: PropertyBuilder<string>;
@@ -6236,6 +6400,7 @@ declare const builtInSchemas: {
6236
6400
  space: PropertyBuilder<string>;
6237
6401
  lane: PropertyBuilder<"user" | "auto" | "hub">;
6238
6402
  fingerprint: PropertyBuilder<string>;
6403
+ issueKey: PropertyBuilder<string>;
6239
6404
  errorName: PropertyBuilder<string>;
6240
6405
  message: PropertyBuilder<string>;
6241
6406
  stack: PropertyBuilder<string>;
@@ -6248,6 +6413,7 @@ declare const builtInSchemas: {
6248
6413
  didHash: PropertyBuilder<string>;
6249
6414
  occurrences: PropertyBuilder<number>;
6250
6415
  status: PropertyBuilder<"fixed" | "in-progress" | "new" | "acked" | "released">;
6416
+ escalatedId: PropertyBuilder<string>;
6251
6417
  firstSeen: PropertyBuilder<number>;
6252
6418
  lastSeen: PropertyBuilder<number>;
6253
6419
  createdAt: PropertyBuilder<number>;
@@ -6260,6 +6426,9 @@ declare const builtInSchemas: {
6260
6426
  avatar: PropertyBuilder<string>;
6261
6427
  statusEmoji: PropertyBuilder<string>;
6262
6428
  statusMessage: PropertyBuilder<string>;
6429
+ atprotoDid: PropertyBuilder<string>;
6430
+ atprotoHandle: PropertyBuilder<string>;
6431
+ atprotoBindingUri: PropertyBuilder<string>;
6263
6432
  createdAt: PropertyBuilder<number>;
6264
6433
  createdBy: PropertyBuilder<`did:key:${string}`>;
6265
6434
  }>>;
@@ -6377,7 +6546,7 @@ declare const builtInSchemas: {
6377
6546
  }>>;
6378
6547
  readonly 'xnet://xnet.fyi/RecoveryRecord': () => Promise<DefinedSchema<{
6379
6548
  account: PropertyBuilder<string>;
6380
- method: PropertyBuilder<"admin" | "social" | "phrase" | "hardware" | "backup-passkey">;
6549
+ method: PropertyBuilder<"admin" | "phrase" | "social" | "hardware" | "backup-passkey">;
6381
6550
  label: PropertyBuilder<string>;
6382
6551
  publicKeyHash: PropertyBuilder<string>;
6383
6552
  status: PropertyBuilder<"active" | "revoked">;
@@ -7329,4 +7498,4 @@ declare function createOperations(...operations: LensOperation[]): {
7329
7498
  */
7330
7499
  declare function identity(source: SchemaIRI, target: SchemaIRI): SchemaLens;
7331
7500
 
7332
- export { ACCOUNT_RECORD_SCHEMA_IRI, ACCOUNT_SCHEMA_IRI, ACHIEVEMENT_SCHEMA_IRI, ACTIVITY_KINDS, ACTIVITY_SCHEMA_IRI, AGENT_ACTION_SCHEMA_IRI, AGENT_ACTION_STATUSES, AGENT_APPROVAL_DECISIONS, AGENT_APPROVAL_SCHEMA_IRI, AGENT_APPROVAL_SURFACES, AGENT_CHANNELS, AGENT_NOTIFICATION_KINDS, AGENT_NOTIFICATION_SCHEMA_IRI, AGENT_NOTIFICATION_STATUSES, AGENT_PASSPORT_SCHEMA_IRI, AGENT_REVERSIBILITIES, AGENT_RISKS, AGENT_RUNTIMES, AGENT_SESSION_SCHEMA_IRI, type AbuseReport, AbuseReportSchema, type Account, type AccountClassId, type AccountRecord, AccountRecordSchema, AccountSchema, type Achievement, AchievementSchema, type Activity, type ActivityKind, ActivitySchema, type AgentAction, AgentActionSchema, type AgentActionStatus, type AgentApproval, type AgentApprovalDecision, AgentApprovalSchema, type AgentApprovalSurface, type AgentChannel, type AgentNotification, type AgentNotificationKind, AgentNotificationSchema, type AgentNotificationStatus, type AgentPassport, AgentPassportSchema, type AgentReversibility, type AgentRisk, type AgentRuntime, type AgentSession, AgentSessionSchema, type AnchorData, type AnchorType, type Appeal, AppealSchema, BUDGET_SCHEMA_IRI, type Budget, type BudgetPeriod, BudgetSchema, type BuiltInSchemaIRI, CHANNEL_KINDS, CHECKPOINT_SCHEMA_IRI, CONTACT_LIFECYCLE, CONTACT_SCHEMA_IRI, CRM_NAMESPACE, type Canvas, type CanvasObjectAnchor, type CanvasObjectAnchorPlacement, type CanvasPositionAnchor, CanvasSchema, type CellAnchor, type Channel, type ChannelKind, type ChannelNotifyTier, ChannelSchema, type ChatMessage, ChatMessageSchema, type CheckboxOptions, type Checkpoint, type CheckpointFrontierEntry, CheckpointSchema, type ColumnAnchor, type Comment, CommentSchema, type CommunityNote, CommunityNoteSchema, type Contact, type ContactLifecycle, ContactSchema, type ContentProvenance, ContentProvenanceSchema, type CoreSchemaResolver, type CreatedByOptions, type CreatedOptions, type CrmVisibility, DEAL_CONTACT_ROLES, DEAL_CONTACT_ROLE_SCHEMA_IRI, DEAL_SCHEMA_IRI, DEAL_SOURCES, DEFAULT_CHANNEL_TIER, DEVICE_RECORD_SCHEMA_IRI, DID, DRAFT_SCHEMA_IRI, type Dashboard, type DashboardBreakpointId, type DashboardLayoutItem, type DashboardLayouts, DashboardSchema, type DashboardTimeRange, type DashboardVariablesState, type DashboardWidgetInstance, type DashboardWidgetRefresh, type Database, type DatabaseField, DatabaseFieldSchema, type DatabaseRow, DatabaseRowSchema, DatabaseSchema, type DatabaseSelectOption, DatabaseSelectOptionSchema, type DatabaseView, DatabaseViewSchema, type DateOptions, type DateRange, type DateRangeOptions, type Deal, type DealContactRole, type DealContactRoleKind, DealContactRoleSchema, DealSchema, type DealSource, type DebugReport, DebugReportSchema, type DefineSchemaOptions, DefinedSchema, type DeviceLike, type DeviceRecord, DeviceRecordSchema, DocumentType, type Draft, type DraftEntry, type DraftProvenance, DraftSchema, EXTENSION_FIELD_SCHEMA_IRI, EXTERNAL_ITEM_SCHEMA_IRI, EXTERNAL_ITEM_SOURCES, EXT_PREFIX, type EffectiveExtensionField, type EmailOptions, type Experiment, type ExperimentDesign, type ExperimentPhase, ExperimentSchema, type ExperimentStatus, type ExtensionField, type ExtensionFieldRecord, ExtensionFieldSchema, type ExtensionRecord, type ExternalItem, ExternalItemSchema, type ExternalReference, ExternalReferenceSchema, FEED_ITEM_SCHEMA_IRI, FEED_SCHEMA_IRI, FOLDER_SCHEMA_IRI, FORECAST_CATEGORIES, type Feed, type FeedItem, FeedItemSchema, FeedSchema, type FileOptions, type FileRef, type Folder, type FolderLike, FolderSchema, type FolderTreeNode, type ForecastCategory, GAME_ASSET_FORMATS, GAME_ASSET_MIME_TYPES, GAME_ASSET_SCHEMA_IRI, GAME_ECONOMY_ENTRY_SCHEMA_IRI, GAME_ITEM_SCHEMA_IRI, GAME_NAMESPACE, GAME_SCHEMA_IRIS, type GameAsset, type GameAssetFormat, GameAssetSchema, type GameEconomyEntry, GameEconomyEntrySchema, type GameItem, GameItemSchema, type GameVisibility, type GeoFeature, type GeoFeatureCollection, type GeoGeometry, type GeoPosition, type Grant, GrantSchema, IMPORT_BATCH_SCHEMA_IRI, INVENTORY_SCHEMA_IRI, ITEM_RARITIES, type ImportBatch, ImportBatchSchema, type ImportSource, type InboxItemTriage, type InboxState, InboxStateSchema, type InboxWatermark, InferNode, type Inventory, InventorySchema, type ItemRarity, type JsonOptions, LINE_ITEM_SCHEMA_IRI, type LedgerNodeIntent, LensOperation, type LineItem, LineItemSchema, MATCH_RESULTS, MATCH_SESSION_SCHEMA_IRI, MAX_LINK_PREVIEWS_PER_MESSAGE, MAX_MENTION_DIDS, MAX_TAG_NAME_LENGTH, MEETING_CHANNELS, MEETING_SCHEMA_IRI, MEETING_TEMPLATE_IDS, MEETING_TRANSCRIPT_SCHEMA_IRI, MEMORY_ITEM_SCHEMA_IRI, MEMORY_KINDS, MILESTONE_SCHEMA_IRI, type Map$1 as Map, type MapBasemapId, type MapLayerGeometry, type MapLayerSource, type MapLayerSpec, type MapLayerStyle, MapSchema, type MapViewport, type MatchResult, type MatchSession, MatchSessionSchema, type MediaAsset, MediaAssetSchema, type Meeting, type MeetingChannel, MeetingSchema, type MeetingSegment, type MeetingTemplateId, type MeetingTranscript, MeetingTranscriptSchema, type MemoryItem, MemoryItemSchema, type MemoryKind, type Mention, type MessageLinkPreview, type MessageMentions, type MessageRequest, MessageRequestSchema, type Metric, type MetricKind, type MetricPolarity, type MetricScheduleId, MetricSchema, type Milestone, MilestoneSchema, type ModerationLabel, ModerationLabelSchema, type MoneyOptions, type MoneyValue, type MultiSelectOptions, NODE_VISIBILITY, type NodeAnchor, type NodeVisibility, type NoteRating, NoteRatingSchema, type NotificationPrefs, type NumberOptions, ORGANIZATION_SCHEMA_IRI, ORGANIZATION_SIZES, type Observation, type ObservationPhase, ObservationSchema, type Organization, OrganizationSchema, type OrganizationSize, type OrphanReason, type OrphanResolvers, type OrphanStatus, PIPELINE_SCHEMA_IRI, PLAYER_IDENTITY_SCHEMA_IRI, POSTING_SCHEMA_IRI, PRODUCT_KINDS, PRODUCT_SCHEMA_IRI, type Page, PageSchema, type ParsedSystemNamespaceResource, type ParsedTaskShortId, type PersonOptions, type PhoneOptions, type Pipeline, PipelineSchema, type PlayerIdentity, PlayerIdentitySchema, type PolicyList, PolicyListSchema, type PolicySubscription, PolicySubscriptionSchema, type Posting, PostingSchema, PresenceAggregator, type PresenceAggregatorOptions, type PresenceAggregatorStore, type PresenceCountBucket, type PresenceSummary, type PresenceSummaryDescriptor, PresenceSummarySchema, type PresenceVisibility, type PresenceVisibilityResolver, type Product, type ProductKind, ProductSchema, type Profile, ProfileSchema, type Project, ProjectSchema, PropertyBuilder, PropertyType, type PublicInteractionPolicy, PublicInteractionPolicySchema, type QualitySignal, QualitySignalSchema, RECOVERY_RECORD_SCHEMA_IRI, RELATIONSHIP_KINDS, RELATIONSHIP_SCHEMA_IRI, REVOCATION_RECORD_SCHEMA_IRI, type Reaction, ReactionSchema, type RecoveryRecord, RecoveryRecordSchema, type RelationOptions, type Relationship, type RelationshipKind, RelationshipSchema, type ReviewTask, ReviewTaskSchema, type RevocationLike, type RevocationRecord, RevocationRecordSchema, type RowAnchor, SCHEMA_EXTENSION_SCHEMA_IRI, DEFAULT_SCHEMA_VERSION as SCHEMA_VERSION, SIDECAR_PREFIX, SPACE_KINDS, SPACE_MEMBERSHIP_SCHEMA_IRI, SPACE_ROLES, SPACE_SCHEMA_IRI, SPACE_VISIBILITY, STAGE_SCHEMA_IRI, SYSTEM_NAMESPACE_KINDS, SYSTEM_SCHEMA_BASE_IRIS, SYSTEM_SCHEMA_IRIS, type SavedView, SavedViewSchema, Schema, type SchemaAuthorityResolution, type SchemaAuthorityResolutionKind, type SchemaAuthorityResolutionOptions, type SchemaCompatibility, type SchemaCompatibilityMode, SchemaCompatibilitySchema, type SchemaDefinition, SchemaDefinitionSchema, type SchemaDefinitionSigningInput, type SchemaDefinitionStatus, type SchemaExtension, SchemaExtensionSchema, SchemaIRI, SchemaLens, type SelectOption, type SelectOptions, type SidecarOverlay, type Space, type SpaceKind, type SpaceLike, type SpaceMembership, SpaceMembershipSchema, type SpaceRole, SpaceSchema, type SpaceTreeNode, type SpaceVisibility, type Stage, StageSchema, type SyncPolicy, SyncPolicySchema, type SyncPolicyStatus, type SystemFederationErrorCode, type SystemNamespaceKind, type SystemSchemaDefinitionRecord, SystemSchemaIndex, type SystemSchemaIndexDiagnostic, type SystemSchemaIndexOptions, type SystemSchemaIndexStore, TAG_SCHEMA_IRI, TASK_SHORT_ID_PATTERN, TASK_STATUS_CATEGORIES, TRANSACTION_SCHEMA_IRI, TRANSCRIPTION_SCHEMA_IRI, type Tag, TagSchema, type Task, TaskSchema, type TaskShortIdBlock, type TaskStatusCategory, type TaskStatusId, type TaskView, TaskViewSchema, type TextAnchor, type TextOptions, type Transaction, TransactionSchema, type TransactionStatus, type Transcription, TranscriptionSchema, type TranscriptionSourceId, type UpdatedOptions, type UrlOptions, type UserWidget, type UserWidgetConfigField, UserWidgetSchema, type UserWidgetSize, type ValidateSchemaDefinitionNodeOptions, ValidationError, ValidationResult, type Workspace, WorkspaceSchema, type WorkspaceTreeJson, accountRecordId, accountState, addDefault, admitDeviceRecord, agentActionId, agentApprovalId, agentNotificationId, agentPassportId, agentSessionId, bucketPresenceCount, buildEffectiveSchema, buildFolderTree, buildSpaceTree, buildSystemNamespace, buildSystemNodeId, builtInSchemas, canManageSpace, canModifyColumn, checkOrphanStatus, checkbox, compareSpaceRoles, composeLens, computeSchemaDefinitionContentHash, convert, copy, createAccountRecord, createNodeGraphSchemaResolver, createOperations, createSchemaDefinitionSigningPayload, created, createdBy, crmSchemas, date, dateRange, decodeAnchor, defineSchema, deviceRecipientExpander, deviceRecordId, didFromProfileNodeId, effectiveSpaceRole, email, encodeAnchor, extKey, extractMentions, file, filterOrphanedComments, findLockedColumns, flattenFolderTree, flattenSpaceTree, folderAncestorIds, folderPathIds, formatTaskShortId, gameSchemas, getMentionedUsers, getPresenceNoisePolicy, getTaskStatusCategory, identity, inboxStateNodeId, isCanvasObjectAnchor, isCanvasPositionAnchor, isCellAnchor, isColumnAnchor, isCompletedTaskStatus, isDeviceAuthorized, isExtKey, isMessageLinkPreview, isMoneyValue, isNodeAnchor, isRowAnchor, isSchemaDefinitionNode, isSpaceRole, isSystemNamespaceResource, isSystemSchemaIri, isTextAnchor, isValidMentions, isValidTagName, json, loadExtensionFields, lockedPropertyKeys, mentionsInclude, merge, mergeSidecarsIntoRow, money, multiSelect, nextEpoch, normalizeMentions, normalizeTagName, number, parseExtKey, parseSystemNamespaceResource, parseTaskShortId, person, phone, profileNodeId, promoteOverlay, recoveryRecordId, redactInstruction, relation, remove, rename, resolveActiveDevices, resolveEffectiveSchema, resolveSchemaAuthority, revocationRecordId, revokeDeviceRecord, revokeSubjectRecord, revokedSubjects, sanitizeLinkPreviews, schemaExtensionId, select, selectExtensionFields, shortIdsFromBlock, sidecarId, sidecarOverlayKeys, spaceAncestorIds, spaceMembershipId, spacePathIds, spaceRoleGrantActions, spaceRoleToShareRole, summarizePresenceNodes, taskBranchName, text, transform, updated, url, validateSchemaDefinitionNode, when, wouldCreateFolderCycle, wouldCreateSpaceCycle };
7501
+ export { ACCOUNT_RECORD_SCHEMA_IRI, ACCOUNT_SCHEMA_IRI, ACHIEVEMENT_SCHEMA_IRI, ACTIVITY_KINDS, ACTIVITY_SCHEMA_IRI, AGENT_ACTION_SCHEMA_IRI, AGENT_ACTION_STATUSES, AGENT_APPROVAL_DECISIONS, AGENT_APPROVAL_SCHEMA_IRI, AGENT_APPROVAL_SURFACES, AGENT_CHANNELS, AGENT_NOTIFICATION_KINDS, AGENT_NOTIFICATION_SCHEMA_IRI, AGENT_NOTIFICATION_STATUSES, AGENT_PASSPORT_SCHEMA_IRI, AGENT_REVERSIBILITIES, AGENT_RISKS, AGENT_RUNTIMES, AGENT_SESSION_SCHEMA_IRI, type AbuseReport, AbuseReportSchema, type Account, type AccountClassId, type AccountRecord, AccountRecordSchema, AccountSchema, type Achievement, AchievementSchema, type Activity, type ActivityKind, ActivitySchema, type AgentAction, AgentActionSchema, type AgentActionStatus, type AgentApproval, type AgentApprovalDecision, AgentApprovalSchema, type AgentApprovalSurface, type AgentChannel, type AgentNotification, type AgentNotificationKind, AgentNotificationSchema, type AgentNotificationStatus, type AgentPassport, AgentPassportSchema, type AgentReversibility, type AgentRisk, type AgentRuntime, type AgentSession, AgentSessionSchema, type AnchorData, type AnchorType, type Appeal, AppealSchema, BUDGET_SCHEMA_IRI, type Budget, type BudgetPeriod, BudgetSchema, type BuiltInSchemaIRI, CHANNEL_KINDS, CHECKPOINT_SCHEMA_IRI, CONTACT_LIFECYCLE, CONTACT_SCHEMA_IRI, CRM_NAMESPACE, type Canvas, type CanvasObjectAnchor, type CanvasObjectAnchorPlacement, type CanvasPositionAnchor, CanvasSchema, type CellAnchor, type Channel, type ChannelKind, type ChannelNotifyTier, ChannelSchema, type ChatMessage, ChatMessageSchema, type CheckboxOptions, type Checkpoint, type CheckpointFrontierEntry, CheckpointSchema, type ColumnAnchor, type Comment, CommentSchema, type CommunityNote, CommunityNoteSchema, type Contact, type ContactLifecycle, ContactSchema, type ContentProvenance, ContentProvenanceSchema, type CoreSchemaResolver, type CreatedByOptions, type CreatedOptions, type CrmVisibility, DEAL_CONTACT_ROLES, DEAL_CONTACT_ROLE_SCHEMA_IRI, DEAL_SCHEMA_IRI, DEAL_SOURCES, DEFAULT_CHANNEL_TIER, DEVICE_RECORD_SCHEMA_IRI, DID, DRAFT_SCHEMA_IRI, type Dashboard, type DashboardBreakpointId, type DashboardLayoutItem, type DashboardLayouts, DashboardSchema, type DashboardTimeRange, type DashboardVariablesState, type DashboardWidgetInstance, type DashboardWidgetRefresh, type Database, type DatabaseField, DatabaseFieldSchema, type DatabaseRow, DatabaseRowSchema, DatabaseSchema, type DatabaseSelectOption, DatabaseSelectOptionSchema, type DatabaseView, DatabaseViewSchema, type DateOptions, type DateRange, type DateRangeOptions, type Deal, type DealContactRole, type DealContactRoleKind, DealContactRoleSchema, DealSchema, type DealSource, type DebugReport, DebugReportSchema, type DefineSchemaOptions, DefinedSchema, type DeviceLike, type DeviceRecord, DeviceRecordSchema, DocumentType, type Draft, type DraftEntry, type DraftProvenance, DraftSchema, EXTENSION_FIELD_SCHEMA_IRI, EXTERNAL_ITEM_SCHEMA_IRI, EXTERNAL_ITEM_SOURCES, EXT_PREFIX, type EffectiveExtensionField, type EmailOptions, type Experiment, type ExperimentDesign, type ExperimentPhase, ExperimentSchema, type ExperimentStatus, type ExtensionField, type ExtensionFieldRecord, ExtensionFieldSchema, type ExtensionRecord, type ExternalItem, ExternalItemSchema, type ExternalReference, ExternalReferenceSchema, FEED_ITEM_SCHEMA_IRI, FEED_SCHEMA_IRI, FOLDER_SCHEMA_IRI, FORECAST_CATEGORIES, type Feed, type FeedItem, FeedItemSchema, FeedSchema, type FileOptions, type FileRef, type Folder, type FolderLike, FolderSchema, type FolderTreeNode, type ForecastCategory, GAME_ASSET_FORMATS, GAME_ASSET_MIME_TYPES, GAME_ASSET_SCHEMA_IRI, GAME_ECONOMY_ENTRY_SCHEMA_IRI, GAME_ITEM_SCHEMA_IRI, GAME_NAMESPACE, GAME_SCHEMA_IRIS, type GameAsset, type GameAssetFormat, GameAssetSchema, type GameEconomyEntry, GameEconomyEntrySchema, type GameItem, GameItemSchema, type GameVisibility, type GeoFeature, type GeoFeatureCollection, type GeoGeometry, type GeoOptions, type GeoPoint, type GeoPosition, type Grant, GrantSchema, IMPORT_BATCH_SCHEMA_IRI, INVENTORY_SCHEMA_IRI, ITEM_RARITIES, type ImportBatch, ImportBatchSchema, type ImportSource, type InboxItemTriage, type InboxState, InboxStateSchema, type InboxWatermark, InferNode, type Inventory, InventorySchema, type ItemRarity, type JsonOptions, LINE_ITEM_SCHEMA_IRI, type LedgerEnforcementState, type LedgerNodeIntent, type LedgerWriteDecision, type LedgerWriteKind, LensOperation, type LineItem, LineItemSchema, MATCH_RESULTS, MATCH_SESSION_SCHEMA_IRI, MAX_LINK_PREVIEWS_PER_MESSAGE, MAX_MENTION_DIDS, MAX_TAG_NAME_LENGTH, MEETING_CHANNELS, MEETING_SCHEMA_IRI, MEETING_TEMPLATE_IDS, MEETING_TRANSCRIPT_SCHEMA_IRI, MEMORY_ITEM_SCHEMA_IRI, MEMORY_KINDS, MILESTONE_SCHEMA_IRI, type Map$1 as Map, type MapBasemapId, type MapLayerGeometry, type MapLayerSource, type MapLayerSpec, type MapLayerStyle, MapSchema, type MapViewport, type MatchResult, type MatchSession, MatchSessionSchema, type MediaAsset, MediaAssetSchema, type Meeting, type MeetingChannel, MeetingSchema, type MeetingSegment, type MeetingTemplateId, type MeetingTranscript, MeetingTranscriptSchema, type MemoryItem, MemoryItemSchema, type MemoryKind, type Mention, type MessageLinkPreview, type MessageMentions, type MessageRequest, MessageRequestSchema, type Metric, type MetricKind, type MetricPolarity, type MetricScheduleId, MetricSchema, type Milestone, MilestoneSchema, type ModerationLabel, ModerationLabelSchema, type MoneyOptions, type MoneyValue, type MultiSelectOptions, NODE_VISIBILITY, type NodeAnchor, type NodeVisibility, type NoteRating, NoteRatingSchema, type NotificationPrefs, type NumberOptions, ORGANIZATION_SCHEMA_IRI, ORGANIZATION_SIZES, type Observation, type ObservationPhase, ObservationSchema, type Organization, OrganizationSchema, type OrganizationSize, type OrphanReason, type OrphanResolvers, type OrphanStatus, PIPELINE_SCHEMA_IRI, PLAYER_IDENTITY_SCHEMA_IRI, POSTING_SCHEMA_IRI, PRODUCT_KINDS, PRODUCT_SCHEMA_IRI, type Page, PageSchema, type ParsedSystemNamespaceResource, type ParsedTaskShortId, type PersonOptions, type PhoneOptions, type Pipeline, PipelineSchema, type PlayerIdentity, PlayerIdentitySchema, type PolicyList, PolicyListSchema, type PolicySubscription, PolicySubscriptionSchema, type Posting, PostingSchema, PresenceAggregator, type PresenceAggregatorOptions, type PresenceAggregatorStore, type PresenceCountBucket, type PresenceSummary, type PresenceSummaryDescriptor, PresenceSummarySchema, type PresenceVisibility, type PresenceVisibilityResolver, type Product, type ProductKind, ProductSchema, type Profile, ProfileSchema, type Project, ProjectSchema, PropertyBuilder, PropertyType, type PublicInteractionPolicy, PublicInteractionPolicySchema, type QualitySignal, QualitySignalSchema, RECOVERY_RECORD_SCHEMA_IRI, RELATIONSHIP_KINDS, RELATIONSHIP_SCHEMA_IRI, REVOCATION_RECORD_SCHEMA_IRI, type Reaction, ReactionSchema, type RecoveryRecord, RecoveryRecordSchema, type RelationOptions, type Relationship, type RelationshipKind, RelationshipSchema, type ReviewTask, ReviewTaskSchema, type RevocationLike, type RevocationRecord, RevocationRecordSchema, type RowAnchor, SCHEMA_EXTENSION_SCHEMA_IRI, DEFAULT_SCHEMA_VERSION as SCHEMA_VERSION, SIDECAR_PREFIX, SPACE_KINDS, SPACE_MEMBERSHIP_SCHEMA_IRI, SPACE_ROLES, SPACE_SCHEMA_IRI, SPACE_VISIBILITY, STAGE_SCHEMA_IRI, SYSTEM_NAMESPACE_KINDS, SYSTEM_SCHEMA_BASE_IRIS, SYSTEM_SCHEMA_IRIS, type SavedView, SavedViewSchema, Schema, type SchemaAuthorityResolution, type SchemaAuthorityResolutionKind, type SchemaAuthorityResolutionOptions, type SchemaCompatibility, type SchemaCompatibilityMode, SchemaCompatibilitySchema, type SchemaDefinition, SchemaDefinitionSchema, type SchemaDefinitionSigningInput, type SchemaDefinitionStatus, type SchemaExtension, SchemaExtensionSchema, SchemaIRI, SchemaLens, type SelectOption, type SelectOptions, type SidecarOverlay, type Space, type SpaceKind, type SpaceLike, type SpaceMembership, SpaceMembershipSchema, type SpaceRole, SpaceSchema, type SpaceTreeNode, type SpaceVisibility, type Stage, StageSchema, type SyncPolicy, SyncPolicySchema, type SyncPolicyStatus, type SystemFederationErrorCode, type SystemNamespaceKind, type SystemSchemaDefinitionRecord, SystemSchemaIndex, type SystemSchemaIndexDiagnostic, type SystemSchemaIndexOptions, type SystemSchemaIndexStore, TAG_SCHEMA_IRI, TASK_SHORT_ID_PATTERN, TASK_STATUS_CATEGORIES, TRANSACTION_SCHEMA_IRI, TRANSCRIPTION_SCHEMA_IRI, type Tag, TagSchema, type Task, TaskSchema, type TaskShortIdBlock, type TaskStatusCategory, type TaskStatusId, type TaskView, TaskViewSchema, type TextAnchor, type TextOptions, type Transaction, TransactionSchema, type TransactionStatus, type Transcription, TranscriptionSchema, type TranscriptionSourceId, type UpdatedOptions, type UrlOptions, type UserWidget, type UserWidgetConfigField, UserWidgetSchema, type UserWidgetSize, type ValidateSchemaDefinitionNodeOptions, ValidationError, ValidationResult, type ViewGroupMeta, type Workspace, WorkspaceSchema, type WorkspaceTreeJson, accountRecordId, accountState, addDefault, admitDeviceRecord, agentActionId, agentApprovalId, agentNotificationId, agentPassportId, agentSessionId, bucketPresenceCount, buildEffectiveSchema, buildFolderTree, buildSpaceTree, buildSystemNamespace, buildSystemNodeId, builtInSchemas, canManageSpace, canModifyColumn, checkOrphanStatus, checkbox, compareSpaceRoles, composeLens, computeSchemaDefinitionContentHash, convert, copy, createAccountRecord, createNodeGraphSchemaResolver, createOperations, createSchemaDefinitionSigningPayload, created, createdBy, crmSchemas, date, dateRange, decodeAnchor, defineSchema, deviceRecipientExpander, deviceRecordId, didFromProfileNodeId, effectiveSpaceRole, email, encodeAnchor, evaluateLedgerWrite, extKey, extractMentions, file, filterOrphanedComments, findLockedColumns, flattenFolderTree, flattenSpaceTree, foldAccountRecord, folderAncestorIds, folderPathIds, formatTaskShortId, gameSchemas, geo, getMentionedUsers, getPresenceNoisePolicy, getTaskStatusCategory, identity, inboxStateNodeId, isCanvasObjectAnchor, isCanvasPositionAnchor, isCellAnchor, isColumnAnchor, isCompletedTaskStatus, isDeviceAuthorized, isExtKey, isGeoPoint, isMessageLinkPreview, isMoneyValue, isNodeAnchor, isRowAnchor, isSchemaDefinitionNode, isSpaceRole, isSystemNamespaceResource, isSystemSchemaIri, isTextAnchor, isValidMentions, isValidTagName, json, ledgerAccountId, ledgerWriteKind, loadExtensionFields, lockedPropertyKeys, mentionsInclude, merge, mergeSidecarsIntoRow, money, multiSelect, nextEpoch, normalizeMentions, normalizeTagName, number, parseExtKey, parseSystemNamespaceResource, parseTaskShortId, person, phone, profileNodeId, promoteOverlay, recoveryRecordId, redactInstruction, relation, remove, rename, resolveActiveDevices, resolveEffectiveSchema, resolveSchemaAuthority, revocationRecordId, revokeDeviceRecord, revokeSubjectRecord, revokedSubjects, sanitizeLinkPreviews, schemaExtensionId, select, selectExtensionFields, shortIdsFromBlock, sidecarId, sidecarOverlayKeys, spaceAncestorIds, spaceMembershipId, spacePathIds, spaceRoleGrantActions, spaceRoleToShareRole, summarizePresenceNodes, taskBranchName, text, transform, updated, url, validateSchemaDefinitionNode, when, wouldCreateFolderCycle, wouldCreateSpaceCycle };