@noy-db/hub 0.7.0-pre.4 → 0.7.0-pre.6

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 (190) hide show
  1. package/CHANGELOG.md +45 -0
  2. package/dist/{api-ENZ2ADVW.js → api-OAZLPNVV.js} +4 -4
  3. package/dist/as/index.js +3 -3
  4. package/dist/at/index.js +1 -1
  5. package/dist/attestation/index.js +10 -10
  6. package/dist/{backup-PT7L6TP7.js → backup-SZBDQQSL.js} +4 -4
  7. package/dist/blobs/index.js +3 -3
  8. package/dist/broker/index.js +4 -4
  9. package/dist/cargo/index.js +14 -14
  10. package/dist/{chunk-HO6F7YBI.js → chunk-26W5VETY.js} +2 -2
  11. package/dist/{chunk-OMF7MYHL.js → chunk-4FPEWQKF.js} +3 -3
  12. package/dist/{chunk-APUCE47B.js → chunk-4JDIRUTT.js} +2 -2
  13. package/dist/{chunk-RBRNSXPE.js → chunk-4MZEZ37W.js} +3 -3
  14. package/dist/{chunk-A7FUC6HA.js → chunk-4TZUFNXL.js} +2 -2
  15. package/dist/{chunk-RK4FY5C5.js → chunk-626TSARM.js} +2 -2
  16. package/dist/{chunk-XZ2PWHVM.js → chunk-672U6STZ.js} +3 -3
  17. package/dist/{chunk-K4W6XBMO.js → chunk-6AQIFBSP.js} +2 -2
  18. package/dist/{chunk-UHM3GMBN.js → chunk-6NRVFD55.js} +3 -3
  19. package/dist/{chunk-C5JIS3OC.js → chunk-7CWII4BL.js} +6 -6
  20. package/dist/{chunk-6K7AID3U.js → chunk-7XODKGTW.js} +2 -2
  21. package/dist/{chunk-B7SJ52ZG.js → chunk-BOFRKAUS.js} +2 -2
  22. package/dist/{chunk-CSNKE6OP.js → chunk-BWWUXE3L.js} +3 -3
  23. package/dist/{chunk-PE4LXIRT.js → chunk-BYBB4ABD.js} +13 -1
  24. package/dist/chunk-BYBB4ABD.js.map +1 -0
  25. package/dist/{chunk-4Q6V62GF.js → chunk-EO2KGKEJ.js} +2 -2
  26. package/dist/{chunk-2YI35ZXY.js → chunk-EXDIHWFO.js} +3 -3
  27. package/dist/{chunk-4H3KXLCM.js → chunk-FKFIEEY6.js} +8 -8
  28. package/dist/{chunk-LQPPIZFH.js → chunk-HQINBNHM.js} +5 -5
  29. package/dist/{chunk-J5HTPDT6.js → chunk-HSGEIMJS.js} +3 -3
  30. package/dist/{chunk-FH5GFLUY.js → chunk-IF56DYJK.js} +2 -2
  31. package/dist/{chunk-GJZPDSHN.js → chunk-ILSR22WM.js} +3 -3
  32. package/dist/{chunk-5D5VN3EH.js → chunk-JHLJQUXU.js} +2 -2
  33. package/dist/{chunk-4NAPXEWY.js → chunk-JJZIIJSA.js} +2 -2
  34. package/dist/{chunk-7CHX7QON.js → chunk-L3FHEWA3.js} +3 -3
  35. package/dist/{chunk-OIHSOAZO.js → chunk-LFDMKZIP.js} +2 -2
  36. package/dist/{chunk-HG2VWXNA.js → chunk-OMHHGOG4.js} +8 -8
  37. package/dist/{chunk-WMWTBSYJ.js → chunk-PRHCMEUK.js} +47 -47
  38. package/dist/{chunk-ILEIIFSK.js → chunk-Q7GEDVHC.js} +4 -4
  39. package/dist/{chunk-SKYA4D2G.js → chunk-RJ7RIIX6.js} +2 -2
  40. package/dist/{chunk-ACAQXGRE.js → chunk-S3I7VKID.js} +2 -2
  41. package/dist/{chunk-TFV37WMH.js → chunk-S6YB5ZRP.js} +2 -2
  42. package/dist/{chunk-T6QCNQWR.js → chunk-U6GCYG2T.js} +2 -2
  43. package/dist/{chunk-ITWVPY2S.js → chunk-UPJMBMCR.js} +3 -3
  44. package/dist/{chunk-ZMBYGJ5Z.js → chunk-VSLUSXVK.js} +4 -4
  45. package/dist/{chunk-4LG3NFY6.js → chunk-VVAVTSTR.js} +2 -2
  46. package/dist/{chunk-25KT7D4D.js → chunk-WLFABTZ6.js} +2 -2
  47. package/dist/{chunk-52FMTGNW.js → chunk-XBFEKTIY.js} +2 -2
  48. package/dist/{chunk-M47AGN7E.js → chunk-XLPXGN66.js} +2 -2
  49. package/dist/{chunk-UT7IVDZK.js → chunk-XWNLKG6R.js} +2 -2
  50. package/dist/{chunk-S5ALTM5R.js → chunk-Y3XWRDAM.js} +2 -2
  51. package/dist/{chunk-N5TIYKHI.js → chunk-ZKRRBRSZ.js} +3 -3
  52. package/dist/{chunk-UNOIEPF7.js → chunk-ZQ2UUHSL.js} +2 -2
  53. package/dist/{chunk-NHW3K44E.js → chunk-ZTYG36DH.js} +3 -3
  54. package/dist/{classified-marker-DXXL4GJR.js → classified-marker-KL4YXUXD.js} +3 -3
  55. package/dist/{collection-facade-A6PZRPIG.js → collection-facade-6IY2LW6W.js} +6 -6
  56. package/dist/consent/index.js +2 -2
  57. package/dist/cover/index.js +1 -1
  58. package/dist/custody/index.js +4 -4
  59. package/dist/{dead-filter-44J3VS2H.js → dead-filter-ZGRFZKYE.js} +2 -2
  60. package/dist/{delegation-SYFTV7VJ.js → delegation-2DO3VI5E.js} +2 -2
  61. package/dist/derivations/index.js +1 -1
  62. package/dist/{derive-LLBU7OWV.js → derive-TCTS7ULE.js} +2 -2
  63. package/dist/directory/index.js +3 -3
  64. package/dist/{dispatch-LVYPWQUW.js → dispatch-FNCCONFK.js} +7 -7
  65. package/dist/{dispatch-J2GRCTZO.js → dispatch-M62IAL2S.js} +5 -5
  66. package/dist/{enclave-IYWCFSEW.js → enclave-4P4KH5ZW.js} +2 -2
  67. package/dist/{executor-RLWZDSEZ.js → executor-CDIMJVE2.js} +6 -6
  68. package/dist/{export-accessible-GZDRYMZ6.js → export-accessible-WADNWX35.js} +4 -4
  69. package/dist/{extract-partition-Y3M2QMFC.js → extract-partition-SHQYQSWE.js} +7 -7
  70. package/dist/{fanout-sidecar-TL4HROM7.js → fanout-sidecar-BRQHWTZQ.js} +2 -2
  71. package/dist/forget/index.js +2 -2
  72. package/dist/history/index.js +5 -5
  73. package/dist/i18n/index.js +4 -4
  74. package/dist/index.js +39 -39
  75. package/dist/introspection/index.js +3 -3
  76. package/dist/{issue-J5IPOKLJ.js → issue-2DGG7NKE.js} +4 -4
  77. package/dist/{ledger-APEU3ZIW.js → ledger-4X5ZH43X.js} +4 -4
  78. package/dist/{liberate-DGWJ27ZG.js → liberate-7NEPRE52.js} +8 -8
  79. package/dist/{link-set-LGKK7ZSX.js → link-set-WHTYVTOV.js} +3 -3
  80. package/dist/{managed-secret-VK2AVMD4.js → managed-secret-CXALLEUB.js} +2 -2
  81. package/dist/materialized-views/index.js +6 -6
  82. package/dist/{noydb-KYOB6GMT.js → noydb-BQ3ZTN2Z.js} +21 -21
  83. package/dist/periods/index.js +4 -4
  84. package/dist/pod/index.js +23 -23
  85. package/dist/{pod-handle-3VWCC2UD.js → pod-handle-DHEYBTJ2.js} +2 -2
  86. package/dist/policy/index.js +1 -1
  87. package/dist/port/to/index.d.ts +1 -0
  88. package/dist/portability/index.js +6 -6
  89. package/dist/{post-register-ZJZXBTU6.js → post-register-4DXRYGTU.js} +4 -4
  90. package/dist/{register-KN24ZO5F.js → register-GLCOH73C.js} +7 -7
  91. package/dist/{registry-F7W2E5I5.js → registry-GWGHZWGP.js} +2 -2
  92. package/dist/{registry-2FS3FLJH.js → registry-T346IZCF.js} +2 -2
  93. package/dist/{request-withdrawal-S23VE65P.js → request-withdrawal-2RERJECX.js} +6 -6
  94. package/dist/{revoke-G63G7D23.js → revoke-4NRSCPNW.js} +4 -4
  95. package/dist/sealed-record/index.js +4 -4
  96. package/dist/search/index.js +1 -1
  97. package/dist/{seed-ILBQJVRT.js → seed-IX5NFSH5.js} +4 -4
  98. package/dist/sequence/index.js +2 -2
  99. package/dist/session/index.js +1 -1
  100. package/dist/{signer-K2GEB47Y.js → signer-HJHTGX7X.js} +3 -3
  101. package/dist/snapshots/index.js +2 -2
  102. package/dist/{stale-LOHOLOUO.js → stale-5I36LPVK.js} +3 -3
  103. package/dist/{storage-G7KULLIS.js → storage-ZYYAB3J3.js} +3 -3
  104. package/dist/{store-coordination-provider-KBU45JWQ.js → store-coordination-provider-OLPNRMFO.js} +2 -2
  105. package/dist/sync/index.js +2 -2
  106. package/dist/team/index.js +5 -5
  107. package/dist/tiers/index.js +2 -2
  108. package/dist/to/index.js +3 -1
  109. package/dist/to/index.js.map +1 -1
  110. package/dist/vault-head/index.js +1 -1
  111. package/dist/{walk-GJCICW4M.js → walk-LTV7LOCN.js} +4 -4
  112. package/dist/{withdraw-accessible-I7FPHFLH.js → withdraw-accessible-V4XCPH7U.js} +5 -5
  113. package/package.json +3 -3
  114. package/dist/chunk-PE4LXIRT.js.map +0 -1
  115. /package/dist/{api-ENZ2ADVW.js.map → api-OAZLPNVV.js.map} +0 -0
  116. /package/dist/{backup-PT7L6TP7.js.map → backup-SZBDQQSL.js.map} +0 -0
  117. /package/dist/{chunk-HO6F7YBI.js.map → chunk-26W5VETY.js.map} +0 -0
  118. /package/dist/{chunk-OMF7MYHL.js.map → chunk-4FPEWQKF.js.map} +0 -0
  119. /package/dist/{chunk-APUCE47B.js.map → chunk-4JDIRUTT.js.map} +0 -0
  120. /package/dist/{chunk-RBRNSXPE.js.map → chunk-4MZEZ37W.js.map} +0 -0
  121. /package/dist/{chunk-A7FUC6HA.js.map → chunk-4TZUFNXL.js.map} +0 -0
  122. /package/dist/{chunk-RK4FY5C5.js.map → chunk-626TSARM.js.map} +0 -0
  123. /package/dist/{chunk-XZ2PWHVM.js.map → chunk-672U6STZ.js.map} +0 -0
  124. /package/dist/{chunk-K4W6XBMO.js.map → chunk-6AQIFBSP.js.map} +0 -0
  125. /package/dist/{chunk-UHM3GMBN.js.map → chunk-6NRVFD55.js.map} +0 -0
  126. /package/dist/{chunk-C5JIS3OC.js.map → chunk-7CWII4BL.js.map} +0 -0
  127. /package/dist/{chunk-6K7AID3U.js.map → chunk-7XODKGTW.js.map} +0 -0
  128. /package/dist/{chunk-B7SJ52ZG.js.map → chunk-BOFRKAUS.js.map} +0 -0
  129. /package/dist/{chunk-CSNKE6OP.js.map → chunk-BWWUXE3L.js.map} +0 -0
  130. /package/dist/{chunk-4Q6V62GF.js.map → chunk-EO2KGKEJ.js.map} +0 -0
  131. /package/dist/{chunk-2YI35ZXY.js.map → chunk-EXDIHWFO.js.map} +0 -0
  132. /package/dist/{chunk-4H3KXLCM.js.map → chunk-FKFIEEY6.js.map} +0 -0
  133. /package/dist/{chunk-LQPPIZFH.js.map → chunk-HQINBNHM.js.map} +0 -0
  134. /package/dist/{chunk-J5HTPDT6.js.map → chunk-HSGEIMJS.js.map} +0 -0
  135. /package/dist/{chunk-FH5GFLUY.js.map → chunk-IF56DYJK.js.map} +0 -0
  136. /package/dist/{chunk-GJZPDSHN.js.map → chunk-ILSR22WM.js.map} +0 -0
  137. /package/dist/{chunk-5D5VN3EH.js.map → chunk-JHLJQUXU.js.map} +0 -0
  138. /package/dist/{chunk-4NAPXEWY.js.map → chunk-JJZIIJSA.js.map} +0 -0
  139. /package/dist/{chunk-7CHX7QON.js.map → chunk-L3FHEWA3.js.map} +0 -0
  140. /package/dist/{chunk-OIHSOAZO.js.map → chunk-LFDMKZIP.js.map} +0 -0
  141. /package/dist/{chunk-HG2VWXNA.js.map → chunk-OMHHGOG4.js.map} +0 -0
  142. /package/dist/{chunk-WMWTBSYJ.js.map → chunk-PRHCMEUK.js.map} +0 -0
  143. /package/dist/{chunk-ILEIIFSK.js.map → chunk-Q7GEDVHC.js.map} +0 -0
  144. /package/dist/{chunk-SKYA4D2G.js.map → chunk-RJ7RIIX6.js.map} +0 -0
  145. /package/dist/{chunk-ACAQXGRE.js.map → chunk-S3I7VKID.js.map} +0 -0
  146. /package/dist/{chunk-TFV37WMH.js.map → chunk-S6YB5ZRP.js.map} +0 -0
  147. /package/dist/{chunk-T6QCNQWR.js.map → chunk-U6GCYG2T.js.map} +0 -0
  148. /package/dist/{chunk-ITWVPY2S.js.map → chunk-UPJMBMCR.js.map} +0 -0
  149. /package/dist/{chunk-ZMBYGJ5Z.js.map → chunk-VSLUSXVK.js.map} +0 -0
  150. /package/dist/{chunk-4LG3NFY6.js.map → chunk-VVAVTSTR.js.map} +0 -0
  151. /package/dist/{chunk-25KT7D4D.js.map → chunk-WLFABTZ6.js.map} +0 -0
  152. /package/dist/{chunk-52FMTGNW.js.map → chunk-XBFEKTIY.js.map} +0 -0
  153. /package/dist/{chunk-M47AGN7E.js.map → chunk-XLPXGN66.js.map} +0 -0
  154. /package/dist/{chunk-UT7IVDZK.js.map → chunk-XWNLKG6R.js.map} +0 -0
  155. /package/dist/{chunk-S5ALTM5R.js.map → chunk-Y3XWRDAM.js.map} +0 -0
  156. /package/dist/{chunk-N5TIYKHI.js.map → chunk-ZKRRBRSZ.js.map} +0 -0
  157. /package/dist/{chunk-UNOIEPF7.js.map → chunk-ZQ2UUHSL.js.map} +0 -0
  158. /package/dist/{chunk-NHW3K44E.js.map → chunk-ZTYG36DH.js.map} +0 -0
  159. /package/dist/{classified-marker-DXXL4GJR.js.map → classified-marker-KL4YXUXD.js.map} +0 -0
  160. /package/dist/{collection-facade-A6PZRPIG.js.map → collection-facade-6IY2LW6W.js.map} +0 -0
  161. /package/dist/{dead-filter-44J3VS2H.js.map → dead-filter-ZGRFZKYE.js.map} +0 -0
  162. /package/dist/{delegation-SYFTV7VJ.js.map → delegation-2DO3VI5E.js.map} +0 -0
  163. /package/dist/{derive-LLBU7OWV.js.map → derive-TCTS7ULE.js.map} +0 -0
  164. /package/dist/{dispatch-LVYPWQUW.js.map → dispatch-FNCCONFK.js.map} +0 -0
  165. /package/dist/{dispatch-J2GRCTZO.js.map → dispatch-M62IAL2S.js.map} +0 -0
  166. /package/dist/{enclave-IYWCFSEW.js.map → enclave-4P4KH5ZW.js.map} +0 -0
  167. /package/dist/{executor-RLWZDSEZ.js.map → executor-CDIMJVE2.js.map} +0 -0
  168. /package/dist/{export-accessible-GZDRYMZ6.js.map → export-accessible-WADNWX35.js.map} +0 -0
  169. /package/dist/{extract-partition-Y3M2QMFC.js.map → extract-partition-SHQYQSWE.js.map} +0 -0
  170. /package/dist/{fanout-sidecar-TL4HROM7.js.map → fanout-sidecar-BRQHWTZQ.js.map} +0 -0
  171. /package/dist/{issue-J5IPOKLJ.js.map → issue-2DGG7NKE.js.map} +0 -0
  172. /package/dist/{ledger-APEU3ZIW.js.map → ledger-4X5ZH43X.js.map} +0 -0
  173. /package/dist/{liberate-DGWJ27ZG.js.map → liberate-7NEPRE52.js.map} +0 -0
  174. /package/dist/{link-set-LGKK7ZSX.js.map → link-set-WHTYVTOV.js.map} +0 -0
  175. /package/dist/{managed-secret-VK2AVMD4.js.map → managed-secret-CXALLEUB.js.map} +0 -0
  176. /package/dist/{noydb-KYOB6GMT.js.map → noydb-BQ3ZTN2Z.js.map} +0 -0
  177. /package/dist/{pod-handle-3VWCC2UD.js.map → pod-handle-DHEYBTJ2.js.map} +0 -0
  178. /package/dist/{post-register-ZJZXBTU6.js.map → post-register-4DXRYGTU.js.map} +0 -0
  179. /package/dist/{register-KN24ZO5F.js.map → register-GLCOH73C.js.map} +0 -0
  180. /package/dist/{registry-2FS3FLJH.js.map → registry-GWGHZWGP.js.map} +0 -0
  181. /package/dist/{registry-F7W2E5I5.js.map → registry-T346IZCF.js.map} +0 -0
  182. /package/dist/{request-withdrawal-S23VE65P.js.map → request-withdrawal-2RERJECX.js.map} +0 -0
  183. /package/dist/{revoke-G63G7D23.js.map → revoke-4NRSCPNW.js.map} +0 -0
  184. /package/dist/{seed-ILBQJVRT.js.map → seed-IX5NFSH5.js.map} +0 -0
  185. /package/dist/{signer-K2GEB47Y.js.map → signer-HJHTGX7X.js.map} +0 -0
  186. /package/dist/{stale-LOHOLOUO.js.map → stale-5I36LPVK.js.map} +0 -0
  187. /package/dist/{storage-G7KULLIS.js.map → storage-ZYYAB3J3.js.map} +0 -0
  188. /package/dist/{store-coordination-provider-KBU45JWQ.js.map → store-coordination-provider-OLPNRMFO.js.map} +0 -0
  189. /package/dist/{walk-GJCICW4M.js.map → walk-LTV7LOCN.js.map} +0 -0
  190. /package/dist/{withdraw-accessible-I7FPHFLH.js.map → withdraw-accessible-V4XCPH7U.js.map} +0 -0
