@dxos/echo 0.8.4-main.3c1ae3b → 0.8.4-main.3eb6e50203

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 (452) hide show
  1. package/README.md +1 -2
  2. package/dist/lib/neutral/Annotation.mjs +35 -0
  3. package/dist/lib/neutral/Database.mjs +45 -0
  4. package/dist/lib/neutral/Entity.mjs +51 -0
  5. package/dist/lib/{browser → neutral}/Err.mjs +4 -3
  6. package/dist/lib/{browser → neutral}/Filter.mjs +9 -8
  7. package/dist/lib/{browser → neutral}/Format.mjs +4 -5
  8. package/dist/lib/neutral/JsonSchema.mjs +19 -0
  9. package/dist/lib/{browser → neutral}/Key.mjs +2 -3
  10. package/dist/lib/{node-esm → neutral}/Obj.mjs +40 -19
  11. package/dist/lib/neutral/Order.mjs +12 -0
  12. package/dist/lib/neutral/Query.mjs +26 -0
  13. package/dist/lib/neutral/QueryResult.mjs +2 -0
  14. package/dist/lib/neutral/Ref.mjs +22 -0
  15. package/dist/lib/neutral/Relation.mjs +84 -0
  16. package/dist/lib/neutral/SchemaRegistry.mjs +2 -0
  17. package/dist/lib/neutral/Tag.mjs +25 -0
  18. package/dist/lib/neutral/Type.mjs +47 -0
  19. package/dist/lib/{browser/chunk-FGFQWIZE.mjs → neutral/chunk-4L6DOFXP.mjs} +1 -3
  20. package/dist/lib/neutral/chunk-4L6DOFXP.mjs.map +7 -0
  21. package/dist/lib/{browser/chunk-RP4JV7FD.mjs → neutral/chunk-7WE7SBA2.mjs} +4 -5
  22. package/dist/lib/neutral/chunk-7WE7SBA2.mjs.map +7 -0
  23. package/dist/lib/neutral/chunk-7YWDDFPH.mjs +251 -0
  24. package/dist/lib/neutral/chunk-7YWDDFPH.mjs.map +7 -0
  25. package/dist/lib/{browser/chunk-INHXFXY5.mjs → neutral/chunk-ANHVGJI4.mjs} +2 -3
  26. package/dist/lib/{node-esm/chunk-AJEMYSIR.mjs.map → neutral/chunk-ANHVGJI4.mjs.map} +1 -1
  27. package/dist/lib/neutral/chunk-B4FLOYG7.mjs +130 -0
  28. package/dist/lib/neutral/chunk-B4FLOYG7.mjs.map +7 -0
  29. package/dist/lib/{browser/chunk-O6FOICWT.mjs → neutral/chunk-EXAYCLIM.mjs} +8 -9
  30. package/dist/lib/neutral/chunk-EXAYCLIM.mjs.map +7 -0
  31. package/dist/lib/{browser/chunk-V7TON6BX.mjs → neutral/chunk-F6BTBXL7.mjs} +28 -8
  32. package/dist/lib/neutral/chunk-F6BTBXL7.mjs.map +7 -0
  33. package/dist/lib/neutral/chunk-HQXQWXLH.mjs +269 -0
  34. package/dist/lib/neutral/chunk-HQXQWXLH.mjs.map +7 -0
  35. package/dist/lib/{browser/chunk-CGS2ULMK.mjs → neutral/chunk-J5LGTIGS.mjs} +1 -2
  36. package/dist/lib/{node-esm/chunk-NHYOREKX.mjs → neutral/chunk-KB7RIVLK.mjs} +11 -6
  37. package/dist/lib/neutral/chunk-KB7RIVLK.mjs.map +7 -0
  38. package/dist/lib/neutral/chunk-MXQJZCPY.mjs +51 -0
  39. package/dist/lib/neutral/chunk-MXQJZCPY.mjs.map +7 -0
  40. package/dist/lib/{browser/chunk-3B2G6BW4.mjs → neutral/chunk-N2QNHMT5.mjs} +3 -4
  41. package/dist/lib/{browser/chunk-3B2G6BW4.mjs.map → neutral/chunk-N2QNHMT5.mjs.map} +1 -1
  42. package/dist/lib/{browser/chunk-JG4GH6LN.mjs → neutral/chunk-OMUPQMLR.mjs} +1 -3
  43. package/dist/lib/neutral/chunk-OMUPQMLR.mjs.map +7 -0
  44. package/dist/lib/{browser/chunk-AGOWBKY6.mjs → neutral/chunk-RCBBZLVM.mjs} +61 -13
  45. package/dist/lib/neutral/chunk-RCBBZLVM.mjs.map +7 -0
  46. package/dist/lib/{node-esm/chunk-6OTQZKHX.mjs → neutral/chunk-RIMHNJ3E.mjs} +30 -37
  47. package/dist/lib/neutral/chunk-RIMHNJ3E.mjs.map +7 -0
  48. package/dist/lib/{node-esm/chunk-BYL2NPEA.mjs → neutral/chunk-ROKO4RKJ.mjs} +9 -4
  49. package/dist/lib/{node-esm/chunk-BYL2NPEA.mjs.map → neutral/chunk-ROKO4RKJ.mjs.map} +3 -3
  50. package/dist/lib/{browser/chunk-ESLW4N7S.mjs → neutral/chunk-TMLVKIMX.mjs} +3 -4
  51. package/dist/lib/neutral/chunk-TMLVKIMX.mjs.map +7 -0
  52. package/dist/lib/{browser/chunk-P2B4BASR.mjs → neutral/chunk-UMECVTXM.mjs} +4 -5
  53. package/dist/lib/{node-esm/chunk-LDXRA5TC.mjs.map → neutral/chunk-UMECVTXM.mjs.map} +1 -1
  54. package/dist/lib/{browser/chunk-6XVZF5VJ.mjs → neutral/chunk-VJ2H5MOJ.mjs} +1991 -1010
  55. package/dist/lib/neutral/chunk-VJ2H5MOJ.mjs.map +7 -0
  56. package/dist/lib/{browser/chunk-5IN7XBIQ.mjs → neutral/chunk-VYEWMV5U.mjs} +3 -4
  57. package/dist/lib/{browser/chunk-5IN7XBIQ.mjs.map → neutral/chunk-VYEWMV5U.mjs.map} +1 -1
  58. package/dist/lib/{browser/chunk-MYCCGG2T.mjs → neutral/chunk-X2MPMYYN.mjs} +1 -3
  59. package/dist/lib/{browser/chunk-MYCCGG2T.mjs.map → neutral/chunk-X2MPMYYN.mjs.map} +1 -1
  60. package/dist/lib/{browser/chunk-ZIM3Y4ZK.mjs → neutral/chunk-XAJMXQ4H.mjs} +17 -12
  61. package/dist/lib/neutral/chunk-XAJMXQ4H.mjs.map +7 -0
  62. package/dist/lib/neutral/chunk-YPIP3WGI.mjs +97 -0
  63. package/dist/lib/neutral/chunk-YPIP3WGI.mjs.map +7 -0
  64. package/dist/lib/{browser → neutral}/index.mjs +27 -28
  65. package/dist/lib/{node-esm → neutral}/internal/index.mjs +141 -26
  66. package/dist/lib/neutral/meta.json +1 -0
  67. package/dist/lib/{browser → neutral}/testing/index.mjs +67 -61
  68. package/dist/lib/neutral/testing/index.mjs.map +7 -0
  69. package/dist/types/src/Annotation.d.ts +23 -1
  70. package/dist/types/src/Annotation.d.ts.map +1 -1
  71. package/dist/types/src/Database.d.ts +90 -53
  72. package/dist/types/src/Database.d.ts.map +1 -1
  73. package/dist/types/src/Entity.d.ts +111 -5
  74. package/dist/types/src/Entity.d.ts.map +1 -1
  75. package/dist/types/src/Entity.test.d.ts +2 -0
  76. package/dist/types/src/Entity.test.d.ts.map +1 -0
  77. package/dist/types/src/Err.d.ts +55 -16
  78. package/dist/types/src/Err.d.ts.map +1 -1
  79. package/dist/types/src/Obj.d.ts +348 -76
  80. package/dist/types/src/Obj.d.ts.map +1 -1
  81. package/dist/types/src/Obj.test.d.ts +2 -0
  82. package/dist/types/src/Obj.test.d.ts.map +1 -0
  83. package/dist/types/src/Order.d.ts +5 -0
  84. package/dist/types/src/Order.d.ts.map +1 -1
  85. package/dist/types/src/Query.d.ts +21 -3
  86. package/dist/types/src/Query.d.ts.map +1 -1
  87. package/dist/types/src/QueryResult.d.ts +0 -4
  88. package/dist/types/src/QueryResult.d.ts.map +1 -1
  89. package/dist/types/src/Ref.d.ts +7 -7
  90. package/dist/types/src/Ref.d.ts.map +1 -1
  91. package/dist/types/src/Relation.d.ts +236 -19
  92. package/dist/types/src/Relation.d.ts.map +1 -1
  93. package/dist/types/src/Relation.test.d.ts +2 -0
  94. package/dist/types/src/Relation.test.d.ts.map +1 -0
  95. package/dist/types/src/SchemaRegistry.d.ts +11 -0
  96. package/dist/types/src/SchemaRegistry.d.ts.map +1 -1
  97. package/dist/types/src/Tag.d.ts +6 -6
  98. package/dist/types/src/Tag.d.ts.map +1 -1
  99. package/dist/types/src/Type.d.ts +213 -50
  100. package/dist/types/src/Type.d.ts.map +1 -1
  101. package/dist/types/src/Type.test.d.ts +2 -0
  102. package/dist/types/src/Type.test.d.ts.map +1 -0
  103. package/dist/types/src/hierarchy.test.d.ts +2 -0
  104. package/dist/types/src/hierarchy.test.d.ts.map +1 -0
  105. package/dist/types/src/internal/annotations/annotations.d.ts +24 -26
  106. package/dist/types/src/internal/annotations/annotations.d.ts.map +1 -1
  107. package/dist/types/src/internal/annotations/util.d.ts +12 -0
  108. package/dist/types/src/internal/annotations/util.d.ts.map +1 -1
  109. package/dist/types/src/internal/api/annotations.d.ts +23 -0
  110. package/dist/types/src/internal/api/annotations.d.ts.map +1 -0
  111. package/dist/types/src/internal/api/entity.d.ts +13 -0
  112. package/dist/types/src/internal/api/entity.d.ts.map +1 -0
  113. package/dist/types/src/internal/api/index.d.ts +15 -0
  114. package/dist/types/src/internal/api/index.d.ts.map +1 -0
  115. package/dist/types/src/internal/api/meta.d.ts +42 -0
  116. package/dist/types/src/internal/api/meta.d.ts.map +1 -0
  117. package/dist/types/src/internal/api/sorting.d.ts +24 -0
  118. package/dist/types/src/internal/api/sorting.d.ts.map +1 -0
  119. package/dist/types/src/internal/api/version.d.ts +42 -0
  120. package/dist/types/src/internal/api/version.d.ts.map +1 -0
  121. package/dist/types/src/internal/entities/entity.d.ts +13 -3
  122. package/dist/types/src/internal/entities/entity.d.ts.map +1 -1
  123. package/dist/types/src/internal/entities/index.d.ts +1 -1
  124. package/dist/types/src/internal/entities/index.d.ts.map +1 -1
  125. package/dist/types/src/internal/entities/model.d.ts +17 -8
  126. package/dist/types/src/internal/entities/model.d.ts.map +1 -1
  127. package/dist/types/src/internal/entities/object.d.ts +8 -1
  128. package/dist/types/src/internal/entities/object.d.ts.map +1 -1
  129. package/dist/types/src/internal/entities/relation.d.ts +8 -1
  130. package/dist/types/src/internal/entities/relation.d.ts.map +1 -1
  131. package/dist/types/src/internal/formats/select.d.ts +2 -2
  132. package/dist/types/src/internal/formats/select.d.ts.map +1 -1
  133. package/dist/types/src/internal/index.d.ts +2 -1
  134. package/dist/types/src/internal/index.d.ts.map +1 -1
  135. package/dist/types/src/internal/json-schema/json-schema-normalize.d.ts.map +1 -1
  136. package/dist/types/src/internal/json-schema/json-schema-type.d.ts +130 -29
  137. package/dist/types/src/internal/json-schema/json-schema-type.d.ts.map +1 -1
  138. package/dist/types/src/internal/json-schema/json-schema.d.ts +2 -1
  139. package/dist/types/src/internal/json-schema/json-schema.d.ts.map +1 -1
  140. package/dist/types/src/internal/object/clone.d.ts +8 -0
  141. package/dist/types/src/internal/object/clone.d.ts.map +1 -0
  142. package/dist/types/src/internal/object/create-object.d.ts +1 -1
  143. package/dist/types/src/internal/object/index.d.ts +3 -0
  144. package/dist/types/src/internal/object/index.d.ts.map +1 -1
  145. package/dist/types/src/internal/object/json-serializer.d.ts +13 -7
  146. package/dist/types/src/internal/object/json-serializer.d.ts.map +1 -1
  147. package/dist/types/src/internal/object/schema-validator.d.ts +1 -14
  148. package/dist/types/src/internal/object/schema-validator.d.ts.map +1 -1
  149. package/dist/types/src/internal/object/set-value.d.ts +7 -0
  150. package/dist/types/src/internal/object/set-value.d.ts.map +1 -0
  151. package/dist/types/src/internal/object/set-value.test.d.ts +2 -0
  152. package/dist/types/src/internal/object/set-value.test.d.ts.map +1 -0
  153. package/dist/types/src/internal/object/snapshot.d.ts +6 -0
  154. package/dist/types/src/internal/object/snapshot.d.ts.map +1 -0
  155. package/dist/types/src/internal/object/typed-object.d.ts +7 -13
  156. package/dist/types/src/internal/object/typed-object.d.ts.map +1 -1
  157. package/dist/types/src/internal/proxy/change-context.d.ts +55 -0
  158. package/dist/types/src/internal/proxy/change-context.d.ts.map +1 -0
  159. package/dist/types/src/internal/proxy/change.test.d.ts +2 -0
  160. package/dist/types/src/internal/proxy/change.test.d.ts.map +1 -0
  161. package/dist/types/src/internal/proxy/define-hidden-property.d.ts +5 -0
  162. package/dist/types/src/internal/proxy/define-hidden-property.d.ts.map +1 -0
  163. package/dist/types/src/internal/proxy/errors.d.ts +19 -0
  164. package/dist/types/src/internal/proxy/errors.d.ts.map +1 -0
  165. package/dist/types/src/internal/proxy/event-batch.d.ts +10 -0
  166. package/dist/types/src/internal/proxy/event-batch.d.ts.map +1 -0
  167. package/dist/types/src/internal/proxy/index.d.ts +11 -0
  168. package/dist/types/src/internal/proxy/index.d.ts.map +1 -1
  169. package/dist/types/src/internal/proxy/json-serializer.d.ts +6 -0
  170. package/dist/types/src/internal/proxy/json-serializer.d.ts.map +1 -0
  171. package/dist/types/src/internal/proxy/make-object.d.ts +2 -4
  172. package/dist/types/src/internal/proxy/make-object.d.ts.map +1 -1
  173. package/dist/types/src/internal/proxy/ownership.d.ts +57 -0
  174. package/dist/types/src/internal/proxy/ownership.d.ts.map +1 -0
  175. package/dist/types/src/internal/proxy/proxy-types.d.ts +18 -0
  176. package/dist/types/src/internal/proxy/proxy-types.d.ts.map +1 -0
  177. package/dist/types/src/internal/proxy/proxy-utils.d.ts +47 -0
  178. package/dist/types/src/internal/proxy/proxy-utils.d.ts.map +1 -0
  179. package/dist/types/src/internal/proxy/reactive-array.d.ts +8 -0
  180. package/dist/types/src/internal/proxy/reactive-array.d.ts.map +1 -0
  181. package/dist/types/src/internal/proxy/reactive.d.ts +39 -0
  182. package/dist/types/src/internal/proxy/reactive.d.ts.map +1 -0
  183. package/dist/types/src/internal/proxy/schema-validator.d.ts +15 -0
  184. package/dist/types/src/internal/proxy/schema-validator.d.ts.map +1 -0
  185. package/dist/types/src/internal/proxy/symbols.d.ts +3 -0
  186. package/dist/types/src/internal/proxy/symbols.d.ts.map +1 -0
  187. package/dist/types/src/internal/proxy/typed-handler.d.ts +16 -12
  188. package/dist/types/src/internal/proxy/typed-handler.d.ts.map +1 -1
  189. package/dist/types/src/internal/ref/ref-array.d.ts +4 -4
  190. package/dist/types/src/internal/ref/ref-array.d.ts.map +1 -1
  191. package/dist/types/src/internal/ref/ref.d.ts +30 -8
  192. package/dist/types/src/internal/ref/ref.d.ts.map +1 -1
  193. package/dist/types/src/internal/schema/compose.d.ts +2 -1
  194. package/dist/types/src/internal/schema/compose.d.ts.map +1 -1
  195. package/dist/types/src/internal/schema/echo-schema.d.ts +16 -3
  196. package/dist/types/src/internal/schema/echo-schema.d.ts.map +1 -1
  197. package/dist/types/src/internal/schema/index.d.ts +0 -1
  198. package/dist/types/src/internal/schema/index.d.ts.map +1 -1
  199. package/dist/types/src/internal/schema/persistent-schema.d.ts +9 -7
  200. package/dist/types/src/internal/schema/persistent-schema.d.ts.map +1 -1
  201. package/dist/types/src/internal/types/base.d.ts +5 -16
  202. package/dist/types/src/internal/types/base.d.ts.map +1 -1
  203. package/dist/types/src/internal/types/entity.d.ts +27 -2
  204. package/dist/types/src/internal/types/entity.d.ts.map +1 -1
  205. package/dist/types/src/internal/types/meta.d.ts +6 -14
  206. package/dist/types/src/internal/types/meta.d.ts.map +1 -1
  207. package/dist/types/src/internal/types/typename.d.ts +8 -0
  208. package/dist/types/src/internal/types/typename.d.ts.map +1 -1
  209. package/dist/types/src/testing/test-schema.d.ts +101 -205
  210. package/dist/types/src/testing/test-schema.d.ts.map +1 -1
  211. package/dist/types/src/testing/util.d.ts +6 -1
  212. package/dist/types/src/testing/util.d.ts.map +1 -1
  213. package/dist/types/tsconfig.tsbuildinfo +1 -1
  214. package/package.json +38 -115
  215. package/src/Annotation.ts +32 -4
  216. package/src/Database.ts +170 -125
  217. package/src/Entity.test.ts +22 -0
  218. package/src/Entity.ts +173 -7
  219. package/src/Err.ts +22 -2
  220. package/src/Obj.test.ts +442 -0
  221. package/src/Obj.ts +471 -254
  222. package/src/Order.ts +10 -0
  223. package/src/Query.test.ts +120 -1
  224. package/src/Query.ts +53 -8
  225. package/src/QueryResult.ts +1 -4
  226. package/src/Ref.ts +3 -3
  227. package/src/Relation.test.ts +82 -0
  228. package/src/Relation.ts +367 -28
  229. package/src/SchemaRegistry.ts +13 -0
  230. package/src/Tag.ts +1 -1
  231. package/src/Type.test.ts +52 -0
  232. package/src/Type.ts +322 -88
  233. package/src/hierarchy.test.ts +33 -0
  234. package/src/internal/README.md +31 -16
  235. package/src/internal/annotations/annotations.test.ts +6 -6
  236. package/src/internal/annotations/annotations.ts +48 -49
  237. package/src/internal/annotations/util.ts +13 -0
  238. package/src/internal/api/annotations.ts +60 -0
  239. package/src/internal/api/entity.ts +29 -0
  240. package/src/internal/api/index.ts +19 -0
  241. package/src/internal/api/meta.ts +88 -0
  242. package/src/internal/api/sorting.ts +53 -0
  243. package/src/internal/api/version.ts +96 -0
  244. package/src/internal/entities/entity.ts +36 -19
  245. package/src/internal/entities/index.ts +1 -1
  246. package/src/internal/entities/model.ts +21 -12
  247. package/src/internal/entities/object.ts +21 -8
  248. package/src/internal/entities/relation.ts +23 -7
  249. package/src/internal/formats/format.test.ts +1 -1
  250. package/src/internal/formats/select.ts +1 -1
  251. package/src/internal/formats/types.ts +1 -1
  252. package/src/internal/index.ts +2 -1
  253. package/src/internal/json-schema/json-schema-normalize.ts +4 -2
  254. package/src/internal/json-schema/json-schema-type.ts +30 -31
  255. package/src/internal/json-schema/json-schema.test.ts +17 -17
  256. package/src/internal/json-schema/json-schema.ts +14 -10
  257. package/src/internal/object/clone.ts +48 -0
  258. package/src/internal/object/create-object.ts +2 -2
  259. package/src/internal/object/index.ts +3 -0
  260. package/src/internal/object/inspect.ts +3 -3
  261. package/src/internal/object/json-serializer.test.ts +6 -2
  262. package/src/internal/object/json-serializer.ts +37 -70
  263. package/src/internal/object/schema-validator.test.ts +3 -7
  264. package/src/internal/object/schema-validator.ts +2 -240
  265. package/src/internal/object/set-value.test.ts +281 -0
  266. package/src/internal/object/set-value.ts +165 -0
  267. package/src/internal/object/snapshot.ts +93 -0
  268. package/src/internal/object/typed-object.test.ts +11 -11
  269. package/src/internal/object/typed-object.ts +8 -72
  270. package/src/internal/proxy/change-context.ts +138 -0
  271. package/src/internal/proxy/change.test.ts +519 -0
  272. package/src/internal/proxy/define-hidden-property.ts +14 -0
  273. package/src/internal/proxy/errors.ts +42 -0
  274. package/src/internal/proxy/event-batch.ts +44 -0
  275. package/src/internal/proxy/handler.test.ts +30 -80
  276. package/src/internal/proxy/index.ts +11 -0
  277. package/src/internal/proxy/json-serializer.ts +87 -0
  278. package/src/internal/proxy/make-object.ts +44 -51
  279. package/src/internal/proxy/ownership.ts +253 -0
  280. package/src/internal/proxy/proxy-types.ts +23 -0
  281. package/src/internal/proxy/proxy-utils.ts +150 -0
  282. package/src/internal/proxy/reactive-array.ts +71 -0
  283. package/src/internal/proxy/reactive.ts +69 -0
  284. package/src/internal/proxy/schema-validator.ts +244 -0
  285. package/src/internal/proxy/schema.test.ts +23 -15
  286. package/src/internal/proxy/symbols.ts +7 -0
  287. package/src/internal/proxy/typed-handler.test.ts +247 -35
  288. package/src/internal/proxy/typed-handler.ts +274 -57
  289. package/src/internal/proxy/typed-object.test.ts +37 -26
  290. package/src/internal/ref/ref-array.ts +4 -4
  291. package/src/internal/ref/ref.test.ts +1 -1
  292. package/src/internal/ref/ref.ts +88 -41
  293. package/src/internal/schema/compose.test.ts +3 -3
  294. package/src/internal/schema/compose.ts +13 -9
  295. package/src/internal/schema/echo-schema.ts +51 -12
  296. package/src/internal/schema/index.ts +0 -1
  297. package/src/internal/schema/persistent-schema.ts +5 -5
  298. package/src/internal/types/base.ts +6 -20
  299. package/src/internal/types/entity.ts +35 -4
  300. package/src/internal/types/meta.ts +13 -24
  301. package/src/internal/types/typename.ts +10 -0
  302. package/src/testing/api.test.ts +31 -5
  303. package/src/testing/test-schema.ts +44 -30
  304. package/src/testing/util.ts +22 -15
  305. package/dist/lib/browser/Annotation.mjs +0 -31
  306. package/dist/lib/browser/Database.mjs +0 -14
  307. package/dist/lib/browser/Entity.mjs +0 -20
  308. package/dist/lib/browser/JsonSchema.mjs +0 -18
  309. package/dist/lib/browser/Obj.mjs +0 -83
  310. package/dist/lib/browser/Order.mjs +0 -11
  311. package/dist/lib/browser/Query.mjs +0 -25
  312. package/dist/lib/browser/QueryResult.mjs +0 -3
  313. package/dist/lib/browser/Ref.mjs +0 -21
  314. package/dist/lib/browser/Relation.mjs +0 -33
  315. package/dist/lib/browser/SchemaRegistry.mjs +0 -3
  316. package/dist/lib/browser/Tag.mjs +0 -25
  317. package/dist/lib/browser/Type.mjs +0 -38
  318. package/dist/lib/browser/chunk-6XVZF5VJ.mjs.map +0 -7
  319. package/dist/lib/browser/chunk-AGOWBKY6.mjs.map +0 -7
  320. package/dist/lib/browser/chunk-BD6MRI4M.mjs +0 -113
  321. package/dist/lib/browser/chunk-BD6MRI4M.mjs.map +0 -7
  322. package/dist/lib/browser/chunk-DOPKE2FQ.mjs +0 -32
  323. package/dist/lib/browser/chunk-DOPKE2FQ.mjs.map +0 -7
  324. package/dist/lib/browser/chunk-ESLW4N7S.mjs.map +0 -7
  325. package/dist/lib/browser/chunk-F4YF6C3O.mjs +0 -363
  326. package/dist/lib/browser/chunk-F4YF6C3O.mjs.map +0 -7
  327. package/dist/lib/browser/chunk-FGFQWIZE.mjs.map +0 -7
  328. package/dist/lib/browser/chunk-INHXFXY5.mjs.map +0 -7
  329. package/dist/lib/browser/chunk-JG4GH6LN.mjs.map +0 -7
  330. package/dist/lib/browser/chunk-NFH3POTD.mjs +0 -37
  331. package/dist/lib/browser/chunk-NFH3POTD.mjs.map +0 -7
  332. package/dist/lib/browser/chunk-O6FOICWT.mjs.map +0 -7
  333. package/dist/lib/browser/chunk-P2B4BASR.mjs.map +0 -7
  334. package/dist/lib/browser/chunk-QHC3ZYNC.mjs +0 -152
  335. package/dist/lib/browser/chunk-QHC3ZYNC.mjs.map +0 -7
  336. package/dist/lib/browser/chunk-QU7PWSZD.mjs +0 -62
  337. package/dist/lib/browser/chunk-QU7PWSZD.mjs.map +0 -7
  338. package/dist/lib/browser/chunk-RP4JV7FD.mjs.map +0 -7
  339. package/dist/lib/browser/chunk-V7TON6BX.mjs.map +0 -7
  340. package/dist/lib/browser/chunk-WABSVOOX.mjs +0 -303
  341. package/dist/lib/browser/chunk-WABSVOOX.mjs.map +0 -7
  342. package/dist/lib/browser/chunk-XRHHSMHJ.mjs +0 -39
  343. package/dist/lib/browser/chunk-XRHHSMHJ.mjs.map +0 -7
  344. package/dist/lib/browser/chunk-ZIM3Y4ZK.mjs.map +0 -7
  345. package/dist/lib/browser/internal/index.mjs +0 -347
  346. package/dist/lib/browser/meta.json +0 -1
  347. package/dist/lib/browser/testing/index.mjs.map +0 -7
  348. package/dist/lib/node-esm/Annotation.mjs +0 -31
  349. package/dist/lib/node-esm/Annotation.mjs.map +0 -7
  350. package/dist/lib/node-esm/Database.mjs +0 -14
  351. package/dist/lib/node-esm/Database.mjs.map +0 -7
  352. package/dist/lib/node-esm/Entity.mjs +0 -20
  353. package/dist/lib/node-esm/Entity.mjs.map +0 -7
  354. package/dist/lib/node-esm/Err.mjs +0 -11
  355. package/dist/lib/node-esm/Err.mjs.map +0 -7
  356. package/dist/lib/node-esm/Filter.mjs +0 -60
  357. package/dist/lib/node-esm/Filter.mjs.map +0 -7
  358. package/dist/lib/node-esm/Format.mjs +0 -67
  359. package/dist/lib/node-esm/Format.mjs.map +0 -7
  360. package/dist/lib/node-esm/JsonSchema.mjs +0 -18
  361. package/dist/lib/node-esm/JsonSchema.mjs.map +0 -7
  362. package/dist/lib/node-esm/Key.mjs +0 -13
  363. package/dist/lib/node-esm/Key.mjs.map +0 -7
  364. package/dist/lib/node-esm/Obj.mjs.map +0 -7
  365. package/dist/lib/node-esm/Order.mjs +0 -11
  366. package/dist/lib/node-esm/Order.mjs.map +0 -7
  367. package/dist/lib/node-esm/Query.mjs +0 -25
  368. package/dist/lib/node-esm/Query.mjs.map +0 -7
  369. package/dist/lib/node-esm/QueryResult.mjs +0 -3
  370. package/dist/lib/node-esm/QueryResult.mjs.map +0 -7
  371. package/dist/lib/node-esm/Ref.mjs +0 -21
  372. package/dist/lib/node-esm/Ref.mjs.map +0 -7
  373. package/dist/lib/node-esm/Relation.mjs +0 -33
  374. package/dist/lib/node-esm/Relation.mjs.map +0 -7
  375. package/dist/lib/node-esm/SchemaRegistry.mjs +0 -3
  376. package/dist/lib/node-esm/SchemaRegistry.mjs.map +0 -7
  377. package/dist/lib/node-esm/Tag.mjs +0 -25
  378. package/dist/lib/node-esm/Tag.mjs.map +0 -7
  379. package/dist/lib/node-esm/Type.mjs +0 -38
  380. package/dist/lib/node-esm/Type.mjs.map +0 -7
  381. package/dist/lib/node-esm/chunk-5M5P2DCR.mjs +0 -32
  382. package/dist/lib/node-esm/chunk-5M5P2DCR.mjs.map +0 -7
  383. package/dist/lib/node-esm/chunk-6OTQZKHX.mjs.map +0 -7
  384. package/dist/lib/node-esm/chunk-76LEDWHO.mjs +0 -152
  385. package/dist/lib/node-esm/chunk-76LEDWHO.mjs.map +0 -7
  386. package/dist/lib/node-esm/chunk-AGHZH33D.mjs +0 -9
  387. package/dist/lib/node-esm/chunk-AGHZH33D.mjs.map +0 -7
  388. package/dist/lib/node-esm/chunk-AJEMYSIR.mjs +0 -22
  389. package/dist/lib/node-esm/chunk-BJACR7QG.mjs +0 -363
  390. package/dist/lib/node-esm/chunk-BJACR7QG.mjs.map +0 -7
  391. package/dist/lib/node-esm/chunk-CCMFPJUT.mjs +0 -74
  392. package/dist/lib/node-esm/chunk-CCMFPJUT.mjs.map +0 -7
  393. package/dist/lib/node-esm/chunk-D5BW7KHR.mjs +0 -39
  394. package/dist/lib/node-esm/chunk-D5BW7KHR.mjs.map +0 -7
  395. package/dist/lib/node-esm/chunk-DJX53IQ3.mjs +0 -2924
  396. package/dist/lib/node-esm/chunk-DJX53IQ3.mjs.map +0 -7
  397. package/dist/lib/node-esm/chunk-FWTPV5QD.mjs +0 -94
  398. package/dist/lib/node-esm/chunk-FWTPV5QD.mjs.map +0 -7
  399. package/dist/lib/node-esm/chunk-HLUDHPFO.mjs +0 -403
  400. package/dist/lib/node-esm/chunk-HLUDHPFO.mjs.map +0 -7
  401. package/dist/lib/node-esm/chunk-HSLMI22Q.mjs +0 -11
  402. package/dist/lib/node-esm/chunk-HSLMI22Q.mjs.map +0 -7
  403. package/dist/lib/node-esm/chunk-JYZSF62S.mjs +0 -113
  404. package/dist/lib/node-esm/chunk-JYZSF62S.mjs.map +0 -7
  405. package/dist/lib/node-esm/chunk-KUX5JEL2.mjs +0 -57
  406. package/dist/lib/node-esm/chunk-KUX5JEL2.mjs.map +0 -7
  407. package/dist/lib/node-esm/chunk-LDXRA5TC.mjs +0 -288
  408. package/dist/lib/node-esm/chunk-MOWUEW5P.mjs +0 -15
  409. package/dist/lib/node-esm/chunk-MOWUEW5P.mjs.map +0 -7
  410. package/dist/lib/node-esm/chunk-NHYOREKX.mjs.map +0 -7
  411. package/dist/lib/node-esm/chunk-QVZZHCDS.mjs +0 -9
  412. package/dist/lib/node-esm/chunk-QVZZHCDS.mjs.map +0 -7
  413. package/dist/lib/node-esm/chunk-W3OLV7MG.mjs +0 -41
  414. package/dist/lib/node-esm/chunk-W3OLV7MG.mjs.map +0 -7
  415. package/dist/lib/node-esm/chunk-W5AQXKVF.mjs +0 -38
  416. package/dist/lib/node-esm/chunk-W5AQXKVF.mjs.map +0 -7
  417. package/dist/lib/node-esm/chunk-YNBFXTDG.mjs +0 -24
  418. package/dist/lib/node-esm/chunk-YNBFXTDG.mjs.map +0 -7
  419. package/dist/lib/node-esm/chunk-Z53QIBP2.mjs +0 -151
  420. package/dist/lib/node-esm/chunk-Z53QIBP2.mjs.map +0 -7
  421. package/dist/lib/node-esm/index.mjs +0 -85
  422. package/dist/lib/node-esm/index.mjs.map +0 -7
  423. package/dist/lib/node-esm/internal/index.mjs.map +0 -7
  424. package/dist/lib/node-esm/meta.json +0 -1
  425. package/dist/lib/node-esm/testing/index.mjs +0 -360
  426. package/dist/lib/node-esm/testing/index.mjs.map +0 -7
  427. package/dist/types/src/internal/entities/expando.d.ts +0 -16
  428. package/dist/types/src/internal/entities/expando.d.ts.map +0 -1
  429. package/dist/types/src/internal/schema/snapshot.d.ts +0 -6
  430. package/dist/types/src/internal/schema/snapshot.d.ts.map +0 -1
  431. package/src/internal/entities/expando.ts +0 -23
  432. package/src/internal/schema/snapshot.ts +0 -25
  433. /package/dist/lib/{browser → neutral}/Annotation.mjs.map +0 -0
  434. /package/dist/lib/{browser → neutral}/Database.mjs.map +0 -0
  435. /package/dist/lib/{browser → neutral}/Entity.mjs.map +0 -0
  436. /package/dist/lib/{browser → neutral}/Err.mjs.map +0 -0
  437. /package/dist/lib/{browser → neutral}/Filter.mjs.map +0 -0
  438. /package/dist/lib/{browser → neutral}/Format.mjs.map +0 -0
  439. /package/dist/lib/{browser → neutral}/JsonSchema.mjs.map +0 -0
  440. /package/dist/lib/{browser → neutral}/Key.mjs.map +0 -0
  441. /package/dist/lib/{browser → neutral}/Obj.mjs.map +0 -0
  442. /package/dist/lib/{browser → neutral}/Order.mjs.map +0 -0
  443. /package/dist/lib/{browser → neutral}/Query.mjs.map +0 -0
  444. /package/dist/lib/{browser → neutral}/QueryResult.mjs.map +0 -0
  445. /package/dist/lib/{browser → neutral}/Ref.mjs.map +0 -0
  446. /package/dist/lib/{browser → neutral}/Relation.mjs.map +0 -0
  447. /package/dist/lib/{browser → neutral}/SchemaRegistry.mjs.map +0 -0
  448. /package/dist/lib/{browser → neutral}/Tag.mjs.map +0 -0
  449. /package/dist/lib/{browser → neutral}/Type.mjs.map +0 -0
  450. /package/dist/lib/{browser/chunk-CGS2ULMK.mjs.map → neutral/chunk-J5LGTIGS.mjs.map} +0 -0
  451. /package/dist/lib/{browser → neutral}/index.mjs.map +0 -0
  452. /package/dist/lib/{browser → neutral}/internal/index.mjs.map +0 -0
