@xnetjs/data 0.0.3 → 0.1.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-MWNCH4GJ.js +12 -0
  2. package/dist/account-ledger-R2GAFJL6.js +38 -0
  3. package/dist/auth/index.d.ts +11 -4
  4. package/dist/auth/index.js +1 -1
  5. package/dist/budget-NN7P35XP.js +12 -0
  6. package/dist/canvas-6WYBNH53.js +10 -0
  7. package/dist/channel-AT3LQF4A.js +12 -0
  8. package/dist/chat-message-DSVO72B3.js +10 -0
  9. package/dist/{chunk-J6EDPPH4.js → chunk-2ZNJWIQG.js} +2 -2
  10. package/dist/{chunk-5FHJE7RC.js → chunk-3J3HILXO.js} +2 -2
  11. package/dist/{chunk-EZA5UT4Y.js → chunk-3RUDVTMH.js} +6 -6
  12. package/dist/{chunk-YEQ6LLUY.js → chunk-4EYKGTSQ.js} +2 -2
  13. package/dist/{chunk-L66WXPTW.js → chunk-53F4PRNC.js} +2 -2
  14. package/dist/{chunk-LGD72FVD.js → chunk-5EXHNXPL.js} +2 -2
  15. package/dist/{chunk-4U4KBCDN.js → chunk-5HC5NO57.js} +2 -2
  16. package/dist/{chunk-YWN27MLD.js → chunk-6KLGA6IR.js} +2 -2
  17. package/dist/{chunk-37267RSF.js → chunk-6OMG4I7M.js} +2 -2
  18. package/dist/{chunk-DOZJXPQ6.js → chunk-BQLQSWKZ.js} +2 -2
  19. package/dist/{chunk-V6HZ3LF3.js → chunk-BY5O6LNC.js} +1 -1
  20. package/dist/{chunk-64AM6JPM.js → chunk-DCTRX6II.js} +1 -1
  21. package/dist/{chunk-SPFKSTPT.js → chunk-DWEXKD6E.js} +2 -2
  22. package/dist/{chunk-O64EK5FK.js → chunk-EBNMV2VO.js} +11 -2
  23. package/dist/{chunk-J4IVJA5M.js → chunk-FVEACSKE.js} +2 -2
  24. package/dist/{chunk-XWA3CJQ6.js → chunk-GU6THOAB.js} +2 -2
  25. package/dist/{chunk-XTUGZSYQ.js → chunk-H4GA4BBK.js} +2 -2
  26. package/dist/{chunk-GR3NDMBY.js → chunk-IJ44LR7N.js} +2 -2
  27. package/dist/{chunk-E6S557NC.js → chunk-J4ANIXIV.js} +2 -2
  28. package/dist/{chunk-EIQX7INF.js → chunk-JDFNMFOZ.js} +2 -2
  29. package/dist/{chunk-PSUJEKVV.js → chunk-K7DOZWWT.js} +244 -155
  30. package/dist/{chunk-UDUPQKRB.js → chunk-KQAT4XBL.js} +2 -2
  31. package/dist/chunk-KQUALW4O.js +183 -0
  32. package/dist/{chunk-KPVBKKZS.js → chunk-LYSWLCOI.js} +2 -2
  33. package/dist/{chunk-YXZGYLKV.js → chunk-MBTUO3ZL.js} +2 -2
  34. package/dist/{chunk-7GMJOAPF.js → chunk-NI4FHG2K.js} +2 -2
  35. package/dist/{chunk-6OPZJ7MG.js → chunk-OCMSAKWV.js} +2 -2
  36. package/dist/{chunk-IP4BEVVD.js → chunk-OGJCRNGE.js} +2 -2
  37. package/dist/{chunk-6CN53PON.js → chunk-OPPHF3TF.js} +3 -3
  38. package/dist/{chunk-77UDLVQY.js → chunk-OSAWNZVM.js} +1 -1
  39. package/dist/{chunk-GWYVY2K4.js → chunk-PNESGUH5.js} +2 -2
  40. package/dist/{chunk-RSSZXCLL.js → chunk-Q3IEGH4B.js} +2 -2
  41. package/dist/{chunk-2DSDH2ZH.js → chunk-QJW5LDP4.js} +2 -2
  42. package/dist/{chunk-JESSJ5CZ.js → chunk-RL64OJJ5.js} +13 -3
  43. package/dist/{chunk-S4B5OPZU.js → chunk-S5RP5RKY.js} +1 -0
  44. package/dist/{chunk-4UQTURCD.js → chunk-S6U6TCMN.js} +2 -2
  45. package/dist/{chunk-C5IRSEEZ.js → chunk-SVNGSZZA.js} +2 -2
  46. package/dist/{chunk-ZICIXDEE.js → chunk-T5AZAOG5.js} +1 -1
  47. package/dist/{chunk-IJ675GJR.js → chunk-TCTZW4A6.js} +2 -2
  48. package/dist/{chunk-54Y7QRZN.js → chunk-U64CW73O.js} +2 -2
  49. package/dist/{chunk-QVZXXJSP.js → chunk-UDWKWTAX.js} +485 -81
  50. package/dist/{chunk-3RB2FMMO.js → chunk-UQM3G5A2.js} +2 -2
  51. package/dist/{chunk-ENTHVNOC.js → chunk-VQ7JHB67.js} +2 -2
  52. package/dist/{chunk-JO6Y4E5V.js → chunk-W7EBL7ZU.js} +2 -2
  53. package/dist/{chunk-WUR3WWQM.js → chunk-WEPK7SZF.js} +2 -2
  54. package/dist/{chunk-3JKW6TDE.js → chunk-XMSKJ5PV.js} +2 -2
  55. package/dist/{chunk-WMSCEBFH.js → chunk-XROI44ZP.js} +2 -2
  56. package/dist/{chunk-CHZUSBSB.js → chunk-Y3S5SRVM.js} +2 -2
  57. package/dist/{chunk-KTJLFJEQ.js → chunk-YEFKQYKA.js} +2 -2
  58. package/dist/{chunk-DTPSTMUD.js → chunk-YSUIXD2Y.js} +2 -2
  59. package/dist/{chunk-ZMCO3O2Z.js → chunk-ZCOFZY5M.js} +2 -2
  60. package/dist/{chunk-U6CBYDVZ.js → chunk-ZLU4Y3O2.js} +2 -2
  61. package/dist/{chunk-337E3ZOB.js → chunk-ZPZ7XDA6.js} +2 -2
  62. package/dist/{chunk-6GB7PBCR.js → chunk-ZZ6TWKGS.js} +2 -2
  63. package/dist/{clone-DpbVKLUu.d.ts → clone-C0Jhk2UN.d.ts} +2 -2
  64. package/dist/comment-QSWYAQVS.js +10 -0
  65. package/dist/{crm-AAJXYIJY.js → crm-L5RYAAF3.js} +5 -5
  66. package/dist/dashboard-JMKTTRA7.js +10 -0
  67. package/dist/database/index.d.ts +3 -3
  68. package/dist/database/index.js +11 -11
  69. package/dist/database-GIXSPZJW.js +10 -0
  70. package/dist/database-field-3EPAMZUR.js +10 -0
  71. package/dist/database-row-6Q6TRVE4.js +10 -0
  72. package/dist/database-select-option-BBBJFLLH.js +10 -0
  73. package/dist/database-view-5PLSOBI2.js +10 -0
  74. package/dist/experiment-DOVOZ34Y.js +10 -0
  75. package/dist/{external-item-D654PKLI.js → external-item-P2E5X7BZ.js} +5 -5
  76. package/dist/external-reference-7BSFF6SA.js +8 -0
  77. package/dist/feed-2IXHHP6O.js +12 -0
  78. package/dist/feed-item-DPE6LN7I.js +12 -0
  79. package/dist/{folder-ONKSWHUT.js → folder-6KM3KYD5.js} +3 -3
  80. package/dist/{game-BF7DP5JU.js → game-5AK5XWBR.js} +5 -5
  81. package/dist/grant-WTQSNT5A.js +8 -0
  82. package/dist/{grant-expiration-cleaner-DBiNTWbD.d.ts → grant-expiration-cleaner-CY6BcmlR.d.ts} +2 -2
  83. package/dist/import-batch-IXBJLQPJ.js +12 -0
  84. package/dist/{inbox-state-AN6FPCIY.js → inbox-state-E5NSVOGP.js} +3 -3
  85. package/dist/index.d.ts +7 -7
  86. package/dist/index.js +101 -55
  87. package/dist/map-RG5Y3CPC.js +10 -0
  88. package/dist/media-asset-QTCGLIZA.js +8 -0
  89. package/dist/{memory-NV6EVJBE.js → memory-PNRTMBZO.js} +3 -3
  90. package/dist/metric-65SVOX5C.js +10 -0
  91. package/dist/milestone-XEO6ZGDG.js +12 -0
  92. package/dist/{moderation-QSUVBCNS.js → moderation-FFHETMRB.js} +3 -3
  93. package/dist/observation-2Y3QKUXM.js +10 -0
  94. package/dist/page-2V27JGKJ.js +10 -0
  95. package/dist/posting-GBOSZCMZ.js +12 -0
  96. package/dist/profile-BLLDWIDK.js +8 -0
  97. package/dist/project-CQL5LN26.js +10 -0
  98. package/dist/{query-ast-CWo6_30h.d.ts → query-ast-C3m6kZYv.d.ts} +1 -1
  99. package/dist/reaction-T2DTJBBV.js +10 -0
  100. package/dist/{registry-CQoN_p8U.d.ts → registry-DunPv__d.d.ts} +1 -1
  101. package/dist/saved-view-4R2DBCL3.js +10 -0
  102. package/dist/schema/index.d.ts +320 -13
  103. package/dist/schema/index.js +98 -52
  104. package/dist/{schema-extension-5BUXRDPB.js → schema-extension-LNRF2YRD.js} +5 -5
  105. package/dist/{space-PZ737CIS.js → space-IJU24PBH.js} +6 -6
  106. package/dist/{space-membership-N35NRX6F.js → space-membership-DEUMM7NV.js} +3 -3
  107. package/dist/store/index.d.ts +131 -4
  108. package/dist/store/index.js +5 -5
  109. package/dist/{store-CvgiydME.d.ts → store-DtIDjk7c.d.ts} +18 -1
  110. package/dist/{system-Q5I6STDC.js → system-ILHCZOVO.js} +3 -3
  111. package/dist/{tag-C677GKQW.js → tag-SKCHM3U5.js} +3 -3
  112. package/dist/{task-WQLMPN5U.js → task-7AOBP7WC.js} +5 -5
  113. package/dist/task-view-NUGKELJP.js +10 -0
  114. package/dist/transaction-ZDSEGDIR.js +12 -0
  115. package/dist/transcription-PSCLDAGX.js +12 -0
  116. package/dist/{types-Def-5Nka.d.ts → types-S-BJAKyK.d.ts} +53 -2
  117. package/dist/user-widget-RLY2N46A.js +8 -0
  118. package/package.json +7 -7
  119. package/dist/account-BZHETMC4.js +0 -12
  120. package/dist/budget-WR2Q4YH3.js +0 -12
  121. package/dist/canvas-HFMMVQLD.js +0 -10
  122. package/dist/channel-DXDYJ3ZH.js +0 -12
  123. package/dist/chat-message-QUUQGXEW.js +0 -10
  124. package/dist/comment-Y2Y3QYYI.js +0 -10
  125. package/dist/dashboard-3DC6B4BJ.js +0 -10
  126. package/dist/database-DRGL5UYS.js +0 -10
  127. package/dist/database-field-F47FY3XX.js +0 -10
  128. package/dist/database-row-77OXW2NF.js +0 -10
  129. package/dist/database-select-option-6S3TTA7A.js +0 -10
  130. package/dist/database-view-YW7DQG5X.js +0 -10
  131. package/dist/experiment-TJOAL3OH.js +0 -10
  132. package/dist/external-reference-K5SUJIQN.js +0 -8
  133. package/dist/feed-L23XTNDI.js +0 -12
  134. package/dist/feed-item-GSO242J6.js +0 -12
  135. package/dist/grant-NNKMWXPX.js +0 -8
  136. package/dist/import-batch-JMESZ4VI.js +0 -12
  137. package/dist/map-AUV65YS3.js +0 -10
  138. package/dist/media-asset-4I5YPR4R.js +0 -8
  139. package/dist/metric-X7W55DLC.js +0 -10
  140. package/dist/milestone-JJGOGK4R.js +0 -12
  141. package/dist/observation-UZSXXGBC.js +0 -10
  142. package/dist/page-NI7XODS6.js +0 -10
  143. package/dist/posting-FZOYVGH2.js +0 -12
  144. package/dist/profile-42A43GES.js +0 -8
  145. package/dist/project-G2CTLDXY.js +0 -10
  146. package/dist/reaction-VAQBVDUD.js +0 -10
  147. package/dist/saved-view-AOQHGHNM.js +0 -10
  148. package/dist/task-view-T5S32V4L.js +0 -10
  149. package/dist/transaction-U3ITRGJP.js +0 -12
  150. package/dist/transcription-F3T23LLO.js +0 -12
  151. package/dist/user-widget-4SJJFPG5.js +0 -8