package/dist/pod/index.js CHANGED
@@ -5,13 +5,13 @@ import {
5
5
  signRedirect,
6
6
  verifyRedirect,
7
7
  wrapPodStore
8
- } from "../chunk-LQPPIZFH.js";
9
- import "../chunk-WMWTBSYJ.js";
8
+ } from "../chunk-HQINBNHM.js";
9
+ import "../chunk-PRHCMEUK.js";
10
10
  import "../chunk-VAG47QHV.js";
11
11
  import {
12
12
  deriveSchemaManifest,
13
13
  loadSchemaManifestEntry
14
- } from "../chunk-ZMBYGJ5Z.js";
14
+ } from "../chunk-VSLUSXVK.js";
15
15
  import {
16
16
  MANIFEST_COLLECTION,
17
17
  isManifestReservedCollection
@@ -19,12 +19,12 @@ import {
19
19
  import "../chunk-WLLUM35R.js";
20
20
  import "../chunk-JVLSU7S2.js";
21
21
  import "../chunk-M7UC2QPT.js";
22
- import "../chunk-4NAPXEWY.js";
22
+ import "../chunk-JJZIIJSA.js";
23
23
  import "../chunk-GYGLAVCX.js";
24
24
  import "../chunk-6LJY7X5A.js";
25
25
  import "../chunk-E6YA6UAP.js";
26
26
  import "../chunk-L3HDEHGM.js";
27
- import "../chunk-SKYA4D2G.js";
27
+ import "../chunk-RJ7RIIX6.js";
28
28
  import "../chunk-J4MN6XIU.js";
29
29
  import "../chunk-XJ3FEKEY.js";
30
30
  import "../chunk-2QNKXGUS.js";
@@ -32,15 +32,15 @@ import "../chunk-CBRS2NEK.js";
32
32
  import "../chunk-KHKKD62N.js";
33
33
  import "../chunk-P6ASQOZR.js";
34
34
  import "../chunk-Y2NBBT6K.js";
35
- import "../chunk-RK4FY5C5.js";
36
- import "../chunk-ACAQXGRE.js";
37
- import "../chunk-XZ2PWHVM.js";
35
+ import "../chunk-626TSARM.js";
36
+ import "../chunk-S3I7VKID.js";
37
+ import "../chunk-672U6STZ.js";
38
38
  import "../chunk-5263OEM3.js";
39
- import "../chunk-4LG3NFY6.js";
39
+ import "../chunk-VVAVTSTR.js";
40
40
  import "../chunk-3QARDAYW.js";
41
41
  import "../chunk-T7IR4N2S.js";
42
42
  import "../chunk-PEOZ34EM.js";
43
- import "../chunk-UHM3GMBN.js";
43
+ import "../chunk-6NRVFD55.js";
44
44
  import "../chunk-GHVIKOHT.js";
45
45
  import "../chunk-Z7ZXZL6Y.js";
46
46
  import "../chunk-SMY5X46Z.js";
@@ -68,17 +68,17 @@ import {
68
68
  verifyPodHeader,
69
69
  verifyRecord,
70
70
  writePod
71
- } from "../chunk-K4W6XBMO.js";
71
+ } from "../chunk-6AQIFBSP.js";
72
72
  import "../chunk-44C2URL7.js";
73
73
  import "../chunk-VFIWDPXZ.js";
74
74
  import "../chunk-5D2ALSM5.js";
75
- import "../chunk-4H3KXLCM.js";
75
+ import "../chunk-FKFIEEY6.js";
76
76
  import "../chunk-AURFOK3D.js";
77
77
  import "../chunk-UCUALOSM.js";
78
78
  import "../chunk-S2VG3ABP.js";
79
79
  import "../chunk-XSN63FUS.js";
80
- import "../chunk-N5TIYKHI.js";
81
- import "../chunk-UNOIEPF7.js";
80
+ import "../chunk-ZKRRBRSZ.js";
81
+ import "../chunk-ZQ2UUHSL.js";
82
82
  import "../chunk-F7ZFRPGQ.js";
83
83
  import "../chunk-I3ISCYT7.js";
84
84
  import "../chunk-NO272T7Q.js";
@@ -88,13 +88,13 @@ import "../chunk-ATL3ZVXT.js";
88
88
  import "../chunk-NSITFOCJ.js";
89
89
  import "../chunk-PVEWA2DU.js";
90
90
  import "../chunk-2GXEQUEX.js";
91
- import "../chunk-52FMTGNW.js";
91
+ import "../chunk-XBFEKTIY.js";
92
92
  import "../chunk-X67FCULK.js";
93
93
  import "../chunk-XDVVBETV.js";
94
- import "../chunk-OMF7MYHL.js";
94
+ import "../chunk-4FPEWQKF.js";
95
95
  import "../chunk-X6TBQKHW.js";
96
- import "../chunk-NHW3K44E.js";
97
- import "../chunk-HO6F7YBI.js";
96
+ import "../chunk-ZTYG36DH.js";
97
+ import "../chunk-26W5VETY.js";
98
98
  import "../chunk-HTGRQZFB.js";
99
99
  import "../chunk-4A4TYISP.js";
100
100
  import "../chunk-VKQCVU2Z.js";
@@ -102,14 +102,14 @@ import {
102
102
  generateULID,
103
103
  isULID
104
104
  } from "../chunk-4AOERLTV.js";
105
- import "../chunk-T6QCNQWR.js";
106
- import "../chunk-ITWVPY2S.js";
105
+ import "../chunk-U6GCYG2T.js";
106
+ import "../chunk-UPJMBMCR.js";
107
107
  import "../chunk-I7FD46FF.js";
108
- import "../chunk-25KT7D4D.js";
108
+ import "../chunk-WLFABTZ6.js";
109
109
  import "../chunk-POS53FG6.js";
110
110
  import "../chunk-HK67PX4J.js";
111
- import "../chunk-4Q6V62GF.js";
112
- import "../chunk-PE4LXIRT.js";
111
+ import "../chunk-EO2KGKEJ.js";
112
+ import "../chunk-BYBB4ABD.js";
113
113
  import "../chunk-QU3YUP2X.js";
114
114
  import "../chunk-FOG7YEJP.js";
115
115
  import "../chunk-KDJGJR7F.js";
@@ -1,4 +1,4 @@
1
- import "./chunk-PE4LXIRT.js";
1
+ import "./chunk-BYBB4ABD.js";
2
2
  import {
3
3
  buildRecordEnvelope
4
4
  } from "./chunk-QU3YUP2X.js";
@@ -38,4 +38,4 @@ async function buildPodHandle(adapter, name) {
38
38
  export {
39
39
  buildPodHandle
40
40
  };
41
- //# sourceMappingURL=pod-handle-3VWCC2UD.js.map
41
+ //# sourceMappingURL=pod-handle-DHEYBTJ2.js.map
@@ -13,7 +13,7 @@ import {
13
13
  loadVaultPolicy,
14
14
  saveVaultPolicy
15
15
  } from "../chunk-X6TBQKHW.js";
16
- import "../chunk-PE4LXIRT.js";
16
+ import "../chunk-BYBB4ABD.js";
17
17
  import "../chunk-QU3YUP2X.js";
18
18
  import "../chunk-FOG7YEJP.js";
19
19
  import "../chunk-KDJGJR7F.js";
@@ -17,6 +17,7 @@
17
17
  */
18
18
  export type { NoydbStore, NoydbPodStore, EncryptedEnvelope, VaultSnapshot, TxOp, StoreCapabilities, StoreCredentials, StoreCredentialSource, StoreTime, ListPageResult, } from '../../kernel/types.js';
19
19
  export { ConflictError, NetworkError, StoreCapabilityError, PodVersionConflictError, UnknownStoreKindError, DuplicateStoreKindError, } from '../../kernel/errors.js';
20
+ export { isConflictError } from '../../kernel/errors.js';
20
21
  export type { StoreClass, StoreDescriptor, StoreBinding, StoreFactory, StoreLocator, AnyNoydbStore, } from './locator.js';
21
22
  export { createStoreLocator, isPodStore } from './locator.js';
22
23
  export { NOYDB_ENVELOPE_GENERATION } from '../../kernel/types.js';
@@ -10,27 +10,27 @@ import "../chunk-PZ5AY32C.js";
10
10
  function withPortability() {
11
11
  return {
12
12
  async exportAccessibleData(vault, opts) {
13
- const { exportAccessibleData } = await import("../export-accessible-GZDRYMZ6.js");
13
+ const { exportAccessibleData } = await import("../export-accessible-WADNWX35.js");
14
14
  return exportAccessibleData(vault, opts);
15
15
  },
16
16
  async withdrawAccessibleData(vault, opts) {
17
- const { withdrawAccessibleData } = await import("../withdraw-accessible-I7FPHFLH.js");
17
+ const { withdrawAccessibleData } = await import("../withdraw-accessible-V4XCPH7U.js");
18
18
  return withdrawAccessibleData(vault, opts);
19
19
  },
20
20
  async requestWithdrawal(vault, opts) {
21
- const { requestWithdrawal } = await import("../request-withdrawal-S23VE65P.js");
21
+ const { requestWithdrawal } = await import("../request-withdrawal-2RERJECX.js");
22
22
  return requestWithdrawal(vault, opts);
23
23
  },
24
24
  async listWithdrawalRequests(vault, opts) {
25
- const { listWithdrawalRequests } = await import("../request-withdrawal-S23VE65P.js");
25
+ const { listWithdrawalRequests } = await import("../request-withdrawal-2RERJECX.js");
26
26
  return listWithdrawalRequests(vault, opts);
27
27
  },
28
28
  async approveWithdrawal(vault, requestId, opts) {
29
- const { approveWithdrawal } = await import("../request-withdrawal-S23VE65P.js");
29
+ const { approveWithdrawal } = await import("../request-withdrawal-2RERJECX.js");
30
30
  return approveWithdrawal(vault, requestId, opts);
31
31
  },
32
32
  async rejectWithdrawal(vault, requestId, opts) {
33
- const { rejectWithdrawal } = await import("../request-withdrawal-S23VE65P.js");
33
+ const { rejectWithdrawal } = await import("../request-withdrawal-2RERJECX.js");
34
34
  return rejectWithdrawal(vault, requestId, opts);
35
35
  }
36
36
  };
@@ -14,7 +14,7 @@ async function ensureSatelliteMarker(store, vaultName, spec, dek) {
14
14
  joined: spec.joined,
15
15
  epoch: (/* @__PURE__ */ new Date()).toISOString()
16
16
  };
17
- const { loadPersistedSchema } = await import("./storage-G7KULLIS.js");
17
+ const { loadPersistedSchema } = await import("./storage-ZYYAB3J3.js");
18
18
  const persisted = await loadPersistedSchema(store, vaultName, spec.satellite, dek);
19
19
  const prior = persisted?.satellite;
20
20
  if (prior) {
@@ -25,7 +25,7 @@ async function ensureSatelliteMarker(store, vaultName, spec, dek) {
25
25
  }
26
26
  return;
27
27
  }
28
- const { persistSatelliteMarker } = await import("./register-KN24ZO5F.js");
28
+ const { persistSatelliteMarker } = await import("./register-GLCOH73C.js");
29
29
  await persistSatelliteMarker({ store, vault: vaultName, collectionName: spec.satellite, dek, marker: next });
30
30
  }
31
31
 
@@ -39,7 +39,7 @@ async function postRegister(store, vaultName, spec, getDEK, baseSchema, registry
39
39
  }
40
40
  if (baseSchema !== void 0) {
41
41
  try {
42
- const { derivePersistedSchema } = await import("./derive-LLBU7OWV.js");
42
+ const { derivePersistedSchema } = await import("./derive-TCTS7ULE.js");
43
43
  const envelope = await derivePersistedSchema(baseSchema);
44
44
  const properties = envelope.jsonSchema?.["properties"];
45
45
  const baseFields = Object.keys(properties ?? {});
@@ -57,4 +57,4 @@ async function postRegister(store, vaultName, spec, getDEK, baseSchema, registry
57
57
  export {
58
58
  postRegister
59
59
  };
60
- //# sourceMappingURL=post-register-ZJZXBTU6.js.map
60
+ //# sourceMappingURL=post-register-4DXRYGTU.js.map
@@ -2,19 +2,19 @@ import {
2
2
  persistClassifiedMarker,
3
3
  persistSatelliteMarker,
4
4
  persistSchemaIfNeeded
5
- } from "./chunk-ILEIIFSK.js";
5
+ } from "./chunk-Q7GEDVHC.js";
6
6
  import "./chunk-ZVF37PKE.js";
7
- import "./chunk-ZMBYGJ5Z.js";
7
+ import "./chunk-VSLUSXVK.js";
8
8
  import "./chunk-EPFF7LOX.js";
9
9
  import "./chunk-M7UC2QPT.js";
10
10
  import "./chunk-P6ASQOZR.js";
11
11
  import "./chunk-Y2NBBT6K.js";
12
- import "./chunk-RK4FY5C5.js";
12
+ import "./chunk-626TSARM.js";
13
13
  import "./chunk-GHVIKOHT.js";
14
- import "./chunk-ITWVPY2S.js";
14
+ import "./chunk-UPJMBMCR.js";
15
15
  import "./chunk-I7FD46FF.js";
16
- import "./chunk-25KT7D4D.js";
17
- import "./chunk-PE4LXIRT.js";
16
+ import "./chunk-WLFABTZ6.js";
17
+ import "./chunk-BYBB4ABD.js";
18
18
  import "./chunk-QU3YUP2X.js";
19
19
  import "./chunk-FOG7YEJP.js";
20
20
  import "./chunk-KDJGJR7F.js";
@@ -29,4 +29,4 @@ export {
29
29
  persistSatelliteMarker,
30
30
  persistSchemaIfNeeded
31
31
  };
32
- //# sourceMappingURL=register-KN24ZO5F.js.map
32
+ //# sourceMappingURL=register-GLCOH73C.js.map
@@ -2,7 +2,7 @@ import {
2
2
  MaterializedViewRegistry,
3
3
  wrapDbWithPredicates
4
4
  } from "./chunk-4ZPE6SKS.js";
5
- import "./chunk-PE4LXIRT.js";
5
+ import "./chunk-BYBB4ABD.js";
6
6
  import "./chunk-QU3YUP2X.js";
7
7
  import "./chunk-FOG7YEJP.js";
8
8
  import "./chunk-KDJGJR7F.js";
@@ -16,4 +16,4 @@ export {
16
16
  MaterializedViewRegistry,
17
17
  wrapDbWithPredicates
18
18
  };
19
- //# sourceMappingURL=registry-F7W2E5I5.js.map
19
+ //# sourceMappingURL=registry-GWGHZWGP.js.map
@@ -2,7 +2,7 @@ import {
2
2
  DerivationRegistry
3
3
  } from "./chunk-RDHUZ674.js";
4
4
  import "./chunk-5263OEM3.js";
5
- import "./chunk-PE4LXIRT.js";
5
+ import "./chunk-BYBB4ABD.js";
6
6
  import "./chunk-QU3YUP2X.js";
7
7
  import "./chunk-FOG7YEJP.js";
8
8
  import "./chunk-KDJGJR7F.js";
@@ -15,4 +15,4 @@ import "./chunk-PZ5AY32C.js";
15
15
  export {
16
16
  DerivationRegistry
17
17
  };
18
- //# sourceMappingURL=registry-2FS3FLJH.js.map
18
+ //# sourceMappingURL=registry-T346IZCF.js.map
@@ -5,12 +5,12 @@ import {
5
5
  listWithdrawalRequests,
6
6
  rejectWithdrawal,
7
7
  requestWithdrawal
8
- } from "./chunk-GJZPDSHN.js";
9
- import "./chunk-6K7AID3U.js";
10
- import "./chunk-A7FUC6HA.js";
11
- import "./chunk-K4W6XBMO.js";
8
+ } from "./chunk-ILSR22WM.js";
9
+ import "./chunk-7XODKGTW.js";
10
+ import "./chunk-4TZUFNXL.js";
11
+ import "./chunk-6AQIFBSP.js";
12
12
  import "./chunk-44C2URL7.js";
13
- import "./chunk-PE4LXIRT.js";
13
+ import "./chunk-BYBB4ABD.js";
14
14
  import "./chunk-QU3YUP2X.js";
15
15
  import "./chunk-FOG7YEJP.js";
16
16
  import "./chunk-KDJGJR7F.js";
@@ -28,4 +28,4 @@ export {
28
28
  rejectWithdrawal,
29
29
  requestWithdrawal
30
30
  };
31
- //# sourceMappingURL=request-withdrawal-S23VE65P.js.map
31
+ //# sourceMappingURL=request-withdrawal-2RERJECX.js.map
@@ -3,9 +3,9 @@ import {
3
3
  publishRevocationListCore,
4
4
  revokeDocCore,
5
5
  unrevokeDocCore
6
- } from "./chunk-CSNKE6OP.js";
7
- import "./chunk-OIHSOAZO.js";
8
- import "./chunk-PE4LXIRT.js";
6
+ } from "./chunk-BWWUXE3L.js";
7
+ import "./chunk-LFDMKZIP.js";
8
+ import "./chunk-BYBB4ABD.js";
9
9
  import "./chunk-QU3YUP2X.js";
10
10
  import "./chunk-FOG7YEJP.js";
11
11
  import "./chunk-KDJGJR7F.js";
@@ -21,4 +21,4 @@ export {
21
21
  revokeDocCore,
22
22
  unrevokeDocCore
23
23
  };
24
- //# sourceMappingURL=revoke-G63G7D23.js.map
24
+ //# sourceMappingURL=revoke-4NRSCPNW.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "../chunk-UCUALOSM.js";
4
4
  import {
5
5
  recordAadFor
6
- } from "../chunk-PE4LXIRT.js";
6
+ } from "../chunk-BYBB4ABD.js";
7
7
  import "../chunk-QU3YUP2X.js";
8
8
  import "../chunk-FOG7YEJP.js";
9
9
  import "../chunk-KDJGJR7F.js";
@@ -26,15 +26,15 @@ import "../chunk-PZ5AY32C.js";
26
26
  function withSealedRecord() {
27
27
  return {
28
28
  async sealRecordToHost(ctx, collection, id, hostSealer, opts) {
29
- const { sealRecordToHost } = await import("../enclave-IYWCFSEW.js");
29
+ const { sealRecordToHost } = await import("../enclave-4P4KH5ZW.js");
30
30
  return sealRecordToHost(ctx, collection, id, hostSealer, opts);
31
31
  },
32
32
  async revokeSealedRecord(ctx, collection, id, pid, opts) {
33
- const { revokeSealedRecord } = await import("../enclave-IYWCFSEW.js");
33
+ const { revokeSealedRecord } = await import("../enclave-4P4KH5ZW.js");
34
34
  return revokeSealedRecord(ctx, collection, id, pid, opts);
35
35
  },
36
36
  async rotateRecordCek(ctx, collection, id) {
37
- const { rotateRecordCek } = await import("../enclave-IYWCFSEW.js");
37
+ const { rotateRecordCek } = await import("../enclave-4P4KH5ZW.js");
38
38
  return rotateRecordCek(ctx, collection, id);
39
39
  }
40
40
  };
@@ -9,7 +9,7 @@ import {
9
9
  segmentTokens,
10
10
  tokenize,
11
11
  withSearch
12
- } from "../chunk-4H3KXLCM.js";
12
+ } from "../chunk-FKFIEEY6.js";
13
13
  import {
14
14
  fuseRetrieval
15
15
  } from "../chunk-AURFOK3D.js";
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  BROKER_COLLECTION,
3
3
  ensureCollectionDEK
4
- } from "./chunk-NHW3K44E.js";
5
- import "./chunk-HO6F7YBI.js";
4
+ } from "./chunk-ZTYG36DH.js";
5
+ import "./chunk-26W5VETY.js";
6
6
  import "./chunk-POS53FG6.js";
