@xnetjs/data 2.2.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-OD2JYCVG.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-II7WS264.js → chunk-56EXPOJ4.js} +47 -6
  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-SMYZILJ6.js → chunk-UFV5QWCL.js} +3 -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-CU6rTzC0.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-xc7NdHaW.d.ts → form-types-BrHYdpi0.d.ts} +18 -3
  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-B_Q2pncC.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 +92 -76
  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-Bn3-oRUo.d.ts → query-ast-DQJO7yRV.d.ts} +1 -1
  110. package/dist/reaction-MRZHOGPW.js +10 -0
  111. package/dist/{registry-Wk8Rt0kh.d.ts → registry-C9IRLLeR.d.ts} +1 -1
  112. package/dist/saved-view-NQ7QS2YM.js +10 -0
  113. package/dist/schema/index.d.ts +144 -13
  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-CyGU48TX.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-BFnYlC8Z.d.ts → types-gws1tSf-.d.ts} +1 -1
  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-NMG3AGXK.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, 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-BFnYlC8Z.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-BFnYlC8Z.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-Bn3-oRUo.js';
5
- import { W as FilterGroup, Z as SortConfig, an as SummaryFunction, a4 as FormViewConfig, a5 as FormFieldRule, a7 as FormSubmissionMeta } from '../form-types-xc7NdHaW.js';
6
- import { N as NodeStore } from '../store-CyGU48TX.js';
7
- export { S as SchemaRegistry, s as schemaRegistry } from '../registry-Wk8Rt0kh.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
  */
@@ -2672,6 +2708,13 @@ declare const SpaceMembershipSchema: DefinedSchema<{
2672
2708
  addedBy: PropertyBuilder<`did:key:${string}`>;
2673
2709
  /** When the member was added (ms since epoch) */
2674
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>;
2675
2718
  createdAt: PropertyBuilder<number>;
2676
2719
  createdBy: PropertyBuilder<`did:key:${string}`>;
2677
2720
  }>;