@@ -1,151 +0,0 @@
1
- import { createRequire } from 'node:module';const require = createRequire(import.meta.url);
2
- import {
3
- is,
4
- props,
5
- type
6
- } from "./chunk-LDXRA5TC.mjs";
7
- import {
8
- getTypeDXNFromSpecifier
9
- } from "./chunk-6OTQZKHX.mjs";
10
- import {
11
- __export
12
- } from "./chunk-HSLMI22Q.mjs";
13
-
14
- // src/Query.ts
15
- var Query_exports = {};
16
- __export(Query_exports, {
17
- all: () => all,
18
- fromAst: () => fromAst,
19
- is: () => is2,
20
- select: () => select,
21
- type: () => type2,
22
- without: () => without
23
- });
24
- var QueryClass = class _QueryClass {
25
- ast;
26
- static variance = {};
27
- constructor(ast) {
28
- this.ast = ast;
29
- }
30
- "~Query" = _QueryClass.variance;
31
- select(filter) {
32
- if (is(filter)) {
33
- return new _QueryClass({
34
- type: "filter",
35
- selection: this.ast,
36
- filter: filter.ast
37
- });
38
- } else {
39
- return new _QueryClass({
40
- type: "filter",
41
- selection: this.ast,
42
- filter: props(filter).ast
43
- });
44
- }
45
- }
46
- reference(key) {
47
- return new _QueryClass({
48
- type: "reference-traversal",
49
- anchor: this.ast,
50
- property: key
51
- });
52
- }
53
- referencedBy(target, key) {
54
- const dxn = getTypeDXNFromSpecifier(target);
55
- return new _QueryClass({
56
- type: "incoming-references",
57
- anchor: this.ast,
58
- property: key,
59
- typename: dxn.toString()
60
- });
61
- }
62
- sourceOf(relation, predicates) {
63
- return new _QueryClass({
64
- type: "relation",
65
- anchor: this.ast,
66
- direction: "outgoing",
67
- filter: type(relation, predicates).ast
68
- });
69
- }
70
- targetOf(relation, predicates) {
71
- return new _QueryClass({
72
- type: "relation",
73
- anchor: this.ast,
74
- direction: "incoming",
75
- filter: type(relation, predicates).ast
76
- });
77
- }
78
- source() {
79
- return new _QueryClass({
80
- type: "relation-traversal",
81
- anchor: this.ast,
82
- direction: "source"
83
- });
84
- }
85
- target() {
86
- return new _QueryClass({
87
- type: "relation-traversal",
88
- anchor: this.ast,
89
- direction: "target"
90
- });
91
- }
92
- orderBy(...order) {
93
- return new _QueryClass({
94
- type: "order",
95
- query: this.ast,
96
- order: order.map((o) => o.ast)
97
- });
98
- }
99
- options(options) {
100
- return new _QueryClass({
101
- type: "options",
102
- query: this.ast,
103
- options
104
- });
105
- }
106
- };
107
- var is2 = (value) => {
108
- return typeof value === "object" && value !== null && "~Query" in value;
109
- };
110
- var fromAst = (ast) => {
111
- return new QueryClass(ast);
112
- };
113
- var select = (filter) => {
114
- return new QueryClass({
115
- type: "select",
116
- filter: filter.ast
117
- });
118
- };
119
- var type2 = (schema, predicates) => {
120
- return new QueryClass({
121
- type: "select",
122
- filter: type(schema, predicates).ast
123
- });
124
- };
125
- var all = (...queries) => {
126
- if (queries.length === 0) {
127
- throw new TypeError("Query.all combines results of multiple queries, to query all objects use Query.select(Filter.everything())");
128
- }
129
- return new QueryClass({
130
- type: "union",
131
- queries: queries.map((q) => q.ast)
132
- });
133
- };
134
- var without = (source, exclude) => {
135
- return new QueryClass({
136
- type: "set-difference",
137
- source: source.ast,
138
- exclude: exclude.ast
139
- });
140
- };
141
-
142
- export {
143
- is2 as is,
144
- fromAst,
145
- select,
146
- type2 as type,
147
- all,
148
- without,
149
- Query_exports
150
- };
151
- //# sourceMappingURL=chunk-Z53QIBP2.mjs.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/Query.ts"],
4
- "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport type * as EffectArray from 'effect/Array';\nimport type * as Schema from 'effect/Schema';\n\nimport { type QueryAST } from '@dxos/echo-protocol';\n\nimport * as Filter from './Filter';\nimport { getTypeDXNFromSpecifier } from './internal';\nimport type * as Order from './Order';\nimport type * as Ref from './Ref';\nimport type * as Type$ from './Type';\n\n// TODO(dmaretskyi): Split up into interfaces for objects and relations so they can have separate verbs.\n// TODO(dmaretskyi): Undirected relation traversals.\n// TODO(wittjosiah): Make Filter & Query pipeable.\n\n/**\n * All property paths inside T that are references.\n */\n// TODO(dmaretskyi): Filter only properties that are references (or optional references, or unions that include references).\ntype RefPropKey<T> = keyof T & string;\n\n// TODO(burdon): Narrow T to Entity.Unknown?\nexport interface Query<T> {\n // TODO(dmaretskyi): See new effect-schema approach to variance.\n '~Query': { value: T };\n\n ast: QueryAST.Query;\n\n /**\n * Filter the current selection based on a filter.\n * @param filter - Filter to select the objects.\n * @returns Query for the selected objects.\n */\n select(filter: Filter.Filter<T>): Query<T>;\n select(props: Filter.Props<T>): Query<T>;\n\n /**\n * Traverse an outgoing reference.\n * @param key - Property path inside T that is a reference or optional reference.\n * @returns Query for the target of the reference.\n */\n reference<K extends RefPropKey<T>>(\n key: K,\n ): Query<\n T[K] extends Ref.Any\n ? Ref.Target<T[K]>\n : T[K] extends Ref.Any | undefined\n ? Ref.Target<Exclude<T[K], undefined>>\n : never\n >;\n\n /**\n * Find objects referencing this object.\n * @param target - Schema of the referencing object.\n * @param key - Property path inside the referencing object that is a reference.\n * @returns Query for the referencing objects.\n */\n // TODO(dmaretskyi): any way to enforce `Ref.Target<Schema.Schema.Type<S>[key]> == T`?\n // TODO(dmaretskyi): Ability to go through arrays of references.\n referencedBy<S extends Schema.Schema.All>(\n target: S | string,\n key: RefPropKey<Schema.Schema.Type<S>>,\n ): Query<Schema.Schema.Type<S>>;\n\n /**\n * Find relations where this object is the source.\n * @returns Query for the relation objects.\n * @param relation - Schema of the relation.\n * @param predicates - Predicates to filter the relation objects.\n */\n sourceOf<S extends Schema.Schema.All>(\n relation: S | string,\n predicates?: Filter.Props<Schema.Schema.Type<S>>,\n ): Query<Schema.Schema.Type<S>>;\n\n /**\n * Find relations where this object is the target.\n * @returns Query for the relation objects.\n * @param relation - Schema of the relation.\n * @param predicates - Predicates to filter the relation objects.\n */\n targetOf<S extends Schema.Schema.All>(\n relation: S | string,\n predicates?: Filter.Props<Schema.Schema.Type<S>>,\n ): Query<Schema.Schema.Type<S>>;\n\n /**\n * For a query for relations, get the source objects.\n * @returns Query for the source objects.\n */\n source(): Query<Type$.Relation.Source<T>>;\n\n /**\n * For a query for relations, get the target objects.\n * @returns Query for the target objects.\n */\n target(): Query<Type$.Relation.Target<T>>;\n\n /**\n * Order the query results.\n * Orders are specified in priority order. The first order will be applied first, etc.\n * @param order - Order to sort the results.\n * @returns Query for the ordered results.\n */\n orderBy(...order: EffectArray.NonEmptyArray<Order.Order<T>>): Query<T>;\n\n /**\n * Add options to a query.\n */\n options(options: QueryAST.QueryOptions): Query<T>;\n}\n\nexport type Any = Query<any>;\n\nexport type Type<Q extends Any> = Q extends Query<infer T> ? T : never;\n\nclass QueryClass implements Any {\n private static variance: Any['~Query'] = {} as Any['~Query'];\n\n constructor(public readonly ast: QueryAST.Query) {}\n\n '~Query' = QueryClass.variance;\n\n select(filter: Filter.Any | Filter.Props<any>): Any {\n if (Filter.is(filter)) {\n return new QueryClass({\n type: 'filter',\n selection: this.ast,\n filter: filter.ast,\n });\n } else {\n return new QueryClass({\n type: 'filter',\n selection: this.ast,\n filter: Filter.props(filter).ast,\n });\n }\n }\n\n reference(key: string): Any {\n return new QueryClass({\n type: 'reference-traversal',\n anchor: this.ast,\n property: key,\n });\n }\n\n referencedBy(target: Schema.Schema.All | string, key: string): Any {\n const dxn = getTypeDXNFromSpecifier(target);\n return new QueryClass({\n type: 'incoming-references',\n anchor: this.ast,\n property: key,\n typename: dxn.toString(),\n });\n }\n\n sourceOf(relation: Schema.Schema.All | string, predicates?: Filter.Props<unknown> | undefined): Any {\n return new QueryClass({\n type: 'relation',\n anchor: this.ast,\n direction: 'outgoing',\n filter: Filter.type(relation, predicates).ast,\n });\n }\n\n targetOf(relation: Schema.Schema.All | string, predicates?: Filter.Props<unknown> | undefined): Any {\n return new QueryClass({\n type: 'relation',\n anchor: this.ast,\n direction: 'incoming',\n filter: Filter.type(relation, predicates).ast,\n });\n }\n\n source(): Any {\n return new QueryClass({\n type: 'relation-traversal',\n anchor: this.ast,\n direction: 'source',\n });\n }\n\n target(): Any {\n return new QueryClass({\n type: 'relation-traversal',\n anchor: this.ast,\n direction: 'target',\n });\n }\n\n orderBy(...order: Order.Order<any>[]): Any {\n return new QueryClass({\n type: 'order',\n query: this.ast,\n order: order.map((o) => o.ast),\n });\n }\n\n options(options: QueryAST.QueryOptions): Any {\n return new QueryClass({\n type: 'options',\n query: this.ast,\n options,\n });\n }\n}\n\nexport const is = (value: unknown): value is Any => {\n return typeof value === 'object' && value !== null && '~Query' in value;\n};\n\n/** Construct a query from an ast. */\nexport const fromAst = (ast: QueryAST.Query): Any => {\n return new QueryClass(ast);\n};\n\n/**\n * Select objects based on a filter.\n * @param filter - Filter to select the objects.\n * @returns Query for the selected objects.\n */\nexport const select = <F extends Filter.Any>(filter: F): Query<Filter.Type<F>> => {\n return new QueryClass({\n type: 'select',\n filter: filter.ast,\n });\n};\n\n/**\n * Query for objects of a given schema.\n * @param schema - Schema of the objects.\n * @param predicates - Predicates to filter the objects.\n * @returns Query for the objects.\n *\n * Shorthand for: `Query.select(Filter.type(schema, predicates))`.\n */\nexport const type = (schema: Schema.Schema.All | string, predicates?: Filter.Props<unknown>): Any => {\n return new QueryClass({\n type: 'select',\n filter: Filter.type(schema, predicates).ast,\n });\n};\n\n/**\n * Combine results of multiple queries.\n * @param queries - Queries to combine.\n * @returns Query for the combined results.\n */\n// TODO(dmaretskyi): Rename to `combine` or `union`.\nexport const all = (...queries: Any[]): Any => {\n if (queries.length === 0) {\n throw new TypeError(\n 'Query.all combines results of multiple queries, to query all objects use Query.select(Filter.everything())',\n );\n }\n return new QueryClass({\n type: 'union',\n queries: queries.map((q) => q.ast),\n });\n};\n\n/**\n * Subtract one query from another.\n * @param source - Query to subtract from.\n * @param exclude - Query to subtract.\n * @returns Query for the results of the source query minus the results of the exclude query.\n */\nexport const without = <T>(source: Query<T>, exclude: Query<T>): Query<T> => {\n return new QueryClass({\n type: 'set-difference',\n source: source.ast,\n exclude: exclude.ast,\n });\n};\n"],
5
- "mappings": ";;;;;;;;;;;;;;AAAA;;;;YAAAA;EAAA;cAAAC;EAAA;;AAwHA,IAAMC,aAAN,MAAMA,YAAAA;;EACJ,OAAeC,WAA0B,CAAC;EAE1C,YAA4BC,KAAqB;SAArBA,MAAAA;EAAsB;EAElD,WAAWF,YAAWC;EAEtBE,OAAOC,QAA6C;AAClD,QAAWC,GAAGD,MAAAA,GAAS;AACrB,aAAO,IAAIJ,YAAW;QACpBM,MAAM;QACNC,WAAW,KAAKL;QAChBE,QAAQA,OAAOF;MACjB,CAAA;IACF,OAAO;AACL,aAAO,IAAIF,YAAW;QACpBM,MAAM;QACNC,WAAW,KAAKL;QAChBE,QAAeI,MAAMJ,MAAAA,EAAQF;MAC/B,CAAA;IACF;EACF;EAEAO,UAAUC,KAAkB;AAC1B,WAAO,IAAIV,YAAW;MACpBM,MAAM;MACNK,QAAQ,KAAKT;MACbU,UAAUF;IACZ,CAAA;EACF;EAEAG,aAAaC,QAAoCJ,KAAkB;AACjE,UAAMK,MAAMC,wBAAwBF,MAAAA;AACpC,WAAO,IAAId,YAAW;MACpBM,MAAM;MACNK,QAAQ,KAAKT;MACbU,UAAUF;MACVO,UAAUF,IAAIG,SAAQ;IACxB,CAAA;EACF;EAEAC,SAASC,UAAsCC,YAAqD;AAClG,WAAO,IAAIrB,YAAW;MACpBM,MAAM;MACNK,QAAQ,KAAKT;MACboB,WAAW;MACXlB,QAAeE,KAAKc,UAAUC,UAAAA,EAAYnB;IAC5C,CAAA;EACF;EAEAqB,SAASH,UAAsCC,YAAqD;AAClG,WAAO,IAAIrB,YAAW;MACpBM,MAAM;MACNK,QAAQ,KAAKT;MACboB,WAAW;MACXlB,QAAeE,KAAKc,UAAUC,UAAAA,EAAYnB;IAC5C,CAAA;EACF;EAEAsB,SAAc;AACZ,WAAO,IAAIxB,YAAW;MACpBM,MAAM;MACNK,QAAQ,KAAKT;MACboB,WAAW;IACb,CAAA;EACF;EAEAR,SAAc;AACZ,WAAO,IAAId,YAAW;MACpBM,MAAM;MACNK,QAAQ,KAAKT;MACboB,WAAW;IACb,CAAA;EACF;EAEAG,WAAWC,OAAgC;AACzC,WAAO,IAAI1B,YAAW;MACpBM,MAAM;MACNqB,OAAO,KAAKzB;MACZwB,OAAOA,MAAME,IAAI,CAACC,MAAMA,EAAE3B,GAAG;IAC/B,CAAA;EACF;EAEA4B,QAAQA,SAAqC;AAC3C,WAAO,IAAI9B,YAAW;MACpBM,MAAM;MACNqB,OAAO,KAAKzB;MACZ4B;IACF,CAAA;EACF;AACF;AAEO,IAAMzB,MAAK,CAAC0B,UAAAA;AACjB,SAAO,OAAOA,UAAU,YAAYA,UAAU,QAAQ,YAAYA;AACpE;AAGO,IAAMC,UAAU,CAAC9B,QAAAA;AACtB,SAAO,IAAIF,WAAWE,GAAAA;AACxB;AAOO,IAAMC,SAAS,CAAuBC,WAAAA;AAC3C,SAAO,IAAIJ,WAAW;IACpBM,MAAM;IACNF,QAAQA,OAAOF;EACjB,CAAA;AACF;AAUO,IAAMI,QAAO,CAAC2B,QAAoCZ,eAAAA;AACvD,SAAO,IAAIrB,WAAW;IACpBM,MAAM;IACNF,QAAeE,KAAK2B,QAAQZ,UAAAA,EAAYnB;EAC1C,CAAA;AACF;AAQO,IAAMgC,MAAM,IAAIC,YAAAA;AACrB,MAAIA,QAAQC,WAAW,GAAG;AACxB,UAAM,IAAIC,UACR,4GAAA;EAEJ;AACA,SAAO,IAAIrC,WAAW;IACpBM,MAAM;IACN6B,SAASA,QAAQP,IAAI,CAACU,MAAMA,EAAEpC,GAAG;EACnC,CAAA;AACF;AAQO,IAAMqC,UAAU,CAAIf,QAAkBgB,YAAAA;AAC3C,SAAO,IAAIxC,WAAW;IACpBM,MAAM;IACNkB,QAAQA,OAAOtB;IACfsC,SAASA,QAAQtC;EACnB,CAAA;AACF;",
6
- "names": ["is", "type", "QueryClass", "variance", "ast", "select", "filter", "is", "type", "selection", "props", "reference", "key", "anchor", "property", "referencedBy", "target", "dxn", "getTypeDXNFromSpecifier", "typename", "toString", "sourceOf", "relation", "predicates", "direction", "targetOf", "source", "orderBy", "order", "query", "map", "o", "options", "value", "fromAst", "schema", "all", "queries", "length", "TypeError", "q", "without", "exclude"]
7
- }
@@ -1,85 +0,0 @@
1
- import { createRequire } from 'node:module';const require = createRequire(import.meta.url);
2
- import {
3
- DXN,
4
- Hypergraph_exports,
5
- QueryAST
6
- } from "./chunk-MOWUEW5P.mjs";
7
- import {
8
- Tag_exports
9
- } from "./chunk-KUX5JEL2.mjs";
10
- import {
11
- Order_exports
12
- } from "./chunk-BYL2NPEA.mjs";
13
- import {
14
- Key_exports
15
- } from "./chunk-AJEMYSIR.mjs";
16
- import {
17
- Format_exports
18
- } from "./chunk-CCMFPJUT.mjs";
19
- import {
20
- Relation_exports
21
- } from "./chunk-76LEDWHO.mjs";
22
- import {
23
- JsonSchema_exports
24
- } from "./chunk-YNBFXTDG.mjs";
25
- import {
26
- QueryResult_exports
27
- } from "./chunk-AGHZH33D.mjs";
28
- import {
29
- Query_exports
30
- } from "./chunk-Z53QIBP2.mjs";
31
- import {
32
- Filter_exports
33
- } from "./chunk-LDXRA5TC.mjs";
34
- import {
35
- SchemaRegistry_exports
36
- } from "./chunk-QVZZHCDS.mjs";
37
- import {
38
- Obj_exports
39
- } from "./chunk-BJACR7QG.mjs";
40
- import {
41
- Type_exports
42
- } from "./chunk-FWTPV5QD.mjs";
43
- import {
44
- Ref_exports
45
- } from "./chunk-W3OLV7MG.mjs";
46
- import {
47
- Entity_exports
48
- } from "./chunk-5M5P2DCR.mjs";
49
- import {
50
- Annotation_exports
51
- } from "./chunk-W5AQXKVF.mjs";
52
- import {
53
- Database_exports
54
- } from "./chunk-JYZSF62S.mjs";
55
- import "./chunk-DJX53IQ3.mjs";
56
- import "./chunk-HLUDHPFO.mjs";
57
- import "./chunk-6OTQZKHX.mjs";
58
- import "./chunk-NHYOREKX.mjs";
59
- import {
60
- Err_exports
61
- } from "./chunk-D5BW7KHR.mjs";
62
- import "./chunk-HSLMI22Q.mjs";
63
- export {
64
- Annotation_exports as Annotation,
65
- DXN,
66
- Database_exports as Database,
67
- Entity_exports as Entity,
68
- Err_exports as Err,
69
- Filter_exports as Filter,
70
- Format_exports as Format,
71
- Hypergraph_exports as Hypergraph,
72
- JsonSchema_exports as JsonSchema,
73
- Key_exports as Key,
74
- Obj_exports as Obj,
75
- Order_exports as Order,
76
- Query_exports as Query,
77
- QueryAST,
78
- QueryResult_exports as QueryResult,
79
- Ref_exports as Ref,
80
- Relation_exports as Relation,
81
- SchemaRegistry_exports as SchemaRegistry,
82
- Tag_exports as Tag,
83
- Type_exports as Type
84
- };
85
- //# sourceMappingURL=index.mjs.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": [],
4
- "sourcesContent": [],
5
- "mappings": "",
6
- "names": []
7
- }
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": [],
4
- "sourcesContent": [],
5
- "mappings": "",
6
- "names": []
7
- }
@@ -1 +0,0 @@
1
- {"inputs":{"src/internal/types/base.ts":{"bytes":3354,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"effect/SchemaAST","kind":"import-statement","external":true}],"format":"esm"},"src/internal/types/entity.ts":{"bytes":1800,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true}],"format":"esm"},"src/internal/types/meta.ts":{"bytes":7157,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/echo-protocol","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"src/internal/types/typename.ts":{"bytes":3303,"imports":[],"format":"esm"},"src/internal/types/version.ts":{"bytes":1112,"imports":[],"format":"esm"},"src/internal/types/index.ts":{"bytes":794,"imports":[{"path":"src/internal/types/base.ts","kind":"import-statement","original":"./base"},{"path":"src/internal/types/entity.ts","kind":"import-statement","original":"./entity"},{"path":"src/internal/types/meta.ts","kind":"import-statement","original":"./meta"},{"path":"src/internal/types/typename.ts","kind":"import-statement","original":"./typename"},{"path":"src/internal/types/version.ts","kind":"import-statement","original":"./version"}],"format":"esm"},"src/internal/annotations/util.ts":{"bytes":7235,"imports":[{"path":"effect/SchemaAST","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"src/internal/types/index.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"src/internal/annotations/annotations.ts":{"bytes":43847,"imports":[{"path":"effect/Function","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"effect/SchemaAST","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/echo-protocol","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"src/internal/types/index.ts","kind":"import-statement","original":"../types"},{"path":"src/internal/annotations/util.ts","kind":"import-statement","original":"./util"}],"format":"esm"},"src/internal/annotations/index.ts":{"bytes":562,"imports":[{"path":"src/internal/annotations/annotations.ts","kind":"import-statement","original":"./annotations"},{"path":"src/internal/annotations/util.ts","kind":"import-statement","original":"./util"}],"format":"esm"},"src/Annotation.ts":{"bytes":1439,"imports":[{"path":"src/internal/annotations/index.ts","kind":"import-statement","original":"./internal/annotations"}],"format":"esm"},"src/Err.ts":{"bytes":2196,"imports":[{"path":"@dxos/errors","kind":"import-statement","external":true}],"format":"esm"},"src/internal/entities/entity.ts":{"bytes":9436,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true}],"format":"esm"},"src/internal/entities/object.ts":{"bytes":6419,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"effect/SchemaAST","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"src/internal/annotations/index.ts","kind":"import-statement","original":"../annotations"},{"path":"src/internal/types/index.ts","kind":"import-statement","original":"../types"},{"path":"src/internal/entities/entity.ts","kind":"import-statement","original":"./entity"}],"format":"esm"},"src/internal/entities/expando.ts":{"bytes":2148,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"src/internal/entities/object.ts","kind":"import-statement","original":"./object"}],"format":"esm"},"src/internal/entities/relation.ts":{"bytes":14476,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"effect/SchemaAST","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"src/internal/annotations/index.ts","kind":"import-statement","original":"../annotations"},{"path":"src/internal/types/index.ts","kind":"import-statement","original":"../types"},{"path":"src/internal/entities/entity.ts","kind":"import-statement","original":"./entity"}],"format":"esm"},"src/internal/entities/model.ts":{"bytes":10708,"imports":[{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"src/internal/types/index.ts","kind":"import-statement","original":"../types"},{"path":"src/internal/entities/relation.ts","kind":"import-statement","original":"./relation"}],"format":"esm"},"src/internal/entities/util.ts":{"bytes":3799,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"src/internal/entities/model.ts","kind":"import-statement","original":"./model"}],"format":"esm"},"src/internal/entities/index.ts":{"bytes":871,"imports":[{"path":"src/internal/entities/expando.ts","kind":"import-statement","original":"./expando"},{"path":"src/internal/entities/model.ts","kind":"import-statement","original":"./model"},{"path":"src/internal/entities/object.ts","kind":"import-statement","original":"./object"},{"path":"src/internal/entities/relation.ts","kind":"import-statement","original":"./relation"},{"path":"src/internal/entities/util.ts","kind":"import-statement","original":"./util"}],"format":"esm"},"src/internal/formats/types.ts":{"bytes":13950,"imports":[{"path":"effect/Function","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"effect/SchemaAST","kind":"import-statement","external":true},{"path":"src/internal/annotations/index.ts","kind":"import-statement","original":"../annotations"}],"format":"esm"},"src/internal/formats/number.ts":{"bytes":7520,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"src/internal/formats/types.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"src/internal/formats/object.ts":{"bytes":7452,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"src/internal/formats/types.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"src/internal/formats/date.ts":{"bytes":18837,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"effect/SchemaAST","kind":"import-statement","external":true},{"path":"src/internal/formats/types.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"src/internal/formats/string.ts":{"bytes":6994,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"effect/SchemaAST","kind":"import-statement","external":true},{"path":"src/internal/formats/types.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"src/internal/formats/format.ts":{"bytes":5050,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"src/internal/formats/date.ts","kind":"import-statement","original":"./date"},{"path":"src/internal/formats/number.ts","kind":"import-statement","original":"./number"},{"path":"src/internal/formats/object.ts","kind":"import-statement","original":"./object"},{"path":"src/internal/formats/string.ts","kind":"import-statement","original":"./string"},{"path":"src/internal/formats/types.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"src/internal/formats/select.ts":{"bytes":1794,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true}],"format":"esm"},"src/internal/formats/index.ts":{"bytes":1333,"imports":[{"path":"src/internal/formats/number.ts","kind":"import-statement","original":"./number"},{"path":"src/internal/formats/object.ts","kind":"import-statement","original":"./object"},{"path":"src/internal/formats/format.ts","kind":"import-statement","original":"./format"},{"path":"src/internal/formats/select.ts","kind":"import-statement","original":"./select"},{"path":"src/internal/formats/string.ts","kind":"import-statement","original":"./string"},{"path":"src/internal/formats/types.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"src/internal/json-schema/annotations.ts":{"bytes":5009,"imports":[{"path":"effect/SchemaAST","kind":"import-statement","external":true},{"path":"src/internal/annotations/index.ts","kind":"import-statement","original":"../annotations"},{"path":"src/internal/formats/index.ts","kind":"import-statement","original":"../formats"}],"format":"esm"},"src/internal/json-schema/json-schema-type.ts":{"bytes":36674,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"src/internal/formats/index.ts","kind":"import-statement","original":"../formats"},{"path":"src/internal/types/index.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"src/internal/json-schema/json-schema-normalize.ts":{"bytes":9742,"imports":[{"path":"src/internal/json-schema/json-schema-type.ts","kind":"import-statement","original":"./json-schema-type"}],"format":"esm"},"src/internal/ref/ref.ts":{"bytes":41034,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"effect/ParseResult","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"effect/SchemaAST","kind":"import-statement","external":true},{"path":"@dxos/echo-protocol","kind":"import-statement","external":true},{"path":"@dxos/echo-signals/runtime","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"src/internal/annotations/index.ts","kind":"import-statement","original":"../annotations"}],"format":"esm"},"src/internal/ref/ref-array.ts":{"bytes":3158,"imports":[{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"src/internal/ref/ref.ts","kind":"import-statement","original":"./ref"}],"format":"esm"},"src/internal/ref/index.ts":{"bytes":543,"imports":[{"path":"src/internal/ref/ref.ts","kind":"import-statement","original":"./ref"},{"path":"src/internal/ref/ref-array.ts","kind":"import-statement","original":"./ref-array"}],"format":"esm"},"src/internal/json-schema/json-schema.ts":{"bytes":60507,"imports":[{"path":"effect/Array","kind":"import-statement","external":true},{"path":"effect/Function","kind":"import-statement","external":true},{"path":"effect/JSONSchema","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"effect/SchemaAST","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"src/internal/annotations/index.ts","kind":"import-statement","original":"../annotations"},{"path":"src/internal/entities/index.ts","kind":"import-statement","original":"../entities"},{"path":"src/internal/ref/index.ts","kind":"import-statement","original":"../ref"},{"path":"src/internal/types/index.ts","kind":"import-statement","original":"../types"},{"path":"src/internal/json-schema/annotations.ts","kind":"import-statement","original":"./annotations"},{"path":"src/internal/json-schema/json-schema-type.ts","kind":"import-statement","original":"./json-schema-type"}],"format":"esm"},"src/internal/json-schema/index.ts":{"bytes":810,"imports":[{"path":"src/internal/json-schema/annotations.ts","kind":"import-statement","original":"./annotations"},{"path":"src/internal/json-schema/json-schema-normalize.ts","kind":"import-statement","original":"./json-schema-normalize"},{"path":"src/internal/json-schema/json-schema-type.ts","kind":"import-statement","original":"./json-schema-type"},{"path":"src/internal/json-schema/json-schema.ts","kind":"import-statement","original":"./json-schema"}],"format":"esm"},"src/internal/object/common.ts":{"bytes":5657,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"src/internal/annotations/index.ts","kind":"import-statement","original":"../annotations"}],"format":"esm"},"src/internal/object/inspect.ts":{"bytes":3874,"imports":[{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"src/internal/annotations/index.ts","kind":"import-statement","original":"../annotations"},{"path":"src/internal/types/index.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"src/internal/object/json-serializer.ts":{"bytes":26422,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/echo-protocol","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"src/internal/annotations/index.ts","kind":"import-statement","original":"../annotations"},{"path":"src/internal/entities/index.ts","kind":"import-statement","original":"../entities"},{"path":"src/internal/ref/index.ts","kind":"import-statement","original":"../ref"},{"path":"src/internal/types/index.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"src/internal/object/create-object.ts":{"bytes":10922,"imports":[{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"src/internal/annotations/index.ts","kind":"import-statement","original":"../annotations"},{"path":"src/internal/entities/index.ts","kind":"import-statement","original":"../entities"},{"path":"src/internal/types/index.ts","kind":"import-statement","original":"../types"},{"path":"src/internal/object/inspect.ts","kind":"import-statement","original":"./inspect"},{"path":"src/internal/object/json-serializer.ts","kind":"import-statement","original":"./json-serializer"}],"format":"esm"},"src/internal/object/deleted.ts":{"bytes":1787,"imports":[{"path":"src/internal/entities/index.ts","kind":"import-statement","original":"../entities"}],"format":"esm"},"src/internal/object/ids.ts":{"bytes":1645,"imports":[{"path":"@dxos/keys","kind":"import-statement","external":true}],"format":"esm"},"src/internal/object/schema-validator.ts":{"bytes":31328,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"effect/SchemaAST","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"src/internal/types/index.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"src/internal/object/typed-object.ts":{"bytes":8915,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"effect/SchemaAST","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"src/internal/annotations/index.ts","kind":"import-statement","original":"../annotations"},{"path":"src/internal/types/index.ts","kind":"import-statement","original":"../types"},{"path":"src/internal/object/common.ts","kind":"import-statement","original":"./common"}],"format":"esm"},"src/internal/object/index.ts":{"bytes":1042,"imports":[{"path":"src/internal/object/common.ts","kind":"import-statement","original":"./common"},{"path":"src/internal/object/create-object.ts","kind":"import-statement","original":"./create-object"},{"path":"src/internal/object/deleted.ts","kind":"import-statement","original":"./deleted"},{"path":"src/internal/object/ids.ts","kind":"import-statement","original":"./ids"},{"path":"src/internal/object/json-serializer.ts","kind":"import-statement","original":"./json-serializer"},{"path":"src/internal/object/schema-validator.ts","kind":"import-statement","original":"./schema-validator"},{"path":"src/internal/object/typed-object.ts","kind":"import-statement","original":"./typed-object"}],"format":"esm"},"src/internal/proxy/typed-handler.ts":{"bytes":22220,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"effect/SchemaAST","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/echo-signals/runtime","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"src/internal/annotations/index.ts","kind":"import-statement","original":"../annotations"},{"path":"src/internal/entities/index.ts","kind":"import-statement","original":"../entities"},{"path":"src/internal/object/index.ts","kind":"import-statement","original":"../object"},{"path":"src/internal/types/index.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"src/internal/proxy/make-object.ts":{"bytes":10729,"imports":[{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"src/internal/annotations/index.ts","kind":"import-statement","original":"../annotations"},{"path":"src/internal/entities/index.ts","kind":"import-statement","original":"../entities"},{"path":"src/internal/object/index.ts","kind":"import-statement","original":"../object"},{"path":"src/internal/types/index.ts","kind":"import-statement","original":"../types"},{"path":"src/internal/proxy/typed-handler.ts","kind":"import-statement","original":"./typed-handler"}],"format":"esm"},"src/internal/proxy/index.ts":{"bytes":577,"imports":[{"path":"src/internal/proxy/make-object.ts","kind":"import-statement","original":"./make-object"},{"path":"src/internal/proxy/typed-handler.ts","kind":"import-statement","original":"./typed-handler"}],"format":"esm"},"src/internal/schema/manipulation.ts":{"bytes":11033,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"effect/SchemaAST","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"src/internal/annotations/index.ts","kind":"import-statement","original":"../annotations"}],"format":"esm"},"src/internal/schema/persistent-schema.ts":{"bytes":2898,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"src/internal/annotations/index.ts","kind":"import-statement","original":"../annotations"},{"path":"src/internal/entities/index.ts","kind":"import-statement","original":"../entities"},{"path":"src/internal/json-schema/index.ts","kind":"import-statement","original":"../json-schema"}],"format":"esm"},"src/internal/schema/snapshot.ts":{"bytes":1991,"imports":[],"format":"esm"},"src/internal/schema/echo-schema.ts":{"bytes":31305,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"effect/SchemaAST","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"src/internal/annotations/index.ts","kind":"import-statement","original":"../annotations"},{"path":"src/internal/json-schema/index.ts","kind":"import-statement","original":"../json-schema"},{"path":"src/internal/schema/manipulation.ts","kind":"import-statement","original":"./manipulation"},{"path":"src/internal/schema/persistent-schema.ts","kind":"import-statement","original":"./persistent-schema"},{"path":"src/internal/schema/snapshot.ts","kind":"import-statement","original":"./snapshot"}],"format":"esm"},"src/internal/schema/index.ts":{"bytes":778,"imports":[{"path":"src/internal/schema/echo-schema.ts","kind":"import-statement","original":"./echo-schema"},{"path":"src/internal/schema/manipulation.ts","kind":"import-statement","original":"./manipulation"},{"path":"src/internal/schema/persistent-schema.ts","kind":"import-statement","original":"./persistent-schema"},{"path":"src/internal/schema/snapshot.ts","kind":"import-statement","original":"./snapshot"}],"format":"esm"},"src/internal/index.ts":{"bytes":3271,"imports":[{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"src/internal/annotations/index.ts","kind":"import-statement","original":"./annotations"},{"path":"src/internal/entities/index.ts","kind":"import-statement","original":"./entities"},{"path":"src/internal/formats/index.ts","kind":"import-statement","original":"./formats"},{"path":"src/internal/json-schema/index.ts","kind":"import-statement","original":"./json-schema"},{"path":"src/internal/ref/index.ts","kind":"import-statement","original":"./ref"},{"path":"src/internal/types/index.ts","kind":"import-statement","original":"./types"},{"path":"src/internal/object/index.ts","kind":"import-statement","original":"./object"},{"path":"src/internal/proxy/index.ts","kind":"import-statement","original":"./proxy"},{"path":"src/internal/schema/index.ts","kind":"import-statement","original":"./schema"}],"format":"esm"},"src/Database.ts":{"bytes":20461,"imports":[{"path":"effect/Context","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Layer","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"src/Err.ts","kind":"import-statement","original":"./Err"},{"path":"src/internal/index.ts","kind":"import-statement","original":"./internal"}],"format":"esm"},"src/Entity.ts":{"bytes":3333,"imports":[{"path":"src/internal/index.ts","kind":"import-statement","original":"./internal"}],"format":"esm"},"src/Ref.ts":{"bytes":4127,"imports":[{"path":"effect/Option","kind":"import-statement","external":true},{"path":"effect/SchemaAST","kind":"import-statement","external":true},{"path":"src/internal/index.ts","kind":"import-statement","original":"./internal"},{"path":"src/internal/index.ts","kind":"import-statement","original":"./internal"}],"format":"esm"},"src/Filter.ts":{"bytes":27168,"imports":[{"path":"effect/Match","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"src/internal/index.ts","kind":"import-statement","original":"./internal"},{"path":"src/Ref.ts","kind":"import-statement","original":"./Ref"}],"format":"esm"},"src/Format.ts":{"bytes":591,"imports":[{"path":"src/internal/formats/index.ts","kind":"import-statement","original":"./internal/formats"}],"format":"esm"},"src/Hypergraph.ts":{"bytes":3241,"imports":[],"format":"esm"},"src/JsonSchema.ts":{"bytes":1169,"imports":[{"path":"src/internal/index.ts","kind":"import-statement","original":"./internal"},{"path":"src/internal/index.ts","kind":"import-statement","original":"./internal"}],"format":"esm"},"src/Key.ts":{"bytes":872,"imports":[{"path":"@dxos/echo-protocol","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true}],"format":"esm"},"src/Type.ts":{"bytes":14267,"imports":[{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"src/internal/index.ts","kind":"import-statement","original":"./internal"}],"format":"esm"},"src/Obj.ts":{"bytes":38506,"imports":[{"path":"effect/Function","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"src/Entity.ts","kind":"import-statement","original":"./Entity"},{"path":"src/internal/index.ts","kind":"import-statement","original":"./internal"},{"path":"src/Ref.ts","kind":"import-statement","original":"./Ref"},{"path":"src/Type.ts","kind":"import-statement","original":"./Type"}],"format":"esm"},"src/Order.ts":{"bytes":2526,"imports":[],"format":"esm"},"src/Query.ts":{"bytes":18834,"imports":[{"path":"src/Filter.ts","kind":"import-statement","original":"./Filter"},{"path":"src/internal/index.ts","kind":"import-statement","original":"./internal"}],"format":"esm"},"src/QueryResult.ts":{"bytes":3216,"imports":[],"format":"esm"},"src/Relation.ts":{"bytes":14716,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"src/Entity.ts","kind":"import-statement","original":"./Entity"},{"path":"src/internal/index.ts","kind":"import-statement","original":"./internal"},{"path":"src/Obj.ts","kind":"import-statement","original":"./Obj"},{"path":"src/Type.ts","kind":"import-statement","original":"./Type"}],"format":"esm"},"src/SchemaRegistry.ts":{"bytes":3855,"imports":[],"format":"esm"},"src/Tag.ts":{"bytes":4538,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"src/internal/index.ts","kind":"import-statement","original":"./internal"},{"path":"src/Obj.ts","kind":"import-statement","original":"./Obj"},{"path":"src/Type.ts","kind":"import-statement","original":"./Type"}],"format":"esm"},"src/index.ts":{"bytes":3427,"imports":[{"path":"@dxos/echo-protocol","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"src/Annotation.ts","kind":"import-statement","original":"./Annotation"},{"path":"src/Database.ts","kind":"import-statement","original":"./Database"},{"path":"src/Entity.ts","kind":"import-statement","original":"./Entity"},{"path":"src/Err.ts","kind":"import-statement","original":"./Err"},{"path":"src/Filter.ts","kind":"import-statement","original":"./Filter"},{"path":"src/Format.ts","kind":"import-statement","original":"./Format"},{"path":"src/Hypergraph.ts","kind":"import-statement","original":"./Hypergraph"},{"path":"src/JsonSchema.ts","kind":"import-statement","original":"./JsonSchema"},{"path":"src/Key.ts","kind":"import-statement","original":"./Key"},{"path":"src/Obj.ts","kind":"import-statement","original":"./Obj"},{"path":"src/Order.ts","kind":"import-statement","original":"./Order"},{"path":"src/Query.ts","kind":"import-statement","original":"./Query"},{"path":"src/QueryResult.ts","kind":"import-statement","original":"./QueryResult"},{"path":"src/Ref.ts","kind":"import-statement","original":"./Ref"},{"path":"src/Relation.ts","kind":"import-statement","original":"./Relation"},{"path":"src/SchemaRegistry.ts","kind":"import-statement","original":"./SchemaRegistry"},{"path":"src/Tag.ts","kind":"import-statement","original":"./Tag"},{"path":"src/Type.ts","kind":"import-statement","original":"./Type"}],"format":"esm"},"src/testing/test-schema.ts":{"bytes":20274,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"src/Obj.ts","kind":"import-statement","original":"../Obj"},{"path":"src/Type.ts","kind":"import-statement","original":"../Type"}],"format":"esm"},"src/testing/test-data.ts":{"bytes":14440,"imports":[{"path":"@dxos/echo-protocol","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"src/index.ts","kind":"import-statement","original":"../index"},{"path":"src/testing/test-schema.ts","kind":"import-statement","original":"./test-schema"}],"format":"esm"},"src/testing/util.ts":{"bytes":7552,"imports":[{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"@dxos/echo-signals","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"src/internal/index.ts","kind":"import-statement","original":"../internal"}],"format":"esm"},"src/testing/index.ts":{"bytes":638,"imports":[{"path":"src/testing/test-data.ts","kind":"import-statement","original":"./test-data"},{"path":"src/testing/test-schema.ts","kind":"import-statement","original":"./test-schema"},{"path":"src/testing/util.ts","kind":"import-statement","original":"./util"}],"format":"esm"}},"outputs":{"dist/lib/node-esm/Tag.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/node-esm/Tag.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-KUX5JEL2.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-BJACR7QG.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-FWTPV5QD.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-W3OLV7MG.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-5M5P2DCR.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-DJX53IQ3.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-HLUDHPFO.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-6OTQZKHX.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-NHYOREKX.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-HSLMI22Q.mjs","kind":"import-statement"}],"exports":["Tag","createTagList","findTagByLabel","make","sortTags"],"entryPoint":"src/Tag.ts","inputs":{},"bytes":578},"dist/lib/node-esm/Order.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/node-esm/Order.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-BYL2NPEA.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-HSLMI22Q.mjs","kind":"import-statement"}],"exports":["natural","property"],"entryPoint":"src/Order.ts","inputs":{},"bytes":254},"dist/lib/node-esm/Key.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/node-esm/Key.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-AJEMYSIR.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-HSLMI22Q.mjs","kind":"import-statement"}],"exports":["ForeignKey","ObjectId","SpaceId"],"entryPoint":"src/Key.ts","inputs":{},"bytes":280},"dist/lib/node-esm/Type.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/node-esm/Type.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-FWTPV5QD.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-DJX53IQ3.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-HLUDHPFO.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-6OTQZKHX.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-NHYOREKX.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-HSLMI22Q.mjs","kind":"import-statement"}],"exports":["Expando","Obj","PersistentType","Ref","Relation","RuntimeType","getDXN","getMeta","getTypename","getVersion","isMutable","toEffectSchema","toJsonSchema"],"entryPoint":"src/Type.ts","inputs":{},"bytes":686},"dist/lib/node-esm/Filter.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/node-esm/Filter.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-LDXRA5TC.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-W3OLV7MG.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-DJX53IQ3.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-HLUDHPFO.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-6OTQZKHX.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-NHYOREKX.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-HSLMI22Q.mjs","kind":"import-statement"}],"exports":["and","between","contains","eq","everything","foreignKeys","fromAst","gt","gte","id","in","is","lt","lte","neq","not","nothing","or","props","tag","text","type","typeDXN","typename"],"entryPoint":"src/Filter.ts","inputs":{},"bytes":784},"dist/lib/node-esm/Format.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/node-esm/Format.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-CCMFPJUT.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-HLUDHPFO.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-NHYOREKX.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-HSLMI22Q.mjs","kind":"import-statement"}],"exports":["Currency","CurrencyAnnotationId","DecimalPrecision","Email","Format","FormatAnnotation","FormatAnnotationId","FormatEnums","Formula","GeoLocation","GeoPoint","Hostname","JSON","Markdown","OptionsAnnotation","OptionsAnnotationId","PropertyKind","Regex","SelectOption","Text","TypeEnum","TypeFormat","URL","UUID","formatToType","getFormatAnnotation","getOptionsAnnotation","getTypeEnum","typeToFormat"],"entryPoint":"src/Format.ts","inputs":{},"bytes":1131},"dist/lib/node-esm/Relation.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/node-esm/Relation.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-76LEDWHO.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-BJACR7QG.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-FWTPV5QD.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-W3OLV7MG.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-5M5P2DCR.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-DJX53IQ3.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-HLUDHPFO.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-6OTQZKHX.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-NHYOREKX.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-HSLMI22Q.mjs","kind":"import-statement"}],"exports":["Any","Source","Target","getSource","getSourceDXN","getTarget","getTargetDXN","isRelation","make"],"entryPoint":"src/Relation.ts","inputs":{},"bytes":673},"dist/lib/node-esm/Ref.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/node-esm/Ref.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-W3OLV7MG.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-DJX53IQ3.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-HLUDHPFO.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-6OTQZKHX.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-NHYOREKX.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-HSLMI22Q.mjs","kind":"import-statement"}],"exports":["Array","fromDXN","isRef","isRefType","make"],"entryPoint":"src/Ref.ts","inputs":{},"bytes":430},"dist/lib/node-esm/JsonSchema.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/node-esm/JsonSchema.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-YNBFXTDG.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-DJX53IQ3.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-HLUDHPFO.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-6OTQZKHX.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-NHYOREKX.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-HSLMI22Q.mjs","kind":"import-statement"}],"exports":["JsonSchema","toEffectSchema","toJsonSchema"],"entryPoint":"src/JsonSchema.ts","inputs":{},"bytes":441},"dist/lib/node-esm/QueryResult.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/node-esm/QueryResult.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-AGHZH33D.mjs","kind":"import-statement"}],"exports":[],"entryPoint":"src/QueryResult.ts","inputs":{},"bytes":164},"dist/lib/node-esm/Query.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/node-esm/Query.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-Z53QIBP2.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-LDXRA5TC.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-W3OLV7MG.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-DJX53IQ3.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-HLUDHPFO.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-6OTQZKHX.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-NHYOREKX.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-HSLMI22Q.mjs","kind":"import-statement"}],"exports":["all","fromAst","is","select","type","without"],"entryPoint":"src/Query.ts","inputs":{},"bytes":500},"dist/lib/node-esm/SchemaRegistry.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/node-esm/SchemaRegistry.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-QVZZHCDS.mjs","kind":"import-statement"}],"exports":[],"entryPoint":"src/SchemaRegistry.ts","inputs":{},"bytes":167},"dist/lib/node-esm/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/node-esm/index.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-MOWUEW5P.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-KUX5JEL2.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-BYL2NPEA.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-AJEMYSIR.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-CCMFPJUT.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-76LEDWHO.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-YNBFXTDG.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-AGHZH33D.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-Z53QIBP2.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-LDXRA5TC.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-QVZZHCDS.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-BJACR7QG.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-FWTPV5QD.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-W3OLV7MG.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-5M5P2DCR.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-W5AQXKVF.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-JYZSF62S.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-DJX53IQ3.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-HLUDHPFO.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-6OTQZKHX.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-NHYOREKX.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-D5BW7KHR.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-HSLMI22Q.mjs","kind":"import-statement"}],"exports":["Annotation","DXN","Database","Entity","Err","Filter","Format","Hypergraph","JsonSchema","Key","Obj","Order","Query","QueryAST","QueryResult","Ref","Relation","SchemaRegistry","Tag","Type"],"entryPoint":"src/index.ts","inputs":{},"bytes":1891},"dist/lib/node-esm/internal/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/node-esm/internal/index.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-DJX53IQ3.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-HLUDHPFO.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-6OTQZKHX.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-NHYOREKX.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-HSLMI22Q.mjs","kind":"import-statement"}],"exports":["ATTR_DELETED","ATTR_META","ATTR_RELATION_SOURCE","ATTR_RELATION_TARGET","ATTR_SELF_DXN","ATTR_TYPE","Currency","CurrencyAnnotationId","CustomAnnotations","DecimalPrecision","DecodedAnnotations","DescriptionAnnotation","DescriptionAnnotationId","ECHO_ANNOTATIONS_NS_DEPRECATED_KEY","ECHO_ANNOTATIONS_NS_KEY","EXPANDO_TYPENAME","EchoAnnotations","EchoObjectSchema","EchoRelationSchema","EchoSchema","Email","EntityKind","EntityKindSchema","Expando","FIELD_PATH_ANNOTATION","FieldLookupAnnotationId","FieldPath","FormInputAnnotation","FormInputAnnotationId","Format","FormatAnnotation","FormatAnnotationId","FormatEnums","Formula","GeneratorAnnotation","GeneratorAnnotationId","GeoLocation","GeoPoint","Hostname","ImmutableSchema","JSON","JSON_SCHEMA_ECHO_REF_ID","JsonPath","JsonProp","JsonSchemaEchoAnnotations","JsonSchemaFields","JsonSchemaType","KindId","LabelAnnotation","LabelAnnotationId","Markdown","MetaId","ObjectDeletedId","ObjectMetaSchema","ObjectVersionId","OptionsAnnotation","OptionsAnnotationId","PersistentSchema","PropType","PropertyKind","PropertyMeta","PropertyMetaAnnotationId","RawObject","Ref","RefArray","RefImpl","RefTypeId","ReferenceAnnotationId","Regex","RelationSourceDXNId","RelationSourceId","RelationTargetDXNId","RelationTargetId","SchemaId","SchemaMetaSymbol","SchemaValidator","SelectOption","SelfDXNId","StaticRefResolver","SystemTypeAnnotation","SystemTypeAnnotationId","Text","TypeAnnotation","TypeAnnotationId","TypeEnum","TypeFormat","TypeId","TypeIdentifierAnnotationId","TypeMeta","TypedObject","TypedReactiveHandler","TypenameSchema","URL","UUID","VersionSchema","VersionTypeId","addFieldsToSchema","assertObjectModel","attachTypedJsonSerializer","checkIdNotPresentOnSchema","compareForeignKeys","createAnnotationHelper","createEchoReferenceSchema","createObject","createQueueDXN","createSchemaReference","foreignKey","foreignKeyEquals","formatToType","getDescription","getEntityKind","getFormatAnnotation","getLabel","getMeta","getNormalizedEchoAnnotations","getObjectDXN","getOptionsAnnotation","getPropertyMetaAnnotation","getRefSavedTarget","getReferenceAnnotation","getReferenceAst","getSchema","getSchemaDXN","getSchemaProperty","getSchemaReference","getSchemaTypename","getSchemaVersion","getSnapshot","getTypeAnnotation","getTypeDXN","getTypeDXNFromSpecifier","getTypeEnum","getTypeIdentifierAnnotation","getTypeReference","getTypename","getValue","isDeleted","isInstanceOf","isMutable","makeObject","makeTypeJsonSchemaAnnotation","makeTypedEntityClass","normalizeSchema","objectFromJSON","objectToJSON","prepareTypedTarget","refFromEncodedReference","removeFieldsFromSchema","requireTypeReference","setDescription","setLabel","setRefResolver","setRefResolverOnData","setSchema","setSchemaProperty","setTypename","setTypenameInSchema","setValue","splitJsonPath","splitMeta","toEffectSchema","toJsonSchema","toPropType","typeToFormat","unwrapOptional","updateFieldNameInSchema","updateFieldsInSchema"],"entryPoint":"src/internal/index.ts","inputs":{},"bytes":6566},"dist/lib/node-esm/testing/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":21204},"dist/lib/node-esm/testing/index.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-MOWUEW5P.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-KUX5JEL2.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-BYL2NPEA.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-AJEMYSIR.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-CCMFPJUT.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-76LEDWHO.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-YNBFXTDG.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-AGHZH33D.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-Z53QIBP2.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-LDXRA5TC.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-QVZZHCDS.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-BJACR7QG.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-FWTPV5QD.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-W3OLV7MG.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-5M5P2DCR.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-W5AQXKVF.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-JYZSF62S.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-DJX53IQ3.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-HLUDHPFO.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-6OTQZKHX.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-NHYOREKX.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-D5BW7KHR.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-HSLMI22Q.mjs","kind":"import-statement"},{"path":"@dxos/echo-protocol","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"@dxos/echo-signals","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"exports":["ORGS","PEOPLE","TASKS","TestSchema","WORKS_FOR","createEchoSchema","prepareAstForCompare","updateCounter"],"entryPoint":"src/testing/index.ts","inputs":{"src/testing/test-data.ts":{"bytesInOutput":3628},"src/testing/test-schema.ts":{"bytesInOutput":4610},"src/testing/index.ts":{"bytesInOutput":0},"src/testing/util.ts":{"bytesInOutput":1445}},"bytes":10951},"dist/lib/node-esm/chunk-MOWUEW5P.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":3203},"dist/lib/node-esm/chunk-MOWUEW5P.mjs":{"imports":[{"path":"@dxos/echo-protocol","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true}],"exports":["DXN","Hypergraph_exports","QueryAST"],"inputs":{"src/index.ts":{"bytesInOutput":82},"src/Hypergraph.ts":{"bytesInOutput":29}},"bytes":339},"dist/lib/node-esm/chunk-KUX5JEL2.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2443},"dist/lib/node-esm/chunk-KUX5JEL2.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-BJACR7QG.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-FWTPV5QD.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-6OTQZKHX.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-HSLMI22Q.mjs","kind":"import-statement"},{"path":"effect/Schema","kind":"import-statement","external":true}],"exports":["Tag","Tag_exports","createTagList","findTagByLabel","make","sortTags"],"inputs":{"src/Tag.ts":{"bytesInOutput":898}},"bytes":1373},"dist/lib/node-esm/chunk-BYL2NPEA.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1443},"dist/lib/node-esm/chunk-BYL2NPEA.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-HSLMI22Q.mjs","kind":"import-statement"}],"exports":["Order_exports","natural","property"],"inputs":{"src/Order.ts":{"bytesInOutput":530}},"bytes":786},"dist/lib/node-esm/chunk-AJEMYSIR.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":405},"dist/lib/node-esm/chunk-AJEMYSIR.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-HSLMI22Q.mjs","kind":"import-statement"},{"path":"@dxos/echo-protocol","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true}],"exports":["ForeignKey","Key_exports","ObjectId","SpaceId"],"inputs":{"src/Key.ts":{"bytesInOutput":233}},"bytes":499},"dist/lib/node-esm/chunk-CCMFPJUT.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":353},"dist/lib/node-esm/chunk-CCMFPJUT.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-HLUDHPFO.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-HSLMI22Q.mjs","kind":"import-statement"}],"exports":["Format_exports"],"inputs":{"src/Format.ts":{"bytesInOutput":1031}},"bytes":1735},"dist/lib/node-esm/chunk-76LEDWHO.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":7545},"dist/lib/node-esm/chunk-76LEDWHO.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-BJACR7QG.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-FWTPV5QD.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-DJX53IQ3.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-6OTQZKHX.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-NHYOREKX.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-HSLMI22Q.mjs","kind":"import-statement"},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"exports":["Any","Relation_exports","Source","Target","getSource","getSourceDXN","getTarget","getTargetDXN","isRelation","make"],"inputs":{"src/Relation.ts":{"bytesInOutput":3030}},"bytes":3817},"dist/lib/node-esm/chunk-YNBFXTDG.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":562},"dist/lib/node-esm/chunk-YNBFXTDG.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-DJX53IQ3.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-HSLMI22Q.mjs","kind":"import-statement"}],"exports":["JsonSchema","JsonSchema_exports"],"inputs":{"src/JsonSchema.ts":{"bytesInOutput":204}},"bytes":552},"dist/lib/node-esm/chunk-AGHZH33D.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2278},"dist/lib/node-esm/chunk-AGHZH33D.mjs":{"imports":[],"exports":["QueryResult_exports"],"inputs":{"src/QueryResult.ts":{"bytesInOutput":30}},"bytes":224},"dist/lib/node-esm/chunk-Z53QIBP2.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":10768},"dist/lib/node-esm/chunk-Z53QIBP2.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-LDXRA5TC.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-6OTQZKHX.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-HSLMI22Q.mjs","kind":"import-statement"}],"exports":["Query_exports","all","fromAst","is","select","type","without"],"inputs":{"src/Query.ts":{"bytesInOutput":2794}},"bytes":3224},"dist/lib/node-esm/chunk-LDXRA5TC.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":14568},"dist/lib/node-esm/chunk-LDXRA5TC.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-W3OLV7MG.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-6OTQZKHX.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-HSLMI22Q.mjs","kind":"import-statement"},{"path":"effect/Match","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true}],"exports":["Filter_exports","and","between","contains","eq","everything","foreignKeys","fromAst","gt","gte","id","in$","is","lt","lte","neq","not","nothing","or","props","tag","text","type","typeDXN","typename"],"inputs":{"src/Filter.ts":{"bytesInOutput":5659}},"bytes":6215},"dist/lib/node-esm/chunk-QVZZHCDS.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2754},"dist/lib/node-esm/chunk-QVZZHCDS.mjs":{"imports":[],"exports":["SchemaRegistry_exports"],"inputs":{"src/SchemaRegistry.ts":{"bytesInOutput":33}},"bytes":233},"dist/lib/node-esm/Entity.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/node-esm/Entity.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-5M5P2DCR.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-DJX53IQ3.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-HLUDHPFO.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-6OTQZKHX.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-NHYOREKX.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-HSLMI22Q.mjs","kind":"import-statement"}],"exports":["Kind","KindId","KindSchema","getKind"],"entryPoint":"src/Entity.ts","inputs":{},"bytes":427},"dist/lib/node-esm/Obj.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/node-esm/Obj.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-BJACR7QG.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-FWTPV5QD.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-W3OLV7MG.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-5M5P2DCR.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-DJX53IQ3.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-HLUDHPFO.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-6OTQZKHX.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-NHYOREKX.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-HSLMI22Q.mjs","kind":"import-statement"}],"exports":["Any","ID","Meta","VersionTypeId","addTag","clone","compareVersions","decodeVersion","deleteKeys","encodeVersion","fromJSON","getDXN","getDescription","getKeys","getLabel","getMeta","getSchema","getSnapshot","getTypeDXN","getTypename","instanceOf","isDeleted","isObject","isVersion","make","removeTag","setDescription","setLabel","sort","sortByLabel","sortByTypename","toJSON","version","versionValid"],"entryPoint":"src/Obj.ts","inputs":{},"bytes":1303},"dist/lib/node-esm/chunk-BJACR7QG.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":20337},"dist/lib/node-esm/chunk-BJACR7QG.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-FWTPV5QD.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-W3OLV7MG.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-5M5P2DCR.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-DJX53IQ3.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-6OTQZKHX.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-NHYOREKX.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-HSLMI22Q.mjs","kind":"import-statement"},{"path":"effect/Function","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"exports":["Any","ID","Meta","Obj_exports","addTag","clone","compareVersions","decodeVersion","deleteKeys","encodeVersion","fromJSON","getDXN","getDescription","getKeys","getLabel","getMeta","getSchema","getSnapshot","getTypeDXN","getTypename","instanceOf","isDeleted","isObject","isVersion","make","removeTag","setDescription","setLabel","sort","sortByLabel","sortByTypename","toJSON","version","versionValid"],"inputs":{"src/Obj.ts":{"bytesInOutput":7448}},"bytes":8762},"dist/lib/node-esm/chunk-FWTPV5QD.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":8364},"dist/lib/node-esm/chunk-FWTPV5QD.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-DJX53IQ3.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-6OTQZKHX.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-HSLMI22Q.mjs","kind":"import-statement"},{"path":"@dxos/invariant","kind":"import-statement","external":true}],"exports":["Expando","Obj","PersistentType","Ref","Relation","Type_exports","getDXN","getMeta","getTypename","getVersion","isMutable"],"inputs":{"src/Type.ts":{"bytesInOutput":1584}},"bytes":2264},"dist/lib/node-esm/chunk-W3OLV7MG.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2161},"dist/lib/node-esm/chunk-W3OLV7MG.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-DJX53IQ3.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-HSLMI22Q.mjs","kind":"import-statement"},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"effect/SchemaAST","kind":"import-statement","external":true}],"exports":["Array","Ref_exports","fromDXN","isRef","isRefType","make"],"inputs":{"src/Ref.ts":{"bytesInOutput":748}},"bytes":1107},"dist/lib/node-esm/chunk-5M5P2DCR.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1858},"dist/lib/node-esm/chunk-5M5P2DCR.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-6OTQZKHX.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-NHYOREKX.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-HSLMI22Q.mjs","kind":"import-statement"}],"exports":["Entity_exports","Kind","KindSchema","getKind"],"inputs":{"src/Entity.ts":{"bytesInOutput":244}},"bytes":651},"dist/lib/node-esm/Annotation.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/node-esm/Annotation.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-W5AQXKVF.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-6OTQZKHX.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-NHYOREKX.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-HSLMI22Q.mjs","kind":"import-statement"}],"exports":["DescriptionAnnotation","FormInputAnnotation","GeneratorAnnotation","LabelAnnotation","SystemTypeAnnotation","TypeAnnotation","getDescription","getLabel","getTypeAnnotation","setDescription","setLabel"],"entryPoint":"src/Annotation.ts","inputs":{},"bytes":701},"dist/lib/node-esm/chunk-W5AQXKVF.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":466},"dist/lib/node-esm/chunk-W5AQXKVF.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-6OTQZKHX.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-HSLMI22Q.mjs","kind":"import-statement"}],"exports":["Annotation_exports"],"inputs":{"src/Annotation.ts":{"bytesInOutput":533}},"bytes":1028},"dist/lib/node-esm/Database.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/node-esm/Database.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-JYZSF62S.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-DJX53IQ3.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-HLUDHPFO.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-6OTQZKHX.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-NHYOREKX.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-D5BW7KHR.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-HSLMI22Q.mjs","kind":"import-statement"}],"exports":["Service"],"entryPoint":"src/Database.ts","inputs":{},"bytes":388},"dist/lib/node-esm/chunk-JYZSF62S.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":12224},"dist/lib/node-esm/chunk-JYZSF62S.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-6OTQZKHX.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-D5BW7KHR.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-HSLMI22Q.mjs","kind":"import-statement"},{"path":"effect/Context","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Layer","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true}],"exports":["Database_exports","Service"],"inputs":{"src/Database.ts":{"bytesInOutput":3448}},"bytes":3815},"dist/lib/node-esm/chunk-DJX53IQ3.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":193187},"dist/lib/node-esm/chunk-DJX53IQ3.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-HLUDHPFO.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-6OTQZKHX.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-NHYOREKX.mjs","kind":"import-statement"},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"effect/SchemaAST","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/echo-protocol","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"effect/SchemaAST","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"effect/SchemaAST","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"effect/SchemaAST","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"effect/Array","kind":"import-statement","external":true},{"path":"effect/Function","kind":"import-statement","external":true},{"path":"effect/JSONSchema","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"effect/SchemaAST","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"effect/ParseResult","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"effect/SchemaAST","kind":"import-statement","external":true},{"path":"@dxos/echo-protocol","kind":"import-statement","external":true},{"path":"@dxos/echo-signals/runtime","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/echo-protocol","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"effect/SchemaAST","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"effect/SchemaAST","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"effect/SchemaAST","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/echo-signals/runtime","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"effect/SchemaAST","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"effect/SchemaAST","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true}],"exports":["ATTR_DELETED","ATTR_META","ATTR_RELATION_SOURCE","ATTR_RELATION_TARGET","ATTR_SELF_DXN","CustomAnnotations","DecodedAnnotations","ECHO_ANNOTATIONS_NS_DEPRECATED_KEY","ECHO_ANNOTATIONS_NS_KEY","EXPANDO_TYPENAME","EchoAnnotations","EchoObjectSchema","EchoRelationSchema","EchoSchema","Expando","ImmutableSchema","JSON_SCHEMA_ECHO_REF_ID","JsonPath","JsonProp","JsonSchemaEchoAnnotations","JsonSchemaFields","JsonSchemaType","MetaId","ObjectDeletedId","ObjectMetaSchema","ObjectVersionId","PersistentSchema","PropType","RawObject","Ref","RefArray","RefImpl","RefTypeId","RelationSourceDXNId","RelationSourceId","RelationTargetDXNId","RelationTargetId","SchemaValidator","SelfDXNId","StaticRefResolver","TypedObject","TypedReactiveHandler","VersionTypeId","addFieldsToSchema","assertObjectModel","attachTypedJsonSerializer","checkIdNotPresentOnSchema","compareForeignKeys","createEchoReferenceSchema","createObject","createQueueDXN","createSchemaReference","foreignKey","foreignKeyEquals","getMeta","getNormalizedEchoAnnotations","getObjectDXN","getRefSavedTarget","getReferenceAst","getSchemaProperty","getSchemaReference","getSnapshot","getValue","isDeleted","isMutable","makeObject","makeTypedEntityClass","normalizeSchema","objectFromJSON","objectToJSON","prepareTypedTarget","refFromEncodedReference","removeFieldsFromSchema","setRefResolver","setRefResolverOnData","setSchemaProperty","setTypenameInSchema","setValue","splitJsonPath","splitMeta","toEffectSchema","toJsonSchema","toPropType","updateFieldNameInSchema","updateFieldsInSchema"],"inputs":{"src/internal/index.ts":{"bytesInOutput":99},"src/internal/types/base.ts":{"bytesInOutput":187},"src/internal/types/meta.ts":{"bytesInOutput":1433},"src/internal/types/version.ts":{"bytesInOutput":60},"src/internal/entities/expando.ts":{"bytesInOutput":285},"src/internal/entities/object.ts":{"bytesInOutput":1477},"src/internal/entities/entity.ts":{"bytesInOutput":1127},"src/internal/entities/model.ts":{"bytesInOutput":2856},"src/internal/entities/relation.ts":{"bytesInOutput":2722},"src/internal/entities/util.ts":{"bytesInOutput":1202},"src/internal/json-schema/annotations.ts":{"bytesInOutput":512},"src/internal/json-schema/json-schema-type.ts":{"bytesInOutput":9224},"src/internal/json-schema/json-schema-normalize.ts":{"bytesInOutput":2004},"src/internal/json-schema/json-schema.ts":{"bytesInOutput":15202},"src/internal/ref/ref.ts":{"bytesInOutput":8980},"src/internal/ref/ref-array.ts":{"bytesInOutput":540},"src/internal/object/common.ts":{"bytesInOutput":880},"src/internal/object/create-object.ts":{"bytesInOutput":1757},"src/internal/object/inspect.ts":{"bytesInOutput":588},"src/internal/object/json-serializer.ts":{"bytesInOutput":7217},"src/internal/object/deleted.ts":{"bytesInOutput":133},"src/internal/object/ids.ts":{"bytesInOutput":255},"src/internal/object/schema-validator.ts":{"bytesInOutput":8105},"src/internal/object/typed-object.ts":{"bytesInOutput":1490},"src/internal/proxy/make-object.ts":{"bytesInOutput":1821},"src/internal/proxy/typed-handler.ts":{"bytesInOutput":5138},"src/internal/schema/echo-schema.ts":{"bytesInOutput":6686},"src/internal/schema/manipulation.ts":{"bytesInOutput":2727},"src/internal/schema/persistent-schema.ts":{"bytesInOutput":347},"src/internal/schema/snapshot.ts":{"bytesInOutput":281}},"bytes":89201},"dist/lib/node-esm/chunk-HLUDHPFO.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":28813},"dist/lib/node-esm/chunk-HLUDHPFO.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-NHYOREKX.mjs","kind":"import-statement"},{"path":"effect/Function","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"effect/SchemaAST","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"effect/SchemaAST","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"effect/SchemaAST","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true}],"exports":["Currency","CurrencyAnnotationId","DecimalPrecision","Email","Format","FormatAnnotation","FormatAnnotationId","FormatEnums","Formula","GeoLocation","GeoPoint","Hostname","JSON","Markdown","OptionsAnnotation","OptionsAnnotationId","PropertyKind","Regex","SelectOption","Text","TypeEnum","TypeFormat","URL","UUID","formatToType","getFormatAnnotation","getOptionsAnnotation","getTypeEnum","typeToFormat"],"inputs":{"src/internal/formats/types.ts":{"bytesInOutput":3209},"src/internal/formats/number.ts":{"bytesInOutput":1398},"src/internal/formats/object.ts":{"bytesInOutput":1316},"src/internal/formats/string.ts":{"bytesInOutput":1149},"src/internal/formats/format.ts":{"bytesInOutput":693},"src/internal/formats/date.ts":{"bytesInOutput":4030},"src/internal/formats/select.ts":{"bytesInOutput":274},"src/internal/formats/index.ts":{"bytesInOutput":0}},"bytes":12998},"dist/lib/node-esm/chunk-6OTQZKHX.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":23509},"dist/lib/node-esm/chunk-6OTQZKHX.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-NHYOREKX.mjs","kind":"import-statement"},{"path":"effect/Function","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"effect/SchemaAST","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/echo-protocol","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true}],"exports":["ATTR_TYPE","DescriptionAnnotation","DescriptionAnnotationId","FIELD_PATH_ANNOTATION","FieldLookupAnnotationId","FieldPath","FormInputAnnotation","FormInputAnnotationId","GeneratorAnnotation","GeneratorAnnotationId","LabelAnnotation","LabelAnnotationId","PropertyMeta","PropertyMetaAnnotationId","ReferenceAnnotationId","SchemaId","SchemaMetaSymbol","SystemTypeAnnotation","SystemTypeAnnotationId","TypeAnnotation","TypeAnnotationId","TypeId","TypeIdentifierAnnotationId","TypeMeta","TypenameSchema","VersionSchema","getDescription","getEntityKind","getLabel","getPropertyMetaAnnotation","getReferenceAnnotation","getSchema","getSchemaDXN","getSchemaTypename","getSchemaVersion","getTypeAnnotation","getTypeDXN","getTypeDXNFromSpecifier","getTypeIdentifierAnnotation","getTypeReference","getTypename","isInstanceOf","requireTypeReference","setDescription","setLabel","setSchema","setTypename"],"inputs":{"src/internal/types/typename.ts":{"bytesInOutput":362},"src/internal/annotations/annotations.ts":{"bytesInOutput":8074}},"bytes":9682},"dist/lib/node-esm/chunk-NHYOREKX.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":4559},"dist/lib/node-esm/chunk-NHYOREKX.mjs":{"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"effect/SchemaAST","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true}],"exports":["EntityKind","EntityKindSchema","KindId","createAnnotationHelper","makeTypeJsonSchemaAnnotation","unwrapOptional"],"inputs":{"src/internal/types/entity.ts":{"bytesInOutput":337},"src/internal/annotations/util.ts":{"bytesInOutput":1266}},"bytes":1941},"dist/lib/node-esm/Err.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/node-esm/Err.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-D5BW7KHR.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-HSLMI22Q.mjs","kind":"import-statement"}],"exports":["ObjectNotFoundError","SchemaNotFoundError"],"entryPoint":"src/Err.ts","inputs":{},"bytes":298},"dist/lib/node-esm/chunk-D5BW7KHR.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1131},"dist/lib/node-esm/chunk-D5BW7KHR.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-HSLMI22Q.mjs","kind":"import-statement"},{"path":"@dxos/errors","kind":"import-statement","external":true}],"exports":["Err_exports","ObjectNotFoundError","SchemaNotFoundError"],"inputs":{"src/Err.ts":{"bytesInOutput":619}},"bytes":894},"dist/lib/node-esm/chunk-HSLMI22Q.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/node-esm/chunk-HSLMI22Q.mjs":{"imports":[],"exports":["__export"],"inputs":{},"bytes":327}}}