@dxos/echo 0.8.4-main.3a94e84 → 0.8.4-main.3c1ae3b
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 -1
- package/dist/lib/browser/Annotation.mjs +31 -0
- package/dist/lib/browser/Annotation.mjs.map +7 -0
- package/dist/lib/browser/Database.mjs +14 -0
- package/dist/lib/browser/Database.mjs.map +7 -0
- package/dist/lib/browser/Entity.mjs +20 -0
- package/dist/lib/browser/Entity.mjs.map +7 -0
- package/dist/lib/browser/Err.mjs +11 -0
- package/dist/lib/browser/Err.mjs.map +7 -0
- package/dist/lib/browser/Filter.mjs +60 -0
- package/dist/lib/browser/Filter.mjs.map +7 -0
- package/dist/lib/browser/Format.mjs +67 -0
- package/dist/lib/browser/Format.mjs.map +7 -0
- package/dist/lib/browser/JsonSchema.mjs +18 -0
- package/dist/lib/browser/JsonSchema.mjs.map +7 -0
- package/dist/lib/browser/Key.mjs +13 -0
- package/dist/lib/browser/Key.mjs.map +7 -0
- package/dist/lib/browser/Obj.mjs +83 -0
- package/dist/lib/browser/Obj.mjs.map +7 -0
- package/dist/lib/browser/Order.mjs +11 -0
- package/dist/lib/browser/Order.mjs.map +7 -0
- package/dist/lib/browser/Query.mjs +25 -0
- package/dist/lib/browser/Query.mjs.map +7 -0
- package/dist/lib/browser/QueryResult.mjs +3 -0
- package/dist/lib/browser/QueryResult.mjs.map +7 -0
- package/dist/lib/browser/Ref.mjs +21 -0
- package/dist/lib/browser/Ref.mjs.map +7 -0
- package/dist/lib/browser/Relation.mjs +33 -0
- package/dist/lib/browser/Relation.mjs.map +7 -0
- package/dist/lib/browser/SchemaRegistry.mjs +3 -0
- package/dist/lib/browser/SchemaRegistry.mjs.map +7 -0
- package/dist/lib/browser/Tag.mjs +25 -0
- package/dist/lib/browser/Tag.mjs.map +7 -0
- package/dist/lib/browser/Type.mjs +38 -0
- package/dist/lib/browser/Type.mjs.map +7 -0
- package/dist/lib/browser/chunk-3B2G6BW4.mjs +74 -0
- package/dist/lib/browser/chunk-3B2G6BW4.mjs.map +7 -0
- package/dist/lib/browser/chunk-5IN7XBIQ.mjs +24 -0
- package/dist/lib/browser/chunk-5IN7XBIQ.mjs.map +7 -0
- package/dist/lib/browser/chunk-6XVZF5VJ.mjs +2924 -0
- package/dist/lib/browser/chunk-6XVZF5VJ.mjs.map +7 -0
- package/dist/lib/browser/chunk-AGOWBKY6.mjs +94 -0
- package/dist/lib/browser/chunk-AGOWBKY6.mjs.map +7 -0
- package/dist/lib/browser/chunk-BD6MRI4M.mjs +113 -0
- package/dist/lib/browser/chunk-BD6MRI4M.mjs.map +7 -0
- package/dist/lib/browser/chunk-CGS2ULMK.mjs +11 -0
- package/dist/lib/browser/chunk-CGS2ULMK.mjs.map +7 -0
- package/dist/lib/browser/chunk-DOPKE2FQ.mjs +32 -0
- package/dist/lib/browser/chunk-DOPKE2FQ.mjs.map +7 -0
- package/dist/lib/browser/chunk-ESLW4N7S.mjs +41 -0
- package/dist/lib/browser/chunk-ESLW4N7S.mjs.map +7 -0
- package/dist/lib/browser/chunk-F4YF6C3O.mjs +363 -0
- package/dist/lib/browser/chunk-F4YF6C3O.mjs.map +7 -0
- package/dist/lib/browser/chunk-FGFQWIZE.mjs +9 -0
- package/dist/lib/browser/chunk-FGFQWIZE.mjs.map +7 -0
- package/dist/lib/browser/chunk-INHXFXY5.mjs +22 -0
- package/dist/lib/browser/chunk-INHXFXY5.mjs.map +7 -0
- package/dist/lib/browser/chunk-JG4GH6LN.mjs +9 -0
- package/dist/lib/browser/chunk-JG4GH6LN.mjs.map +7 -0
- package/dist/lib/browser/chunk-MYCCGG2T.mjs +15 -0
- package/dist/lib/browser/chunk-MYCCGG2T.mjs.map +7 -0
- package/dist/lib/browser/chunk-NFH3POTD.mjs +37 -0
- package/dist/lib/browser/chunk-NFH3POTD.mjs.map +7 -0
- package/dist/lib/browser/chunk-O6FOICWT.mjs +57 -0
- package/dist/lib/browser/chunk-O6FOICWT.mjs.map +7 -0
- package/dist/lib/browser/chunk-P2B4BASR.mjs +288 -0
- package/dist/lib/browser/chunk-P2B4BASR.mjs.map +7 -0
- package/dist/lib/browser/chunk-QHC3ZYNC.mjs +152 -0
- package/dist/lib/browser/chunk-QHC3ZYNC.mjs.map +7 -0
- package/dist/lib/browser/chunk-QU7PWSZD.mjs +62 -0
- package/dist/lib/browser/chunk-QU7PWSZD.mjs.map +7 -0
- package/dist/lib/browser/chunk-RP4JV7FD.mjs +403 -0
- package/dist/lib/browser/chunk-RP4JV7FD.mjs.map +7 -0
- package/dist/lib/browser/chunk-V7TON6BX.mjs +151 -0
- package/dist/lib/browser/chunk-V7TON6BX.mjs.map +7 -0
- package/dist/lib/browser/chunk-WABSVOOX.mjs +303 -0
- package/dist/lib/browser/chunk-WABSVOOX.mjs.map +7 -0
- package/dist/lib/browser/chunk-XRHHSMHJ.mjs +39 -0
- package/dist/lib/browser/chunk-XRHHSMHJ.mjs.map +7 -0
- package/dist/lib/browser/chunk-ZIM3Y4ZK.mjs +38 -0
- package/dist/lib/browser/chunk-ZIM3Y4ZK.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +72 -9
- package/dist/lib/browser/internal/index.mjs +347 -0
- package/dist/lib/browser/internal/index.mjs.map +7 -0
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/testing/index.mjs +322 -32
- package/dist/lib/browser/testing/index.mjs.map +4 -4
- package/dist/lib/node-esm/Annotation.mjs +31 -0
- package/dist/lib/node-esm/Annotation.mjs.map +7 -0
- package/dist/lib/node-esm/Database.mjs +14 -0
- package/dist/lib/node-esm/Database.mjs.map +7 -0
- package/dist/lib/node-esm/Entity.mjs +20 -0
- package/dist/lib/node-esm/Entity.mjs.map +7 -0
- package/dist/lib/node-esm/Err.mjs +11 -0
- package/dist/lib/node-esm/Err.mjs.map +7 -0
- package/dist/lib/node-esm/Filter.mjs +60 -0
- package/dist/lib/node-esm/Filter.mjs.map +7 -0
- package/dist/lib/node-esm/Format.mjs +67 -0
- package/dist/lib/node-esm/Format.mjs.map +7 -0
- package/dist/lib/node-esm/JsonSchema.mjs +18 -0
- package/dist/lib/node-esm/JsonSchema.mjs.map +7 -0
- package/dist/lib/node-esm/Key.mjs +13 -0
- package/dist/lib/node-esm/Key.mjs.map +7 -0
- package/dist/lib/node-esm/Obj.mjs +83 -0
- package/dist/lib/node-esm/Obj.mjs.map +7 -0
- package/dist/lib/node-esm/Order.mjs +11 -0
- package/dist/lib/node-esm/Order.mjs.map +7 -0
- package/dist/lib/node-esm/Query.mjs +25 -0
- package/dist/lib/node-esm/Query.mjs.map +7 -0
- package/dist/lib/node-esm/QueryResult.mjs +3 -0
- package/dist/lib/node-esm/QueryResult.mjs.map +7 -0
- package/dist/lib/node-esm/Ref.mjs +21 -0
- package/dist/lib/node-esm/Ref.mjs.map +7 -0
- package/dist/lib/node-esm/Relation.mjs +33 -0
- package/dist/lib/node-esm/Relation.mjs.map +7 -0
- package/dist/lib/node-esm/SchemaRegistry.mjs +3 -0
- package/dist/lib/node-esm/SchemaRegistry.mjs.map +7 -0
- package/dist/lib/node-esm/Tag.mjs +25 -0
- package/dist/lib/node-esm/Tag.mjs.map +7 -0
- package/dist/lib/node-esm/Type.mjs +38 -0
- package/dist/lib/node-esm/Type.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-5M5P2DCR.mjs +32 -0
- package/dist/lib/node-esm/chunk-5M5P2DCR.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-6OTQZKHX.mjs +303 -0
- package/dist/lib/node-esm/chunk-6OTQZKHX.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-76LEDWHO.mjs +152 -0
- package/dist/lib/node-esm/chunk-76LEDWHO.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-AGHZH33D.mjs +9 -0
- package/dist/lib/node-esm/chunk-AGHZH33D.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-AJEMYSIR.mjs +22 -0
- package/dist/lib/node-esm/chunk-AJEMYSIR.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-BJACR7QG.mjs +363 -0
- package/dist/lib/node-esm/chunk-BJACR7QG.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-BYL2NPEA.mjs +37 -0
- package/dist/lib/node-esm/chunk-BYL2NPEA.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-CCMFPJUT.mjs +74 -0
- package/dist/lib/node-esm/chunk-CCMFPJUT.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-D5BW7KHR.mjs +39 -0
- package/dist/lib/node-esm/chunk-D5BW7KHR.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-DJX53IQ3.mjs +2924 -0
- package/dist/lib/node-esm/chunk-DJX53IQ3.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-FWTPV5QD.mjs +94 -0
- package/dist/lib/node-esm/chunk-FWTPV5QD.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-HLUDHPFO.mjs +403 -0
- package/dist/lib/node-esm/chunk-HLUDHPFO.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-HSLMI22Q.mjs +11 -0
- package/dist/lib/node-esm/chunk-HSLMI22Q.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-JYZSF62S.mjs +113 -0
- package/dist/lib/node-esm/chunk-JYZSF62S.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-KUX5JEL2.mjs +57 -0
- package/dist/lib/node-esm/chunk-KUX5JEL2.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-LDXRA5TC.mjs +288 -0
- package/dist/lib/node-esm/chunk-LDXRA5TC.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-MOWUEW5P.mjs +15 -0
- package/dist/lib/node-esm/chunk-MOWUEW5P.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-NHYOREKX.mjs +62 -0
- package/dist/lib/node-esm/chunk-NHYOREKX.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-QVZZHCDS.mjs +9 -0
- package/dist/lib/node-esm/chunk-QVZZHCDS.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-W3OLV7MG.mjs +41 -0
- package/dist/lib/node-esm/chunk-W3OLV7MG.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-W5AQXKVF.mjs +38 -0
- package/dist/lib/node-esm/chunk-W5AQXKVF.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-YNBFXTDG.mjs +24 -0
- package/dist/lib/node-esm/chunk-YNBFXTDG.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-Z53QIBP2.mjs +151 -0
- package/dist/lib/node-esm/chunk-Z53QIBP2.mjs.map +7 -0
- package/dist/lib/node-esm/index.mjs +72 -9
- package/dist/lib/node-esm/internal/index.mjs +347 -0
- package/dist/lib/node-esm/internal/index.mjs.map +7 -0
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/lib/node-esm/testing/index.mjs +322 -32
- package/dist/lib/node-esm/testing/index.mjs.map +4 -4
- package/dist/types/src/Annotation.d.ts +2 -0
- package/dist/types/src/Annotation.d.ts.map +1 -0
- package/dist/types/src/Database.d.ts +179 -0
- package/dist/types/src/Database.d.ts.map +1 -0
- package/dist/types/src/Entity.d.ts +36 -0
- package/dist/types/src/Entity.d.ts.map +1 -0
- package/dist/types/src/Err.d.ts +68 -0
- package/dist/types/src/Err.d.ts.map +1 -0
- package/dist/types/src/Filter.d.ts +120 -0
- package/dist/types/src/Filter.d.ts.map +1 -0
- package/dist/types/src/Format.d.ts +4 -0
- package/dist/types/src/Format.d.ts.map +1 -0
- package/dist/types/src/Hypergraph.d.ts +60 -0
- package/dist/types/src/Hypergraph.d.ts.map +1 -0
- package/dist/types/src/JsonSchema.d.ts +9 -0
- package/dist/types/src/JsonSchema.d.ts.map +1 -0
- package/dist/types/src/Key.d.ts +1 -0
- package/dist/types/src/Key.d.ts.map +1 -1
- package/dist/types/src/Obj.d.ts +152 -35
- package/dist/types/src/Obj.d.ts.map +1 -1
- package/dist/types/src/Order.d.ts +11 -0
- package/dist/types/src/Order.d.ts.map +1 -0
- package/dist/types/src/Query.d.ts +107 -0
- package/dist/types/src/Query.d.ts.map +1 -0
- package/dist/types/src/Query.test.d.ts +2 -0
- package/dist/types/src/Query.test.d.ts.map +1 -0
- package/dist/types/src/QueryResult.d.ts +84 -0
- package/dist/types/src/QueryResult.d.ts.map +1 -0
- package/dist/types/src/Ref.d.ts +12 -10
- package/dist/types/src/Ref.d.ts.map +1 -1
- package/dist/types/src/Relation.d.ts +20 -14
- package/dist/types/src/Relation.d.ts.map +1 -1
- package/dist/types/src/SchemaRegistry.d.ts +73 -0
- package/dist/types/src/SchemaRegistry.d.ts.map +1 -0
- package/dist/types/src/Tag.d.ts +17 -0
- package/dist/types/src/Tag.d.ts.map +1 -0
- package/dist/types/src/Type.d.ts +39 -50
- package/dist/types/src/Type.d.ts.map +1 -1
- package/dist/types/src/index.d.ts +15 -3
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/src/internal/annotations/annotations.d.ts +179 -0
- package/dist/types/src/internal/annotations/annotations.d.ts.map +1 -0
- package/dist/types/src/internal/annotations/annotations.test.d.ts +2 -0
- package/dist/types/src/internal/annotations/annotations.test.d.ts.map +1 -0
- package/dist/types/src/internal/annotations/index.d.ts +3 -0
- package/dist/types/src/internal/annotations/index.d.ts.map +1 -0
- package/dist/types/src/internal/annotations/util.d.ts +27 -0
- package/dist/types/src/internal/annotations/util.d.ts.map +1 -0
- package/dist/types/src/internal/entities/entity.d.ts +10 -0
- package/dist/types/src/internal/entities/entity.d.ts.map +1 -0
- package/dist/types/src/internal/entities/expando.d.ts +16 -0
- package/dist/types/src/internal/entities/expando.d.ts.map +1 -0
- package/dist/types/src/internal/entities/index.d.ts +6 -0
- package/dist/types/src/internal/entities/index.d.ts.map +1 -0
- package/dist/types/src/internal/entities/model.d.ts +70 -0
- package/dist/types/src/internal/entities/model.d.ts.map +1 -0
- package/dist/types/src/internal/entities/object.d.ts +11 -0
- package/dist/types/src/internal/entities/object.d.ts.map +1 -0
- package/dist/types/src/internal/entities/relation.d.ts +55 -0
- package/dist/types/src/internal/entities/relation.d.ts.map +1 -0
- package/dist/types/src/internal/entities/util.d.ts +2 -0
- package/dist/types/src/internal/entities/util.d.ts.map +1 -0
- package/dist/types/src/internal/formats/date.d.ts +63 -0
- package/dist/types/src/internal/formats/date.d.ts.map +1 -0
- package/dist/types/src/internal/formats/date.test.d.ts +2 -0
- package/dist/types/src/internal/formats/date.test.d.ts.map +1 -0
- package/dist/types/src/internal/formats/format.d.ts +32 -0
- package/dist/types/src/internal/formats/format.d.ts.map +1 -0
- package/dist/types/src/internal/formats/format.test.d.ts +2 -0
- package/dist/types/src/internal/formats/format.test.d.ts.map +1 -0
- package/dist/types/src/internal/formats/index.d.ts +8 -0
- package/dist/types/src/internal/formats/index.d.ts.map +1 -0
- package/dist/types/src/internal/formats/number.d.ts +31 -0
- package/dist/types/src/internal/formats/number.d.ts.map +1 -0
- package/dist/types/src/internal/formats/object.d.ts +35 -0
- package/dist/types/src/internal/formats/object.d.ts.map +1 -0
- package/dist/types/src/internal/formats/select.d.ts +13 -0
- package/dist/types/src/internal/formats/select.d.ts.map +1 -0
- package/dist/types/src/internal/formats/string.d.ts +42 -0
- package/dist/types/src/internal/formats/string.d.ts.map +1 -0
- package/dist/types/src/internal/formats/types.d.ts +72 -0
- package/dist/types/src/internal/formats/types.d.ts.map +1 -0
- package/dist/types/src/internal/index.d.ts +11 -0
- package/dist/types/src/internal/index.d.ts.map +1 -0
- package/dist/types/src/internal/json-schema/annotations.d.ts +19 -0
- package/dist/types/src/internal/json-schema/annotations.d.ts.map +1 -0
- package/dist/types/src/internal/json-schema/effect-schema.test.d.ts +2 -0
- package/dist/types/src/internal/json-schema/effect-schema.test.d.ts.map +1 -0
- package/dist/types/src/internal/json-schema/index.d.ts +5 -0
- package/dist/types/src/internal/json-schema/index.d.ts.map +1 -0
- package/dist/types/src/internal/json-schema/json-schema-normalize.d.ts +7 -0
- package/dist/types/src/internal/json-schema/json-schema-normalize.d.ts.map +1 -0
- package/dist/types/src/internal/json-schema/json-schema-type.d.ts +250 -0
- package/dist/types/src/internal/json-schema/json-schema-type.d.ts.map +1 -0
- package/dist/types/src/internal/json-schema/json-schema.d.ts +29 -0
- package/dist/types/src/internal/json-schema/json-schema.d.ts.map +1 -0
- package/dist/types/src/internal/json-schema/json-schema.test.d.ts +2 -0
- package/dist/types/src/internal/json-schema/json-schema.test.d.ts.map +1 -0
- package/dist/types/src/internal/object/common.d.ts +18 -0
- package/dist/types/src/internal/object/common.d.ts.map +1 -0
- package/dist/types/src/internal/object/create-object.d.ts +39 -0
- package/dist/types/src/internal/object/create-object.d.ts.map +1 -0
- package/dist/types/src/internal/object/create-object.test.d.ts +2 -0
- package/dist/types/src/internal/object/create-object.test.d.ts.map +1 -0
- package/dist/types/src/internal/object/deleted.d.ts +6 -0
- package/dist/types/src/internal/object/deleted.d.ts.map +1 -0
- package/dist/types/src/internal/object/ids.d.ts +6 -0
- package/dist/types/src/internal/object/ids.d.ts.map +1 -0
- package/dist/types/src/internal/object/index.d.ts +8 -0
- package/dist/types/src/internal/object/index.d.ts.map +1 -0
- package/dist/types/src/internal/object/inspect.d.ts +2 -0
- package/dist/types/src/internal/object/inspect.d.ts.map +1 -0
- package/dist/types/src/internal/object/json-serializer.d.ts +31 -0
- package/dist/types/src/internal/object/json-serializer.d.ts.map +1 -0
- package/dist/types/src/internal/object/json-serializer.test.d.ts +2 -0
- package/dist/types/src/internal/object/json-serializer.test.d.ts.map +1 -0
- package/dist/types/src/internal/object/schema-validator.d.ts +15 -0
- package/dist/types/src/internal/object/schema-validator.d.ts.map +1 -0
- package/dist/types/src/internal/object/schema-validator.test.d.ts +2 -0
- package/dist/types/src/internal/object/schema-validator.test.d.ts.map +1 -0
- package/dist/types/src/internal/object/typed-object.d.ts +31 -0
- package/dist/types/src/internal/object/typed-object.d.ts.map +1 -0
- package/dist/types/src/internal/object/typed-object.test.d.ts +2 -0
- package/dist/types/src/internal/object/typed-object.test.d.ts.map +1 -0
- package/dist/types/src/internal/proxy/handler.test.d.ts +2 -0
- package/dist/types/src/internal/proxy/handler.test.d.ts.map +1 -0
- package/dist/types/src/internal/proxy/index.d.ts +3 -0
- package/dist/types/src/internal/proxy/index.d.ts.map +1 -0
- package/dist/types/src/internal/proxy/make-object.d.ts +16 -0
- package/dist/types/src/internal/proxy/make-object.d.ts.map +1 -0
- package/dist/types/src/internal/proxy/schema.test.d.ts +2 -0
- package/dist/types/src/internal/proxy/schema.test.d.ts.map +1 -0
- package/dist/types/src/internal/proxy/typed-handler.d.ts +44 -0
- package/dist/types/src/internal/proxy/typed-handler.d.ts.map +1 -0
- package/dist/types/src/internal/proxy/typed-handler.test.d.ts +2 -0
- package/dist/types/src/internal/proxy/typed-handler.test.d.ts.map +1 -0
- package/dist/types/src/internal/proxy/typed-object.test.d.ts +2 -0
- package/dist/types/src/internal/proxy/typed-object.test.d.ts.map +1 -0
- package/dist/types/src/internal/ref/index.d.ts +3 -0
- package/dist/types/src/internal/ref/index.d.ts.map +1 -0
- package/dist/types/src/internal/ref/ref-array.d.ts +21 -0
- package/dist/types/src/internal/ref/ref-array.d.ts.map +1 -0
- package/dist/types/src/internal/ref/ref.d.ts +209 -0
- package/dist/types/src/internal/ref/ref.d.ts.map +1 -0
- package/dist/types/src/internal/ref/ref.test.d.ts +2 -0
- package/dist/types/src/internal/ref/ref.test.d.ts.map +1 -0
- package/dist/types/src/internal/schema/compose.d.ts +6 -0
- package/dist/types/src/internal/schema/compose.d.ts.map +1 -0
- package/dist/types/src/internal/schema/compose.test.d.ts +2 -0
- package/dist/types/src/internal/schema/compose.test.d.ts.map +1 -0
- package/dist/types/src/internal/schema/echo-schema.d.ts +168 -0
- package/dist/types/src/internal/schema/echo-schema.d.ts.map +1 -0
- package/dist/types/src/internal/schema/index.d.ts +5 -0
- package/dist/types/src/internal/schema/index.d.ts.map +1 -0
- package/dist/types/src/internal/schema/manipulation.d.ts +10 -0
- package/dist/types/src/internal/schema/manipulation.d.ts.map +1 -0
- package/dist/types/src/internal/schema/persistent-schema.d.ts +18 -0
- package/dist/types/src/internal/schema/persistent-schema.d.ts.map +1 -0
- package/dist/types/src/internal/schema/snapshot.d.ts +6 -0
- package/dist/types/src/internal/schema/snapshot.d.ts.map +1 -0
- package/dist/types/src/internal/types/base.d.ts +37 -0
- package/dist/types/src/internal/types/base.d.ts.map +1 -0
- package/dist/types/src/internal/types/entity.d.ts +12 -0
- package/dist/types/src/internal/types/entity.d.ts.map +1 -0
- package/dist/types/src/internal/types/index.d.ts +6 -0
- package/dist/types/src/internal/types/index.d.ts.map +1 -0
- package/dist/types/src/internal/types/meta.d.ts +40 -0
- package/dist/types/src/internal/types/meta.d.ts.map +1 -0
- package/dist/types/src/internal/types/typename.d.ts +13 -0
- package/dist/types/src/internal/types/typename.d.ts.map +1 -0
- package/dist/types/src/internal/types/version.d.ts +15 -0
- package/dist/types/src/internal/types/version.d.ts.map +1 -0
- package/dist/types/src/{test → testing}/api.test.d.ts.map +1 -1
- package/dist/types/src/testing/index.d.ts +3 -1
- package/dist/types/src/testing/index.d.ts.map +1 -1
- package/dist/types/src/testing/test-data.d.ts +18 -0
- package/dist/types/src/testing/test-data.d.ts.map +1 -0
- package/dist/types/src/testing/test-schema.d.ts +407 -0
- package/dist/types/src/testing/test-schema.d.ts.map +1 -0
- package/dist/types/src/testing/util.d.ts +16 -0
- package/dist/types/src/testing/util.d.ts.map +1 -0
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +164 -33
- package/src/Annotation.ts +17 -0
- package/src/Database.ts +308 -0
- package/src/Entity.ts +51 -0
- package/src/Err.ts +18 -0
- package/src/Filter.ts +376 -0
- package/src/Format.ts +9 -0
- package/src/Hypergraph.ts +74 -0
- package/src/JsonSchema.ts +16 -0
- package/src/Key.ts +3 -0
- package/src/Obj.ts +407 -71
- package/src/Order.ts +34 -0
- package/src/Query.test.ts +346 -0
- package/src/Query.ts +279 -0
- package/src/QueryResult.ts +109 -0
- package/src/Ref.ts +25 -9
- package/src/Relation.ts +72 -46
- package/src/SchemaRegistry.ts +92 -0
- package/src/Tag.ts +40 -0
- package/src/Type.ts +98 -84
- package/src/index.ts +17 -4
- package/src/internal/README.md +87 -0
- package/src/internal/annotations/annotations.test.ts +96 -0
- package/src/internal/annotations/annotations.ts +488 -0
- package/src/internal/annotations/index.ts +6 -0
- package/src/internal/annotations/util.ts +72 -0
- package/src/internal/entities/entity.ts +109 -0
- package/src/internal/entities/expando.ts +23 -0
- package/src/internal/entities/index.ts +9 -0
- package/src/internal/entities/model.ts +129 -0
- package/src/internal/entities/object.ts +45 -0
- package/src/internal/entities/relation.ts +155 -0
- package/src/internal/entities/util.ts +33 -0
- package/src/internal/formats/date.test.ts +56 -0
- package/src/internal/formats/date.ts +217 -0
- package/src/internal/formats/format.test.ts +77 -0
- package/src/internal/formats/format.ts +54 -0
- package/src/internal/formats/index.ts +12 -0
- package/src/internal/formats/number.ts +89 -0
- package/src/internal/formats/object.ts +80 -0
- package/src/internal/formats/select.ts +18 -0
- package/src/internal/formats/string.ts +81 -0
- package/src/internal/formats/types.ts +186 -0
- package/src/internal/index.ts +38 -0
- package/src/internal/json-schema/annotations.ts +50 -0
- package/src/internal/json-schema/effect-schema.test.ts +143 -0
- package/src/internal/json-schema/index.ts +8 -0
- package/src/internal/json-schema/json-schema-normalize.ts +109 -0
- package/src/internal/json-schema/json-schema-type.ts +404 -0
- package/src/internal/json-schema/json-schema.test.ts +861 -0
- package/src/internal/json-schema/json-schema.ts +528 -0
- package/src/internal/object/common.ts +75 -0
- package/src/internal/object/create-object.test.ts +116 -0
- package/src/internal/object/create-object.ts +95 -0
- package/src/internal/object/deleted.ts +19 -0
- package/src/internal/object/ids.ts +12 -0
- package/src/internal/object/index.ts +11 -0
- package/src/internal/object/inspect.ts +46 -0
- package/src/internal/object/json-serializer.test.ts +94 -0
- package/src/internal/object/json-serializer.ts +230 -0
- package/src/internal/object/schema-validator.test.ts +186 -0
- package/src/internal/object/schema-validator.ts +244 -0
- package/src/internal/object/typed-object.test.ts +34 -0
- package/src/internal/object/typed-object.ts +94 -0
- package/src/internal/proxy/handler.test.ts +173 -0
- package/src/internal/proxy/index.ts +6 -0
- package/src/internal/proxy/make-object.ts +113 -0
- package/src/internal/proxy/schema.test.ts +137 -0
- package/src/internal/proxy/typed-handler.test.ts +102 -0
- package/src/internal/proxy/typed-handler.ts +233 -0
- package/src/internal/proxy/typed-object.test.ts +105 -0
- package/src/internal/ref/index.ts +6 -0
- package/src/internal/ref/ref-array.ts +39 -0
- package/src/internal/ref/ref.test.ts +101 -0
- package/src/internal/ref/ref.ts +525 -0
- package/src/internal/schema/compose.test.ts +42 -0
- package/src/internal/schema/compose.ts +37 -0
- package/src/internal/schema/echo-schema.ts +385 -0
- package/src/internal/schema/index.ts +8 -0
- package/src/internal/schema/manipulation.ts +92 -0
- package/src/internal/schema/persistent-schema.ts +28 -0
- package/src/internal/schema/snapshot.ts +25 -0
- package/src/internal/types/base.ts +57 -0
- package/src/internal/types/entity.ts +23 -0
- package/src/internal/types/index.ts +9 -0
- package/src/internal/types/meta.ts +76 -0
- package/src/internal/types/typename.ts +45 -0
- package/src/internal/types/version.ts +20 -0
- package/src/testing/api.test.ts +100 -0
- package/src/testing/index.ts +3 -1
- package/src/testing/test-data.ts +130 -0
- package/src/testing/test-schema.ts +224 -0
- package/src/testing/util.ts +78 -0
- package/dist/lib/browser/chunk-EUA7CM23.mjs +0 -619
- package/dist/lib/browser/chunk-EUA7CM23.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-IV6BWGHK.mjs +0 -619
- package/dist/lib/node-esm/chunk-IV6BWGHK.mjs.map +0 -7
- package/dist/types/src/experimental/database.d.ts +0 -8
- package/dist/types/src/experimental/database.d.ts.map +0 -1
- package/dist/types/src/experimental/index.d.ts +0 -1
- package/dist/types/src/experimental/index.d.ts.map +0 -1
- package/dist/types/src/experimental/queue.d.ts +0 -8
- package/dist/types/src/experimental/queue.d.ts.map +0 -1
- package/dist/types/src/experimental/space.d.ts +0 -8
- package/dist/types/src/experimental/space.d.ts.map +0 -1
- package/dist/types/src/query/dsl.d.ts +0 -218
- package/dist/types/src/query/dsl.d.ts.map +0 -1
- package/dist/types/src/query/dsl.test.d.ts +0 -2
- package/dist/types/src/query/dsl.test.d.ts.map +0 -1
- package/dist/types/src/query/index.d.ts +0 -2
- package/dist/types/src/query/index.d.ts.map +0 -1
- package/dist/types/src/testing/types.d.ts +0 -113
- package/dist/types/src/testing/types.d.ts.map +0 -1
- package/src/experimental/database.ts +0 -11
- package/src/experimental/index.ts +0 -7
- package/src/experimental/queue.ts +0 -11
- package/src/experimental/space.ts +0 -11
- package/src/query/dsl.test.ts +0 -323
- package/src/query/dsl.ts +0 -646
- package/src/query/index.ts +0 -5
- package/src/test/api.test.ts +0 -173
- package/src/testing/types.ts +0 -91
- /package/dist/types/src/{test → testing}/api.test.d.ts +0 -0
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { createRequire } from 'node:module';const require = createRequire(import.meta.url);
|
|
2
|
+
import {
|
|
3
|
+
DescriptionAnnotation,
|
|
4
|
+
FormInputAnnotation,
|
|
5
|
+
GeneratorAnnotation,
|
|
6
|
+
LabelAnnotation,
|
|
7
|
+
SystemTypeAnnotation,
|
|
8
|
+
TypeAnnotation,
|
|
9
|
+
getDescription,
|
|
10
|
+
getLabel,
|
|
11
|
+
getTypeAnnotation,
|
|
12
|
+
setDescription,
|
|
13
|
+
setLabel
|
|
14
|
+
} from "./chunk-6OTQZKHX.mjs";
|
|
15
|
+
import {
|
|
16
|
+
__export
|
|
17
|
+
} from "./chunk-HSLMI22Q.mjs";
|
|
18
|
+
|
|
19
|
+
// src/Annotation.ts
|
|
20
|
+
var Annotation_exports = {};
|
|
21
|
+
__export(Annotation_exports, {
|
|
22
|
+
DescriptionAnnotation: () => DescriptionAnnotation,
|
|
23
|
+
FormInputAnnotation: () => FormInputAnnotation,
|
|
24
|
+
GeneratorAnnotation: () => GeneratorAnnotation,
|
|
25
|
+
LabelAnnotation: () => LabelAnnotation,
|
|
26
|
+
SystemTypeAnnotation: () => SystemTypeAnnotation,
|
|
27
|
+
TypeAnnotation: () => TypeAnnotation,
|
|
28
|
+
getDescription: () => getDescription,
|
|
29
|
+
getLabel: () => getLabel,
|
|
30
|
+
getTypeAnnotation: () => getTypeAnnotation,
|
|
31
|
+
setDescription: () => setDescription,
|
|
32
|
+
setLabel: () => setLabel
|
|
33
|
+
});
|
|
34
|
+
|
|
35
|
+
export {
|
|
36
|
+
Annotation_exports
|
|
37
|
+
};
|
|
38
|
+
//# sourceMappingURL=chunk-W5AQXKVF.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/Annotation.ts"],
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nexport {\n DescriptionAnnotation,\n FormInputAnnotation,\n GeneratorAnnotation,\n LabelAnnotation,\n SystemTypeAnnotation,\n TypeAnnotation,\n getDescription,\n getLabel,\n getTypeAnnotation,\n setDescription,\n setLabel,\n} from './internal/annotations';\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { createRequire } from 'node:module';const require = createRequire(import.meta.url);
|
|
2
|
+
import {
|
|
3
|
+
JsonSchemaType,
|
|
4
|
+
toEffectSchema,
|
|
5
|
+
toJsonSchema
|
|
6
|
+
} from "./chunk-DJX53IQ3.mjs";
|
|
7
|
+
import {
|
|
8
|
+
__export
|
|
9
|
+
} from "./chunk-HSLMI22Q.mjs";
|
|
10
|
+
|
|
11
|
+
// src/JsonSchema.ts
|
|
12
|
+
var JsonSchema_exports = {};
|
|
13
|
+
__export(JsonSchema_exports, {
|
|
14
|
+
JsonSchema: () => JsonSchema,
|
|
15
|
+
toEffectSchema: () => toEffectSchema,
|
|
16
|
+
toJsonSchema: () => toJsonSchema
|
|
17
|
+
});
|
|
18
|
+
var JsonSchema = JsonSchemaType;
|
|
19
|
+
|
|
20
|
+
export {
|
|
21
|
+
JsonSchema,
|
|
22
|
+
JsonSchema_exports
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=chunk-YNBFXTDG.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/JsonSchema.ts"],
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport type * as Schema from 'effect/Schema';\n\nimport { JsonSchemaType } from './internal';\n\nexport { toEffectSchema, toJsonSchema } from './internal';\n\n/**\n * Serializable JsonSchema type definition.\n */\nexport type JsonSchema = JsonSchemaType;\n\nexport const JsonSchema: Schema.Schema<JsonSchemaType> = JsonSchemaType;\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;AAAA;;;;;;AAeO,IAAMA,aAA4CC;",
|
|
6
|
+
"names": ["JsonSchema", "JsonSchemaType"]
|
|
7
|
+
}
|
|
@@ -0,0 +1,151 @@
|
|
|
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
|
|
@@ -0,0 +1,7 @@
|
|
|
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,22 +1,85 @@
|
|
|
1
1
|
import { createRequire } from 'node:module';const require = createRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
DXN,
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
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 {
|
|
10
41
|
Type_exports
|
|
11
|
-
} from "./chunk-
|
|
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";
|
|
12
63
|
export {
|
|
64
|
+
Annotation_exports as Annotation,
|
|
13
65
|
DXN,
|
|
14
|
-
|
|
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,
|
|
15
73
|
Key_exports as Key,
|
|
16
74
|
Obj_exports as Obj,
|
|
17
|
-
|
|
75
|
+
Order_exports as Order,
|
|
76
|
+
Query_exports as Query,
|
|
77
|
+
QueryAST,
|
|
78
|
+
QueryResult_exports as QueryResult,
|
|
18
79
|
Ref_exports as Ref,
|
|
19
80
|
Relation_exports as Relation,
|
|
81
|
+
SchemaRegistry_exports as SchemaRegistry,
|
|
82
|
+
Tag_exports as Tag,
|
|
20
83
|
Type_exports as Type
|
|
21
84
|
};
|
|
22
85
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1,347 @@
|
|
|
1
|
+
import { createRequire } from 'node:module';const require = createRequire(import.meta.url);
|
|
2
|
+
import {
|
|
3
|
+
ATTR_DELETED,
|
|
4
|
+
ATTR_META,
|
|
5
|
+
ATTR_RELATION_SOURCE,
|
|
6
|
+
ATTR_RELATION_TARGET,
|
|
7
|
+
ATTR_SELF_DXN,
|
|
8
|
+
CustomAnnotations,
|
|
9
|
+
DecodedAnnotations,
|
|
10
|
+
ECHO_ANNOTATIONS_NS_DEPRECATED_KEY,
|
|
11
|
+
ECHO_ANNOTATIONS_NS_KEY,
|
|
12
|
+
EXPANDO_TYPENAME,
|
|
13
|
+
EchoAnnotations,
|
|
14
|
+
EchoObjectSchema,
|
|
15
|
+
EchoRelationSchema,
|
|
16
|
+
EchoSchema,
|
|
17
|
+
Expando,
|
|
18
|
+
ImmutableSchema,
|
|
19
|
+
JSON_SCHEMA_ECHO_REF_ID,
|
|
20
|
+
JsonPath,
|
|
21
|
+
JsonProp,
|
|
22
|
+
JsonSchemaEchoAnnotations,
|
|
23
|
+
JsonSchemaFields,
|
|
24
|
+
JsonSchemaType,
|
|
25
|
+
MetaId,
|
|
26
|
+
ObjectDeletedId,
|
|
27
|
+
ObjectMetaSchema,
|
|
28
|
+
ObjectVersionId,
|
|
29
|
+
PersistentSchema,
|
|
30
|
+
PropType,
|
|
31
|
+
RawObject,
|
|
32
|
+
Ref,
|
|
33
|
+
RefArray,
|
|
34
|
+
RefImpl,
|
|
35
|
+
RefTypeId,
|
|
36
|
+
RelationSourceDXNId,
|
|
37
|
+
RelationSourceId,
|
|
38
|
+
RelationTargetDXNId,
|
|
39
|
+
RelationTargetId,
|
|
40
|
+
SchemaValidator,
|
|
41
|
+
SelfDXNId,
|
|
42
|
+
StaticRefResolver,
|
|
43
|
+
TypedObject,
|
|
44
|
+
TypedReactiveHandler,
|
|
45
|
+
VersionTypeId,
|
|
46
|
+
addFieldsToSchema,
|
|
47
|
+
assertObjectModel,
|
|
48
|
+
attachTypedJsonSerializer,
|
|
49
|
+
checkIdNotPresentOnSchema,
|
|
50
|
+
compareForeignKeys,
|
|
51
|
+
createEchoReferenceSchema,
|
|
52
|
+
createObject,
|
|
53
|
+
createQueueDXN,
|
|
54
|
+
createSchemaReference,
|
|
55
|
+
foreignKey,
|
|
56
|
+
foreignKeyEquals,
|
|
57
|
+
getMeta,
|
|
58
|
+
getNormalizedEchoAnnotations,
|
|
59
|
+
getObjectDXN,
|
|
60
|
+
getRefSavedTarget,
|
|
61
|
+
getReferenceAst,
|
|
62
|
+
getSchemaProperty,
|
|
63
|
+
getSchemaReference,
|
|
64
|
+
getSnapshot,
|
|
65
|
+
getValue,
|
|
66
|
+
isDeleted,
|
|
67
|
+
isMutable,
|
|
68
|
+
makeObject,
|
|
69
|
+
makeTypedEntityClass,
|
|
70
|
+
normalizeSchema,
|
|
71
|
+
objectFromJSON,
|
|
72
|
+
objectToJSON,
|
|
73
|
+
prepareTypedTarget,
|
|
74
|
+
refFromEncodedReference,
|
|
75
|
+
removeFieldsFromSchema,
|
|
76
|
+
setRefResolver,
|
|
77
|
+
setRefResolverOnData,
|
|
78
|
+
setSchemaProperty,
|
|
79
|
+
setTypenameInSchema,
|
|
80
|
+
setValue,
|
|
81
|
+
splitJsonPath,
|
|
82
|
+
splitMeta,
|
|
83
|
+
toEffectSchema,
|
|
84
|
+
toJsonSchema,
|
|
85
|
+
toPropType,
|
|
86
|
+
updateFieldNameInSchema,
|
|
87
|
+
updateFieldsInSchema
|
|
88
|
+
} from "../chunk-DJX53IQ3.mjs";
|
|
89
|
+
import {
|
|
90
|
+
Currency,
|
|
91
|
+
CurrencyAnnotationId,
|
|
92
|
+
DecimalPrecision,
|
|
93
|
+
Email,
|
|
94
|
+
Format,
|
|
95
|
+
FormatAnnotation,
|
|
96
|
+
FormatAnnotationId,
|
|
97
|
+
FormatEnums,
|
|
98
|
+
Formula,
|
|
99
|
+
GeoLocation,
|
|
100
|
+
GeoPoint,
|
|
101
|
+
Hostname,
|
|
102
|
+
JSON,
|
|
103
|
+
Markdown,
|
|
104
|
+
OptionsAnnotation,
|
|
105
|
+
OptionsAnnotationId,
|
|
106
|
+
PropertyKind,
|
|
107
|
+
Regex,
|
|
108
|
+
SelectOption,
|
|
109
|
+
Text,
|
|
110
|
+
TypeEnum,
|
|
111
|
+
TypeFormat,
|
|
112
|
+
URL,
|
|
113
|
+
UUID,
|
|
114
|
+
formatToType,
|
|
115
|
+
getFormatAnnotation,
|
|
116
|
+
getOptionsAnnotation,
|
|
117
|
+
getTypeEnum,
|
|
118
|
+
typeToFormat
|
|
119
|
+
} from "../chunk-HLUDHPFO.mjs";
|
|
120
|
+
import {
|
|
121
|
+
ATTR_TYPE,
|
|
122
|
+
DescriptionAnnotation,
|
|
123
|
+
DescriptionAnnotationId,
|
|
124
|
+
FIELD_PATH_ANNOTATION,
|
|
125
|
+
FieldLookupAnnotationId,
|
|
126
|
+
FieldPath,
|
|
127
|
+
FormInputAnnotation,
|
|
128
|
+
FormInputAnnotationId,
|
|
129
|
+
GeneratorAnnotation,
|
|
130
|
+
GeneratorAnnotationId,
|
|
131
|
+
LabelAnnotation,
|
|
132
|
+
LabelAnnotationId,
|
|
133
|
+
PropertyMeta,
|
|
134
|
+
PropertyMetaAnnotationId,
|
|
135
|
+
ReferenceAnnotationId,
|
|
136
|
+
SchemaId,
|
|
137
|
+
SchemaMetaSymbol,
|
|
138
|
+
SystemTypeAnnotation,
|
|
139
|
+
SystemTypeAnnotationId,
|
|
140
|
+
TypeAnnotation,
|
|
141
|
+
TypeAnnotationId,
|
|
142
|
+
TypeId,
|
|
143
|
+
TypeIdentifierAnnotationId,
|
|
144
|
+
TypeMeta,
|
|
145
|
+
TypenameSchema,
|
|
146
|
+
VersionSchema,
|
|
147
|
+
getDescription,
|
|
148
|
+
getEntityKind,
|
|
149
|
+
getLabel,
|
|
150
|
+
getPropertyMetaAnnotation,
|
|
151
|
+
getReferenceAnnotation,
|
|
152
|
+
getSchema,
|
|
153
|
+
getSchemaDXN,
|
|
154
|
+
getSchemaTypename,
|
|
155
|
+
getSchemaVersion,
|
|
156
|
+
getTypeAnnotation,
|
|
157
|
+
getTypeDXN,
|
|
158
|
+
getTypeDXNFromSpecifier,
|
|
159
|
+
getTypeIdentifierAnnotation,
|
|
160
|
+
getTypeReference,
|
|
161
|
+
getTypename,
|
|
162
|
+
isInstanceOf,
|
|
163
|
+
requireTypeReference,
|
|
164
|
+
setDescription,
|
|
165
|
+
setLabel,
|
|
166
|
+
setSchema,
|
|
167
|
+
setTypename
|
|
168
|
+
} from "../chunk-6OTQZKHX.mjs";
|
|
169
|
+
import {
|
|
170
|
+
EntityKind,
|
|
171
|
+
EntityKindSchema,
|
|
172
|
+
KindId,
|
|
173
|
+
createAnnotationHelper,
|
|
174
|
+
makeTypeJsonSchemaAnnotation,
|
|
175
|
+
unwrapOptional
|
|
176
|
+
} from "../chunk-NHYOREKX.mjs";
|
|
177
|
+
import "../chunk-HSLMI22Q.mjs";
|
|
178
|
+
export {
|
|
179
|
+
ATTR_DELETED,
|
|
180
|
+
ATTR_META,
|
|
181
|
+
ATTR_RELATION_SOURCE,
|
|
182
|
+
ATTR_RELATION_TARGET,
|
|
183
|
+
ATTR_SELF_DXN,
|
|
184
|
+
ATTR_TYPE,
|
|
185
|
+
Currency,
|
|
186
|
+
CurrencyAnnotationId,
|
|
187
|
+
CustomAnnotations,
|
|
188
|
+
DecimalPrecision,
|
|
189
|
+
DecodedAnnotations,
|
|
190
|
+
DescriptionAnnotation,
|
|
191
|
+
DescriptionAnnotationId,
|
|
192
|
+
ECHO_ANNOTATIONS_NS_DEPRECATED_KEY,
|
|
193
|
+
ECHO_ANNOTATIONS_NS_KEY,
|
|
194
|
+
EXPANDO_TYPENAME,
|
|
195
|
+
EchoAnnotations,
|
|
196
|
+
EchoObjectSchema,
|
|
197
|
+
EchoRelationSchema,
|
|
198
|
+
EchoSchema,
|
|
199
|
+
Email,
|
|
200
|
+
EntityKind,
|
|
201
|
+
EntityKindSchema,
|
|
202
|
+
Expando,
|
|
203
|
+
FIELD_PATH_ANNOTATION,
|
|
204
|
+
FieldLookupAnnotationId,
|
|
205
|
+
FieldPath,
|
|
206
|
+
FormInputAnnotation,
|
|
207
|
+
FormInputAnnotationId,
|
|
208
|
+
Format,
|
|
209
|
+
FormatAnnotation,
|
|
210
|
+
FormatAnnotationId,
|
|
211
|
+
FormatEnums,
|
|
212
|
+
Formula,
|
|
213
|
+
GeneratorAnnotation,
|
|
214
|
+
GeneratorAnnotationId,
|
|
215
|
+
GeoLocation,
|
|
216
|
+
GeoPoint,
|
|
217
|
+
Hostname,
|
|
218
|
+
ImmutableSchema,
|
|
219
|
+
JSON,
|
|
220
|
+
JSON_SCHEMA_ECHO_REF_ID,
|
|
221
|
+
JsonPath,
|
|
222
|
+
JsonProp,
|
|
223
|
+
JsonSchemaEchoAnnotations,
|
|
224
|
+
JsonSchemaFields,
|
|
225
|
+
JsonSchemaType,
|
|
226
|
+
KindId,
|
|
227
|
+
LabelAnnotation,
|
|
228
|
+
LabelAnnotationId,
|
|
229
|
+
Markdown,
|
|
230
|
+
MetaId,
|
|
231
|
+
ObjectDeletedId,
|
|
232
|
+
ObjectMetaSchema,
|
|
233
|
+
ObjectVersionId,
|
|
234
|
+
OptionsAnnotation,
|
|
235
|
+
OptionsAnnotationId,
|
|
236
|
+
PersistentSchema,
|
|
237
|
+
PropType,
|
|
238
|
+
PropertyKind,
|
|
239
|
+
PropertyMeta,
|
|
240
|
+
PropertyMetaAnnotationId,
|
|
241
|
+
RawObject,
|
|
242
|
+
Ref,
|
|
243
|
+
RefArray,
|
|
244
|
+
RefImpl,
|
|
245
|
+
RefTypeId,
|
|
246
|
+
ReferenceAnnotationId,
|
|
247
|
+
Regex,
|
|
248
|
+
RelationSourceDXNId,
|
|
249
|
+
RelationSourceId,
|
|
250
|
+
RelationTargetDXNId,
|
|
251
|
+
RelationTargetId,
|
|
252
|
+
SchemaId,
|
|
253
|
+
SchemaMetaSymbol,
|
|
254
|
+
SchemaValidator,
|
|
255
|
+
SelectOption,
|
|
256
|
+
SelfDXNId,
|
|
257
|
+
StaticRefResolver,
|
|
258
|
+
SystemTypeAnnotation,
|
|
259
|
+
SystemTypeAnnotationId,
|
|
260
|
+
Text,
|
|
261
|
+
TypeAnnotation,
|
|
262
|
+
TypeAnnotationId,
|
|
263
|
+
TypeEnum,
|
|
264
|
+
TypeFormat,
|
|
265
|
+
TypeId,
|
|
266
|
+
TypeIdentifierAnnotationId,
|
|
267
|
+
TypeMeta,
|
|
268
|
+
TypedObject,
|
|
269
|
+
TypedReactiveHandler,
|
|
270
|
+
TypenameSchema,
|
|
271
|
+
URL,
|
|
272
|
+
UUID,
|
|
273
|
+
VersionSchema,
|
|
274
|
+
VersionTypeId,
|
|
275
|
+
addFieldsToSchema,
|
|
276
|
+
assertObjectModel,
|
|
277
|
+
attachTypedJsonSerializer,
|
|
278
|
+
checkIdNotPresentOnSchema,
|
|
279
|
+
compareForeignKeys,
|
|
280
|
+
createAnnotationHelper,
|
|
281
|
+
createEchoReferenceSchema,
|
|
282
|
+
createObject,
|
|
283
|
+
createQueueDXN,
|
|
284
|
+
createSchemaReference,
|
|
285
|
+
foreignKey,
|
|
286
|
+
foreignKeyEquals,
|
|
287
|
+
formatToType,
|
|
288
|
+
getDescription,
|
|
289
|
+
getEntityKind,
|
|
290
|
+
getFormatAnnotation,
|
|
291
|
+
getLabel,
|
|
292
|
+
getMeta,
|
|
293
|
+
getNormalizedEchoAnnotations,
|
|
294
|
+
getObjectDXN,
|
|
295
|
+
getOptionsAnnotation,
|
|
296
|
+
getPropertyMetaAnnotation,
|
|
297
|
+
getRefSavedTarget,
|
|
298
|
+
getReferenceAnnotation,
|
|
299
|
+
getReferenceAst,
|
|
300
|
+
getSchema,
|
|
301
|
+
getSchemaDXN,
|
|
302
|
+
getSchemaProperty,
|
|
303
|
+
getSchemaReference,
|
|
304
|
+
getSchemaTypename,
|
|
305
|
+
getSchemaVersion,
|
|
306
|
+
getSnapshot,
|
|
307
|
+
getTypeAnnotation,
|
|
308
|
+
getTypeDXN,
|
|
309
|
+
getTypeDXNFromSpecifier,
|
|
310
|
+
getTypeEnum,
|
|
311
|
+
getTypeIdentifierAnnotation,
|
|
312
|
+
getTypeReference,
|
|
313
|
+
getTypename,
|
|
314
|
+
getValue,
|
|
315
|
+
isDeleted,
|
|
316
|
+
isInstanceOf,
|
|
317
|
+
isMutable,
|
|
318
|
+
makeObject,
|
|
319
|
+
makeTypeJsonSchemaAnnotation,
|
|
320
|
+
makeTypedEntityClass,
|
|
321
|
+
normalizeSchema,
|
|
322
|
+
objectFromJSON,
|
|
323
|
+
objectToJSON,
|
|
324
|
+
prepareTypedTarget,
|
|
325
|
+
refFromEncodedReference,
|
|
326
|
+
removeFieldsFromSchema,
|
|
327
|
+
requireTypeReference,
|
|
328
|
+
setDescription,
|
|
329
|
+
setLabel,
|
|
330
|
+
setRefResolver,
|
|
331
|
+
setRefResolverOnData,
|
|
332
|
+
setSchema,
|
|
333
|
+
setSchemaProperty,
|
|
334
|
+
setTypename,
|
|
335
|
+
setTypenameInSchema,
|
|
336
|
+
setValue,
|
|
337
|
+
splitJsonPath,
|
|
338
|
+
splitMeta,
|
|
339
|
+
toEffectSchema,
|
|
340
|
+
toJsonSchema,
|
|
341
|
+
toPropType,
|
|
342
|
+
typeToFormat,
|
|
343
|
+
unwrapOptional,
|
|
344
|
+
updateFieldNameInSchema,
|
|
345
|
+
updateFieldsInSchema
|
|
346
|
+
};
|
|
347
|
+
//# sourceMappingURL=index.mjs.map
|