7
7
  import {
8
8
  computeBrokerProof,
9
9
  deriveBrokerProofBits,
10
10
  openEnvelopeJson,
11
11
  writeEnvelopeBody
12
- } from "./chunk-PE4LXIRT.js";
12
+ } from "./chunk-BYBB4ABD.js";
13
13
  import {
14
14
  buildSealedRecordEnvelope
15
15
  } from "./chunk-QU3YUP2X.js";
@@ -226,4 +226,4 @@ export {
226
226
  mintStoreCredentials,
227
227
  rotateSeed
228
228
  };
229
- //# sourceMappingURL=seed-ILBQJVRT.js.map
229
+ //# sourceMappingURL=seed-IX5NFSH5.js.map
@@ -5,8 +5,8 @@ import {
5
5
  compileSequenceFormat,
6
6
  resolveSequenceKey,
7
7
  withSequence
8
- } from "../chunk-ACAQXGRE.js";
9
- import "../chunk-PE4LXIRT.js";
8
+ } from "../chunk-S3I7VKID.js";
9
+ import "../chunk-BYBB4ABD.js";
10
10
  import "../chunk-QU3YUP2X.js";
11
11
  import "../chunk-FOG7YEJP.js";
12
12
  import "../chunk-KDJGJR7F.js";
@@ -17,7 +17,7 @@ import {
17
17
  NO_SESSION
18
18
  } from "../chunk-VKQCVU2Z.js";
