@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.
- package/README.md +1 -2
- package/dist/lib/neutral/Annotation.mjs +35 -0
- package/dist/lib/neutral/Database.mjs +45 -0
- package/dist/lib/neutral/Entity.mjs +51 -0
- package/dist/lib/{browser → neutral}/Err.mjs +4 -3
- package/dist/lib/{browser → neutral}/Filter.mjs +9 -8
- package/dist/lib/{browser → neutral}/Format.mjs +4 -5
- package/dist/lib/neutral/JsonSchema.mjs +19 -0
- package/dist/lib/{browser → neutral}/Key.mjs +2 -3
- package/dist/lib/{node-esm → neutral}/Obj.mjs +40 -19
- package/dist/lib/neutral/Order.mjs +12 -0
- package/dist/lib/neutral/Query.mjs +26 -0
- package/dist/lib/neutral/QueryResult.mjs +2 -0
- package/dist/lib/neutral/Ref.mjs +22 -0
- package/dist/lib/neutral/Relation.mjs +84 -0
- package/dist/lib/neutral/SchemaRegistry.mjs +2 -0
- package/dist/lib/neutral/Tag.mjs +25 -0
- package/dist/lib/neutral/Type.mjs +47 -0
- package/dist/lib/{browser/chunk-FGFQWIZE.mjs → neutral/chunk-4L6DOFXP.mjs} +1 -3
- package/dist/lib/neutral/chunk-4L6DOFXP.mjs.map +7 -0
- package/dist/lib/{browser/chunk-RP4JV7FD.mjs → neutral/chunk-7WE7SBA2.mjs} +4 -5
- package/dist/lib/neutral/chunk-7WE7SBA2.mjs.map +7 -0
- package/dist/lib/neutral/chunk-7YWDDFPH.mjs +251 -0
- package/dist/lib/neutral/chunk-7YWDDFPH.mjs.map +7 -0
- package/dist/lib/{browser/chunk-INHXFXY5.mjs → neutral/chunk-ANHVGJI4.mjs} +2 -3
- package/dist/lib/{node-esm/chunk-AJEMYSIR.mjs.map → neutral/chunk-ANHVGJI4.mjs.map} +1 -1
- package/dist/lib/neutral/chunk-B4FLOYG7.mjs +130 -0
- package/dist/lib/neutral/chunk-B4FLOYG7.mjs.map +7 -0
- package/dist/lib/{browser/chunk-O6FOICWT.mjs → neutral/chunk-EXAYCLIM.mjs} +8 -9
- package/dist/lib/neutral/chunk-EXAYCLIM.mjs.map +7 -0
- package/dist/lib/{browser/chunk-V7TON6BX.mjs → neutral/chunk-F6BTBXL7.mjs} +28 -8
- package/dist/lib/neutral/chunk-F6BTBXL7.mjs.map +7 -0
- package/dist/lib/neutral/chunk-HQXQWXLH.mjs +269 -0
- package/dist/lib/neutral/chunk-HQXQWXLH.mjs.map +7 -0
- package/dist/lib/{browser/chunk-CGS2ULMK.mjs → neutral/chunk-J5LGTIGS.mjs} +1 -2
- package/dist/lib/{node-esm/chunk-NHYOREKX.mjs → neutral/chunk-KB7RIVLK.mjs} +11 -6
- package/dist/lib/neutral/chunk-KB7RIVLK.mjs.map +7 -0
- package/dist/lib/neutral/chunk-MXQJZCPY.mjs +51 -0
- package/dist/lib/neutral/chunk-MXQJZCPY.mjs.map +7 -0
- package/dist/lib/{browser/chunk-3B2G6BW4.mjs → neutral/chunk-N2QNHMT5.mjs} +3 -4
- package/dist/lib/{browser/chunk-3B2G6BW4.mjs.map → neutral/chunk-N2QNHMT5.mjs.map} +1 -1
- package/dist/lib/{browser/chunk-JG4GH6LN.mjs → neutral/chunk-OMUPQMLR.mjs} +1 -3
- package/dist/lib/neutral/chunk-OMUPQMLR.mjs.map +7 -0
- package/dist/lib/{browser/chunk-AGOWBKY6.mjs → neutral/chunk-RCBBZLVM.mjs} +61 -13
- package/dist/lib/neutral/chunk-RCBBZLVM.mjs.map +7 -0
- package/dist/lib/{node-esm/chunk-6OTQZKHX.mjs → neutral/chunk-RIMHNJ3E.mjs} +30 -37
- package/dist/lib/neutral/chunk-RIMHNJ3E.mjs.map +7 -0
- package/dist/lib/{node-esm/chunk-BYL2NPEA.mjs → neutral/chunk-ROKO4RKJ.mjs} +9 -4
- package/dist/lib/{node-esm/chunk-BYL2NPEA.mjs.map → neutral/chunk-ROKO4RKJ.mjs.map} +3 -3
- package/dist/lib/{browser/chunk-ESLW4N7S.mjs → neutral/chunk-TMLVKIMX.mjs} +3 -4
- package/dist/lib/neutral/chunk-TMLVKIMX.mjs.map +7 -0
- package/dist/lib/{browser/chunk-P2B4BASR.mjs → neutral/chunk-UMECVTXM.mjs} +4 -5
- package/dist/lib/{node-esm/chunk-LDXRA5TC.mjs.map → neutral/chunk-UMECVTXM.mjs.map} +1 -1
- package/dist/lib/{browser/chunk-6XVZF5VJ.mjs → neutral/chunk-VJ2H5MOJ.mjs} +1991 -1010
- package/dist/lib/neutral/chunk-VJ2H5MOJ.mjs.map +7 -0
- package/dist/lib/{browser/chunk-5IN7XBIQ.mjs → neutral/chunk-VYEWMV5U.mjs} +3 -4
- package/dist/lib/{browser/chunk-5IN7XBIQ.mjs.map → neutral/chunk-VYEWMV5U.mjs.map} +1 -1
- package/dist/lib/{browser/chunk-MYCCGG2T.mjs → neutral/chunk-X2MPMYYN.mjs} +1 -3
- package/dist/lib/{browser/chunk-MYCCGG2T.mjs.map → neutral/chunk-X2MPMYYN.mjs.map} +1 -1
- package/dist/lib/{browser/chunk-ZIM3Y4ZK.mjs → neutral/chunk-XAJMXQ4H.mjs} +17 -12
- package/dist/lib/neutral/chunk-XAJMXQ4H.mjs.map +7 -0
- package/dist/lib/neutral/chunk-YPIP3WGI.mjs +97 -0
- package/dist/lib/neutral/chunk-YPIP3WGI.mjs.map +7 -0
- package/dist/lib/{browser → neutral}/index.mjs +27 -28
- package/dist/lib/{node-esm → neutral}/internal/index.mjs +141 -26
- package/dist/lib/neutral/meta.json +1 -0
- package/dist/lib/{browser → neutral}/testing/index.mjs +67 -61
- package/dist/lib/neutral/testing/index.mjs.map +7 -0
- package/dist/types/src/Annotation.d.ts +23 -1
- package/dist/types/src/Annotation.d.ts.map +1 -1
- package/dist/types/src/Database.d.ts +90 -53
- package/dist/types/src/Database.d.ts.map +1 -1
- package/dist/types/src/Entity.d.ts +111 -5
- package/dist/types/src/Entity.d.ts.map +1 -1
- package/dist/types/src/Entity.test.d.ts +2 -0
- package/dist/types/src/Entity.test.d.ts.map +1 -0
- package/dist/types/src/Err.d.ts +55 -16
- package/dist/types/src/Err.d.ts.map +1 -1
- package/dist/types/src/Obj.d.ts +348 -76
- package/dist/types/src/Obj.d.ts.map +1 -1
- package/dist/types/src/Obj.test.d.ts +2 -0
- package/dist/types/src/Obj.test.d.ts.map +1 -0
- package/dist/types/src/Order.d.ts +5 -0
- package/dist/types/src/Order.d.ts.map +1 -1
- package/dist/types/src/Query.d.ts +21 -3
- package/dist/types/src/Query.d.ts.map +1 -1
- package/dist/types/src/QueryResult.d.ts +0 -4
- package/dist/types/src/QueryResult.d.ts.map +1 -1
- package/dist/types/src/Ref.d.ts +7 -7
- package/dist/types/src/Ref.d.ts.map +1 -1
- package/dist/types/src/Relation.d.ts +236 -19
- package/dist/types/src/Relation.d.ts.map +1 -1
- package/dist/types/src/Relation.test.d.ts +2 -0
- package/dist/types/src/Relation.test.d.ts.map +1 -0
- package/dist/types/src/SchemaRegistry.d.ts +11 -0
- package/dist/types/src/SchemaRegistry.d.ts.map +1 -1
- package/dist/types/src/Tag.d.ts +6 -6
- package/dist/types/src/Tag.d.ts.map +1 -1
- package/dist/types/src/Type.d.ts +213 -50
- package/dist/types/src/Type.d.ts.map +1 -1
- package/dist/types/src/Type.test.d.ts +2 -0
- package/dist/types/src/Type.test.d.ts.map +1 -0
- package/dist/types/src/hierarchy.test.d.ts +2 -0
- package/dist/types/src/hierarchy.test.d.ts.map +1 -0
- package/dist/types/src/internal/annotations/annotations.d.ts +24 -26
- package/dist/types/src/internal/annotations/annotations.d.ts.map +1 -1
- package/dist/types/src/internal/annotations/util.d.ts +12 -0
- package/dist/types/src/internal/annotations/util.d.ts.map +1 -1
- package/dist/types/src/internal/api/annotations.d.ts +23 -0
- package/dist/types/src/internal/api/annotations.d.ts.map +1 -0
- package/dist/types/src/internal/api/entity.d.ts +13 -0
- package/dist/types/src/internal/api/entity.d.ts.map +1 -0
- package/dist/types/src/internal/api/index.d.ts +15 -0
- package/dist/types/src/internal/api/index.d.ts.map +1 -0
- package/dist/types/src/internal/api/meta.d.ts +42 -0
- package/dist/types/src/internal/api/meta.d.ts.map +1 -0
- package/dist/types/src/internal/api/sorting.d.ts +24 -0
- package/dist/types/src/internal/api/sorting.d.ts.map +1 -0
- package/dist/types/src/internal/api/version.d.ts +42 -0
- package/dist/types/src/internal/api/version.d.ts.map +1 -0
- package/dist/types/src/internal/entities/entity.d.ts +13 -3
- package/dist/types/src/internal/entities/entity.d.ts.map +1 -1
- package/dist/types/src/internal/entities/index.d.ts +1 -1
- package/dist/types/src/internal/entities/index.d.ts.map +1 -1
- package/dist/types/src/internal/entities/model.d.ts +17 -8
- package/dist/types/src/internal/entities/model.d.ts.map +1 -1
- package/dist/types/src/internal/entities/object.d.ts +8 -1
- package/dist/types/src/internal/entities/object.d.ts.map +1 -1
- package/dist/types/src/internal/entities/relation.d.ts +8 -1
- package/dist/types/src/internal/entities/relation.d.ts.map +1 -1
- package/dist/types/src/internal/formats/select.d.ts +2 -2
- package/dist/types/src/internal/formats/select.d.ts.map +1 -1
- package/dist/types/src/internal/index.d.ts +2 -1
- package/dist/types/src/internal/index.d.ts.map +1 -1
- package/dist/types/src/internal/json-schema/json-schema-normalize.d.ts.map +1 -1
- package/dist/types/src/internal/json-schema/json-schema-type.d.ts +130 -29
- package/dist/types/src/internal/json-schema/json-schema-type.d.ts.map +1 -1
- package/dist/types/src/internal/json-schema/json-schema.d.ts +2 -1
- package/dist/types/src/internal/json-schema/json-schema.d.ts.map +1 -1
- package/dist/types/src/internal/object/clone.d.ts +8 -0
- package/dist/types/src/internal/object/clone.d.ts.map +1 -0
- package/dist/types/src/internal/object/create-object.d.ts +1 -1
- package/dist/types/src/internal/object/index.d.ts +3 -0
- package/dist/types/src/internal/object/index.d.ts.map +1 -1
- package/dist/types/src/internal/object/json-serializer.d.ts +13 -7
- package/dist/types/src/internal/object/json-serializer.d.ts.map +1 -1
- package/dist/types/src/internal/object/schema-validator.d.ts +1 -14
- package/dist/types/src/internal/object/schema-validator.d.ts.map +1 -1
- package/dist/types/src/internal/object/set-value.d.ts +7 -0
- package/dist/types/src/internal/object/set-value.d.ts.map +1 -0
- package/dist/types/src/internal/object/set-value.test.d.ts +2 -0
- package/dist/types/src/internal/object/set-value.test.d.ts.map +1 -0
- package/dist/types/src/internal/object/snapshot.d.ts +6 -0
- package/dist/types/src/internal/object/snapshot.d.ts.map +1 -0
- package/dist/types/src/internal/object/typed-object.d.ts +7 -13
- package/dist/types/src/internal/object/typed-object.d.ts.map +1 -1
- package/dist/types/src/internal/proxy/change-context.d.ts +55 -0
- package/dist/types/src/internal/proxy/change-context.d.ts.map +1 -0
- package/dist/types/src/internal/proxy/change.test.d.ts +2 -0
- package/dist/types/src/internal/proxy/change.test.d.ts.map +1 -0
- package/dist/types/src/internal/proxy/define-hidden-property.d.ts +5 -0
- package/dist/types/src/internal/proxy/define-hidden-property.d.ts.map +1 -0
- package/dist/types/src/internal/proxy/errors.d.ts +19 -0
- package/dist/types/src/internal/proxy/errors.d.ts.map +1 -0
- package/dist/types/src/internal/proxy/event-batch.d.ts +10 -0
- package/dist/types/src/internal/proxy/event-batch.d.ts.map +1 -0
- package/dist/types/src/internal/proxy/index.d.ts +11 -0
- package/dist/types/src/internal/proxy/index.d.ts.map +1 -1
- package/dist/types/src/internal/proxy/json-serializer.d.ts +6 -0
- package/dist/types/src/internal/proxy/json-serializer.d.ts.map +1 -0
- package/dist/types/src/internal/proxy/make-object.d.ts +2 -4
- package/dist/types/src/internal/proxy/make-object.d.ts.map +1 -1
- package/dist/types/src/internal/proxy/ownership.d.ts +57 -0
- package/dist/types/src/internal/proxy/ownership.d.ts.map +1 -0
- package/dist/types/src/internal/proxy/proxy-types.d.ts +18 -0
- package/dist/types/src/internal/proxy/proxy-types.d.ts.map +1 -0
- package/dist/types/src/internal/proxy/proxy-utils.d.ts +47 -0
- package/dist/types/src/internal/proxy/proxy-utils.d.ts.map +1 -0
- package/dist/types/src/internal/proxy/reactive-array.d.ts +8 -0
- package/dist/types/src/internal/proxy/reactive-array.d.ts.map +1 -0
- package/dist/types/src/internal/proxy/reactive.d.ts +39 -0
- package/dist/types/src/internal/proxy/reactive.d.ts.map +1 -0
- package/dist/types/src/internal/proxy/schema-validator.d.ts +15 -0
- package/dist/types/src/internal/proxy/schema-validator.d.ts.map +1 -0
- package/dist/types/src/internal/proxy/symbols.d.ts +3 -0
- package/dist/types/src/internal/proxy/symbols.d.ts.map +1 -0
- package/dist/types/src/internal/proxy/typed-handler.d.ts +16 -12
- package/dist/types/src/internal/proxy/typed-handler.d.ts.map +1 -1
- package/dist/types/src/internal/ref/ref-array.d.ts +4 -4
- package/dist/types/src/internal/ref/ref-array.d.ts.map +1 -1
- package/dist/types/src/internal/ref/ref.d.ts +30 -8
- package/dist/types/src/internal/ref/ref.d.ts.map +1 -1
- package/dist/types/src/internal/schema/compose.d.ts +2 -1
- package/dist/types/src/internal/schema/compose.d.ts.map +1 -1
- package/dist/types/src/internal/schema/echo-schema.d.ts +16 -3
- package/dist/types/src/internal/schema/echo-schema.d.ts.map +1 -1
- package/dist/types/src/internal/schema/index.d.ts +0 -1
- package/dist/types/src/internal/schema/index.d.ts.map +1 -1
- package/dist/types/src/internal/schema/persistent-schema.d.ts +9 -7
- package/dist/types/src/internal/schema/persistent-schema.d.ts.map +1 -1
- package/dist/types/src/internal/types/base.d.ts +5 -16
- package/dist/types/src/internal/types/base.d.ts.map +1 -1
- package/dist/types/src/internal/types/entity.d.ts +27 -2
- package/dist/types/src/internal/types/entity.d.ts.map +1 -1
- package/dist/types/src/internal/types/meta.d.ts +6 -14
- package/dist/types/src/internal/types/meta.d.ts.map +1 -1
- package/dist/types/src/internal/types/typename.d.ts +8 -0
- package/dist/types/src/internal/types/typename.d.ts.map +1 -1
- package/dist/types/src/testing/test-schema.d.ts +101 -205
- package/dist/types/src/testing/test-schema.d.ts.map +1 -1
- package/dist/types/src/testing/util.d.ts +6 -1
- package/dist/types/src/testing/util.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +38 -115
- package/src/Annotation.ts +32 -4
- package/src/Database.ts +170 -125
- package/src/Entity.test.ts +22 -0
- package/src/Entity.ts +173 -7
- package/src/Err.ts +22 -2
- package/src/Obj.test.ts +442 -0
- package/src/Obj.ts +471 -254
- package/src/Order.ts +10 -0
- package/src/Query.test.ts +120 -1
- package/src/Query.ts +53 -8
- package/src/QueryResult.ts +1 -4
- package/src/Ref.ts +3 -3
- package/src/Relation.test.ts +82 -0
- package/src/Relation.ts +367 -28
- package/src/SchemaRegistry.ts +13 -0
- package/src/Tag.ts +1 -1
- package/src/Type.test.ts +52 -0
- package/src/Type.ts +322 -88
- package/src/hierarchy.test.ts +33 -0
- package/src/internal/README.md +31 -16
- package/src/internal/annotations/annotations.test.ts +6 -6
- package/src/internal/annotations/annotations.ts +48 -49
- package/src/internal/annotations/util.ts +13 -0
- package/src/internal/api/annotations.ts +60 -0
- package/src/internal/api/entity.ts +29 -0
- package/src/internal/api/index.ts +19 -0
- package/src/internal/api/meta.ts +88 -0
- package/src/internal/api/sorting.ts +53 -0
- package/src/internal/api/version.ts +96 -0
- package/src/internal/entities/entity.ts +36 -19
- package/src/internal/entities/index.ts +1 -1
- package/src/internal/entities/model.ts +21 -12
- package/src/internal/entities/object.ts +21 -8
- package/src/internal/entities/relation.ts +23 -7
- package/src/internal/formats/format.test.ts +1 -1
- package/src/internal/formats/select.ts +1 -1
- package/src/internal/formats/types.ts +1 -1
- package/src/internal/index.ts +2 -1
- package/src/internal/json-schema/json-schema-normalize.ts +4 -2
- package/src/internal/json-schema/json-schema-type.ts +30 -31
- package/src/internal/json-schema/json-schema.test.ts +17 -17
- package/src/internal/json-schema/json-schema.ts +14 -10
- package/src/internal/object/clone.ts +48 -0
- package/src/internal/object/create-object.ts +2 -2
- package/src/internal/object/index.ts +3 -0
- package/src/internal/object/inspect.ts +3 -3
- package/src/internal/object/json-serializer.test.ts +6 -2
- package/src/internal/object/json-serializer.ts +37 -70
- package/src/internal/object/schema-validator.test.ts +3 -7
- package/src/internal/object/schema-validator.ts +2 -240
- package/src/internal/object/set-value.test.ts +281 -0
- package/src/internal/object/set-value.ts +165 -0
- package/src/internal/object/snapshot.ts +93 -0
- package/src/internal/object/typed-object.test.ts +11 -11
- package/src/internal/object/typed-object.ts +8 -72
- package/src/internal/proxy/change-context.ts +138 -0
- package/src/internal/proxy/change.test.ts +519 -0
- package/src/internal/proxy/define-hidden-property.ts +14 -0
- package/src/internal/proxy/errors.ts +42 -0
- package/src/internal/proxy/event-batch.ts +44 -0
- package/src/internal/proxy/handler.test.ts +30 -80
- package/src/internal/proxy/index.ts +11 -0
- package/src/internal/proxy/json-serializer.ts +87 -0
- package/src/internal/proxy/make-object.ts +44 -51
- package/src/internal/proxy/ownership.ts +253 -0
- package/src/internal/proxy/proxy-types.ts +23 -0
- package/src/internal/proxy/proxy-utils.ts +150 -0
- package/src/internal/proxy/reactive-array.ts +71 -0
- package/src/internal/proxy/reactive.ts +69 -0
- package/src/internal/proxy/schema-validator.ts +244 -0
- package/src/internal/proxy/schema.test.ts +23 -15
- package/src/internal/proxy/symbols.ts +7 -0
- package/src/internal/proxy/typed-handler.test.ts +247 -35
- package/src/internal/proxy/typed-handler.ts +274 -57
- package/src/internal/proxy/typed-object.test.ts +37 -26
- package/src/internal/ref/ref-array.ts +4 -4
- package/src/internal/ref/ref.test.ts +1 -1
- package/src/internal/ref/ref.ts +88 -41
- package/src/internal/schema/compose.test.ts +3 -3
- package/src/internal/schema/compose.ts +13 -9
- package/src/internal/schema/echo-schema.ts +51 -12
- package/src/internal/schema/index.ts +0 -1
- package/src/internal/schema/persistent-schema.ts +5 -5
- package/src/internal/types/base.ts +6 -20
- package/src/internal/types/entity.ts +35 -4
- package/src/internal/types/meta.ts +13 -24
- package/src/internal/types/typename.ts +10 -0
- package/src/testing/api.test.ts +31 -5
- package/src/testing/test-schema.ts +44 -30
- package/src/testing/util.ts +22 -15
- package/dist/lib/browser/Annotation.mjs +0 -31
- package/dist/lib/browser/Database.mjs +0 -14
- package/dist/lib/browser/Entity.mjs +0 -20
- package/dist/lib/browser/JsonSchema.mjs +0 -18
- package/dist/lib/browser/Obj.mjs +0 -83
- package/dist/lib/browser/Order.mjs +0 -11
- package/dist/lib/browser/Query.mjs +0 -25
- package/dist/lib/browser/QueryResult.mjs +0 -3
- package/dist/lib/browser/Ref.mjs +0 -21
- package/dist/lib/browser/Relation.mjs +0 -33
- package/dist/lib/browser/SchemaRegistry.mjs +0 -3
- package/dist/lib/browser/Tag.mjs +0 -25
- package/dist/lib/browser/Type.mjs +0 -38
- package/dist/lib/browser/chunk-6XVZF5VJ.mjs.map +0 -7
- package/dist/lib/browser/chunk-AGOWBKY6.mjs.map +0 -7
- package/dist/lib/browser/chunk-BD6MRI4M.mjs +0 -113
- package/dist/lib/browser/chunk-BD6MRI4M.mjs.map +0 -7
- package/dist/lib/browser/chunk-DOPKE2FQ.mjs +0 -32
- package/dist/lib/browser/chunk-DOPKE2FQ.mjs.map +0 -7
- package/dist/lib/browser/chunk-ESLW4N7S.mjs.map +0 -7
- package/dist/lib/browser/chunk-F4YF6C3O.mjs +0 -363
- package/dist/lib/browser/chunk-F4YF6C3O.mjs.map +0 -7
- package/dist/lib/browser/chunk-FGFQWIZE.mjs.map +0 -7
- package/dist/lib/browser/chunk-INHXFXY5.mjs.map +0 -7
- package/dist/lib/browser/chunk-JG4GH6LN.mjs.map +0 -7
- package/dist/lib/browser/chunk-NFH3POTD.mjs +0 -37
- package/dist/lib/browser/chunk-NFH3POTD.mjs.map +0 -7
- package/dist/lib/browser/chunk-O6FOICWT.mjs.map +0 -7
- package/dist/lib/browser/chunk-P2B4BASR.mjs.map +0 -7
- package/dist/lib/browser/chunk-QHC3ZYNC.mjs +0 -152
- package/dist/lib/browser/chunk-QHC3ZYNC.mjs.map +0 -7
- package/dist/lib/browser/chunk-QU7PWSZD.mjs +0 -62
- package/dist/lib/browser/chunk-QU7PWSZD.mjs.map +0 -7
- package/dist/lib/browser/chunk-RP4JV7FD.mjs.map +0 -7
- package/dist/lib/browser/chunk-V7TON6BX.mjs.map +0 -7
- package/dist/lib/browser/chunk-WABSVOOX.mjs +0 -303
- package/dist/lib/browser/chunk-WABSVOOX.mjs.map +0 -7
- package/dist/lib/browser/chunk-XRHHSMHJ.mjs +0 -39
- package/dist/lib/browser/chunk-XRHHSMHJ.mjs.map +0 -7
- package/dist/lib/browser/chunk-ZIM3Y4ZK.mjs.map +0 -7
- package/dist/lib/browser/internal/index.mjs +0 -347
- package/dist/lib/browser/meta.json +0 -1
- package/dist/lib/browser/testing/index.mjs.map +0 -7
- package/dist/lib/node-esm/Annotation.mjs +0 -31
- package/dist/lib/node-esm/Annotation.mjs.map +0 -7
- package/dist/lib/node-esm/Database.mjs +0 -14
- package/dist/lib/node-esm/Database.mjs.map +0 -7
- package/dist/lib/node-esm/Entity.mjs +0 -20
- package/dist/lib/node-esm/Entity.mjs.map +0 -7
- package/dist/lib/node-esm/Err.mjs +0 -11
- package/dist/lib/node-esm/Err.mjs.map +0 -7
- package/dist/lib/node-esm/Filter.mjs +0 -60
- package/dist/lib/node-esm/Filter.mjs.map +0 -7
- package/dist/lib/node-esm/Format.mjs +0 -67
- package/dist/lib/node-esm/Format.mjs.map +0 -7
- package/dist/lib/node-esm/JsonSchema.mjs +0 -18
- package/dist/lib/node-esm/JsonSchema.mjs.map +0 -7
- package/dist/lib/node-esm/Key.mjs +0 -13
- package/dist/lib/node-esm/Key.mjs.map +0 -7
- package/dist/lib/node-esm/Obj.mjs.map +0 -7
- package/dist/lib/node-esm/Order.mjs +0 -11
- package/dist/lib/node-esm/Order.mjs.map +0 -7
- package/dist/lib/node-esm/Query.mjs +0 -25
- package/dist/lib/node-esm/Query.mjs.map +0 -7
- package/dist/lib/node-esm/QueryResult.mjs +0 -3
- package/dist/lib/node-esm/QueryResult.mjs.map +0 -7
- package/dist/lib/node-esm/Ref.mjs +0 -21
- package/dist/lib/node-esm/Ref.mjs.map +0 -7
- package/dist/lib/node-esm/Relation.mjs +0 -33
- package/dist/lib/node-esm/Relation.mjs.map +0 -7
- package/dist/lib/node-esm/SchemaRegistry.mjs +0 -3
- package/dist/lib/node-esm/SchemaRegistry.mjs.map +0 -7
- package/dist/lib/node-esm/Tag.mjs +0 -25
- package/dist/lib/node-esm/Tag.mjs.map +0 -7
- package/dist/lib/node-esm/Type.mjs +0 -38
- package/dist/lib/node-esm/Type.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-5M5P2DCR.mjs +0 -32
- package/dist/lib/node-esm/chunk-5M5P2DCR.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-6OTQZKHX.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-76LEDWHO.mjs +0 -152
- package/dist/lib/node-esm/chunk-76LEDWHO.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-AGHZH33D.mjs +0 -9
- package/dist/lib/node-esm/chunk-AGHZH33D.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-AJEMYSIR.mjs +0 -22
- package/dist/lib/node-esm/chunk-BJACR7QG.mjs +0 -363
- package/dist/lib/node-esm/chunk-BJACR7QG.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-CCMFPJUT.mjs +0 -74
- package/dist/lib/node-esm/chunk-CCMFPJUT.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-D5BW7KHR.mjs +0 -39
- package/dist/lib/node-esm/chunk-D5BW7KHR.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-DJX53IQ3.mjs +0 -2924
- package/dist/lib/node-esm/chunk-DJX53IQ3.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-FWTPV5QD.mjs +0 -94
- package/dist/lib/node-esm/chunk-FWTPV5QD.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-HLUDHPFO.mjs +0 -403
- package/dist/lib/node-esm/chunk-HLUDHPFO.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-HSLMI22Q.mjs +0 -11
- package/dist/lib/node-esm/chunk-HSLMI22Q.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-JYZSF62S.mjs +0 -113
- package/dist/lib/node-esm/chunk-JYZSF62S.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-KUX5JEL2.mjs +0 -57
- package/dist/lib/node-esm/chunk-KUX5JEL2.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-LDXRA5TC.mjs +0 -288
- package/dist/lib/node-esm/chunk-MOWUEW5P.mjs +0 -15
- package/dist/lib/node-esm/chunk-MOWUEW5P.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-NHYOREKX.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-QVZZHCDS.mjs +0 -9
- package/dist/lib/node-esm/chunk-QVZZHCDS.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-W3OLV7MG.mjs +0 -41
- package/dist/lib/node-esm/chunk-W3OLV7MG.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-W5AQXKVF.mjs +0 -38
- package/dist/lib/node-esm/chunk-W5AQXKVF.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-YNBFXTDG.mjs +0 -24
- package/dist/lib/node-esm/chunk-YNBFXTDG.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-Z53QIBP2.mjs +0 -151
- package/dist/lib/node-esm/chunk-Z53QIBP2.mjs.map +0 -7
- package/dist/lib/node-esm/index.mjs +0 -85
- package/dist/lib/node-esm/index.mjs.map +0 -7
- package/dist/lib/node-esm/internal/index.mjs.map +0 -7
- package/dist/lib/node-esm/meta.json +0 -1
- package/dist/lib/node-esm/testing/index.mjs +0 -360
- package/dist/lib/node-esm/testing/index.mjs.map +0 -7
- package/dist/types/src/internal/entities/expando.d.ts +0 -16
- package/dist/types/src/internal/entities/expando.d.ts.map +0 -1
- package/dist/types/src/internal/schema/snapshot.d.ts +0 -6
- package/dist/types/src/internal/schema/snapshot.d.ts.map +0 -1
- package/src/internal/entities/expando.ts +0 -23
- package/src/internal/schema/snapshot.ts +0 -25
- /package/dist/lib/{browser → neutral}/Annotation.mjs.map +0 -0
- /package/dist/lib/{browser → neutral}/Database.mjs.map +0 -0
- /package/dist/lib/{browser → neutral}/Entity.mjs.map +0 -0
- /package/dist/lib/{browser → neutral}/Err.mjs.map +0 -0
- /package/dist/lib/{browser → neutral}/Filter.mjs.map +0 -0
- /package/dist/lib/{browser → neutral}/Format.mjs.map +0 -0
- /package/dist/lib/{browser → neutral}/JsonSchema.mjs.map +0 -0
- /package/dist/lib/{browser → neutral}/Key.mjs.map +0 -0
- /package/dist/lib/{browser → neutral}/Obj.mjs.map +0 -0
- /package/dist/lib/{browser → neutral}/Order.mjs.map +0 -0
- /package/dist/lib/{browser → neutral}/Query.mjs.map +0 -0
- /package/dist/lib/{browser → neutral}/QueryResult.mjs.map +0 -0
- /package/dist/lib/{browser → neutral}/Ref.mjs.map +0 -0
- /package/dist/lib/{browser → neutral}/Relation.mjs.map +0 -0
- /package/dist/lib/{browser → neutral}/SchemaRegistry.mjs.map +0 -0
- /package/dist/lib/{browser → neutral}/Tag.mjs.map +0 -0
- /package/dist/lib/{browser → neutral}/Type.mjs.map +0 -0
- /package/dist/lib/{browser/chunk-CGS2ULMK.mjs.map → neutral/chunk-J5LGTIGS.mjs.map} +0 -0
- /package/dist/lib/{browser → neutral}/index.mjs.map +0 -0
- /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 +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}}}
|