@dxos/echo 0.8.4-main.ae835ea → 0.8.4-main.bc674ce
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 +32 -0
- package/dist/lib/neutral/Database.mjs +17 -0
- package/dist/lib/neutral/Entity.mjs +51 -0
- package/dist/lib/neutral/Err.mjs +10 -0
- package/dist/lib/neutral/Filter.mjs +61 -0
- package/dist/lib/neutral/Format.mjs +66 -0
- package/dist/lib/neutral/JsonSchema.mjs +19 -0
- package/dist/lib/neutral/JsonSchema.mjs.map +7 -0
- package/dist/lib/neutral/Key.mjs +12 -0
- package/dist/lib/neutral/Key.mjs.map +7 -0
- package/dist/lib/neutral/Obj.mjs +90 -0
- package/dist/lib/neutral/Obj.mjs.map +7 -0
- package/dist/lib/neutral/Order.mjs +12 -0
- package/dist/lib/neutral/Order.mjs.map +7 -0
- package/dist/lib/neutral/Query.mjs +26 -0
- package/dist/lib/neutral/Query.mjs.map +7 -0
- package/dist/lib/neutral/QueryResult.mjs +2 -0
- package/dist/lib/neutral/QueryResult.mjs.map +7 -0
- package/dist/lib/neutral/Ref.mjs +22 -0
- package/dist/lib/neutral/Ref.mjs.map +7 -0
- package/dist/lib/neutral/Relation.mjs +84 -0
- package/dist/lib/neutral/Relation.mjs.map +7 -0
- package/dist/lib/neutral/SchemaRegistry.mjs +2 -0
- package/dist/lib/neutral/SchemaRegistry.mjs.map +7 -0
- package/dist/lib/neutral/Tag.mjs +25 -0
- package/dist/lib/neutral/Tag.mjs.map +7 -0
- package/dist/lib/neutral/Type.mjs +47 -0
- package/dist/lib/neutral/Type.mjs.map +7 -0
- package/dist/lib/neutral/chunk-2MTHJ5UW.mjs +203 -0
- package/dist/lib/neutral/chunk-2MTHJ5UW.mjs.map +7 -0
- package/dist/lib/neutral/chunk-3ZEAZF7T.mjs +23 -0
- package/dist/lib/neutral/chunk-3ZEAZF7T.mjs.map +7 -0
- package/dist/lib/neutral/chunk-4L6DOFXP.mjs +7 -0
- package/dist/lib/neutral/chunk-4L6DOFXP.mjs.map +7 -0
- package/dist/lib/neutral/chunk-4TT624YA.mjs +73 -0
- package/dist/lib/neutral/chunk-4TT624YA.mjs.map +7 -0
- package/dist/lib/neutral/chunk-62DWJ6CE.mjs +402 -0
- package/dist/lib/neutral/chunk-62DWJ6CE.mjs.map +7 -0
- package/dist/lib/neutral/chunk-6QPSGMEF.mjs +97 -0
- package/dist/lib/neutral/chunk-6QPSGMEF.mjs.map +7 -0
- package/dist/lib/neutral/chunk-ANHVGJI4.mjs +21 -0
- package/dist/lib/neutral/chunk-ANHVGJI4.mjs.map +7 -0
- package/dist/lib/neutral/chunk-CUDIBUM4.mjs +282 -0
- package/dist/lib/neutral/chunk-CUDIBUM4.mjs.map +7 -0
- package/dist/lib/neutral/chunk-HMOXCO27.mjs +40 -0
- package/dist/lib/neutral/chunk-HMOXCO27.mjs.map +7 -0
- package/dist/lib/neutral/chunk-IP2GHXWA.mjs +56 -0
- package/dist/lib/neutral/chunk-IP2GHXWA.mjs.map +7 -0
- package/dist/lib/neutral/chunk-J5LGTIGS.mjs +10 -0
- package/dist/lib/neutral/chunk-J5LGTIGS.mjs.map +7 -0
- package/dist/lib/neutral/chunk-KRHDMXSU.mjs +132 -0
- package/dist/lib/neutral/chunk-KRHDMXSU.mjs.map +7 -0
- package/dist/lib/neutral/chunk-NWUO5FKZ.mjs +39 -0
- package/dist/lib/neutral/chunk-NWUO5FKZ.mjs.map +7 -0
- package/dist/lib/neutral/chunk-OMUPQMLR.mjs +7 -0
- package/dist/lib/neutral/chunk-OMUPQMLR.mjs.map +7 -0
- package/dist/lib/neutral/chunk-ROKO4RKJ.mjs +42 -0
- package/dist/lib/neutral/chunk-ROKO4RKJ.mjs.map +7 -0
- package/dist/lib/neutral/chunk-RPB6V4BE.mjs +38 -0
- package/dist/lib/neutral/chunk-RPB6V4BE.mjs.map +7 -0
- package/dist/lib/neutral/chunk-SU2LVM7J.mjs +3846 -0
- package/dist/lib/neutral/chunk-SU2LVM7J.mjs.map +7 -0
- package/dist/lib/neutral/chunk-VB5HVDCA.mjs +287 -0
- package/dist/lib/neutral/chunk-VB5HVDCA.mjs.map +7 -0
- package/dist/lib/neutral/chunk-VR4A4WGG.mjs +249 -0
- package/dist/lib/neutral/chunk-VR4A4WGG.mjs.map +7 -0
- package/dist/lib/neutral/chunk-X2MPMYYN.mjs +13 -0
- package/dist/lib/neutral/chunk-X2MPMYYN.mjs.map +7 -0
- package/dist/lib/neutral/chunk-XK5OUUBY.mjs +157 -0
- package/dist/lib/neutral/chunk-XK5OUUBY.mjs.map +7 -0
- package/dist/lib/neutral/chunk-XMIDBDE6.mjs +142 -0
- package/dist/lib/neutral/chunk-XMIDBDE6.mjs.map +7 -0
- package/dist/lib/neutral/chunk-YQYMWZAD.mjs +67 -0
- package/dist/lib/neutral/chunk-YQYMWZAD.mjs.map +7 -0
- package/dist/lib/neutral/index.mjs +84 -0
- package/dist/lib/neutral/index.mjs.map +7 -0
- package/dist/lib/{node-esm → neutral}/internal/index.mjs +245 -125
- package/dist/lib/neutral/internal/index.mjs.map +7 -0
- package/dist/lib/neutral/meta.json +1 -0
- package/dist/lib/neutral/testing/index.mjs +366 -0
- package/dist/lib/neutral/testing/index.mjs.map +7 -0
- 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 +194 -0
- package/dist/types/src/Database.d.ts.map +1 -0
- package/dist/types/src/Entity.d.ts +142 -0
- package/dist/types/src/Entity.d.ts.map +1 -0
- 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/{errors.d.ts → Err.d.ts} +23 -31
- 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 +302 -99
- 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 +16 -0
- package/dist/types/src/Order.d.ts.map +1 -0
- package/dist/types/src/Query.d.ts +115 -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 +80 -0
- package/dist/types/src/QueryResult.d.ts.map +1 -0
- package/dist/types/src/Ref.d.ts +13 -11
- package/dist/types/src/Ref.d.ts.map +1 -1
- package/dist/types/src/Relation.d.ts +242 -22
- 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 +84 -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 +225 -72
- 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/index.d.ts +15 -5
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/src/internal/annotations/annotations.d.ts +170 -0
- package/dist/types/src/internal/annotations/annotations.d.ts.map +1 -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/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 +20 -0
- package/dist/types/src/internal/entities/entity.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 +77 -0
- package/dist/types/src/internal/entities/model.d.ts.map +1 -0
- package/dist/types/src/internal/entities/object.d.ts +18 -0
- package/dist/types/src/internal/entities/object.d.ts.map +1 -0
- package/dist/types/src/internal/entities/relation.d.ts +62 -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/format.d.ts +4 -2
- package/dist/types/src/internal/formats/format.d.ts.map +1 -1
- package/dist/types/src/internal/formats/select.d.ts +6 -4
- package/dist/types/src/internal/formats/select.d.ts.map +1 -1
- package/dist/types/src/internal/formats/string.d.ts +4 -0
- package/dist/types/src/internal/formats/string.d.ts.map +1 -1
- package/dist/types/src/internal/formats/types.d.ts +13 -9
- package/dist/types/src/internal/formats/types.d.ts.map +1 -1
- package/dist/types/src/internal/index.d.ts +7 -10
- package/dist/types/src/internal/index.d.ts.map +1 -1
- 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.map +1 -0
- package/dist/types/src/internal/json-schema/index.d.ts +2 -0
- package/dist/types/src/internal/json-schema/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 → json-schema}/json-schema.d.ts +4 -2
- 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.map +1 -0
- 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/common.d.ts.map +1 -1
- package/dist/types/src/internal/object/{create.d.ts → create-object.d.ts} +10 -11
- 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 +2 -2
- package/dist/types/src/internal/object/deleted.d.ts.map +1 -1
- package/dist/types/src/internal/object/ids.d.ts.map +1 -1
- package/dist/types/src/internal/object/index.d.ts +6 -11
- package/dist/types/src/internal/object/index.d.ts.map +1 -1
- package/dist/types/src/internal/object/json-serializer.d.ts +14 -9
- 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 +8 -14
- 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 +14 -0
- package/dist/types/src/internal/proxy/index.d.ts.map +1 -0
- 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 +14 -0
- package/dist/types/src/internal/proxy/make-object.d.ts.map +1 -0
- 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 +15 -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 +29 -17
- package/dist/types/src/internal/ref/ref.d.ts.map +1 -1
- package/dist/types/src/internal/schema/compose.d.ts +7 -0
- package/dist/types/src/internal/schema/compose.d.ts.map +1 -0
- package/dist/types/src/internal/schema/compose.test.d.ts.map +1 -0
- package/dist/types/src/internal/schema/echo-schema.d.ts +24 -12
- package/dist/types/src/internal/schema/echo-schema.d.ts.map +1 -1
- package/dist/types/src/internal/schema/index.d.ts +1 -4
- package/dist/types/src/internal/schema/index.d.ts.map +1 -1
- package/dist/types/src/internal/schema/persistent-schema.d.ts +20 -0
- package/dist/types/src/internal/schema/persistent-schema.d.ts.map +1 -0
- package/dist/types/src/internal/types/base.d.ts +26 -0
- package/dist/types/src/internal/types/base.d.ts.map +1 -0
- package/dist/types/src/internal/types/entity.d.ts +37 -0
- package/dist/types/src/internal/types/entity.d.ts.map +1 -0
- package/dist/types/src/internal/types/index.d.ts +5 -2
- package/dist/types/src/internal/types/index.d.ts.map +1 -1
- package/dist/types/src/internal/{object → types}/meta.d.ts +17 -16
- 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/{object → types}/version.d.ts +3 -2
- 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 -3
- 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 +303 -0
- package/dist/types/src/testing/test-schema.d.ts.map +1 -0
- package/dist/types/src/testing/util.d.ts +21 -0
- package/dist/types/src/testing/util.d.ts.map +1 -0
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +101 -65
- package/src/Annotation.ts +18 -0
- package/src/Database.ts +336 -0
- package/src/Entity.test.ts +22 -0
- package/src/Entity.ts +217 -0
- package/src/{errors.ts → Err.ts} +2 -2
- 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.test.ts +386 -0
- package/src/Obj.ts +449 -275
- package/src/Order.ts +44 -0
- package/src/Query.test.ts +465 -0
- package/src/Query.ts +296 -0
- package/src/QueryResult.ts +106 -0
- package/src/Ref.ts +26 -9
- package/src/Relation.test.ts +82 -0
- package/src/Relation.ts +411 -60
- package/src/SchemaRegistry.ts +105 -0
- package/src/{query/tag.ts → Tag.ts} +10 -7
- package/src/Type.test.ts +52 -0
- package/src/Type.ts +361 -114
- package/src/index.ts +16 -6
- package/src/internal/README.md +102 -0
- package/src/internal/{ast → annotations}/annotations.test.ts +18 -20
- package/src/internal/annotations/annotations.ts +460 -0
- package/src/internal/annotations/index.ts +6 -0
- package/src/internal/annotations/util.ts +72 -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 +126 -0
- package/src/internal/entities/index.ts +9 -0
- package/src/internal/entities/model.ts +134 -0
- package/src/internal/entities/object.ts +58 -0
- package/src/internal/entities/relation.ts +171 -0
- package/src/internal/entities/util.ts +33 -0
- package/src/internal/formats/date.test.ts +1 -1
- package/src/internal/formats/date.ts +5 -5
- package/src/internal/formats/format.test.ts +6 -6
- package/src/internal/formats/format.ts +8 -6
- package/src/internal/formats/number.ts +5 -5
- package/src/internal/formats/object.ts +4 -4
- package/src/internal/formats/select.ts +6 -4
- package/src/internal/formats/string.ts +14 -9
- package/src/internal/formats/types.ts +53 -42
- package/src/internal/index.ts +30 -13
- package/src/internal/{json → json-schema}/annotations.ts +1 -1
- package/src/internal/json-schema/index.ts +2 -0
- package/src/internal/json-schema/json-schema-normalize.ts +4 -2
- package/src/internal/json-schema/json-schema-type.ts +35 -35
- package/src/internal/{json → json-schema}/json-schema.test.ts +73 -69
- package/src/internal/{json → json-schema}/json-schema.ts +27 -14
- package/src/internal/object/clone.ts +48 -0
- package/src/internal/object/common.ts +3 -4
- package/src/internal/object/{create.test.ts → create-object.test.ts} +31 -33
- package/src/internal/object/{create.ts → create-object.ts} +36 -37
- package/src/internal/object/deleted.ts +6 -6
- package/src/internal/object/ids.ts +1 -1
- package/src/internal/object/index.ts +6 -11
- package/src/internal/object/inspect.ts +5 -7
- package/src/internal/object/json-serializer.test.ts +36 -37
- package/src/internal/object/json-serializer.ts +65 -102
- package/src/internal/object/schema-validator.test.ts +3 -7
- package/src/internal/object/schema-validator.ts +2 -237
- 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 +70 -0
- package/src/internal/object/typed-object.test.ts +11 -11
- package/src/internal/object/typed-object.ts +8 -66
- 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 +51 -91
- package/src/internal/proxy/index.ts +17 -0
- package/src/internal/proxy/json-serializer.ts +87 -0
- package/src/internal/proxy/make-object.ts +96 -0
- 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 +27 -18
- package/src/internal/proxy/symbols.ts +7 -0
- package/src/internal/proxy/typed-handler.test.ts +260 -48
- package/src/internal/proxy/typed-handler.ts +275 -61
- package/src/internal/proxy/typed-object.test.ts +54 -38
- package/src/internal/ref/ref-array.ts +4 -4
- package/src/internal/ref/ref.test.ts +10 -9
- package/src/internal/ref/ref.ts +83 -55
- package/src/internal/{projection → schema}/compose.test.ts +8 -9
- package/src/internal/{projection → schema}/compose.ts +13 -8
- package/src/internal/schema/echo-schema.ts +73 -33
- package/src/internal/schema/index.ts +1 -4
- package/src/internal/schema/manipulation.ts +1 -1
- package/src/internal/schema/persistent-schema.ts +27 -0
- package/src/internal/types/base.ts +43 -0
- package/src/internal/types/entity.ts +54 -0
- package/src/internal/types/index.ts +5 -2
- package/src/internal/types/meta.ts +65 -0
- package/src/internal/types/typename.ts +45 -0
- package/src/internal/types/version.ts +20 -0
- package/src/testing/api.test.ts +126 -0
- package/src/testing/index.ts +3 -3
- package/src/testing/test-data.ts +130 -0
- package/src/testing/test-schema.ts +238 -0
- package/src/testing/util.ts +85 -0
- package/dist/lib/browser/chunk-JUTFUT73.mjs +0 -175
- package/dist/lib/browser/chunk-JUTFUT73.mjs.map +0 -7
- package/dist/lib/browser/chunk-KEBVBR65.mjs +0 -3727
- package/dist/lib/browser/chunk-KEBVBR65.mjs.map +0 -7
- package/dist/lib/browser/chunk-WO76TDT6.mjs +0 -814
- package/dist/lib/browser/chunk-WO76TDT6.mjs.map +0 -7
- package/dist/lib/browser/index.mjs +0 -35
- package/dist/lib/browser/internal/index.mjs +0 -336
- package/dist/lib/browser/meta.json +0 -1
- package/dist/lib/browser/query/index.mjs +0 -15
- package/dist/lib/browser/testing/index.mjs +0 -283
- package/dist/lib/browser/testing/index.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-DWZYQ2UR.mjs +0 -3727
- package/dist/lib/node-esm/chunk-DWZYQ2UR.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-KBD3A2I6.mjs +0 -175
- package/dist/lib/node-esm/chunk-KBD3A2I6.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-ZSSII3JW.mjs +0 -814
- package/dist/lib/node-esm/chunk-ZSSII3JW.mjs.map +0 -7
- package/dist/lib/node-esm/index.mjs +0 -35
- package/dist/lib/node-esm/meta.json +0 -1
- package/dist/lib/node-esm/query/index.mjs +0 -15
- package/dist/lib/node-esm/testing/index.mjs +0 -283
- package/dist/lib/node-esm/testing/index.mjs.map +0 -7
- package/dist/types/src/errors.d.ts.map +0 -1
- package/dist/types/src/internal/ast/annotation-helper.d.ts +0 -8
- package/dist/types/src/internal/ast/annotation-helper.d.ts.map +0 -1
- package/dist/types/src/internal/ast/annotations.d.ts +0 -131
- package/dist/types/src/internal/ast/annotations.d.ts.map +0 -1
- package/dist/types/src/internal/ast/annotations.test.d.ts.map +0 -1
- package/dist/types/src/internal/ast/entity-kind.d.ts +0 -10
- package/dist/types/src/internal/ast/entity-kind.d.ts.map +0 -1
- package/dist/types/src/internal/ast/index.d.ts +0 -5
- package/dist/types/src/internal/ast/index.d.ts.map +0 -1
- package/dist/types/src/internal/ast/types.d.ts +0 -6
- package/dist/types/src/internal/ast/types.d.ts.map +0 -1
- package/dist/types/src/internal/json/annotations.d.ts.map +0 -1
- package/dist/types/src/internal/json/effect-schema.test.d.ts.map +0 -1
- package/dist/types/src/internal/json/index.d.ts +0 -2
- package/dist/types/src/internal/json/index.d.ts.map +0 -1
- package/dist/types/src/internal/json/json-schema.d.ts.map +0 -1
- package/dist/types/src/internal/json/json-schema.test.d.ts.map +0 -1
- package/dist/types/src/internal/object/accessors.d.ts +0 -37
- package/dist/types/src/internal/object/accessors.d.ts.map +0 -1
- package/dist/types/src/internal/object/create.d.ts.map +0 -1
- package/dist/types/src/internal/object/create.test.d.ts +0 -2
- package/dist/types/src/internal/object/create.test.d.ts.map +0 -1
- package/dist/types/src/internal/object/entity.d.ts +0 -33
- package/dist/types/src/internal/object/entity.d.ts.map +0 -1
- package/dist/types/src/internal/object/expando.d.ts +0 -14
- package/dist/types/src/internal/object/expando.d.ts.map +0 -1
- package/dist/types/src/internal/object/meta.d.ts.map +0 -1
- package/dist/types/src/internal/object/model.d.ts +0 -117
- package/dist/types/src/internal/object/model.d.ts.map +0 -1
- package/dist/types/src/internal/object/relation.d.ts +0 -17
- package/dist/types/src/internal/object/relation.d.ts.map +0 -1
- package/dist/types/src/internal/object/typename.d.ts +0 -15
- package/dist/types/src/internal/object/typename.d.ts.map +0 -1
- package/dist/types/src/internal/object/version.d.ts.map +0 -1
- package/dist/types/src/internal/projection/compose.d.ts +0 -6
- package/dist/types/src/internal/projection/compose.d.ts.map +0 -1
- package/dist/types/src/internal/projection/compose.test.d.ts.map +0 -1
- package/dist/types/src/internal/projection/index.d.ts +0 -2
- package/dist/types/src/internal/projection/index.d.ts.map +0 -1
- package/dist/types/src/internal/proxy/reactive-object.d.ts +0 -15
- package/dist/types/src/internal/proxy/reactive-object.d.ts.map +0 -1
- package/dist/types/src/internal/query/index.d.ts +0 -2
- package/dist/types/src/internal/query/index.d.ts.map +0 -1
- package/dist/types/src/internal/query/query.d.ts +0 -17
- package/dist/types/src/internal/query/query.d.ts.map +0 -1
- package/dist/types/src/internal/schema/runtime-schema-registry.d.ts +0 -18
- package/dist/types/src/internal/schema/runtime-schema-registry.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/dist/types/src/internal/schema/stored-schema.d.ts +0 -13
- package/dist/types/src/internal/schema/stored-schema.d.ts.map +0 -1
- package/dist/types/src/internal/testing/index.d.ts +0 -3
- package/dist/types/src/internal/testing/index.d.ts.map +0 -1
- package/dist/types/src/internal/testing/types.d.ts +0 -455
- package/dist/types/src/internal/testing/types.d.ts.map +0 -1
- package/dist/types/src/internal/testing/utils.d.ts +0 -10
- package/dist/types/src/internal/testing/utils.d.ts.map +0 -1
- package/dist/types/src/internal/types/types.d.ts +0 -79
- package/dist/types/src/internal/types/types.d.ts.map +0 -1
- package/dist/types/src/internal/types/types.test.d.ts +0 -2
- package/dist/types/src/internal/types/types.test.d.ts.map +0 -1
- package/dist/types/src/internal/types/util.d.ts +0 -5
- package/dist/types/src/internal/types/util.d.ts.map +0 -1
- package/dist/types/src/query/index.d.ts +0 -3
- package/dist/types/src/query/index.d.ts.map +0 -1
- package/dist/types/src/query/query.d.ts +0 -248
- package/dist/types/src/query/query.d.ts.map +0 -1
- package/dist/types/src/query/query.test.d.ts +0 -2
- package/dist/types/src/query/query.test.d.ts.map +0 -1
- package/dist/types/src/query/tag.d.ts +0 -17
- package/dist/types/src/query/tag.d.ts.map +0 -1
- package/dist/types/src/testing/echo-schema.d.ts +0 -7
- package/dist/types/src/testing/echo-schema.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/internal/ast/annotation-helper.ts +0 -22
- package/src/internal/ast/annotations.ts +0 -226
- package/src/internal/ast/entity-kind.ts +0 -15
- package/src/internal/ast/index.ts +0 -8
- package/src/internal/ast/types.ts +0 -17
- package/src/internal/json/index.ts +0 -5
- package/src/internal/object/accessors.ts +0 -153
- package/src/internal/object/entity.ts +0 -248
- package/src/internal/object/expando.ts +0 -21
- package/src/internal/object/meta.ts +0 -61
- package/src/internal/object/model.ts +0 -170
- package/src/internal/object/relation.ts +0 -24
- package/src/internal/object/typename.ts +0 -61
- package/src/internal/object/version.ts +0 -22
- package/src/internal/projection/index.ts +0 -5
- package/src/internal/proxy/reactive-object.ts +0 -108
- package/src/internal/query/index.ts +0 -5
- package/src/internal/query/query.ts +0 -23
- package/src/internal/schema/runtime-schema-registry.ts +0 -78
- package/src/internal/schema/snapshot.ts +0 -25
- package/src/internal/schema/stored-schema.ts +0 -26
- package/src/internal/testing/index.ts +0 -6
- package/src/internal/testing/types.ts +0 -211
- package/src/internal/testing/utils.ts +0 -54
- package/src/internal/types/types.test.ts +0 -48
- package/src/internal/types/types.ts +0 -176
- package/src/internal/types/util.ts +0 -9
- package/src/query/index.ts +0 -6
- package/src/query/query.test.ts +0 -401
- package/src/query/query.ts +0 -789
- package/src/test/api.test.ts +0 -180
- package/src/testing/echo-schema.ts +0 -39
- package/src/testing/types.ts +0 -91
- /package/dist/lib/{browser/index.mjs.map → neutral/Annotation.mjs.map} +0 -0
- /package/dist/lib/{browser/internal/index.mjs.map → neutral/Database.mjs.map} +0 -0
- /package/dist/lib/{browser/query/index.mjs.map → neutral/Entity.mjs.map} +0 -0
- /package/dist/lib/{node-esm/index.mjs.map → neutral/Err.mjs.map} +0 -0
- /package/dist/lib/{node-esm/internal/index.mjs.map → neutral/Filter.mjs.map} +0 -0
- /package/dist/lib/{node-esm/query/index.mjs.map → neutral/Format.mjs.map} +0 -0
- /package/dist/types/src/internal/{ast → annotations}/annotations.test.d.ts +0 -0
- /package/dist/types/src/internal/{json → json-schema}/annotations.d.ts +0 -0
- /package/dist/types/src/internal/{json → json-schema}/effect-schema.test.d.ts +0 -0
- /package/dist/types/src/internal/{json → json-schema}/json-schema.test.d.ts +0 -0
- /package/dist/types/src/internal/{projection → schema}/compose.test.d.ts +0 -0
- /package/dist/types/src/{test → testing}/api.test.d.ts +0 -0
- /package/src/internal/{json → json-schema}/effect-schema.test.ts +0 -0
|
@@ -1,205 +1,270 @@
|
|
|
1
|
-
import { createRequire } from 'node:module';const require = createRequire(import.meta.url);
|
|
2
1
|
import {
|
|
3
2
|
ATTR_DELETED,
|
|
4
3
|
ATTR_META,
|
|
5
4
|
ATTR_RELATION_SOURCE,
|
|
6
5
|
ATTR_RELATION_TARGET,
|
|
7
6
|
ATTR_SELF_DXN,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
DecimalPrecision,
|
|
12
|
-
DeletedId,
|
|
13
|
-
DescriptionAnnotation,
|
|
14
|
-
DescriptionAnnotationId,
|
|
7
|
+
ChangeId,
|
|
8
|
+
CustomAnnotations,
|
|
9
|
+
DecodedAnnotations,
|
|
15
10
|
ECHO_ANNOTATIONS_NS_DEPRECATED_KEY,
|
|
16
11
|
ECHO_ANNOTATIONS_NS_KEY,
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
12
|
+
EchoAnnotations,
|
|
13
|
+
EchoObjectSchema,
|
|
14
|
+
EchoRelationSchema,
|
|
20
15
|
EchoSchema,
|
|
21
|
-
|
|
22
|
-
EntityKind,
|
|
23
|
-
EntityKindId,
|
|
24
|
-
EntityKindSchema,
|
|
25
|
-
Expando,
|
|
26
|
-
FIELD_PATH_ANNOTATION,
|
|
27
|
-
FieldLookupAnnotationId,
|
|
28
|
-
FieldPath,
|
|
29
|
-
ForeignKey,
|
|
30
|
-
FormAnnotation,
|
|
31
|
-
FormAnnotationId,
|
|
32
|
-
Format,
|
|
33
|
-
FormatAnnotation,
|
|
34
|
-
FormatAnnotationId,
|
|
35
|
-
FormatEnum,
|
|
36
|
-
FormatEnums,
|
|
37
|
-
Formula,
|
|
38
|
-
GeneratorAnnotation,
|
|
39
|
-
GeneratorAnnotationId,
|
|
40
|
-
GeoLocation,
|
|
41
|
-
GeoPoint,
|
|
42
|
-
Hostname,
|
|
16
|
+
EventId,
|
|
43
17
|
ImmutableSchema,
|
|
44
|
-
JSON,
|
|
45
18
|
JSON_SCHEMA_ECHO_REF_ID,
|
|
46
19
|
JsonPath,
|
|
47
20
|
JsonProp,
|
|
48
21
|
JsonSchemaEchoAnnotations,
|
|
49
22
|
JsonSchemaFields,
|
|
50
23
|
JsonSchemaType,
|
|
51
|
-
LabelAnnotation,
|
|
52
|
-
LabelAnnotationId,
|
|
53
|
-
Markdown,
|
|
54
24
|
MetaId,
|
|
55
|
-
|
|
25
|
+
MutationOutsideChangeContextError,
|
|
26
|
+
ObjectDatabaseId,
|
|
27
|
+
ObjectDeletedId,
|
|
56
28
|
ObjectMetaSchema,
|
|
57
29
|
ObjectVersionId,
|
|
58
|
-
|
|
30
|
+
PersistentSchema,
|
|
59
31
|
PropType,
|
|
60
|
-
PropertyKind,
|
|
61
|
-
PropertyMeta,
|
|
62
|
-
PropertyMetaAnnotationId,
|
|
63
32
|
RawObject,
|
|
33
|
+
ReactiveArray,
|
|
64
34
|
Ref,
|
|
65
35
|
RefArray,
|
|
66
36
|
RefImpl,
|
|
67
37
|
RefTypeId,
|
|
68
|
-
ReferenceAnnotationId,
|
|
69
|
-
Regex,
|
|
70
38
|
RelationSourceDXNId,
|
|
71
39
|
RelationSourceId,
|
|
72
40
|
RelationTargetDXNId,
|
|
73
41
|
RelationTargetId,
|
|
74
|
-
RuntimeSchemaRegistry,
|
|
75
|
-
SchemaId,
|
|
76
|
-
SchemaMetaSymbol,
|
|
77
42
|
SchemaValidator,
|
|
78
|
-
SchemaVersion,
|
|
79
|
-
SelectOptionSchema,
|
|
80
43
|
SelfDXNId,
|
|
81
44
|
StaticRefResolver,
|
|
82
|
-
|
|
83
|
-
TypeAnnotation,
|
|
84
|
-
TypeAnnotationId,
|
|
85
|
-
TypeEnum,
|
|
86
|
-
TypeId,
|
|
87
|
-
TypeIdentifierAnnotationId,
|
|
88
|
-
TypedObject,
|
|
89
|
-
Typename,
|
|
90
|
-
URL,
|
|
91
|
-
UUID,
|
|
45
|
+
TypedReactiveHandler,
|
|
92
46
|
VersionTypeId,
|
|
93
|
-
ViewAnnotation,
|
|
94
|
-
ViewAnnotationId,
|
|
95
47
|
addFieldsToSchema,
|
|
96
|
-
|
|
48
|
+
addTag,
|
|
49
|
+
assertObjectModel,
|
|
97
50
|
attachTypedJsonSerializer,
|
|
51
|
+
batchEvents,
|
|
52
|
+
change,
|
|
98
53
|
checkIdNotPresentOnSchema,
|
|
54
|
+
clearPendingNotifications,
|
|
55
|
+
clone,
|
|
56
|
+
compare,
|
|
99
57
|
compareForeignKeys,
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
createAnnotationHelper,
|
|
58
|
+
compareVersions,
|
|
59
|
+
createArrayMethodError,
|
|
103
60
|
createEchoReferenceSchema,
|
|
61
|
+
createObject,
|
|
62
|
+
createPropertyDeleteError,
|
|
63
|
+
createPropertySetError,
|
|
64
|
+
createProxy,
|
|
104
65
|
createQueueDXN,
|
|
105
66
|
createSchemaReference,
|
|
67
|
+
dangerouslySetProxyId,
|
|
68
|
+
decodeVersion,
|
|
106
69
|
defineHiddenProperty,
|
|
70
|
+
deleteKeys,
|
|
71
|
+
emitEvent,
|
|
72
|
+
encodeVersion,
|
|
73
|
+
enterChangeContext,
|
|
74
|
+
executeChange,
|
|
107
75
|
foreignKey,
|
|
108
76
|
foreignKeyEquals,
|
|
109
|
-
|
|
77
|
+
getDXN,
|
|
78
|
+
getDatabase,
|
|
110
79
|
getDescription,
|
|
111
|
-
|
|
112
|
-
|
|
80
|
+
getEchoRoot,
|
|
81
|
+
getKeys,
|
|
113
82
|
getLabel,
|
|
114
|
-
getLabelForObject,
|
|
115
83
|
getMeta,
|
|
84
|
+
getMetaChecked,
|
|
116
85
|
getNormalizedEchoAnnotations,
|
|
117
86
|
getObjectDXN,
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
87
|
+
getProxyHandler,
|
|
88
|
+
getProxySlot,
|
|
89
|
+
getProxyTarget,
|
|
121
90
|
getRefSavedTarget,
|
|
122
|
-
getReferenceAnnotation,
|
|
123
91
|
getReferenceAst,
|
|
124
|
-
getSchema,
|
|
125
|
-
getSchemaDXN,
|
|
126
92
|
getSchemaProperty,
|
|
127
93
|
getSchemaReference,
|
|
128
|
-
getSchemaTypename,
|
|
129
|
-
getSchemaVersion,
|
|
130
94
|
getSnapshot,
|
|
131
|
-
getType,
|
|
132
|
-
getTypeAnnotation,
|
|
133
|
-
getTypeEnum,
|
|
134
|
-
getTypeIdentifierAnnotation,
|
|
135
|
-
getTypeReference,
|
|
136
|
-
getTypename,
|
|
137
95
|
getValue,
|
|
96
|
+
hasPendingNotifications,
|
|
138
97
|
isDeleted,
|
|
139
|
-
|
|
98
|
+
isInChangeContext,
|
|
140
99
|
isMutable,
|
|
141
|
-
|
|
142
|
-
|
|
100
|
+
isProxy,
|
|
101
|
+
isValidProxyTarget,
|
|
102
|
+
isVersion,
|
|
103
|
+
makeEchoTypeSchema,
|
|
104
|
+
makeObject,
|
|
143
105
|
makeTypedEntityClass,
|
|
144
106
|
normalizeSchema,
|
|
107
|
+
objectData,
|
|
145
108
|
objectFromJSON,
|
|
109
|
+
objectStructureToJson,
|
|
146
110
|
objectToJSON,
|
|
111
|
+
prepareTypedTarget,
|
|
112
|
+
queueNotification,
|
|
113
|
+
queueOwnerNotification,
|
|
147
114
|
refFromEncodedReference,
|
|
148
115
|
removeFieldsFromSchema,
|
|
149
|
-
|
|
116
|
+
removeTag,
|
|
150
117
|
setDescription,
|
|
151
118
|
setLabel,
|
|
119
|
+
setMetaOwner,
|
|
152
120
|
setRefResolver,
|
|
153
121
|
setRefResolverOnData,
|
|
154
|
-
setSchema,
|
|
155
122
|
setSchemaProperty,
|
|
156
|
-
setTypename,
|
|
157
123
|
setTypenameInSchema,
|
|
158
124
|
setValue,
|
|
125
|
+
sort,
|
|
126
|
+
sortByLabel,
|
|
127
|
+
sortByTypename,
|
|
159
128
|
splitJsonPath,
|
|
160
|
-
|
|
129
|
+
subscribe,
|
|
130
|
+
symbolIsProxy,
|
|
161
131
|
toEffectSchema,
|
|
162
132
|
toJsonSchema,
|
|
163
133
|
toPropType,
|
|
164
|
-
|
|
165
|
-
unwrapOptional,
|
|
134
|
+
typedJsonSerializer,
|
|
166
135
|
updateFieldNameInSchema,
|
|
167
|
-
updateFieldsInSchema
|
|
168
|
-
|
|
136
|
+
updateFieldsInSchema,
|
|
137
|
+
version,
|
|
138
|
+
versionValid
|
|
139
|
+
} from "../chunk-SU2LVM7J.mjs";
|
|
140
|
+
import {
|
|
141
|
+
Currency,
|
|
142
|
+
CurrencyAnnotationId,
|
|
143
|
+
DecimalPrecision,
|
|
144
|
+
Email,
|
|
145
|
+
Format,
|
|
146
|
+
FormatAnnotation,
|
|
147
|
+
FormatAnnotationId,
|
|
148
|
+
FormatEnums,
|
|
149
|
+
Formula,
|
|
150
|
+
GeoLocation,
|
|
151
|
+
GeoPoint,
|
|
152
|
+
Hostname,
|
|
153
|
+
JSON,
|
|
154
|
+
Markdown,
|
|
155
|
+
OptionsAnnotation,
|
|
156
|
+
OptionsAnnotationId,
|
|
157
|
+
PropertyKind,
|
|
158
|
+
Regex,
|
|
159
|
+
SelectOption,
|
|
160
|
+
Text,
|
|
161
|
+
TypeEnum,
|
|
162
|
+
TypeFormat,
|
|
163
|
+
URL,
|
|
164
|
+
UUID,
|
|
165
|
+
formatToType,
|
|
166
|
+
getFormatAnnotation,
|
|
167
|
+
getOptionsAnnotation,
|
|
168
|
+
getTypeEnum,
|
|
169
|
+
typeToFormat
|
|
170
|
+
} from "../chunk-62DWJ6CE.mjs";
|
|
171
|
+
import "../chunk-KRHDMXSU.mjs";
|
|
172
|
+
import {
|
|
173
|
+
ATTR_TYPE,
|
|
174
|
+
DescriptionAnnotation,
|
|
175
|
+
DescriptionAnnotationId,
|
|
176
|
+
FIELD_PATH_ANNOTATION,
|
|
177
|
+
FieldLookupAnnotationId,
|
|
178
|
+
FieldPath,
|
|
179
|
+
FormInputAnnotation,
|
|
180
|
+
FormInputAnnotationId,
|
|
181
|
+
GeneratorAnnotation,
|
|
182
|
+
GeneratorAnnotationId,
|
|
183
|
+
LabelAnnotation,
|
|
184
|
+
LabelAnnotationId,
|
|
185
|
+
PropertyMeta,
|
|
186
|
+
PropertyMetaAnnotationId,
|
|
187
|
+
ReferenceAnnotation,
|
|
188
|
+
ReferenceAnnotationId,
|
|
189
|
+
SchemaId,
|
|
190
|
+
SchemaMetaSymbol,
|
|
191
|
+
SystemTypeAnnotation,
|
|
192
|
+
SystemTypeAnnotationId,
|
|
193
|
+
TypeAnnotation,
|
|
194
|
+
TypeAnnotationId,
|
|
195
|
+
TypeId,
|
|
196
|
+
TypeIdentifierAnnotationId,
|
|
197
|
+
TypeMeta,
|
|
198
|
+
TypenameSchema,
|
|
199
|
+
VersionSchema,
|
|
200
|
+
getDescriptionWithSchema,
|
|
201
|
+
getEntityKind,
|
|
202
|
+
getLabelWithSchema,
|
|
203
|
+
getPropertyMetaAnnotation,
|
|
204
|
+
getSchema,
|
|
205
|
+
getSchemaDXN,
|
|
206
|
+
getSchemaTypename,
|
|
207
|
+
getSchemaVersion,
|
|
208
|
+
getTypeAnnotation,
|
|
209
|
+
getTypeDXN,
|
|
210
|
+
getTypeDXNFromSpecifier,
|
|
211
|
+
getTypeIdentifierAnnotation,
|
|
212
|
+
getTypename,
|
|
213
|
+
isInstanceOf,
|
|
214
|
+
setDescriptionWithSchema,
|
|
215
|
+
setLabelWithSchema,
|
|
216
|
+
setSchema,
|
|
217
|
+
setTypename
|
|
218
|
+
} from "../chunk-CUDIBUM4.mjs";
|
|
219
|
+
import {
|
|
220
|
+
ANY_OBJECT_TYPENAME,
|
|
221
|
+
ANY_OBJECT_VERSION,
|
|
222
|
+
EntityKind,
|
|
223
|
+
EntityKindSchema,
|
|
224
|
+
KindId,
|
|
225
|
+
SchemaKindId,
|
|
226
|
+
SnapshotKindId,
|
|
227
|
+
createAnnotationHelper,
|
|
228
|
+
makeTypeJsonSchemaAnnotation,
|
|
229
|
+
unwrapOptional
|
|
230
|
+
} from "../chunk-YQYMWZAD.mjs";
|
|
231
|
+
import "../chunk-RPB6V4BE.mjs";
|
|
232
|
+
import "../chunk-J5LGTIGS.mjs";
|
|
169
233
|
export {
|
|
234
|
+
ANY_OBJECT_TYPENAME,
|
|
235
|
+
ANY_OBJECT_VERSION,
|
|
170
236
|
ATTR_DELETED,
|
|
171
237
|
ATTR_META,
|
|
172
238
|
ATTR_RELATION_SOURCE,
|
|
173
239
|
ATTR_RELATION_TARGET,
|
|
174
240
|
ATTR_SELF_DXN,
|
|
175
241
|
ATTR_TYPE,
|
|
242
|
+
ChangeId,
|
|
176
243
|
Currency,
|
|
177
244
|
CurrencyAnnotationId,
|
|
245
|
+
CustomAnnotations,
|
|
178
246
|
DecimalPrecision,
|
|
179
|
-
|
|
247
|
+
DecodedAnnotations,
|
|
180
248
|
DescriptionAnnotation,
|
|
181
249
|
DescriptionAnnotationId,
|
|
182
250
|
ECHO_ANNOTATIONS_NS_DEPRECATED_KEY,
|
|
183
251
|
ECHO_ANNOTATIONS_NS_KEY,
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
252
|
+
EchoAnnotations,
|
|
253
|
+
EchoObjectSchema,
|
|
254
|
+
EchoRelationSchema,
|
|
187
255
|
EchoSchema,
|
|
188
256
|
Email,
|
|
189
257
|
EntityKind,
|
|
190
|
-
EntityKindId,
|
|
191
258
|
EntityKindSchema,
|
|
192
|
-
|
|
259
|
+
EventId,
|
|
193
260
|
FIELD_PATH_ANNOTATION,
|
|
194
261
|
FieldLookupAnnotationId,
|
|
195
262
|
FieldPath,
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
FormAnnotationId,
|
|
263
|
+
FormInputAnnotation,
|
|
264
|
+
FormInputAnnotationId,
|
|
199
265
|
Format,
|
|
200
266
|
FormatAnnotation,
|
|
201
267
|
FormatAnnotationId,
|
|
202
|
-
FormatEnum,
|
|
203
268
|
FormatEnums,
|
|
204
269
|
Formula,
|
|
205
270
|
GeneratorAnnotation,
|
|
@@ -215,78 +280,112 @@ export {
|
|
|
215
280
|
JsonSchemaEchoAnnotations,
|
|
216
281
|
JsonSchemaFields,
|
|
217
282
|
JsonSchemaType,
|
|
283
|
+
KindId,
|
|
218
284
|
LabelAnnotation,
|
|
219
285
|
LabelAnnotationId,
|
|
220
286
|
Markdown,
|
|
221
287
|
MetaId,
|
|
222
|
-
|
|
288
|
+
MutationOutsideChangeContextError,
|
|
289
|
+
ObjectDatabaseId,
|
|
290
|
+
ObjectDeletedId,
|
|
223
291
|
ObjectMetaSchema,
|
|
224
292
|
ObjectVersionId,
|
|
293
|
+
OptionsAnnotation,
|
|
225
294
|
OptionsAnnotationId,
|
|
295
|
+
PersistentSchema,
|
|
226
296
|
PropType,
|
|
227
297
|
PropertyKind,
|
|
228
298
|
PropertyMeta,
|
|
229
299
|
PropertyMetaAnnotationId,
|
|
230
300
|
RawObject,
|
|
301
|
+
ReactiveArray,
|
|
231
302
|
Ref,
|
|
232
303
|
RefArray,
|
|
233
304
|
RefImpl,
|
|
234
305
|
RefTypeId,
|
|
306
|
+
ReferenceAnnotation,
|
|
235
307
|
ReferenceAnnotationId,
|
|
236
308
|
Regex,
|
|
237
309
|
RelationSourceDXNId,
|
|
238
310
|
RelationSourceId,
|
|
239
311
|
RelationTargetDXNId,
|
|
240
312
|
RelationTargetId,
|
|
241
|
-
RuntimeSchemaRegistry,
|
|
242
313
|
SchemaId,
|
|
314
|
+
SchemaKindId,
|
|
243
315
|
SchemaMetaSymbol,
|
|
244
316
|
SchemaValidator,
|
|
245
|
-
|
|
246
|
-
SelectOptionSchema,
|
|
317
|
+
SelectOption,
|
|
247
318
|
SelfDXNId,
|
|
319
|
+
SnapshotKindId,
|
|
248
320
|
StaticRefResolver,
|
|
249
|
-
|
|
321
|
+
SystemTypeAnnotation,
|
|
322
|
+
SystemTypeAnnotationId,
|
|
323
|
+
Text,
|
|
250
324
|
TypeAnnotation,
|
|
251
325
|
TypeAnnotationId,
|
|
252
326
|
TypeEnum,
|
|
327
|
+
TypeFormat,
|
|
253
328
|
TypeId,
|
|
254
329
|
TypeIdentifierAnnotationId,
|
|
255
|
-
|
|
256
|
-
|
|
330
|
+
TypeMeta,
|
|
331
|
+
TypedReactiveHandler,
|
|
332
|
+
TypenameSchema,
|
|
257
333
|
URL,
|
|
258
334
|
UUID,
|
|
335
|
+
VersionSchema,
|
|
259
336
|
VersionTypeId,
|
|
260
|
-
ViewAnnotation,
|
|
261
|
-
ViewAnnotationId,
|
|
262
337
|
addFieldsToSchema,
|
|
263
|
-
|
|
338
|
+
addTag,
|
|
339
|
+
assertObjectModel,
|
|
264
340
|
attachTypedJsonSerializer,
|
|
341
|
+
batchEvents,
|
|
342
|
+
change,
|
|
265
343
|
checkIdNotPresentOnSchema,
|
|
344
|
+
clearPendingNotifications,
|
|
345
|
+
clone,
|
|
346
|
+
compare,
|
|
266
347
|
compareForeignKeys,
|
|
267
|
-
|
|
268
|
-
create,
|
|
348
|
+
compareVersions,
|
|
269
349
|
createAnnotationHelper,
|
|
350
|
+
createArrayMethodError,
|
|
270
351
|
createEchoReferenceSchema,
|
|
352
|
+
createObject,
|
|
353
|
+
createPropertyDeleteError,
|
|
354
|
+
createPropertySetError,
|
|
355
|
+
createProxy,
|
|
271
356
|
createQueueDXN,
|
|
272
357
|
createSchemaReference,
|
|
358
|
+
dangerouslySetProxyId,
|
|
359
|
+
decodeVersion,
|
|
273
360
|
defineHiddenProperty,
|
|
361
|
+
deleteKeys,
|
|
362
|
+
emitEvent,
|
|
363
|
+
encodeVersion,
|
|
364
|
+
enterChangeContext,
|
|
365
|
+
executeChange,
|
|
274
366
|
foreignKey,
|
|
275
367
|
foreignKeyEquals,
|
|
276
368
|
formatToType,
|
|
369
|
+
getDXN,
|
|
370
|
+
getDatabase,
|
|
277
371
|
getDescription,
|
|
372
|
+
getDescriptionWithSchema,
|
|
373
|
+
getEchoRoot,
|
|
278
374
|
getEntityKind,
|
|
279
375
|
getFormatAnnotation,
|
|
376
|
+
getKeys,
|
|
280
377
|
getLabel,
|
|
281
|
-
|
|
378
|
+
getLabelWithSchema,
|
|
282
379
|
getMeta,
|
|
380
|
+
getMetaChecked,
|
|
283
381
|
getNormalizedEchoAnnotations,
|
|
284
382
|
getObjectDXN,
|
|
285
|
-
getObjectMeta,
|
|
286
383
|
getOptionsAnnotation,
|
|
287
384
|
getPropertyMetaAnnotation,
|
|
385
|
+
getProxyHandler,
|
|
386
|
+
getProxySlot,
|
|
387
|
+
getProxyTarget,
|
|
288
388
|
getRefSavedTarget,
|
|
289
|
-
getReferenceAnnotation,
|
|
290
389
|
getReferenceAst,
|
|
291
390
|
getSchema,
|
|
292
391
|
getSchemaDXN,
|
|
@@ -295,27 +394,41 @@ export {
|
|
|
295
394
|
getSchemaTypename,
|
|
296
395
|
getSchemaVersion,
|
|
297
396
|
getSnapshot,
|
|
298
|
-
getType,
|
|
299
397
|
getTypeAnnotation,
|
|
398
|
+
getTypeDXN,
|
|
399
|
+
getTypeDXNFromSpecifier,
|
|
300
400
|
getTypeEnum,
|
|
301
401
|
getTypeIdentifierAnnotation,
|
|
302
|
-
getTypeReference,
|
|
303
402
|
getTypename,
|
|
304
403
|
getValue,
|
|
404
|
+
hasPendingNotifications,
|
|
305
405
|
isDeleted,
|
|
406
|
+
isInChangeContext,
|
|
306
407
|
isInstanceOf,
|
|
307
408
|
isMutable,
|
|
308
|
-
|
|
409
|
+
isProxy,
|
|
410
|
+
isValidProxyTarget,
|
|
411
|
+
isVersion,
|
|
412
|
+
makeEchoTypeSchema,
|
|
413
|
+
makeObject,
|
|
309
414
|
makeTypeJsonSchemaAnnotation,
|
|
310
415
|
makeTypedEntityClass,
|
|
311
416
|
normalizeSchema,
|
|
417
|
+
objectData,
|
|
312
418
|
objectFromJSON,
|
|
419
|
+
objectStructureToJson,
|
|
313
420
|
objectToJSON,
|
|
421
|
+
prepareTypedTarget,
|
|
422
|
+
queueNotification,
|
|
423
|
+
queueOwnerNotification,
|
|
314
424
|
refFromEncodedReference,
|
|
315
425
|
removeFieldsFromSchema,
|
|
316
|
-
|
|
426
|
+
removeTag,
|
|
317
427
|
setDescription,
|
|
428
|
+
setDescriptionWithSchema,
|
|
318
429
|
setLabel,
|
|
430
|
+
setLabelWithSchema,
|
|
431
|
+
setMetaOwner,
|
|
319
432
|
setRefResolver,
|
|
320
433
|
setRefResolverOnData,
|
|
321
434
|
setSchema,
|
|
@@ -323,14 +436,21 @@ export {
|
|
|
323
436
|
setTypename,
|
|
324
437
|
setTypenameInSchema,
|
|
325
438
|
setValue,
|
|
439
|
+
sort,
|
|
440
|
+
sortByLabel,
|
|
441
|
+
sortByTypename,
|
|
326
442
|
splitJsonPath,
|
|
327
|
-
|
|
443
|
+
subscribe,
|
|
444
|
+
symbolIsProxy,
|
|
328
445
|
toEffectSchema,
|
|
329
446
|
toJsonSchema,
|
|
330
447
|
toPropType,
|
|
331
448
|
typeToFormat,
|
|
449
|
+
typedJsonSerializer,
|
|
332
450
|
unwrapOptional,
|
|
333
451
|
updateFieldNameInSchema,
|
|
334
|
-
updateFieldsInSchema
|
|
452
|
+
updateFieldsInSchema,
|
|
453
|
+
version,
|
|
454
|
+
versionValid
|
|
335
455
|
};
|
|
336
456
|
//# sourceMappingURL=index.mjs.map
|