@@ -0,0 +1,10 @@
1
+ import {
2
+ PageSchema
3
+ } from "./chunk-ZLU4Y3O2.js";
4
+ import "./chunk-OCMSAKWV.js";
5
+ import "./chunk-T5AZAOG5.js";
6
+ import "./chunk-EBNMV2VO.js";
7
+ import "./chunk-RL64OJJ5.js";
8
+ export {
9
+ PageSchema
10
+ };
@@ -0,0 +1,12 @@
1
+ import {
2
+ POSTING_SCHEMA_IRI,
3
+ PostingSchema
4
+ } from "./chunk-JDFNMFOZ.js";
5
+ import "./chunk-OCMSAKWV.js";
6
+ import "./chunk-T5AZAOG5.js";
7
+ import "./chunk-EBNMV2VO.js";
8
+ import "./chunk-RL64OJJ5.js";
9
+ export {
10
+ POSTING_SCHEMA_IRI,
11
+ PostingSchema
12
+ };
@@ -0,0 +1,8 @@
1
+ import {
2
+ ProfileSchema
3
+ } from "./chunk-DCTRX6II.js";
4
+ import "./chunk-EBNMV2VO.js";
5
+ import "./chunk-RL64OJJ5.js";
6
+ export {
7
+ ProfileSchema
8
+ };
@@ -0,0 +1,10 @@
1
+ import {
2
+ ProjectSchema
3
+ } from "./chunk-XROI44ZP.js";
4
+ import "./chunk-OCMSAKWV.js";
5
+ import "./chunk-T5AZAOG5.js";
6
+ import "./chunk-EBNMV2VO.js";
7
+ import "./chunk-RL64OJJ5.js";
8
+ export {
9
+ ProjectSchema
10
+ };
@@ -1,4 +1,4 @@
1
- import { S as SchemaIRI, c as SortDirection, N as NodeQueryPageCountMode, P as PropertyBuilder, I as InferCreateProps, D as DefinedSchema, d as SystemOrderField } from './types-Def-5Nka.js';
1
+ import { S as SchemaIRI, c as SortDirection, N as NodeQueryPageCountMode, P as PropertyBuilder, I as InferCreateProps, D as DefinedSchema, d as SystemOrderField } from './types-S-BJAKyK.js';
2
2
 