19
19
  import "../chunk-4AOERLTV.js";
20
- import "../chunk-PE4LXIRT.js";
20
+ import "../chunk-BYBB4ABD.js";
21
21
  import "../chunk-QU3YUP2X.js";
22
22
  import "../chunk-FOG7YEJP.js";
23
23
  import "../chunk-KDJGJR7F.js";
@@ -4,8 +4,8 @@ import {
4
4
  SIGNER_RECORD_ID,
5
5
  loadOrCreateSigner,
6
6
  loadSigner
7
- } from "./chunk-OIHSOAZO.js";
8
- import "./chunk-PE4LXIRT.js";
7
+ } from "./chunk-LFDMKZIP.js";
8
+ import "./chunk-BYBB4ABD.js";
9
9
  import "./chunk-QU3YUP2X.js";
10
10
  import "./chunk-FOG7YEJP.js";
11
11
  import "./chunk-KDJGJR7F.js";
@@ -22,4 +22,4 @@ export {
22
22
  loadOrCreateSigner,
23
23
  loadSigner
24
24
  };
25
- //# sourceMappingURL=signer-K2GEB47Y.js.map
25
+ //# sourceMappingURL=signer-HJHTGX7X.js.map
@@ -4,9 +4,9 @@ import {
4
4
  import {
5
5
  readPod,
6
6
  writePod
7
- } from "../chunk-K4W6XBMO.js";
7
+ } from "../chunk-6AQIFBSP.js";
8
8
  import "../chunk-44C2URL7.js";