@@ -2690,7 +2733,7 @@ declare const ExternalReferenceSchema: DefinedSchema<{
2690
2733
  /** Normalized provider identifier */
2691
2734
  provider: PropertyBuilder<"github" | "figma" | "youtube" | "loom" | "vimeo" | "codesandbox" | "spotify" | "twitter" | "instagram" | "tiktok" | "generic">;
2692
2735
  /** Normalized reference kind */
2693
- kind: PropertyBuilder<"link" | "design" | "issue" | "pull-request" | "video" | "sandbox" | "social" | "audio">;
2736
+ kind: PropertyBuilder<"link" | "social" | "design" | "issue" | "pull-request" | "video" | "sandbox" | "audio">;
2694
2737
  /** Provider-specific stable identifier */
2695
2738
  refId: PropertyBuilder<string>;
2696
2739
  /** Compact display title */
@@ -2851,6 +2894,8 @@ declare const DebugReportSchema: DefinedSchema<{
2851
2894
  lane: PropertyBuilder<"user" | "auto" | "hub">;
2852
2895
  /** Grouping key: hash(errorName + normalized top frame + release). */
2853
2896
  fingerprint: PropertyBuilder<string>;
2897
+ /** Cross-release issue identity: the fingerprint minus release (0341). */
2898
+ issueKey: PropertyBuilder<string>;
2854
2899
  errorName: PropertyBuilder<string>;
2855
2900
  message: PropertyBuilder<string>;
2856
2901
  stack: PropertyBuilder<string>;
@@ -2865,6 +2910,8 @@ declare const DebugReportSchema: DefinedSchema<{
2865
2910
  didHash: PropertyBuilder<string>;
2866
2911
  occurrences: PropertyBuilder<number>;
2867
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>;
2868
2915
  firstSeen: PropertyBuilder<number>;
2869
2916
  lastSeen: PropertyBuilder<number>;
2870
2917
  createdAt: PropertyBuilder<number>;
@@ -2897,6 +2944,19 @@ declare const ProfileSchema: DefinedSchema<{
2897
2944
  statusEmoji: PropertyBuilder<string>;
2898
2945
  /** Free-form status message */
2899
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>;
2900
2960
  createdAt: PropertyBuilder<number>;
2901
2961
  createdBy: PropertyBuilder<`did:key:${string}`>;
2902
2962
  }>;
@@ -3126,7 +3186,7 @@ declare const DeviceRecordSchema: DefinedSchema<{
3126
3186
  /** A recovery method registered for the account (commitment only — never the secret). */
3127
3187
  declare const RecoveryRecordSchema: DefinedSchema<{
3128
3188
  account: PropertyBuilder<string>;
3129
- method: PropertyBuilder<"admin" | "social" | "phrase" | "hardware" | "backup-passkey">;
3189
+ method: PropertyBuilder<"admin" | "phrase" | "social" | "hardware" | "backup-passkey">;
3130
3190
  label: PropertyBuilder<string>;
3131
3191
  /** Public commitment to the recovery key (e.g. the recovery DID), not the secret. */
3132
3192
  publicKeyHash: PropertyBuilder<string>;
@@ -3273,6 +3333,65 @@ declare function accountState(input: {
3273
3333
  revoked: ReadonlySet<string>;
3274
3334
  };
3275
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
+
3276
3395
  declare const SavedViewSchema: DefinedSchema<{
3277
3396
  /** Human-readable view title */
3278
3397
  title: PropertyBuilder<string>;
@@ -4979,13 +5098,14 @@ declare const builtInSchemas: {
4979
5098
  role: PropertyBuilder<"owner" | "admin" | "viewer" | "commenter" | "member">;
4980
5099
  addedBy: PropertyBuilder<`did:key:${string}`>;
4981
5100
  addedAt: PropertyBuilder<number>;
5101
+ expiresAt: PropertyBuilder<number>;
4982
5102
  createdAt: PropertyBuilder<number>;
4983
5103
  createdBy: PropertyBuilder<`did:key:${string}`>;
4984
5104
  }>>;
4985
5105
  readonly 'xnet://xnet.fyi/ExternalReference@1.0.0': () => Promise<DefinedSchema<{
4986
5106
  url: PropertyBuilder<string>;
4987
5107
  provider: PropertyBuilder<"github" | "figma" | "youtube" | "loom" | "vimeo" | "codesandbox" | "spotify" | "twitter" | "instagram" | "tiktok" | "generic">;
4988
- kind: PropertyBuilder<"link" | "design" | "issue" | "pull-request" | "video" | "sandbox" | "social" | "audio">;
5108
+ kind: PropertyBuilder<"link" | "social" | "design" | "issue" | "pull-request" | "video" | "sandbox" | "audio">;
4989
5109
  refId: PropertyBuilder<string>;
4990
5110
  title: PropertyBuilder<string>;
4991
5111
  subtitle: PropertyBuilder<string>;
@@ -5120,6 +5240,7 @@ declare const builtInSchemas: {
5120
5240
  space: PropertyBuilder<string>;
5121
5241
  lane: PropertyBuilder<"user" | "auto" | "hub">;
5122
5242
  fingerprint: PropertyBuilder<string>;
5243
+ issueKey: PropertyBuilder<string>;
5123
5244
  errorName: PropertyBuilder<string>;
5124
5245
  message: PropertyBuilder<string>;
5125
5246
  stack: PropertyBuilder<string>;
@@ -5132,6 +5253,7 @@ declare const builtInSchemas: {
5132
5253
  didHash: PropertyBuilder<string>;
5133
5254
  occurrences: PropertyBuilder<number>;
5134
5255
  status: PropertyBuilder<"fixed" | "in-progress" | "new" | "acked" | "released">;
5256
+ escalatedId: PropertyBuilder<string>;
5135
5257
  firstSeen: PropertyBuilder<number>;
5136
5258
  lastSeen: PropertyBuilder<number>;
5137
5259
  createdAt: PropertyBuilder<number>;
@@ -5144,6 +5266,9 @@ declare const builtInSchemas: {
5144
5266
  avatar: PropertyBuilder<string>;
5145
5267
  statusEmoji: PropertyBuilder<string>;
5146
5268
  statusMessage: PropertyBuilder<string>;
5269
+ atprotoDid: PropertyBuilder<string>;
5270
+ atprotoHandle: PropertyBuilder<string>;
5271
+ atprotoBindingUri: PropertyBuilder<string>;
5147
5272
  createdAt: PropertyBuilder<number>;
5148
5273
  createdBy: PropertyBuilder<`did:key:${string}`>;
5149
5274
  }>>;
@@ -5261,7 +5386,7 @@ declare const builtInSchemas: {
5261
5386
  }>>;
5262
5387
  readonly 'xnet://xnet.fyi/RecoveryRecord@1.0.0': () => Promise<DefinedSchema<{
5263
5388
  account: PropertyBuilder<string>;
5264
- method: PropertyBuilder<"admin" | "social" | "phrase" | "hardware" | "backup-passkey">;
5389
+ method: PropertyBuilder<"admin" | "phrase" | "social" | "hardware" | "backup-passkey">;
5265
5390
  label: PropertyBuilder<string>;
5266
5391
  publicKeyHash: PropertyBuilder<string>;
5267
5392
  status: PropertyBuilder<"active" | "revoked">;
@@ -6154,13 +6279,14 @@ declare const builtInSchemas: {
6154
6279
  role: PropertyBuilder<"owner" | "admin" | "viewer" | "commenter" | "member">;
6155
6280
  addedBy: PropertyBuilder<`did:key:${string}`>;
6156
6281
  addedAt: PropertyBuilder<number>;
6282
+ expiresAt: PropertyBuilder<number>;
6157
6283
  createdAt: PropertyBuilder<number>;
6158
6284
  createdBy: PropertyBuilder<`did:key:${string}`>;
6159
6285
  }>>;
6160
6286
  readonly 'xnet://xnet.fyi/ExternalReference': () => Promise<DefinedSchema<{
6161
6287
  url: PropertyBuilder<string>;
6162
6288
  provider: PropertyBuilder<"github" | "figma" | "youtube" | "loom" | "vimeo" | "codesandbox" | "spotify" | "twitter" | "instagram" | "tiktok" | "generic">;
6163
- kind: PropertyBuilder<"link" | "design" | "issue" | "pull-request" | "video" | "sandbox" | "social" | "audio">;
6289
+ kind: PropertyBuilder<"link" | "social" | "design" | "issue" | "pull-request" | "video" | "sandbox" | "audio">;
6164
6290
  refId: PropertyBuilder<string>;
6165
6291
  title: PropertyBuilder<string>;
6166
6292
  subtitle: PropertyBuilder<string>;
@@ -6274,6 +6400,7 @@ declare const builtInSchemas: {
6274
6400
  space: PropertyBuilder<string>;
6275
6401
  lane: PropertyBuilder<"user" | "auto" | "hub">;
6276
6402
  fingerprint: PropertyBuilder<string>;
6403
+ issueKey: PropertyBuilder<string>;
6277
6404
  errorName: PropertyBuilder<string>;
6278
6405
  message: PropertyBuilder<string>;
6279
6406
  stack: PropertyBuilder<string>;
@@ -6286,6 +6413,7 @@ declare const builtInSchemas: {
6286
6413
  didHash: PropertyBuilder<string>;
6287
6414
  occurrences: PropertyBuilder<number>;
6288
6415
  status: PropertyBuilder<"fixed" | "in-progress" | "new" | "acked" | "released">;
6416
+ escalatedId: PropertyBuilder<string>;
6289
6417
  firstSeen: PropertyBuilder<number>;
6290
6418
  lastSeen: PropertyBuilder<number>;
6291
6419
  createdAt: PropertyBuilder<number>;
@@ -6298,6 +6426,9 @@ declare const builtInSchemas: {
6298
6426
  avatar: PropertyBuilder<string>;
6299
6427
  statusEmoji: PropertyBuilder<string>;
6300
6428
  statusMessage: PropertyBuilder<string>;
6429
+ atprotoDid: PropertyBuilder<string>;
6430
+ atprotoHandle: PropertyBuilder<string>;
6431
+ atprotoBindingUri: PropertyBuilder<string>;
6301
6432
  createdAt: PropertyBuilder<number>;
6302
6433
  createdBy: PropertyBuilder<`did:key:${string}`>;
6303
6434
  }>>;
@@ -6415,7 +6546,7 @@ declare const builtInSchemas: {
6415
6546
  }>>;
6416
6547
  readonly 'xnet://xnet.fyi/RecoveryRecord': () => Promise<DefinedSchema<{
6417
6548
  account: PropertyBuilder<string>;
6418
- method: PropertyBuilder<"admin" | "social" | "phrase" | "hardware" | "backup-passkey">;
6549
+ method: PropertyBuilder<"admin" | "phrase" | "social" | "hardware" | "backup-passkey">;
6419
6550
  label: PropertyBuilder<string>;
6420
6551
  publicKeyHash: PropertyBuilder<string>;
6421
6552
  status: PropertyBuilder<"active" | "revoked">;
@@ -7367,4 +7498,4 @@ declare function createOperations(...operations: LensOperation[]): {
7367
7498
  */
7368
7499
  declare function identity(source: SchemaIRI, target: SchemaIRI): SchemaLens;
7369
7500
 
7370
- 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 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, 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 };