3
3
  /**
4
4
  * Canonical query AST for advanced Node reads.
@@ -0,0 +1,10 @@
1
+ import {
2
+ ReactionSchema
3
+ } from "./chunk-Y3S5SRVM.js";
4
+ import "./chunk-OCMSAKWV.js";
5
+ import "./chunk-T5AZAOG5.js";
6
+ import "./chunk-EBNMV2VO.js";
7
+ import "./chunk-RL64OJJ5.js";
8
+ export {
9
+ ReactionSchema
10
+ };
@@ -1,4 +1,4 @@
1
- import { P as PropertyBuilder, D as DefinedSchema, S as SchemaIRI, a as Schema, b as ParsedSchemaIRI } from './types-Def-5Nka.js';
1
+ import { P as PropertyBuilder, D as DefinedSchema, S as SchemaIRI, a as Schema, b as ParsedSchemaIRI } from './types-S-BJAKyK.js';
2
2
 
3
3
  /**
4
4
  * Schema Registry - Runtime lookup for schema definitions.
@@ -0,0 +1,10 @@
1
+ import {
2
+ SavedViewSchema
3
+ } from "./chunk-ZZ6TWKGS.js";
4
+ import "./chunk-OCMSAKWV.js";
5
+ import "./chunk-T5AZAOG5.js";
6
+ import "./chunk-EBNMV2VO.js";
7
+ import "./chunk-RL64OJJ5.js";
8
+ export {
9
+ SavedViewSchema
10
+ };
@@ -1,10 +1,10 @@
1
- import { P as PropertyBuilder, S as SchemaIRI, D as DefinedSchema, ba as DocumentType, y as DID, Q as InferNode, V as ValidationResult, a as Schema, B as PropertyType, h as NodeState, v as NodeChangeEvent, F as ValidationError, W as LensOperation, R as SchemaLens } from '../types-Def-5Nka.js';
2
- export { H as CreateNodeOptions, bb as DEFAULT_SCHEMA_VERSION, I as InferCreateProps, K as InferProperties, J as InferPropertyType, Z as LensRegistry, Y as MigrationError, X as MigrationResult, x as Node, b as ParsedSchemaIRI, E as PropertyDefinition, bd as buildSchemaIRI, A as createNodeId, bf as getBaseSchemaIRI, bh as getSchemaVersion, z as isNode, bg as isSameSchema, _ as lensRegistry, be as normalizeSchemaIRI, bc as parseSchemaIRI } from '../types-Def-5Nka.js';
1
+ import { P as PropertyBuilder, S as SchemaIRI, D as DefinedSchema, ba as DocumentType, y as DID, Q as InferNode, V as ValidationResult, a as Schema, B as PropertyType, h as NodeState, v as NodeChangeEvent, F as ValidationError, W as LensOperation, R as SchemaLens } from '../types-S-BJAKyK.js';
2
+ export { H as CreateNodeOptions, bb as DEFAULT_SCHEMA_VERSION, I as InferCreateProps, K as InferProperties, J as InferPropertyType, Z as LensRegistry, Y as MigrationError, X as MigrationResult, x as Node, b as ParsedSchemaIRI, E as PropertyDefinition, bd as buildSchemaIRI, A as createNodeId, bf as getBaseSchemaIRI, bh as getSchemaVersion, z as isNode, bg as isSameSchema, _ as lensRegistry, be as normalizeSchemaIRI, bc as parseSchemaIRI } from '../types-S-BJAKyK.js';
3
3
  import { AuthorizationDefinition } from '@xnetjs/core';
4
- import { S as SavedViewDescriptor } from '../query-ast-CWo6_30h.js';
4
+ import { S as SavedViewDescriptor } from '../query-ast-C3m6kZYv.js';
5
5
  import { m as FilterGroup, p as SortConfig, y as SummaryFunction } from '../view-types-DSde-uT_.js';
6
- import { N as NodeStore } from '../store-CvgiydME.js';
7
- export { S as SchemaRegistry, s as schemaRegistry } from '../registry-CQoN_p8U.js';
6
+ import { N as NodeStore } from '../store-DtIDjk7c.js';
7
+ export { S as SchemaRegistry, s as schemaRegistry } from '../registry-DunPv__d.js';
8
8
  import '@xnetjs/crypto';
9
9
  import '@xnetjs/sqlite';
10
10
  import '@xnetjs/sync';
@@ -854,8 +854,11 @@ interface GeoFeatureCollection {
854
854
  type: 'FeatureCollection';
855
855
  features: GeoFeature[];
856
856
  }
857
- /** Built-in basemap identifiers (open, key-less). `blank` renders no tiles. */
858
- type MapBasemapId = 'protomaps-light' | 'protomaps-dark' | 'blank';
857
+ /**
858
+ * Built-in basemap identifiers (open, key-less). `blank` renders no tiles;
859
+ * `satellite` renders open XYZ imagery (exploration 0230).
860
+ */
861
+ type MapBasemapId = 'protomaps-light' | 'protomaps-dark' | 'satellite' | 'blank';
859
862
  /** Camera position for the map. longitude/latitude in degrees. */