9
- import "../chunk-PE4LXIRT.js";
9
+ import "../chunk-BYBB4ABD.js";
10
10
  import "../chunk-QU3YUP2X.js";
11
11
  import "../chunk-FOG7YEJP.js";
12
12
  import "../chunk-KDJGJR7F.js";
@@ -6,9 +6,9 @@ import {
6
6
  isMVStale,
7
7
  markMVStale,
8
8
  resolveStaleMVOnRead
9
- } from "./chunk-2YI35ZXY.js";
9
+ } from "./chunk-EXDIHWFO.js";
10
10
  import "./chunk-5D2ALSM5.js";
11
- import "./chunk-PE4LXIRT.js";
11
+ import "./chunk-BYBB4ABD.js";
12
12
  import "./chunk-QU3YUP2X.js";
13
13
  import "./chunk-FOG7YEJP.js";
14
14
  import "./chunk-KDJGJR7F.js";
@@ -27,4 +27,4 @@ export {
27
27
  markMVStale,
28
28
  resolveStaleMVOnRead
29
29
  };
30
- //# sourceMappingURL=stale-LOHOLOUO.js.map
30
+ //# sourceMappingURL=stale-5I36LPVK.js.map
@@ -3,8 +3,8 @@ import {
3
3
  loadPersistedSchema,
4
4
  loadPersistedSchemaEntry,
5
5
  savePersistedSchema
6
- } from "./chunk-RK4FY5C5.js";
7
- import "./chunk-PE4LXIRT.js";
6
+ } from "./chunk-626TSARM.js";
7
+ import "./chunk-BYBB4ABD.js";
8
8
  import "./chunk-QU3YUP2X.js";