860
863
  interface MapViewport {
861
864
  longitude: number;
@@ -879,8 +882,15 @@ interface MapLayerStyle {
879
882
  /**
880
883
  * Where a layer's features come from.
881
884
  * - `geojson`: inline imported FeatureCollection (the v1 path — fully local).
885
+ * - `query`: live binding to a database's rows by lat/lon. Rows are queried by
886
+ * the current viewport bounds and materialized to point features on the fly
887
+ * (exploration 0230). `latProperty`/`lonProperty` name the numeric coordinate
888
+ * properties; `where` is an optional equality filter; `tooltip` selects the
889
+ * property keys surfaced in the click popup.
890
+ * - `raster`: an XYZ raster tile overlay (imagery/topo) drawn above the basemap.
891
+ * - `pmtiles`: a self-hosted vector tileset stored as a BlobStore artifact
892
+ * (reserved — tiered bulk vector, read by content id over range requests).
882
893
  * - `dataset`: reference to a GeoDataset artifact node (reserved — tiered bulk).
883
- * - `query`: live binding to a database's rows by lat/lon (reserved).
884
894
  */
885
895
  type MapLayerSource = {
886
896
  kind: 'geojson';
@@ -894,6 +904,24 @@ type MapLayerSource = {
894
904
  geoProperty?: string;
895
905
  latProperty?: string;
896
906
  lonProperty?: string;
907
+ /** Optional equality where-filter applied to the queried schema. */
908
+ where?: Record<string, unknown>;
909
+ /** Property keys surfaced in the click popup / inspector (defaults to all). */
910
+ tooltip?: string[];
911
+ } | {
912
+ kind: 'raster';
913
+ /** XYZ raster tile URL template, e.g. `https://…/{z}/{x}/{y}.png`. */
914
+ tileUrl: string;
915
+ /** Tile edge length in px (256 or 512). Defaults to 256. */
916
+ tileSize?: 256 | 512;
917
+ /** Attribution string shown in the map's attribution control. */
918
+ attribution?: string;
919
+ } | {
920
+ kind: 'pmtiles';
921
+ /** Content id of a self-hosted `.pmtiles` artifact in BlobStore. */
922
+ artifactCid: string;
923
+ /** Source-layer name to draw from inside the vector tileset. */
924
+ sourceLayer: string;
897
925
  };
898
926
  /** One layer on a map. */
899
927
  interface MapLayerSpec {
@@ -1716,7 +1744,7 @@ declare const ContactSchema: DefinedSchema<{
1716
1744
  did: PropertyBuilder<`did:key:${string}`>;
1717
1745
  /** Optional link to a `@xnetjs/social` actor for import/dedup. */
1718
1746
  actor: PropertyBuilder<string>;
1719
- lifecycle: PropertyBuilder<"lead" | "subscriber" | "mql" | "sql" | "opportunity" | "customer" | "evangelist" | "churned">;
1747
+ lifecycle: PropertyBuilder<"sql" | "lead" | "subscriber" | "mql" | "opportunity" | "customer" | "evangelist" | "churned">;
1720
1748
  /** When this contact was last interacted with (drives keep-in-touch). */
1721
1749
  lastTouchAt: PropertyBuilder<number>;
1722
1750
  /** Next time to reach out — derived from `lastTouchAt` + `touchEveryDays`. */
@@ -2041,7 +2069,7 @@ declare const crmSchemas: readonly [DefinedSchema<{
2041
2069
  did: PropertyBuilder<`did:key:${string}`>;
2042
2070
  /** Optional link to a `@xnetjs/social` actor for import/dedup. */
2043
2071
  actor: PropertyBuilder<string>;
2044
- lifecycle: PropertyBuilder<"lead" | "subscriber" | "mql" | "sql" | "opportunity" | "customer" | "evangelist" | "churned">;
2072
+ lifecycle: PropertyBuilder<"sql" | "lead" | "subscriber" | "mql" | "opportunity" | "customer" | "evangelist" | "churned">;
2045
2073
  /** When this contact was last interacted with (drives keep-in-touch). */
2046
2074
  lastTouchAt: PropertyBuilder<number>;
2047
2075
  /** Next time to reach out — derived from `lastTouchAt` + `touchEveryDays`. */
@@ -2740,6 +2768,195 @@ declare const GrantSchema: DefinedSchema<{
2740
2768
  }>;
2741
2769
  type Grant = InferNode<(typeof GrantSchema)['_properties']>;
2742
2770
 
2771
+ declare const ACCOUNT_RECORD_SCHEMA_IRI = "xnet://xnet.fyi/AccountRecord@1.0.0";
2772
+ declare const DEVICE_RECORD_SCHEMA_IRI = "xnet://xnet.fyi/DeviceRecord@1.0.0";
2773
+ declare const RECOVERY_RECORD_SCHEMA_IRI = "xnet://xnet.fyi/RecoveryRecord@1.0.0";
2774
+ declare const REVOCATION_RECORD_SCHEMA_IRI = "xnet://xnet.fyi/RevocationRecord@1.0.0";
2775
+ /** The stable account root that owns the ledger. */
2776
+ declare const AccountRecordSchema: DefinedSchema<{
2777
+ /** Stable subject, e.g. `xnet:account:<hash>`. Appears in grants + the cloud binding. */
2778
+ accountId: PropertyBuilder<string>;
2779
+ label: PropertyBuilder<string>;
2780
+ /** Device DIDs allowed to sign ledger changes (admit/revoke). JSON array of DIDs. */
2781
+ controllers: PropertyBuilder<unknown>;
2782
+ /** Monotonic epoch, bumped on every revocation so stale authorizations are detectable. */
2783
+ epoch: PropertyBuilder<number>;
2784
+ createdAt: PropertyBuilder<number>;
2785
+ createdBy: PropertyBuilder<`did:key:${string}`>;
2786
+ }>;
2787
+ /** A device admitted to act as the account. */
2788
+ declare const DeviceRecordSchema: DefinedSchema<{
2789
+ /** The owning account subject (id, for portability across hub mirrors). */
2790
+ account: PropertyBuilder<string>;
2791
+ /** The device's data identity (`did:key`). */
2792
+ deviceDid: PropertyBuilder<`did:key:${string}`>;
2793
+ label: PropertyBuilder<string>;
2794
+ /** WebAuthn relying-party id the gating passkey is scoped to. */
2795
+ rpId: PropertyBuilder<string>;
2796
+ /** Hash of the WebAuthn credential id (never the credential itself). */
2797
+ credentialIdHash: PropertyBuilder<string>;
2798
+ /** Capability hints (JSON), e.g. which scopes this device may exercise. */
2799
+ capabilities: PropertyBuilder<unknown>;
2800
+ status: PropertyBuilder<"active" | "revoked">;
2801
+ /** The controller DID that admitted this device. */
2802
+ addedBy: PropertyBuilder<`did:key:${string}`>;
2803
+ addedAt: PropertyBuilder<number>;
2804
+ lastSeenAt: PropertyBuilder<number>;
2805
+ /** Epoch at which this device was admitted. */
2806
+ epoch: PropertyBuilder<number>;
2807
+ createdAt: PropertyBuilder<number>;
2808
+ createdBy: PropertyBuilder<`did:key:${string}`>;
2809
+ }>;
2810
+ /** A recovery method registered for the account (commitment only — never the secret). */
2811
+ declare const RecoveryRecordSchema: DefinedSchema<{
2812
+ account: PropertyBuilder<string>;
2813
+ method: PropertyBuilder<"admin" | "social" | "phrase" | "hardware" | "backup-passkey">;
2814
+ label: PropertyBuilder<string>;
2815
+ /** Public commitment to the recovery key (e.g. the recovery DID), not the secret. */
2816
+ publicKeyHash: PropertyBuilder<string>;
2817
+ status: PropertyBuilder<"active" | "revoked">;
2818
+ addedBy: PropertyBuilder<`did:key:${string}`>;
2819
+ addedAt: PropertyBuilder<number>;
2820
+ createdAt: PropertyBuilder<number>;
2821
+ createdBy: PropertyBuilder<`did:key:${string}`>;
2822
+ }>;
2823
+ /** A signed revocation of a device or recovery method; bumps the account epoch. */
2824
+ declare const RevocationRecordSchema: DefinedSchema<{
2825
+ account: PropertyBuilder<string>;
2826
+ subjectKind: PropertyBuilder<"device" | "recovery">;
2827
+ /** The revoked subject: a device DID or a recovery record id. */
2828
+ subject: PropertyBuilder<string>;
2829
+ reason: PropertyBuilder<string>;
2830
+ effectiveAt: PropertyBuilder<number>;
2831
+ /** Epoch this revocation takes effect at. */
2832
+ epoch: PropertyBuilder<number>;
2833
+ /** The controller DID that signed the revocation. */
2834
+ signedBy: PropertyBuilder<`did:key:${string}`>;
2835
+ createdAt: PropertyBuilder<number>;
2836
+ createdBy: PropertyBuilder<`did:key:${string}`>;
2837
+ }>;
2838
+ type AccountRecord = InferNode<(typeof AccountRecordSchema)['_properties']>;
2839
+ type DeviceRecord = InferNode<(typeof DeviceRecordSchema)['_properties']>;
2840
+ type RecoveryRecord = InferNode<(typeof RecoveryRecordSchema)['_properties']>;
2841
+ type RevocationRecord = InferNode<(typeof RevocationRecordSchema)['_properties']>;
2842
+ declare function accountRecordId(accountId: string): string;
2843
+ declare function deviceRecordId(accountId: string, deviceDid: string): string;
2844
+ declare function recoveryRecordId(accountId: string, recoveryKey: string): string;
2845
+ declare function revocationRecordId(accountId: string, subject: string): string;
2846
+ /** Minimal shapes so callers can pass node `.properties` or plain test objects. */
2847
+ interface DeviceLike {
2848
+ account: string;
2849
+ deviceDid: string;
2850
+ status?: string;
2851
+ }
2852
+ interface RevocationLike {
2853
+ subject: string;
2854
+ subjectKind?: string;
2855
+ }
2856
+ /** Set of revoked subjects (device DIDs / recovery ids) for quick membership tests. */
2857
+ declare function revokedSubjects(revocations: readonly RevocationLike[]): Set<string>;
2858
+ /** Devices for an account that are `active` and not revoked. */
2859
+ declare function resolveActiveDevices<T extends DeviceLike>(devices: readonly T[], revocations: readonly RevocationLike[]): T[];
2860
+ /**
2861
+ * Whether `deviceDid` is currently authorized to act as `accountId`: an active device
2862
+ * record for that account exists and has not been revoked. This is the check the hub
2863
+ * (and any verifier) runs before accepting a device's signature for an account.
2864
+ */
2865
+ declare function isDeviceAuthorized(accountId: string, deviceDid: string, devices: readonly DeviceLike[], revocations: readonly RevocationLike[]): boolean;
2866
+ /**
2867
+ * Build the content-key re-wrap function for `computeRecipients` (exploration 0243,
2868
+ * P2.3): given a device DID that is a legitimate recipient, return every device DID
2869
+ * the content should be (re-)encrypted to — i.e. all of that account's *currently
2870
+ * active* devices. This is what makes admitting a device grant it access to existing
2871
+ * data (it appears on the next recipient recompute) and revoking a device remove it
2872
+ * from future re-wraps. A DID with no device record expands to just itself, so an
2873
+ * unrelated identity never gains access to another account's data.
2874
+ */
2875
+ declare function deviceRecipientExpander(devices: readonly DeviceLike[], revocations: readonly RevocationLike[]): (did: string) => string[];
2876
+
2877
+ /**
2878
+ * Account/device ledger operations (explorations 0149 + 0243, Phase 2).
2879
+ *
2880
+ * Pure builders that turn a ledger intent ("admit this device", "revoke that key")
2881
+ * into the deterministic node to upsert, plus `accountState` to resolve the current
2882
+ * epoch and active devices from a set of ledger records. The store/hub wiring (and the
2883
+ * controller-signature + content-key re-wrap that ride on admit/revoke) call these;
2884
+ * keeping them pure makes the rules unit-testable in isolation.
2885
+ */
2886
+
2887
+ /** A node to upsert: deterministic id + schema + properties (system fields set by the store). */
2888
+ interface LedgerNodeIntent {
2889
+ id: string;
2890
+ schemaId: SchemaIRI;
2891
+ properties: Record<string, unknown>;
2892
+ }
2893
+ /** Create the account root record. Epoch starts at 0. */
2894
+ declare function createAccountRecord(args: {
2895
+ accountId: string;
2896
+ controllers: readonly string[];
2897
+ label?: string;
2898
+ epoch?: number;
2899
+ }): LedgerNodeIntent;
2900
+ /** Admit a device to an account at the current epoch (upsert by account+device). */
2901
+ declare function admitDeviceRecord(args: {
2902
+ accountId: string;
2903
+ deviceDid: string;
2904
+ addedBy: string;
2905
+ epoch: number;
2906
+ nowMs: number;
2907
+ label?: string;
2908
+ rpId?: string;
2909
+ credentialIdHash?: string;
2910
+ capabilities?: unknown;
2911
+ }): LedgerNodeIntent;
2912
+ /** Next epoch after a revocation. Each revocation bumps the account epoch by one. */
2913
+ declare function nextEpoch(currentEpoch: number): number;
2914
+ /**
2915
+ * Revoke a device or recovery method. Returns the `RevocationRecord` to upsert *and*
2916
+ * the account's new epoch (the caller bumps `AccountRecord.epoch` to match) so stale
2917
+ * authorizations at the old epoch are detectable.
2918
+ */
2919
+ declare function revokeSubjectRecord(args: {
2920
+ accountId: string;
2921
+ subject: string;
2922
+ subjectKind: 'device' | 'recovery';
2923
+ signedBy: string;
2924
+ currentEpoch: number;
2925
+ reason?: string;
2926
+ nowMs: number;
2927
+ }): {
2928
+ revocation: LedgerNodeIntent;
2929
+ nextEpoch: number;
2930
+ };
2931
+ /** Convenience: revoke a device by DID. */
2932
+ declare function revokeDeviceRecord(args: {
2933
+ accountId: string;
2934
+ deviceDid: string;
2935
+ signedBy: string;
2936
+ currentEpoch: number;
2937
+ reason?: string;
2938
+ nowMs: number;
2939
+ }): {
2940
+ revocation: LedgerNodeIntent;
2941
+ nextEpoch: number;
2942
+ };
2943
+ /**
2944
+ * Resolve an account's current state from its ledger records: the current epoch and
2945
+ * the set of devices that may currently act as the account.
2946
+ */
2947
+ declare function accountState(input: {
2948
+ account?: {
2949
+ accountId: string;
2950
+ epoch?: number;
2951
+ } | null;
2952
+ devices: readonly DeviceLike[];
2953
+ revocations: readonly RevocationLike[];
2954
+ }): {
2955
+ epoch: number;
2956
+ activeDevices: DeviceLike[];
2957
+ revoked: ReadonlySet<string>;
2958
+ };
2959
+
2743
2960
  declare const SavedViewSchema: DefinedSchema<{
2744
2961
  /** Human-readable view title */
2745
2962
  title: PropertyBuilder<string>;
@@ -3964,7 +4181,7 @@ declare const builtInSchemas: {
3964
4181
  owner: PropertyBuilder<`did:key:${string}`>;
3965
4182
  did: PropertyBuilder<`did:key:${string}`>;
3966
4183
  actor: PropertyBuilder<string>;
3967
- lifecycle: PropertyBuilder<"lead" | "subscriber" | "mql" | "sql" | "opportunity" | "customer" | "evangelist" | "churned">;
4184
+ lifecycle: PropertyBuilder<"sql" | "lead" | "subscriber" | "mql" | "opportunity" | "customer" | "evangelist" | "churned">;
3968
4185
  lastTouchAt: PropertyBuilder<number>;
3969
4186
  nextTouchAt: PropertyBuilder<number>;
3970
4187
  touchEveryDays: PropertyBuilder<number>;
@@ -4329,6 +4546,51 @@ declare const builtInSchemas: {
4329
4546
  proofDepth: PropertyBuilder<number>;
4330
4547
  parentGrantId: PropertyBuilder<string>;
4331
4548
  }>>;
4549
+ readonly 'xnet://xnet.fyi/AccountRecord@1.0.0': () => Promise<DefinedSchema<{
4550
+ accountId: PropertyBuilder<string>;
4551
+ label: PropertyBuilder<string>;
4552
+ controllers: PropertyBuilder<unknown>;
4553
+ epoch: PropertyBuilder<number>;
4554
+ createdAt: PropertyBuilder<number>;
4555
+ createdBy: PropertyBuilder<`did:key:${string}`>;
4556
+ }>>;
4557
+ readonly 'xnet://xnet.fyi/DeviceRecord@1.0.0': () => Promise<DefinedSchema<{
4558
+ account: PropertyBuilder<string>;
4559
+ deviceDid: PropertyBuilder<`did:key:${string}`>;
4560
+ label: PropertyBuilder<string>;
4561
+ rpId: PropertyBuilder<string>;
4562
+ credentialIdHash: PropertyBuilder<string>;
4563
+ capabilities: PropertyBuilder<unknown>;
4564
+ status: PropertyBuilder<"active" | "revoked">;
4565
+ addedBy: PropertyBuilder<`did:key:${string}`>;
4566
+ addedAt: PropertyBuilder<number>;
4567
+ lastSeenAt: PropertyBuilder<number>;
4568
+ epoch: PropertyBuilder<number>;
4569
+ createdAt: PropertyBuilder<number>;
4570
+ createdBy: PropertyBuilder<`did:key:${string}`>;
4571
+ }>>;
4572
+ readonly 'xnet://xnet.fyi/RecoveryRecord@1.0.0': () => Promise<DefinedSchema<{
4573
+ account: PropertyBuilder<string>;
4574
+ method: PropertyBuilder<"admin" | "social" | "phrase" | "hardware" | "backup-passkey">;
4575
+ label: PropertyBuilder<string>;
4576
+ publicKeyHash: PropertyBuilder<string>;
4577
+ status: PropertyBuilder<"active" | "revoked">;
4578
+ addedBy: PropertyBuilder<`did:key:${string}`>;
4579
+ addedAt: PropertyBuilder<number>;
4580
+ createdAt: PropertyBuilder<number>;
4581
+ createdBy: PropertyBuilder<`did:key:${string}`>;
4582
+ }>>;
4583
+ readonly 'xnet://xnet.fyi/RevocationRecord@1.0.0': () => Promise<DefinedSchema<{
4584
+ account: PropertyBuilder<string>;
4585
+ subjectKind: PropertyBuilder<"device" | "recovery">;
4586
+ subject: PropertyBuilder<string>;
4587
+ reason: PropertyBuilder<string>;
4588
+ effectiveAt: PropertyBuilder<number>;
4589
+ epoch: PropertyBuilder<number>;
4590
+ signedBy: PropertyBuilder<`did:key:${string}`>;
4591
+ createdAt: PropertyBuilder<number>;
4592
+ createdBy: PropertyBuilder<`did:key:${string}`>;
4593
+ }>>;
4332
4594
  readonly 'xnet://xnet.fyi/SavedView@1.0.0': () => Promise<DefinedSchema<{
4333
4595
  title: PropertyBuilder<string>;
4334
4596
  description: PropertyBuilder<string>;
@@ -4948,7 +5210,7 @@ declare const builtInSchemas: {
4948
5210
  owner: PropertyBuilder<`did:key:${string}`>;
4949
5211
  did: PropertyBuilder<`did:key:${string}`>;
4950
5212
  actor: PropertyBuilder<string>;
4951
- lifecycle: PropertyBuilder<"lead" | "subscriber" | "mql" | "sql" | "opportunity" | "customer" | "evangelist" | "churned">;
5213
+ lifecycle: PropertyBuilder<"sql" | "lead" | "subscriber" | "mql" | "opportunity" | "customer" | "evangelist" | "churned">;
4952
5214
  lastTouchAt: PropertyBuilder<number>;
4953
5215
  nextTouchAt: PropertyBuilder<number>;
4954
5216
  touchEveryDays: PropertyBuilder<number>;
@@ -5313,6 +5575,51 @@ declare const builtInSchemas: {
5313
5575
  proofDepth: PropertyBuilder<number>;
5314
5576
  parentGrantId: PropertyBuilder<string>;
5315
5577
  }>>;
5578
+ readonly 'xnet://xnet.fyi/AccountRecord': () => Promise<DefinedSchema<{
5579
+ accountId: PropertyBuilder<string>;
5580
+ label: PropertyBuilder<string>;
5581
+ controllers: PropertyBuilder<unknown>;
5582
+ epoch: PropertyBuilder<number>;
5583
+ createdAt: PropertyBuilder<number>;
5584
+ createdBy: PropertyBuilder<`did:key:${string}`>;
5585
+ }>>;
5586
+ readonly 'xnet://xnet.fyi/DeviceRecord': () => Promise<DefinedSchema<{
5587
+ account: PropertyBuilder<string>;
5588
+ deviceDid: PropertyBuilder<`did:key:${string}`>;
5589
+ label: PropertyBuilder<string>;
5590
+ rpId: PropertyBuilder<string>;
5591
+ credentialIdHash: PropertyBuilder<string>;
5592
+ capabilities: PropertyBuilder<unknown>;
5593
+ status: PropertyBuilder<"active" | "revoked">;
5594
+ addedBy: PropertyBuilder<`did:key:${string}`>;
5595
+ addedAt: PropertyBuilder<number>;
5596
+ lastSeenAt: PropertyBuilder<number>;
5597
+ epoch: PropertyBuilder<number>;
5598
+ createdAt: PropertyBuilder<number>;
5599
+ createdBy: PropertyBuilder<`did:key:${string}`>;
5600
+ }>>;
5601
+ readonly 'xnet://xnet.fyi/RecoveryRecord': () => Promise<DefinedSchema<{
5602
+ account: PropertyBuilder<string>;
5603
+ method: PropertyBuilder<"admin" | "social" | "phrase" | "hardware" | "backup-passkey">;
5604
+ label: PropertyBuilder<string>;
5605
+ publicKeyHash: PropertyBuilder<string>;
5606
+ status: PropertyBuilder<"active" | "revoked">;
5607
+ addedBy: PropertyBuilder<`did:key:${string}`>;
5608
+ addedAt: PropertyBuilder<number>;
5609
+ createdAt: PropertyBuilder<number>;
5610
+ createdBy: PropertyBuilder<`did:key:${string}`>;
5611
+ }>>;
5612
+ readonly 'xnet://xnet.fyi/RevocationRecord': () => Promise<DefinedSchema<{
5613
+ account: PropertyBuilder<string>;
5614
+ subjectKind: PropertyBuilder<"device" | "recovery">;
5615
+ subject: PropertyBuilder<string>;
5616
+ reason: PropertyBuilder<string>;
5617
+ effectiveAt: PropertyBuilder<number>;
5618
+ epoch: PropertyBuilder<number>;
5619
+ signedBy: PropertyBuilder<`did:key:${string}`>;
5620
+ createdAt: PropertyBuilder<number>;
5621
+ createdBy: PropertyBuilder<`did:key:${string}`>;
5622
+ }>>;
5316
5623
  readonly 'xnet://xnet.fyi/SavedView': () => Promise<DefinedSchema<{
5317
5624
  title: PropertyBuilder<string>;
5318
5625
  description: PropertyBuilder<string>;
@@ -6179,4 +6486,4 @@ declare function createOperations(...operations: LensOperation[]): {
6179
6486
  */
6180
6487
  declare function identity(source: SchemaIRI, target: SchemaIRI): SchemaLens;
6181
6488
 
6182
- export { ACCOUNT_SCHEMA_IRI, ACHIEVEMENT_SCHEMA_IRI, ACTIVITY_KINDS, ACTIVITY_SCHEMA_IRI, type AbuseReport, AbuseReportSchema, type Account, type AccountClassId, AccountSchema, type Achievement, AchievementSchema, type Activity, type ActivityKind, ActivitySchema, type AnchorData, type AnchorType, type Appeal, AppealSchema, BUDGET_SCHEMA_IRI, type Budget, type BudgetPeriod, BudgetSchema, type BuiltInSchemaIRI, CHANNEL_KINDS, 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 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, DID, 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 DefineSchemaOptions, DefinedSchema, DocumentType, 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, LensOperation, type LineItem, LineItemSchema, MATCH_RESULTS, MATCH_SESSION_SCHEMA_IRI, MAX_MENTION_DIDS, MAX_TAG_NAME_LENGTH, 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 MemoryItem, MemoryItemSchema, type MemoryKind, type Mention, 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, RELATIONSHIP_KINDS, RELATIONSHIP_SCHEMA_IRI, type Reaction, ReactionSchema, type RelationOptions, type Relationship, type RelationshipKind, RelationshipSchema, type ReviewTask, ReviewTaskSchema, 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, addDefault, bucketPresenceCount, buildEffectiveSchema, buildFolderTree, buildSpaceTree, buildSystemNamespace, buildSystemNodeId, builtInSchemas, canManageSpace, canModifyColumn, checkOrphanStatus, checkbox, compareSpaceRoles, composeLens, computeSchemaDefinitionContentHash, convert, copy, createNodeGraphSchemaResolver, createOperations, createSchemaDefinitionSigningPayload, created, createdBy, crmSchemas, date, dateRange, decodeAnchor, defineSchema, effectiveSpaceRole, email, encodeAnchor, extKey, extractMentions, file, filterOrphanedComments, findLockedColumns, flattenFolderTree, flattenSpaceTree, folderAncestorIds, folderPathIds, formatTaskShortId, gameSchemas, getMentionedUsers, getPresenceNoisePolicy, getTaskStatusCategory, identity, inboxStateNodeId, isCanvasObjectAnchor, isCanvasPositionAnchor, isCellAnchor, isColumnAnchor, isCompletedTaskStatus, isExtKey, isMoneyValue, isNodeAnchor, isRowAnchor, isSchemaDefinitionNode, isSpaceRole, isSystemNamespaceResource, isSystemSchemaIri, isTextAnchor, isValidMentions, isValidTagName, json, loadExtensionFields, lockedPropertyKeys, mentionsInclude, merge, mergeSidecarsIntoRow, money, multiSelect, normalizeMentions, normalizeTagName, number, parseExtKey, parseSystemNamespaceResource, parseTaskShortId, person, phone, promoteOverlay, relation, remove, rename, resolveEffectiveSchema, resolveSchemaAuthority, schemaExtensionId, select, selectExtensionFields, shortIdsFromBlock, sidecarId, sidecarOverlayKeys, spaceAncestorIds, spaceMembershipId, spacePathIds, spaceRoleGrantActions, spaceRoleToShareRole, summarizePresenceNodes, taskBranchName, text, transform, updated, url, validateSchemaDefinitionNode, when, wouldCreateFolderCycle, wouldCreateSpaceCycle };
6489
+ export { ACCOUNT_RECORD_SCHEMA_IRI, ACCOUNT_SCHEMA_IRI, ACHIEVEMENT_SCHEMA_IRI, ACTIVITY_KINDS, ACTIVITY_SCHEMA_IRI, type AbuseReport, AbuseReportSchema, type Account, type AccountClassId, type AccountRecord, AccountRecordSchema, AccountSchema, type Achievement, AchievementSchema, type Activity, type ActivityKind, ActivitySchema, type AnchorData, type AnchorType, type Appeal, AppealSchema, BUDGET_SCHEMA_IRI, type Budget, type BudgetPeriod, BudgetSchema, type BuiltInSchemaIRI, CHANNEL_KINDS, 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 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, 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 DefineSchemaOptions, DefinedSchema, type DeviceLike, type DeviceRecord, DeviceRecordSchema, DocumentType, 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_MENTION_DIDS, MAX_TAG_NAME_LENGTH, 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 MemoryItem, MemoryItemSchema, type MemoryKind, type Mention, 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, accountRecordId, accountState, addDefault, admitDeviceRecord, 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, 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, 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, promoteOverlay, recoveryRecordId, relation, remove, rename, resolveActiveDevices, resolveEffectiveSchema, resolveSchemaAuthority, revocationRecordId, revokeDeviceRecord, revokeSubjectRecord, revokedSubjects, schemaExtensionId, select, selectExtensionFields, shortIdsFromBlock, sidecarId, sidecarOverlayKeys, spaceAncestorIds, spaceMembershipId, spacePathIds, spaceRoleGrantActions, spaceRoleToShareRole, summarizePresenceNodes, taskBranchName, text, transform, updated, url, validateSchemaDefinitionNode, when, wouldCreateFolderCycle, wouldCreateSpaceCycle };