9
9
  import "./chunk-FOG7YEJP.js";
10
10
  import "./chunk-KDJGJR7F.js";
@@ -20,4 +20,4 @@ export {
20
20
  loadPersistedSchemaEntry,
21
21
  savePersistedSchema
22
22
  };
23
- //# sourceMappingURL=storage-G7KULLIS.js.map
23
+ //# sourceMappingURL=storage-ZYYAB3J3.js.map
@@ -2,7 +2,7 @@ import {
2
2
  loadFence,
3
3
  saveFence
4
4
  } from "./chunk-M7UC2QPT.js";
5
- import "./chunk-PE4LXIRT.js";
5
+ import "./chunk-BYBB4ABD.js";
6
6
  import {
7
7
  buildRecordEnvelope
8
8
  } from "./chunk-QU3YUP2X.js";
@@ -146,4 +146,4 @@ function unref(timer) {
146
146
  export {
147
147
  StoreMesh
148
148
  };
149
- //# sourceMappingURL=store-coordination-provider-KBU45JWQ.js.map
149
+ //# sourceMappingURL=store-coordination-provider-OLPNRMFO.js.map
@@ -2,12 +2,12 @@ import {
2
2
  PresenceHandle,
3
3
  SyncEngine,
4
4
  SyncTransaction
5
- } from "../chunk-FH5GFLUY.js";
5
+ } from "../chunk-IF56DYJK.js";
6
6
  import {
7
7
  NO_SYNC
8
8
  } from "../chunk-T7IR4N2S.js";
9
9
  import "../chunk-Z7ZXZL6Y.js";
10
- import "../chunk-PE4LXIRT.js";
10
+ import "../chunk-BYBB4ABD.js";
11
11
  import "../chunk-QU3YUP2X.js";
12
12
  import "../chunk-FOG7YEJP.js";
13
13
  import "../chunk-KDJGJR7F.js";
@@ -2,7 +2,7 @@ import {
2
2
  MemoryDeviceSeal,
3
3
  beginEchoUnlock,
4
4
  withTeam
5
- } from "../chunk-S5ALTM5R.js";
5
+ } from "../chunk-Y3XWRDAM.js";
6
6
  import {
7
7
  NO_TEAM,
8
8
  burnPaperRecoveryEntry,
@@ -31,7 +31,7 @@ import {
31
31
  unwrapMagicLinkGrant,
32
32
  updateAuthenticator,
33
33
  writeMagicLinkGrant
34
- } from "../chunk-OMF7MYHL.js";
34
+ } from "../chunk-4FPEWQKF.js";
35
35
  import "../chunk-X6TBQKHW.js";
36
36
  import {
37
37
  buildEchoBlock,
@@ -53,11 +53,11 @@ import {
53
53
  updateKeyringIdentity,
54
54
  verifyPrompt,
55
55
  verifyTypedEcho
56
- } from "../chunk-NHW3K44E.js";
57
- import "../chunk-HO6F7YBI.js";
56
+ } from "../chunk-ZTYG36DH.js";
57
+ import "../chunk-26W5VETY.js";
58
58
  import "../chunk-HTGRQZFB.js";
59
59
  import "../chunk-POS53FG6.js";
60
- import "../chunk-PE4LXIRT.js";
60
+ import "../chunk-BYBB4ABD.js";
61
61
  import "../chunk-QU3YUP2X.js";
62
62
  import "../chunk-FOG7YEJP.js";
63
63
  import "../chunk-KDJGJR7F.js";
@@ -11,10 +11,10 @@ import {
11
11
  putAtTier,
12
12
  syncDerivedOutputs,
13
13
  withTiers
14
- } from "../chunk-SKYA4D2G.js";
14
+ } from "../chunk-RJ7RIIX6.js";
15
15
  import "../chunk-HTGRQZFB.js";
16
16
  import "../chunk-POS53FG6.js";
17
- import "../chunk-PE4LXIRT.js";
17
+ import "../chunk-BYBB4ABD.js";
18
18
  import "../chunk-QU3YUP2X.js";
19
19
  import "../chunk-FOG7YEJP.js";
20
20
  import "../chunk-KDJGJR7F.js";
package/dist/to/index.js CHANGED
@@ -7,7 +7,8 @@ import {
7
7
  NetworkError,
8
8
  PodVersionConflictError,
9
9
  StoreCapabilityError,
10
- UnknownStoreKindError
10
+ UnknownStoreKindError,
11
+ isConflictError
11
12
  } from "../chunk-JBIV4FLR.js";
12
13
  import "../chunk-PZ5AY32C.js";
13
14
 
@@ -48,6 +49,7 @@ export {
48
49
  StoreCapabilityError,
49
50
  UnknownStoreKindError,
50
51
  createStoreLocator,
52
+ isConflictError,
51
53
  isPodStore
52
54
  };
53
55
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/port/to/locator.ts"],"sourcesContent":["/**\n * The Locator seam (#945 Task 1): a serializable, CREDENTIALLESS store\n * descriptor plus a factory registry that reconstructs a `NoydbStore` from\n * data.\n *\n * A `StoreDescriptor` is the pod-portable \"what store and where\" — kind,\n * broad topology class, and a kind-specific serializable address/options\n * bag. It is deliberately dumb data: no field on it is ever typed as a\n * function, a `StoreCredentialSource`, or a `StoreCredentials` value, so a\n * descriptor can be written into a pod / manifest / sync payload without an\n * audit for leaked secrets. Anything that must resolve device-side or\n * user-side — a short-lived credential, a device-local directory override,\n * a mounted drive handle — travels out-of-band via `resolve()`'s `opts`,\n * never through the descriptor itself.\n *\n * This module is pure TypeScript: no imports beyond the kernel's own types\n * and errors, no Node built-ins, no crypto. It adds zero runtime\n * dependencies to `@noy-db/hub/to`.\n */\nimport type { NoydbStore, NoydbPodStore, StoreCredentialSource } from '../../kernel/types.js'\nimport { DuplicateStoreKindError, UnknownStoreKindError } from '../../kernel/errors.js'\n\n/**\n * The broad topology bucket a store descriptor's kind falls into —\n * used by callers/UI to group or filter descriptors without knowing every\n * concrete `kind` string.\n */\nexport type StoreClass = 'local' | 'browser' | 'lan' | 'cloud'\n\n/**\n * A serializable, CREDENTIALLESS description of a store instance: enough\n * data to reconstruct a `NoydbStore` via a registered `StoreFactory`, and\n * safe to persist or transmit as-is.\n *\n * CREDENTIALLESS BY CONSTRUCTION: no field here may be typed as a function,\n * a `StoreCredentialSource`, or a `StoreCredentials` value. Credentials\n * NEVER ride the descriptor — they are supplied separately (as a\n * `StoreCredentialSource`) to `StoreLocator.resolve()` at resolve time.\n */\nexport interface StoreDescriptor {\n /** The registered factory key (e.g. `'file'`, `'aws-s3'`, `'webdav'`). */\n readonly kind: string\n /** The broad topology bucket this kind falls into. */\n readonly class: StoreClass\n /** Kind-specific serializable location (e.g. `{ dir }`, `{ bucket, region }`). */\n readonly address: unknown\n /** Kind-specific serializable tuning options. */\n readonly options?: unknown\n}\n\n/**\n * A kind-specific, device-local supplement to a `StoreDescriptor` — a\n * directory override, a mount point, a drive handle — that is resolved\n * device-side and never carried inside a pod alongside the descriptor.\n */\nexport type StoreBinding = unknown\n\n/**\n * Either store shape a factory may produce: the 6-method KV `NoydbStore`, or\n * the whole-vault `NoydbPodStore` implemented by `to-drive` / `to-icloud`.\n *\n * The two are DISJOINT, not sub/supertypes — a pod store has none of the six\n * KV methods — which is why moving between them needs a double cast and why\n * `isPodStore()` exists to narrow instead.\n */\nexport type AnyNoydbStore = NoydbStore | NoydbPodStore\n\n/**\n * Narrow an `AnyNoydbStore` to the pod shape. Discriminates on the\n * `kind: 'bundle'` tag `NoydbPodStore` carries for exactly this purpose; a\n * `NoydbStore` has no `kind` field at all.\n *\n * Use this at a `resolve()` boundary instead of casting — a store resolved\n * from a descriptor read out of a pod is only known to be one of the two\n * shapes at runtime.\n */\nexport function isPodStore(store: AnyNoydbStore): store is NoydbPodStore {\n return (store as NoydbPodStore).kind === 'bundle'\n}\n\n/**\n * Reconstructs a live store from a `StoreDescriptor`. Registered against a\n * `StoreLocator` under the descriptor's `kind`.\n *\n * The type parameter says WHICH shape this factory builds. It defaults to\n * `NoydbStore`, so a bare `StoreFactory` means exactly what it always has;\n * a pod-store factory declares `StoreFactory<NoydbPodStore>` and registers\n * without a cast (#988).\n */\nexport type StoreFactory<S extends AnyNoydbStore = NoydbStore> = (\n descriptor: StoreDescriptor,\n opts: { binding?: StoreBinding; credentials?: StoreCredentialSource },\n) => S | Promise<S>\n\n/** A registry of `StoreFactory`s, keyed by `StoreDescriptor.kind`. */\nexport interface StoreLocator {\n /**\n * Register a factory for `kind`. Throws if `kind` is already registered.\n *\n * Accepts a factory building EITHER store shape — `S` is inferred from the\n * factory's own return type, so a `NoydbPodStore` factory needs no cast.\n */\n register<S extends AnyNoydbStore>(kind: string, factory: StoreFactory<S>): void\n /**\n * Resolve `descriptor` to a live store via its kind's registered factory.\n *\n * Returns `NoydbStore`. If the `kind` was registered with a pod-store\n * factory, the resolved value is really a `NoydbPodStore`: this signature\n * is the seam's remaining unsoundness, kept because widening it to\n * `AnyNoydbStore` would break every existing caller. Where the descriptor's\n * kind is not statically known, prefer `resolveAny()` and `isPodStore()`.\n */\n resolve(\n descriptor: StoreDescriptor,\n opts?: { binding?: StoreBinding; credentials?: StoreCredentialSource },\n ): NoydbStore | Promise<NoydbStore>\n /**\n * As `resolve()`, but typed honestly: the registry is keyed by a runtime\n * `kind` string, so which of the two shapes comes back is not knowable\n * statically. Narrow the result with `isPodStore()`.\n */\n resolveAny(\n descriptor: StoreDescriptor,\n opts?: { binding?: StoreBinding; credentials?: StoreCredentialSource },\n ): AnyNoydbStore | Promise<AnyNoydbStore>\n}\n\n/**\n * Creates a fresh, empty `StoreLocator`.\n *\n * DUPLICATE REGISTRATION: `register()` throws if `kind` is already\n * registered, rather than silently overwriting it (last-wins). A\n * composition root that registers the same kind twice is almost always a\n * mistake — a copy-pasted setup block, two satellite packages fighting\n * over the same kind string — and last-wins would hide it behind whichever\n * registration happened to run last. This mirrors the\n * `DuplicateBehaviorNameError` philosophy (#947): fail loudly at the\n * mistake's source instead of silently at some unrelated `resolve()` call\n * later.\n */\nexport function createStoreLocator(): StoreLocator {\n const factories = new Map<string, StoreFactory<AnyNoydbStore>>()\n\n function lookup(kind: string): StoreFactory<AnyNoydbStore> {\n const factory = factories.get(kind)\n if (!factory) {\n throw new UnknownStoreKindError(kind, [...factories.keys()].sort())\n }\n return factory\n }\n\n return {\n register(kind, factory) {\n if (factories.has(kind)) {\n throw new DuplicateStoreKindError(kind)\n }\n factories.set(kind, factory)\n },\n resolve(descriptor, opts = {}) {\n // The one place the seam's `resolve(): NoydbStore` signature is paid\n // for. A pod-store `kind` really returns a `NoydbPodStore`; the registry\n // is keyed by a runtime string so nothing here can prove otherwise.\n // Concentrated in the module that owns the invariant rather than\n // duplicated as `as unknown as StoreFactory` in every pod-store package\n // (#988). `resolveAny()` is the honest signature over the same call.\n return lookup(descriptor.kind)(descriptor, opts) as NoydbStore | Promise<NoydbStore>\n },\n resolveAny(descriptor, opts = {}) {\n return lookup(descriptor.kind)(descriptor, opts)\n },\n }\n}\n"],"mappings":";;;;;;;;;;;;;;AA4EO,SAAS,WAAW,OAA8C;AACvE,SAAQ,MAAwB,SAAS;AAC3C;AA8DO,SAAS,qBAAmC;AACjD,QAAM,YAAY,oBAAI,IAAyC;AAE/D,WAAS,OAAO,MAA2C;AACzD,UAAM,UAAU,UAAU,IAAI,IAAI;AAClC,QAAI,CAAC,SAAS;AACZ,YAAM,IAAI,sBAAsB,MAAM,CAAC,GAAG,UAAU,KAAK,CAAC,EAAE,KAAK,CAAC;AAAA,IACpE;AACA,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL,SAAS,MAAM,SAAS;AACtB,UAAI,UAAU,IAAI,IAAI,GAAG;AACvB,cAAM,IAAI,wBAAwB,IAAI;AAAA,MACxC;AACA,gBAAU,IAAI,MAAM,OAAO;AAAA,IAC7B;AAAA,IACA,QAAQ,YAAY,OAAO,CAAC,GAAG;AAO7B,aAAO,OAAO,WAAW,IAAI,EAAE,YAAY,IAAI;AAAA,IACjD;AAAA,IACA,WAAW,YAAY,OAAO,CAAC,GAAG;AAChC,aAAO,OAAO,WAAW,IAAI,EAAE,YAAY,IAAI;AAAA,IACjD;AAAA,EACF;AACF;","names":[]}
1
+ {"version":3,"sources":["../../src/port/to/locator.ts"],"sourcesContent":["/**\n * The Locator seam (#945 Task 1): a serializable, CREDENTIALLESS store\n * descriptor plus a factory registry that reconstructs a `NoydbStore` from\n * data.\n *\n * A `StoreDescriptor` is the pod-portable \"what store and where\" — kind,\n * broad topology class, and a kind-specific serializable address/options\n * bag. It is deliberately dumb data: no field on it is ever typed as a\n * function, a `StoreCredentialSource`, or a `StoreCredentials` value, so a\n * descriptor can be written into a pod / manifest / sync payload without an\n * audit for leaked secrets. Anything that must resolve device-side or\n * user-side — a short-lived credential, a device-local directory override,\n * a mounted drive handle — travels out-of-band via `resolve()`'s `opts`,\n * never through the descriptor itself.\n *\n * This module is pure TypeScript: no imports beyond the kernel's own types\n * and errors, no Node built-ins, no crypto. It adds zero runtime\n * dependencies to `@noy-db/hub/to`.\n */\nimport type { NoydbStore, NoydbPodStore, StoreCredentialSource } from '../../kernel/types.js'\nimport { DuplicateStoreKindError, UnknownStoreKindError } from '../../kernel/errors.js'\n\n/**\n * The broad topology bucket a store descriptor's kind falls into —\n * used by callers/UI to group or filter descriptors without knowing every\n * concrete `kind` string.\n */\nexport type StoreClass = 'local' | 'browser' | 'lan' | 'cloud'\n\n/**\n * A serializable, CREDENTIALLESS description of a store instance: enough\n * data to reconstruct a `NoydbStore` via a registered `StoreFactory`, and\n * safe to persist or transmit as-is.\n *\n * CREDENTIALLESS BY CONSTRUCTION: no field here may be typed as a function,\n * a `StoreCredentialSource`, or a `StoreCredentials` value. Credentials\n * NEVER ride the descriptor — they are supplied separately (as a\n * `StoreCredentialSource`) to `StoreLocator.resolve()` at resolve time.\n */\nexport interface StoreDescriptor {\n /** The registered factory key (e.g. `'file'`, `'aws-s3'`, `'webdav'`). */\n readonly kind: string\n /** The broad topology bucket this kind falls into. */\n readonly class: StoreClass\n /** Kind-specific serializable location (e.g. `{ dir }`, `{ bucket, region }`). */\n readonly address: unknown\n /** Kind-specific serializable tuning options. */\n readonly options?: unknown\n}\n\n/**\n * A kind-specific, device-local supplement to a `StoreDescriptor` — a\n * directory override, a mount point, a drive handle — that is resolved\n * device-side and never carried inside a pod alongside the descriptor.\n */\nexport type StoreBinding = unknown\n\n/**\n * Either store shape a factory may produce: the 6-method KV `NoydbStore`, or\n * the whole-vault `NoydbPodStore` implemented by `to-drive` / `to-icloud`.\n *\n * The two are DISJOINT, not sub/supertypes — a pod store has none of the six\n * KV methods — which is why moving between them needs a double cast and why\n * `isPodStore()` exists to narrow instead.\n */\nexport type AnyNoydbStore = NoydbStore | NoydbPodStore\n\n/**\n * Narrow an `AnyNoydbStore` to the pod shape. Discriminates on the\n * `kind: 'bundle'` tag `NoydbPodStore` carries for exactly this purpose; a\n * `NoydbStore` has no `kind` field at all.\n *\n * Use this at a `resolve()` boundary instead of casting — a store resolved\n * from a descriptor read out of a pod is only known to be one of the two\n * shapes at runtime.\n */\nexport function isPodStore(store: AnyNoydbStore): store is NoydbPodStore {\n return (store as NoydbPodStore).kind === 'bundle'\n}\n\n/**\n * Reconstructs a live store from a `StoreDescriptor`. Registered against a\n * `StoreLocator` under the descriptor's `kind`.\n *\n * The type parameter says WHICH shape this factory builds. It defaults to\n * `NoydbStore`, so a bare `StoreFactory` means exactly what it always has;\n * a pod-store factory declares `StoreFactory<NoydbPodStore>` and registers\n * without a cast (#988).\n */\nexport type StoreFactory<S extends AnyNoydbStore = NoydbStore> = (\n descriptor: StoreDescriptor,\n opts: { binding?: StoreBinding; credentials?: StoreCredentialSource },\n) => S | Promise<S>\n\n/** A registry of `StoreFactory`s, keyed by `StoreDescriptor.kind`. */\nexport interface StoreLocator {\n /**\n * Register a factory for `kind`. Throws if `kind` is already registered.\n *\n * Accepts a factory building EITHER store shape — `S` is inferred from the\n * factory's own return type, so a `NoydbPodStore` factory needs no cast.\n */\n register<S extends AnyNoydbStore>(kind: string, factory: StoreFactory<S>): void\n /**\n * Resolve `descriptor` to a live store via its kind's registered factory.\n *\n * Returns `NoydbStore`. If the `kind` was registered with a pod-store\n * factory, the resolved value is really a `NoydbPodStore`: this signature\n * is the seam's remaining unsoundness, kept because widening it to\n * `AnyNoydbStore` would break every existing caller. Where the descriptor's\n * kind is not statically known, prefer `resolveAny()` and `isPodStore()`.\n */\n resolve(\n descriptor: StoreDescriptor,\n opts?: { binding?: StoreBinding; credentials?: StoreCredentialSource },\n ): NoydbStore | Promise<NoydbStore>\n /**\n * As `resolve()`, but typed honestly: the registry is keyed by a runtime\n * `kind` string, so which of the two shapes comes back is not knowable\n * statically. Narrow the result with `isPodStore()`.\n */\n resolveAny(\n descriptor: StoreDescriptor,\n opts?: { binding?: StoreBinding; credentials?: StoreCredentialSource },\n ): AnyNoydbStore | Promise<AnyNoydbStore>\n}\n\n/**\n * Creates a fresh, empty `StoreLocator`.\n *\n * DUPLICATE REGISTRATION: `register()` throws if `kind` is already\n * registered, rather than silently overwriting it (last-wins). A\n * composition root that registers the same kind twice is almost always a\n * mistake — a copy-pasted setup block, two satellite packages fighting\n * over the same kind string — and last-wins would hide it behind whichever\n * registration happened to run last. This mirrors the\n * `DuplicateBehaviorNameError` philosophy (#947): fail loudly at the\n * mistake's source instead of silently at some unrelated `resolve()` call\n * later.\n */\nexport function createStoreLocator(): StoreLocator {\n const factories = new Map<string, StoreFactory<AnyNoydbStore>>()\n\n function lookup(kind: string): StoreFactory<AnyNoydbStore> {\n const factory = factories.get(kind)\n if (!factory) {\n throw new UnknownStoreKindError(kind, [...factories.keys()].sort())\n }\n return factory\n }\n\n return {\n register(kind, factory) {\n if (factories.has(kind)) {\n throw new DuplicateStoreKindError(kind)\n }\n factories.set(kind, factory)\n },\n resolve(descriptor, opts = {}) {\n // The one place the seam's `resolve(): NoydbStore` signature is paid\n // for. A pod-store `kind` really returns a `NoydbPodStore`; the registry\n // is keyed by a runtime string so nothing here can prove otherwise.\n // Concentrated in the module that owns the invariant rather than\n // duplicated as `as unknown as StoreFactory` in every pod-store package\n // (#988). `resolveAny()` is the honest signature over the same call.\n return lookup(descriptor.kind)(descriptor, opts) as NoydbStore | Promise<NoydbStore>\n },\n resolveAny(descriptor, opts = {}) {\n return lookup(descriptor.kind)(descriptor, opts)\n },\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;AA4EO,SAAS,WAAW,OAA8C;AACvE,SAAQ,MAAwB,SAAS;AAC3C;AA8DO,SAAS,qBAAmC;AACjD,QAAM,YAAY,oBAAI,IAAyC;AAE/D,WAAS,OAAO,MAA2C;AACzD,UAAM,UAAU,UAAU,IAAI,IAAI;AAClC,QAAI,CAAC,SAAS;AACZ,YAAM,IAAI,sBAAsB,MAAM,CAAC,GAAG,UAAU,KAAK,CAAC,EAAE,KAAK,CAAC;AAAA,IACpE;AACA,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL,SAAS,MAAM,SAAS;AACtB,UAAI,UAAU,IAAI,IAAI,GAAG;AACvB,cAAM,IAAI,wBAAwB,IAAI;AAAA,MACxC;AACA,gBAAU,IAAI,MAAM,OAAO;AAAA,IAC7B;AAAA,IACA,QAAQ,YAAY,OAAO,CAAC,GAAG;AAO7B,aAAO,OAAO,WAAW,IAAI,EAAE,YAAY,IAAI;AAAA,IACjD;AAAA,IACA,WAAW,YAAY,OAAO,CAAC,GAAG;AAChC,aAAO,OAAO,WAAW,IAAI,EAAE,YAAY,IAAI;AAAA,IACjD;AAAA,EACF;AACF;","names":[]}
@@ -6,7 +6,7 @@ import {
6
6
  import {
7
7
  buildRecordAad,
8
8
  openEnvelopeJson
9
- } from "../chunk-PE4LXIRT.js";
9
+ } from "../chunk-BYBB4ABD.js";
10
10
  import {
11
11
  buildRecordEnvelope
12
12
  } from "../chunk-QU3YUP2X.js";
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  dumpVaultSchema
3
- } from "./chunk-UT7IVDZK.js";
3
+ } from "./chunk-XWNLKG6R.js";
4
4
  import "./chunk-KHKKD62N.js";
5
5
  import "./chunk-P6ASQOZR.js";
6
6
  import "./chunk-Y2NBBT6K.js";
7
- import "./chunk-RK4FY5C5.js";
8
- import "./chunk-PE4LXIRT.js";
7
+ import "./chunk-626TSARM.js";
8
+ import "./chunk-BYBB4ABD.js";
9
9
  import "./chunk-QU3YUP2X.js";
10
10
  import "./chunk-FOG7YEJP.js";
11
11
  import "./chunk-KDJGJR7F.js";
@@ -18,4 +18,4 @@ import "./chunk-PZ5AY32C.js";
18
18
  export {
19
19
  dumpVaultSchema
20
20
  };
21
- //# sourceMappingURL=walk-GJCICW4M.js.map
21
+ //# sourceMappingURL=walk-LTV7LOCN.js.map