@dialecte/core 0.8.1 → 0.10.0
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/dist/assets/hub.worker-35vzG0HK.js +2 -0
- package/dist/dialecte/create-dialecte-project.d.ts +1 -2
- package/dist/dialecte/create-dialecte-project.d.ts.map +1 -1
- package/dist/dialecte/create-project-factory.d.ts +5 -5
- package/dist/dialecte/create-project-factory.d.ts.map +1 -1
- package/dist/dialecte/define-dialecte.d.ts +2 -2
- package/dist/dialecte/dialecte.types.d.ts +11 -23
- package/dist/dialecte/dialecte.types.d.ts.map +1 -1
- package/dist/{dialecte-gIPrRzni.js → dialecte-CVLWSkgW.js} +1726 -1673
- package/dist/document/document.d.ts +1 -1
- package/dist/document/query/get/record/get-record.d.ts +14 -1
- package/dist/document/query/get/record/get-record.d.ts.map +1 -1
- package/dist/document/query/get/record/get-records.d.ts +12 -2
- package/dist/document/query/get/record/get-records.d.ts.map +1 -1
- package/dist/{engine-store-CIEqgPUb.js → engine-store-Deo9XNhr.js} +21 -21
- package/dist/engine.constants-Bi4gw6BR.js +205 -0
- package/dist/errors/{codes.d.ts → codes.constants.d.ts} +33 -105
- package/dist/errors/{codes.d.ts.map → codes.constants.d.ts.map} +1 -1
- package/dist/errors/core-codes.constants.d.ts +3 -0
- package/dist/errors/core-codes.constants.d.ts.map +1 -0
- package/dist/errors/errors.constants.d.ts +5 -0
- package/dist/errors/errors.constants.d.ts.map +1 -1
- package/dist/errors/errors.d.ts.map +1 -1
- package/dist/errors/index.d.ts +1 -1
- package/dist/errors/index.d.ts.map +1 -1
- package/dist/errors/types.d.ts +1 -1
- package/dist/errors/types.d.ts.map +1 -1
- package/dist/{helpers-DVShv41E.js → helpers-D8p0KiJu.js} +1 -1
- package/dist/helpers.js +2 -2
- package/dist/{in-process-link-DBeAOZRp.js → in-process-link-B-TCHrlb.js} +996 -993
- package/dist/index.js +8 -7
- package/dist/project/index.d.ts +1 -1
- package/dist/project/index.d.ts.map +1 -1
- package/dist/project/io/store-runtime.types.d.ts +1 -3
- package/dist/project/io/store-runtime.types.d.ts.map +1 -1
- package/dist/project/project.d.ts +13 -15
- package/dist/project/project.d.ts.map +1 -1
- package/dist/project/types.d.ts +24 -19
- package/dist/project/types.d.ts.map +1 -1
- package/dist/{project-key-Ch34EtFa.js → project-key-2ccZ-0gu.js} +195 -205
- package/dist/running-operations-DCKvzlU7.js +107 -0
- package/dist/{same-json-value-C6kUaoyt.js → same-json-value-_AChwM_n.js} +41 -41
- package/dist/sqlite-engine.d.ts +7 -0
- package/dist/sqlite-engine.d.ts.map +1 -0
- package/dist/{engine.js → sqlite-engine.js} +4144 -4079
- package/dist/sqlite.d.ts +27 -2
- package/dist/sqlite.d.ts.map +1 -1
- package/dist/sqlite.js +1118 -917
- package/dist/store/in-memory/in-memory-state.constants.d.ts +14 -0
- package/dist/store/in-memory/in-memory-state.constants.d.ts.map +1 -0
- package/dist/store/in-memory/in-memory-state.d.ts +0 -4
- package/dist/store/in-memory/in-memory-state.d.ts.map +1 -1
- package/dist/store/in-memory/in-memory-store.d.ts.map +1 -1
- package/dist/store/in-memory/types.d.ts +1 -2
- package/dist/store/in-memory/types.d.ts.map +1 -1
- package/dist/store/index.d.ts +2 -1
- package/dist/store/index.d.ts.map +1 -1
- package/dist/store/lost-write.d.ts +8 -8
- package/dist/store/lost-write.d.ts.map +1 -1
- package/dist/store/lost-write.types.d.ts +1 -1
- package/dist/store/lost-write.types.d.ts.map +1 -1
- package/dist/store/{engine/project-key.d.ts → project-key.d.ts} +0 -5
- package/dist/store/project-key.d.ts.map +1 -0
- package/dist/store/resolve-store.d.ts +6 -18
- package/dist/store/resolve-store.d.ts.map +1 -1
- package/dist/store/sqlite/adapter/in-process-link.constants.d.ts +12 -0
- package/dist/store/sqlite/adapter/in-process-link.constants.d.ts.map +1 -0
- package/dist/store/sqlite/adapter/in-process-link.d.ts +1 -1
- package/dist/store/sqlite/adapter/in-process-link.d.ts.map +1 -1
- package/dist/store/sqlite/adapter/sqlite-connector.d.ts +12 -11
- package/dist/store/sqlite/adapter/sqlite-connector.d.ts.map +1 -1
- package/dist/store/sqlite/adapter/sqlite-connector.types.d.ts +7 -0
- package/dist/store/sqlite/adapter/sqlite-connector.types.d.ts.map +1 -0
- package/dist/store/sqlite/adapter/sqlite-hub-spawner.d.ts +8 -3
- package/dist/store/sqlite/adapter/sqlite-hub-spawner.d.ts.map +1 -1
- package/dist/store/sqlite/adapter/sqlite-hub-spawner.types.d.ts +12 -1
- package/dist/store/sqlite/adapter/sqlite-hub-spawner.types.d.ts.map +1 -1
- package/dist/store/sqlite/adapter/sqlite-worker-connector.d.ts +2 -2
- package/dist/store/sqlite/adapter/sqlite-worker-connector.d.ts.map +1 -1
- package/dist/store/sqlite/adapter/sqlite-worker-connector.types.d.ts +1 -1
- package/dist/store/sqlite/adapter/sqlite-worker-connector.types.d.ts.map +1 -1
- package/dist/store/sqlite/engine/engine.types.d.ts +2 -2
- package/dist/store/sqlite/engine/engine.types.d.ts.map +1 -1
- package/dist/store/sqlite/engine/schema.d.ts.map +1 -1
- package/dist/store/sqlite/engine/sqlite-engine.d.ts.map +1 -1
- package/dist/store/{hub-public.d.ts → sqlite/hub-public.d.ts} +9 -9
- package/dist/store/sqlite/hub-public.d.ts.map +1 -0
- package/dist/store/sqlite/packaging/engine-packaging.constants.d.ts +15 -0
- package/dist/store/sqlite/packaging/engine-packaging.constants.d.ts.map +1 -0
- package/dist/store/sqlite/runtime/close-engine.d.ts +5 -2
- package/dist/store/sqlite/runtime/close-engine.d.ts.map +1 -1
- package/dist/store/sqlite/runtime/engine-control-loop.d.ts +11 -0
- package/dist/store/sqlite/runtime/engine-control-loop.d.ts.map +1 -0
- package/dist/store/sqlite/runtime/install-pool.d.ts +1 -1
- package/dist/store/sqlite/runtime/install-pool.d.ts.map +1 -1
- package/dist/store/sqlite/runtime/progress-beat.d.ts +1 -1
- package/dist/store/sqlite/runtime/progress-beat.d.ts.map +1 -1
- package/dist/store/sqlite/runtime/runtime.types.d.ts +7 -4
- package/dist/store/sqlite/runtime/runtime.types.d.ts.map +1 -1
- package/dist/store/sqlite/runtime/serve-sqlite-engine.d.ts +9 -0
- package/dist/store/sqlite/runtime/serve-sqlite-engine.d.ts.map +1 -0
- package/dist/store/sqlite/runtime/serve-sqlite-engine.types.d.ts +27 -0
- package/dist/store/sqlite/runtime/serve-sqlite-engine.types.d.ts.map +1 -0
- package/dist/store/sqlite/served/client/check-engine-wire.d.ts.map +1 -0
- package/dist/store/{engine → sqlite/served}/client/client.constants.d.ts +3 -3
- package/dist/store/sqlite/served/client/client.constants.d.ts.map +1 -0
- package/dist/store/{engine → sqlite/served}/client/client.types.d.ts +13 -8
- package/dist/store/sqlite/served/client/client.types.d.ts.map +1 -0
- package/dist/store/{engine → sqlite/served}/client/engine-client.d.ts +1 -1
- package/dist/store/sqlite/served/client/engine-client.d.ts.map +1 -0
- package/dist/store/sqlite/served/client/engine-control.d.ts.map +1 -0
- package/dist/store/sqlite/served/client/heartbeat-watch.d.ts.map +1 -0
- package/dist/store/{engine → sqlite/served}/client/hub-connector.d.ts +1 -1
- package/dist/store/sqlite/served/client/hub-connector.d.ts.map +1 -0
- package/dist/store/{engine → sqlite/served}/client/hub-connector.types.d.ts +6 -7
- package/dist/store/sqlite/served/client/hub-connector.types.d.ts.map +1 -0
- package/dist/store/sqlite/served/client/worker-connector.d.ts.map +1 -0
- package/dist/store/sqlite/served/creation-refusal.d.ts.map +1 -0
- package/dist/store/sqlite/served/dialecte-refusal.d.ts +19 -0
- package/dist/store/sqlite/served/dialecte-refusal.d.ts.map +1 -0
- package/dist/store/sqlite/served/engine-lock.d.ts +6 -0
- package/dist/store/sqlite/served/engine-lock.d.ts.map +1 -0
- package/dist/store/sqlite/served/engine-store.constants.d.ts +3 -0
- package/dist/store/sqlite/served/engine-store.constants.d.ts.map +1 -0
- package/dist/store/{engine → sqlite/served}/engine-store.d.ts +6 -6
- package/dist/store/sqlite/served/engine-store.d.ts.map +1 -0
- package/dist/store/sqlite/served/engine-store.types.d.ts.map +1 -0
- package/dist/store/sqlite/served/engine.constants.d.ts.map +1 -0
- package/dist/store/{engine → sqlite/served}/engine.types.d.ts +2 -4
- package/dist/store/sqlite/served/engine.types.d.ts.map +1 -0
- package/dist/store/sqlite/served/host/changed.d.ts +5 -0
- package/dist/store/sqlite/served/host/changed.d.ts.map +1 -0
- package/dist/store/sqlite/served/host/engine-wire.d.ts.map +1 -0
- package/dist/store/{engine → sqlite/served}/host/heartbeat.d.ts +1 -1
- package/dist/store/sqlite/served/host/heartbeat.d.ts.map +1 -0
- package/dist/store/sqlite/served/host/host.constants.d.ts.map +1 -0
- package/dist/store/{engine → sqlite/served}/host/host.types.d.ts +4 -3
- package/dist/store/sqlite/served/host/host.types.d.ts.map +1 -0
- package/dist/store/sqlite/served/host/store-events.constants.d.ts +9 -0
- package/dist/store/sqlite/served/host/store-events.constants.d.ts.map +1 -0
- package/dist/store/sqlite/served/host/store-events.d.ts.map +1 -0
- package/dist/store/sqlite/served/hub/hub-client.constants.d.ts.map +1 -0
- package/dist/store/sqlite/served/hub/hub-client.d.ts.map +1 -0
- package/dist/store/{engine → sqlite/served}/hub/hub-client.types.d.ts +2 -9
- package/dist/store/sqlite/served/hub/hub-client.types.d.ts.map +1 -0
- package/dist/store/sqlite/served/hub/hub-protocol.types.d.ts.map +1 -0
- package/dist/store/sqlite/served/hub/hub-router.d.ts.map +1 -0
- package/dist/store/sqlite/served/hub/hub-shell.d.ts.map +1 -0
- package/dist/store/sqlite/served/hub/hub-shell.types.d.ts.map +1 -0
- package/dist/store/{engine → sqlite/served}/hub/hub.constants.d.ts +3 -3
- package/dist/store/sqlite/served/hub/hub.constants.d.ts.map +1 -0
- package/dist/store/{engine → sqlite/served}/hub/hub.types.d.ts +2 -2
- package/dist/store/sqlite/served/hub/hub.types.d.ts.map +1 -0
- package/dist/store/sqlite/served/hub/hub.worker.d.ts.map +1 -0
- package/dist/store/sqlite/served/hub/realm-host.d.ts.map +1 -0
- package/dist/store/{engine → sqlite/served}/hub/realm-host.types.d.ts +3 -3
- package/dist/store/sqlite/served/hub/realm-host.types.d.ts.map +1 -0
- package/dist/store/sqlite/served/wire/error-envelope.d.ts.map +1 -0
- package/dist/store/sqlite/served/wire/wire-values.d.ts.map +1 -0
- package/dist/store/sqlite/served/wire/wire.constants.d.ts.map +1 -0
- package/dist/store/{engine → sqlite/served}/wire/wire.types.d.ts +1 -1
- package/dist/store/sqlite/served/wire/wire.types.d.ts.map +1 -0
- package/dist/store/sqlite/sqlite-connector-params.d.ts +13 -0
- package/dist/store/sqlite/sqlite-connector-params.d.ts.map +1 -0
- package/dist/store/sqlite/sqlite-engine-registration.d.ts +30 -0
- package/dist/store/sqlite/sqlite-engine-registration.d.ts.map +1 -0
- package/dist/store/sqlite/sqlite-error-entry.d.ts +10 -0
- package/dist/store/sqlite/sqlite-error-entry.d.ts.map +1 -0
- package/dist/store/sqlite/sqlite-errors.constants.d.ts +110 -0
- package/dist/store/sqlite/sqlite-errors.constants.d.ts.map +1 -0
- package/dist/store/sqlite/sqlite-errors.types.d.ts +7 -0
- package/dist/store/sqlite/sqlite-errors.types.d.ts.map +1 -0
- package/dist/store/sqlite/sqlite-storage-kind.constants.d.ts +10 -0
- package/dist/store/sqlite/sqlite-storage-kind.constants.d.ts.map +1 -0
- package/dist/store/sqlite/sqlite-storage-kind.d.ts +3 -0
- package/dist/store/sqlite/sqlite-storage-kind.d.ts.map +1 -0
- package/dist/store/sqlite/sqlite-storage.constants.d.ts +24 -0
- package/dist/store/sqlite/sqlite-storage.constants.d.ts.map +1 -0
- package/dist/store/sqlite/sqlite-storage.types.d.ts +27 -0
- package/dist/store/sqlite/sqlite-storage.types.d.ts.map +1 -0
- package/dist/store/sqlite/sqlite-store-of.d.ts +8 -3
- package/dist/store/sqlite/sqlite-store-of.d.ts.map +1 -1
- package/dist/store/storage-kinds.constants.d.ts +16 -0
- package/dist/store/storage-kinds.constants.d.ts.map +1 -0
- package/dist/store/storage-kinds.d.ts +43 -0
- package/dist/store/storage-kinds.d.ts.map +1 -0
- package/dist/store/storage-kinds.types.d.ts +46 -0
- package/dist/store/storage-kinds.types.d.ts.map +1 -0
- package/dist/store/store.types.d.ts +6 -4
- package/dist/store/store.types.d.ts.map +1 -1
- package/dist/test/assert-xml/assert-xml.d.ts +4 -2
- package/dist/test/assert-xml/assert-xml.d.ts.map +1 -1
- package/dist/test/assert-xml/index.d.ts +1 -0
- package/dist/test/assert-xml/index.d.ts.map +1 -1
- package/dist/test/assert-xml/xml-assertion-error.d.ts +8 -0
- package/dist/test/assert-xml/xml-assertion-error.d.ts.map +1 -0
- package/dist/test/create-test-dialecte.constants.d.ts +4 -0
- package/dist/test/create-test-dialecte.constants.d.ts.map +1 -0
- package/dist/test/create-test-dialecte.d.ts.map +1 -1
- package/dist/test/indexeddb-storage.setup.d.ts +1 -0
- package/dist/test/indexeddb-storage.setup.d.ts.map +1 -0
- package/dist/test/test-storage/index.d.ts +1 -1
- package/dist/test/test-storage/index.d.ts.map +1 -1
- package/dist/test/test-storage/sqlite-test-store.d.ts +15 -0
- package/dist/test/test-storage/sqlite-test-store.d.ts.map +1 -0
- package/dist/test/test-storage/test-storage.types.d.ts +12 -0
- package/dist/test/test-storage/test-storage.types.d.ts.map +1 -1
- package/dist/test/test-storage/test-store-for.d.ts +18 -6
- package/dist/test/test-storage/test-store-for.d.ts.map +1 -1
- package/dist/test/test-storage/test-store-providers.constants.d.ts +8 -0
- package/dist/test/test-storage/test-store-providers.constants.d.ts.map +1 -0
- package/dist/test/test-storage/test-store-providers.d.ts +11 -0
- package/dist/test/test-storage/test-store-providers.d.ts.map +1 -0
- package/dist/test.js +805 -765
- package/dist/{utils-USNkj4sT.js → utils-Cv4oHia0.js} +63 -137
- package/dist/utils.js +1 -1
- package/package.json +40 -8
- package/skills/dialecte/SKILL.md +8 -6
- package/skills/dialecte/references/api.json +93 -66
- package/skills/dialecte/references/api.md +463 -461
- package/skills/dialecte/references/core-api.md +42 -15
- package/skills/dialecte/references/testing.md +167 -11
- package/skills/dialecte-contributing/SKILL.md +1 -1
- package/skills/dialecte-contributing/references/code-rules.md +7 -0
- package/skills/dialecte-contributing/references/landing-changes.md +4 -4
- package/skills/dialecte-lot/SKILL.md +67 -28
- package/skills/dialecte-lot/references/briefs.md +30 -6
- package/skills/dialecte-lot/references/standard-check.md +2 -2
- package/skills/dialecte-lot/references/stations.md +5 -3
- package/dist/assets/hub.worker-B1HcVDhn.js +0 -2
- package/dist/engine.constants-DBMjMmV9.js +0 -98
- package/dist/engine.d.ts +0 -9
- package/dist/engine.d.ts.map +0 -1
- package/dist/running-operations-vnijBvn7.js +0 -76
- package/dist/store/engine/client/check-engine-wire.d.ts.map +0 -1
- package/dist/store/engine/client/client.constants.d.ts.map +0 -1
- package/dist/store/engine/client/client.types.d.ts.map +0 -1
- package/dist/store/engine/client/engine-client.d.ts.map +0 -1
- package/dist/store/engine/client/engine-control.d.ts.map +0 -1
- package/dist/store/engine/client/heartbeat-watch.d.ts.map +0 -1
- package/dist/store/engine/client/hub-connector.d.ts.map +0 -1
- package/dist/store/engine/client/hub-connector.types.d.ts.map +0 -1
- package/dist/store/engine/client/worker-connector.d.ts.map +0 -1
- package/dist/store/engine/creation-refusal.d.ts.map +0 -1
- package/dist/store/engine/dialecte-refusal.d.ts +0 -18
- package/dist/store/engine/dialecte-refusal.d.ts.map +0 -1
- package/dist/store/engine/engine-store.d.ts.map +0 -1
- package/dist/store/engine/engine-store.types.d.ts.map +0 -1
- package/dist/store/engine/engine.constants.d.ts.map +0 -1
- package/dist/store/engine/engine.types.d.ts.map +0 -1
- package/dist/store/engine/host/engine-wire.d.ts.map +0 -1
- package/dist/store/engine/host/heartbeat.d.ts.map +0 -1
- package/dist/store/engine/host/host.constants.d.ts.map +0 -1
- package/dist/store/engine/host/host.types.d.ts.map +0 -1
- package/dist/store/engine/host/store-events.d.ts.map +0 -1
- package/dist/store/engine/hub/hub-client.constants.d.ts.map +0 -1
- package/dist/store/engine/hub/hub-client.d.ts.map +0 -1
- package/dist/store/engine/hub/hub-client.types.d.ts.map +0 -1
- package/dist/store/engine/hub/hub-protocol.types.d.ts.map +0 -1
- package/dist/store/engine/hub/hub-router.d.ts.map +0 -1
- package/dist/store/engine/hub/hub-shell.d.ts.map +0 -1
- package/dist/store/engine/hub/hub-shell.types.d.ts.map +0 -1
- package/dist/store/engine/hub/hub.constants.d.ts.map +0 -1
- package/dist/store/engine/hub/hub.types.d.ts.map +0 -1
- package/dist/store/engine/hub/hub.worker.d.ts.map +0 -1
- package/dist/store/engine/hub/realm-host.d.ts.map +0 -1
- package/dist/store/engine/hub/realm-host.types.d.ts.map +0 -1
- package/dist/store/engine/project-key.d.ts.map +0 -1
- package/dist/store/engine/wire/error-envelope.d.ts.map +0 -1
- package/dist/store/engine/wire/wire-values.d.ts.map +0 -1
- package/dist/store/engine/wire/wire.constants.d.ts.map +0 -1
- package/dist/store/engine/wire/wire.types.d.ts.map +0 -1
- package/dist/store/hub-public.d.ts.map +0 -1
- package/dist/store/sqlite/runtime/serve-dialecte-engine.d.ts +0 -16
- package/dist/store/sqlite/runtime/serve-dialecte-engine.d.ts.map +0 -1
- package/dist/store/sqlite-storage.constants.d.ts +0 -14
- package/dist/store/sqlite-storage.constants.d.ts.map +0 -1
- package/dist/store/sqlite-storage.d.ts +0 -22
- package/dist/store/sqlite-storage.d.ts.map +0 -1
- package/dist/store/sqlite-storage.types.d.ts +0 -24
- package/dist/store/sqlite-storage.types.d.ts.map +0 -1
- package/dist/test/test-dialecte.worker.d.ts +0 -2
- package/dist/test/test-dialecte.worker.d.ts.map +0 -1
- /package/dist/store/{engine → sqlite/served}/client/check-engine-wire.d.ts +0 -0
- /package/dist/store/{engine → sqlite/served}/client/engine-control.d.ts +0 -0
- /package/dist/store/{engine → sqlite/served}/client/heartbeat-watch.d.ts +0 -0
- /package/dist/store/{engine → sqlite/served}/client/worker-connector.d.ts +0 -0
- /package/dist/store/{engine → sqlite/served}/creation-refusal.d.ts +0 -0
- /package/dist/store/{engine → sqlite/served}/engine-store.types.d.ts +0 -0
- /package/dist/store/{engine → sqlite/served}/engine.constants.d.ts +0 -0
- /package/dist/store/{engine → sqlite/served}/host/engine-wire.d.ts +0 -0
- /package/dist/store/{engine → sqlite/served}/host/host.constants.d.ts +0 -0
- /package/dist/store/{engine → sqlite/served}/host/store-events.d.ts +0 -0
- /package/dist/store/{engine → sqlite/served}/hub/hub-client.constants.d.ts +0 -0
- /package/dist/store/{engine → sqlite/served}/hub/hub-client.d.ts +0 -0
- /package/dist/store/{engine → sqlite/served}/hub/hub-protocol.types.d.ts +0 -0
- /package/dist/store/{engine → sqlite/served}/hub/hub-router.d.ts +0 -0
- /package/dist/store/{engine → sqlite/served}/hub/hub-shell.d.ts +0 -0
- /package/dist/store/{engine → sqlite/served}/hub/hub-shell.types.d.ts +0 -0
- /package/dist/store/{engine → sqlite/served}/hub/hub.worker.d.ts +0 -0
- /package/dist/store/{engine → sqlite/served}/hub/realm-host.d.ts +0 -0
- /package/dist/store/{engine → sqlite/served}/wire/error-envelope.d.ts +0 -0
- /package/dist/store/{engine → sqlite/served}/wire/wire-values.d.ts +0 -0
- /package/dist/store/{engine → sqlite/served}/wire/wire.constants.d.ts +0 -0
|
@@ -12,7 +12,7 @@ export declare const ERROR_CATALOG: {
|
|
|
12
12
|
readonly code: "D0002";
|
|
13
13
|
readonly message: "Assertion failed";
|
|
14
14
|
readonly explanation: {
|
|
15
|
-
readonly when: "An `invariant` without its own key failed, or core met a state it never expects (a catalogue built wrong, an inconsistent export,
|
|
15
|
+
readonly when: "An `invariant` without its own key failed, or core met a state it never expects (a catalogue built wrong, an inconsistent export, a store running on a dependency older than the one it supports).";
|
|
16
16
|
readonly fix: "Read `detail`: it names the condition. Give `invariant` a key of its own when the failure is one a caller should handle.";
|
|
17
17
|
readonly docs: "https://dialecte.github.io/core/guide/development/state-and-errors#error-catalog";
|
|
18
18
|
};
|
|
@@ -21,8 +21,8 @@ export declare const ERROR_CATALOG: {
|
|
|
21
21
|
readonly code: "D1001";
|
|
22
22
|
readonly message: "Failed to open database";
|
|
23
23
|
readonly explanation: {
|
|
24
|
-
readonly when: "The
|
|
25
|
-
readonly fix: "Check the browser supports the store
|
|
24
|
+
readonly when: "The store could not open the project's data, or could not reach what serves it (its database, a worker, a server): it failed to start, was blocked, or went unanswered; the failure is the `cause` when there is one.";
|
|
25
|
+
readonly fix: "Check the browser supports what the store needs and that no other tab holds the project; reload, or open the project with another storage. The store's own docs name what it needs.";
|
|
26
26
|
readonly docs: "https://dialecte.github.io/core/api/project#store-errors";
|
|
27
27
|
};
|
|
28
28
|
};
|
|
@@ -111,38 +111,11 @@ export declare const ERROR_CATALOG: {
|
|
|
111
111
|
readonly code: "D1011";
|
|
112
112
|
readonly message: "Failed to read from database";
|
|
113
113
|
readonly explanation: {
|
|
114
|
-
readonly when: "The
|
|
114
|
+
readonly when: "The store's database failed under a read; the failure is the `cause`.";
|
|
115
115
|
readonly fix: "Read `cause`; reopen the project. A lasting failure means the file is damaged: import its documents again.";
|
|
116
116
|
readonly docs: "https://dialecte.github.io/core/api/project#store-errors";
|
|
117
117
|
};
|
|
118
118
|
};
|
|
119
|
-
readonly STORE_PROTOCOL_MISMATCH: {
|
|
120
|
-
readonly code: "D1012";
|
|
121
|
-
readonly message: "Another version of the library holds the shared store connection";
|
|
122
|
-
readonly explanation: {
|
|
123
|
-
readonly when: "Another version of the library already holds the shared store connection (another tab runs an older or newer build).";
|
|
124
|
-
readonly fix: "Close the other tabs of the app, or reload them all on the same version.";
|
|
125
|
-
readonly docs: "https://dialecte.github.io/core/api/project#store-errors";
|
|
126
|
-
};
|
|
127
|
-
};
|
|
128
|
-
readonly STORE_REALM_ID_TAKEN: {
|
|
129
|
-
readonly code: "D1013";
|
|
130
|
-
readonly message: "A view with this id is already connected to the shared store";
|
|
131
|
-
readonly explanation: {
|
|
132
|
-
readonly when: "A view joined the shared store with an id another connected view already uses.";
|
|
133
|
-
readonly fix: "Give each view its own id; reload the page that reused one.";
|
|
134
|
-
readonly docs: "https://dialecte.github.io/core/api/project#store-errors";
|
|
135
|
-
};
|
|
136
|
-
};
|
|
137
|
-
readonly STORE_REALM_UNKNOWN: {
|
|
138
|
-
readonly code: "D1014";
|
|
139
|
-
readonly message: "The shared store does not know this view";
|
|
140
|
-
readonly explanation: {
|
|
141
|
-
readonly when: "A view spoke to the shared store without having joined it, or after it left.";
|
|
142
|
-
readonly fix: "Join (open the project) before reading or writing; reload a view that was disconnected.";
|
|
143
|
-
readonly docs: "https://dialecte.github.io/core/api/project#store-errors";
|
|
144
|
-
};
|
|
145
|
-
};
|
|
146
119
|
readonly STORE_VALUE_NOT_JSON: {
|
|
147
120
|
readonly code: "D1015";
|
|
148
121
|
readonly message: "A value handed to the store is not JSON";
|
|
@@ -156,8 +129,8 @@ export declare const ERROR_CATALOG: {
|
|
|
156
129
|
readonly code: "D1016";
|
|
157
130
|
readonly message: "This browser gives the page no storage for a project";
|
|
158
131
|
readonly explanation: {
|
|
159
|
-
readonly when: "The browser gives the page
|
|
160
|
-
readonly fix: "Open the app in a normal (not private) window of a browser that supports the
|
|
132
|
+
readonly when: "The browser gives the page none of the storage the store needs (a private window, an API the browser lacks), so it cannot create, open or destroy the project; nothing is changed.";
|
|
133
|
+
readonly fix: "Open the app in a normal (not private) window of a browser that supports what the project's store needs, or open the project with another storage.";
|
|
161
134
|
readonly docs: "https://dialecte.github.io/core/api/project#store-errors";
|
|
162
135
|
};
|
|
163
136
|
};
|
|
@@ -165,27 +138,27 @@ export declare const ERROR_CATALOG: {
|
|
|
165
138
|
readonly code: "D1017";
|
|
166
139
|
readonly message: "Not enough storage left for the project";
|
|
167
140
|
readonly explanation: {
|
|
168
|
-
readonly when: "The origin has too little storage left
|
|
141
|
+
readonly when: "The origin has too little storage left for what the call needs (a new project's files, an import's room ahead of it), or the store's storage refused a write for want of space; nothing of the call applied. A store that checks the room it needs answers it; the local (IndexedDB) store answers the failing write's own error (`STORE_COMMIT_FAILED`, `STORE_BULK_ADD_FAILED`, `STORE_BULK_UPDATE_FAILED`; an import `IMPORT_FAILED`); the in-memory store has no limit.";
|
|
169
142
|
readonly fix: "Free storage for the origin (delete projects no longer needed) or import a smaller file, then try again; `meta.needed` and `meta.available` give the sizes when known.";
|
|
170
143
|
readonly docs: "https://dialecte.github.io/core/api/project#store-errors";
|
|
171
144
|
};
|
|
172
145
|
};
|
|
173
|
-
readonly
|
|
146
|
+
readonly STORE_CONNECTION_LOST: {
|
|
174
147
|
readonly code: "D1018";
|
|
175
|
-
readonly message: "The
|
|
148
|
+
readonly message: "The store lost its connection";
|
|
176
149
|
readonly explanation: {
|
|
177
|
-
readonly when: "A call to a project
|
|
178
|
-
readonly fix: "A Document's commit and a Project's import ask the outcome themselves, once: a commit that landed resolves; otherwise the refusal says `meta.outcome` - `not-applied` (make it again if wanted), `running` (
|
|
179
|
-
readonly docs: "https://dialecte.github.io/core/api/project#
|
|
150
|
+
readonly when: "A call to a store whose project is served elsewhere (a worker, another realm, a server) lost its connection to what serves it: that went away or gave no answer within its budget, sent nothing for too long while the call waited (the call may still finish), or dropped this view. `meta.reason` is the store's own word for why, listed in its docs; a write's refusal carries `meta.writeId`.";
|
|
151
|
+
readonly fix: "A Document's commit and a Project's import ask the outcome themselves, once: a commit that landed resolves; otherwise the refusal says `meta.outcome` - `not-applied` (make it again if wanted), `running` (what serves the store may still apply it: tell the user, read again later), `unknown` (it could not be asked), or `applied` for an import (its document is in the project; its diagnostics were lost). Elsewhere ask `getWriteOutcome({ writeId })` with `meta.writeId` before writing again; never retry a write blindly. The store's docs say what each `meta.reason` asks of the app.";
|
|
152
|
+
readonly docs: "https://dialecte.github.io/core/api/project#a-lost-connection";
|
|
180
153
|
};
|
|
181
154
|
};
|
|
182
|
-
readonly
|
|
183
|
-
readonly code: "
|
|
184
|
-
readonly message: "
|
|
155
|
+
readonly STORE_KIND_TAKEN: {
|
|
156
|
+
readonly code: "D1021";
|
|
157
|
+
readonly message: "This storage type is registered already by another kind";
|
|
185
158
|
readonly explanation: {
|
|
186
|
-
readonly when: "`
|
|
187
|
-
readonly fix: "
|
|
188
|
-
readonly docs: "https://dialecte.github.io/core/
|
|
159
|
+
readonly when: "`registerStorageKind({ type, kind })` named a type a kind of another `id` holds already: the first registration in the realm is kept, nothing replaced (the same `id` again does nothing: a module evaluated twice, or another copy of the package). `meta`: `type`, `registered` (the id kept), `asked` (the id refused).";
|
|
160
|
+
readonly fix: "Register each storage type once, from one package: import the entry that registers it from a single copy, or give the other kind a type of its own.";
|
|
161
|
+
readonly docs: "https://dialecte.github.io/core/guide/development/implementing-a-store#register-a-storage-kind";
|
|
189
162
|
};
|
|
190
163
|
};
|
|
191
164
|
readonly ELEMENT_NOT_FOUND: {
|
|
@@ -476,47 +449,20 @@ export declare const ERROR_CATALOG: {
|
|
|
476
449
|
readonly docs: "https://dialecte.github.io/core/api/project#blobs";
|
|
477
450
|
};
|
|
478
451
|
};
|
|
479
|
-
readonly PROJECT_LAYOUT_OUTDATED: {
|
|
480
|
-
readonly code: "D7005";
|
|
481
|
-
readonly message: "Project stored by another version of the library";
|
|
482
|
-
readonly explanation: {
|
|
483
|
-
readonly when: "The project file was stored by another version of the library (another layout); nothing was written to it.";
|
|
484
|
-
readonly fix: "Delete the project and import its files again with this version.";
|
|
485
|
-
readonly docs: "https://dialecte.github.io/core/api/project#store-errors";
|
|
486
|
-
};
|
|
487
|
-
};
|
|
488
|
-
readonly PROJECT_ENGINE_UNAVAILABLE: {
|
|
489
|
-
readonly code: "D7006";
|
|
490
|
-
readonly message: "No view can start the project engine";
|
|
491
|
-
readonly explanation: {
|
|
492
|
-
readonly when: "The project's engine could not be started or reached: its worker failed to load or never answered its open within the open budget; through the origin's hub, no open view offers an engine for the project's dialecte, or the engine never said it opened; a destroy still running past the open budget, or one asked by a page suspended before the hub granted it.";
|
|
493
|
-
readonly fix: "Keep one tab of the app open and reload; check the dialecte's `engineUrl` points at its worker and that it loads (the console names a script that fails); a destroy refused so is asked again once the project is closed elsewhere.";
|
|
494
|
-
readonly docs: "https://dialecte.github.io/core/api/project#store-errors";
|
|
495
|
-
};
|
|
496
|
-
};
|
|
497
|
-
readonly PROJECT_ENGINE_BUSY: {
|
|
498
|
-
readonly code: "D7007";
|
|
499
|
-
readonly message: "The project is still held by another engine";
|
|
500
|
-
readonly explanation: {
|
|
501
|
-
readonly when: "Another engine still holds the project (another tab or a worker that did not stop).";
|
|
502
|
-
readonly fix: "Close the other tabs of the app, then open the project again.";
|
|
503
|
-
readonly docs: "https://dialecte.github.io/core/api/project#store-errors";
|
|
504
|
-
};
|
|
505
|
-
};
|
|
506
452
|
readonly PROJECT_DIALECTE_MISMATCH: {
|
|
507
453
|
readonly code: "D7008";
|
|
508
|
-
readonly message: "The project's
|
|
454
|
+
readonly message: "The project's data is of another dialecte";
|
|
509
455
|
readonly explanation: {
|
|
510
|
-
readonly when: "A project
|
|
511
|
-
readonly fix: "Open the project with the dialecte it was created with;
|
|
456
|
+
readonly when: "A project stored by another dialecte was opened (nothing of it written), or what serves the store (a worker, a server) was asked for a project of a dialecte it does not serve. Two dialectes' projects of one name are two projects: opening one never meets the other. `meta`: `project`, `realmDialecteId` (the one asked), and `projectDialecteId` (the project's), or the dialectes served, as the store's docs name them.";
|
|
457
|
+
readonly fix: "Open the project with the dialecte it was created with; serve every dialecte the app opens projects of, as the store's docs say.";
|
|
512
458
|
readonly docs: "https://dialecte.github.io/core/api/project#store-errors";
|
|
513
459
|
};
|
|
514
460
|
};
|
|
515
461
|
readonly PROJECT_DIALECTE_VERSION_MISMATCH: {
|
|
516
462
|
readonly code: "D7009";
|
|
517
|
-
readonly message: "The project
|
|
463
|
+
readonly message: "The project's store runs another version of the dialecte";
|
|
518
464
|
readonly explanation: {
|
|
519
|
-
readonly when: "
|
|
465
|
+
readonly when: "What serves the project's store (a worker, a server) runs another version of the dialecte than this view: another tab's, or one this page runs already for the project (a page runs one version of each dialecte).";
|
|
520
466
|
readonly fix: "Reload every tab of the app so they run the same version.";
|
|
521
467
|
readonly docs: "https://dialecte.github.io/core/api/project#store-errors";
|
|
522
468
|
};
|
|
@@ -525,7 +471,7 @@ export declare const ERROR_CATALOG: {
|
|
|
525
471
|
readonly code: "D7010";
|
|
526
472
|
readonly message: "The project could not be deleted";
|
|
527
473
|
readonly explanation: {
|
|
528
|
-
readonly when: "Destroying a project left its
|
|
474
|
+
readonly when: "Destroying a project left its data in place: another tab, window or connection still holds it.";
|
|
529
475
|
readonly fix: "Close the other tabs or windows of the app that have the project open, then destroy it again.";
|
|
530
476
|
readonly docs: "https://dialecte.github.io/core/api/project#lifecycle";
|
|
531
477
|
};
|
|
@@ -539,20 +485,11 @@ export declare const ERROR_CATALOG: {
|
|
|
539
485
|
readonly docs: "https://dialecte.github.io/core/api/project#lifecycle";
|
|
540
486
|
};
|
|
541
487
|
};
|
|
542
|
-
readonly PROJECT_DATABASE_LOST: {
|
|
543
|
-
readonly code: "D7012";
|
|
544
|
-
readonly message: "The project's database is gone";
|
|
545
|
-
readonly explanation: {
|
|
546
|
-
readonly when: "The project's files hold data but none of them is its database any more: the database file's header was damaged (by the disk, another program, or site data changed outside the app). Nothing is opened or changed: no empty database is made in its place. `meta.project` names the project.";
|
|
547
|
-
readonly fix: "The project's data cannot be read back. Offer the user a reset, never automatically: `destroy()` on the same Project instance whose `open` was refused (keep it: `const project = new Project(params)`, then `await project.open(name)`) removes what the refused store holds, without opening it; `open(name)` then makes it again, empty, and its documents can be imported again.";
|
|
548
|
-
readonly docs: "https://dialecte.github.io/core/api/project#lifecycle";
|
|
549
|
-
};
|
|
550
|
-
};
|
|
551
488
|
readonly PROJECT_DESTROYED_WHILE_AWAY: {
|
|
552
489
|
readonly code: "D7013";
|
|
553
490
|
readonly message: "The project was deleted while this view was away";
|
|
554
491
|
readonly explanation: {
|
|
555
|
-
readonly when: "A view's connection to a project came back - the page back from a freeze or the back/forward cache, its
|
|
492
|
+
readonly when: "A view's connection to a project came back - the page back from a freeze or the back/forward cache, what serves its store started again - and the project it had open was destroyed meanwhile by another tab (and maybe made again under its name): nothing is opened in its place and nothing of it is read. `meta.project` names the project.";
|
|
556
493
|
readonly fix: "Tell the user the project was deleted elsewhere; close it in this view (`project.close()`), then open it again by its name for what is there now, or choose another.";
|
|
557
494
|
readonly docs: "https://dialecte.github.io/core/api/project#lifecycle";
|
|
558
495
|
};
|
|
@@ -561,27 +498,18 @@ export declare const ERROR_CATALOG: {
|
|
|
561
498
|
readonly code: "D7014";
|
|
562
499
|
readonly message: "The project's name cannot name its files";
|
|
563
500
|
readonly explanation: {
|
|
564
|
-
readonly when: "A project's name or its dialecte's id is empty, `.` or `..`: every store refuses it before it is built (a
|
|
501
|
+
readonly when: "A project's name or its dialecte's id is empty, `.` or `..`: every store refuses it before it is built (a store may name its files after both, which no file can be); nothing was opened or written. `meta.project` and `meta.dialecteId` say which.";
|
|
565
502
|
readonly fix: "Give the project a name of its own (and the dialecte an id) other than an empty one, `.` or `..`.";
|
|
566
503
|
readonly docs: "https://dialecte.github.io/core/api/project#lifecycle";
|
|
567
504
|
};
|
|
568
505
|
};
|
|
569
|
-
readonly
|
|
570
|
-
readonly code: "
|
|
571
|
-
readonly message: "
|
|
572
|
-
readonly explanation: {
|
|
573
|
-
readonly when: "A project was opened on `storage: { type: 'sqlite' }` but made by no dialecte's project factory: its engine (the dialecte's id, its version and its engine worker's URL) is known to no one, so nothing can start it. Nothing was opened.";
|
|
574
|
-
readonly fix: "Make the project with the dialecte's project factory (`createProjectFactory({ dialecte, engineUrl })`, as a dialecte package exports it), or open it on another storage.";
|
|
575
|
-
readonly docs: "https://dialecte.github.io/core/api/project#sqlite-storage";
|
|
576
|
-
};
|
|
577
|
-
};
|
|
578
|
-
readonly PROJECT_SQLITE_NOT_IMPORTED: {
|
|
579
|
-
readonly code: "D7016";
|
|
580
|
-
readonly message: "SQLite storage needs `import '@dialecte/core/sqlite'`";
|
|
506
|
+
readonly PROJECT_STORAGE_NOT_REGISTERED: {
|
|
507
|
+
readonly code: "D7018";
|
|
508
|
+
readonly message: "The project's storage type is not registered";
|
|
581
509
|
readonly explanation: {
|
|
582
|
-
readonly when: "A project was opened (or destroyed by name)
|
|
583
|
-
readonly fix: "
|
|
584
|
-
readonly docs: "https://dialecte.github.io/core/
|
|
510
|
+
readonly when: "A project was opened (or destroyed by name), or a test asked for a test store, on a `storage.type` no kind is registered for in this realm: core serves `local`, `inMemory` and `custom` itself, every other type comes from the entry that registers it (`registerStorageKind`). Nothing was opened. `meta`: `project`, `type`.";
|
|
511
|
+
readonly fix: "Import the entry that registers the type once in the app's entry (for tests, in the test runner's setup file), before the first project opens on it; or open the project on another storage. Imported already? A kind is shared by every copy of @dialecte/core of the same storage version in the realm: one registered by a copy of another version (a package bringing its own core) is not seen - align the core versions.";
|
|
512
|
+
readonly docs: "https://dialecte.github.io/core/guide/development/implementing-a-store#register-a-storage-kind";
|
|
585
513
|
};
|
|
586
514
|
};
|
|
587
515
|
readonly DOCUMENT_PATH_INVALID: {
|
|
@@ -603,4 +531,4 @@ export declare const ERROR_CATALOG: {
|
|
|
603
531
|
};
|
|
604
532
|
};
|
|
605
533
|
};
|
|
606
|
-
//# sourceMappingURL=codes.d.ts.map
|
|
534
|
+
//# sourceMappingURL=codes.constants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"codes.d.ts","sourceRoot":"","sources":["../../src/errors/codes.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"codes.constants.d.ts","sourceRoot":"","sources":["../../src/errors/codes.constants.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsiBhB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"core-codes.constants.d.ts","sourceRoot":"","sources":["../../src/errors/core-codes.constants.ts"],"names":[],"mappings":"AAEA,+EAA+E;AAC/E,eAAO,MAAM,UAAU,aAA2E,CAAA"}
|
|
@@ -1,3 +1,8 @@
|
|
|
1
1
|
/** Where core's published docs live: an explanation's `docs` page is under it. */
|
|
2
2
|
export declare const CORE_DOCS_URL = "https://dialecte.github.io/core";
|
|
3
|
+
/**
|
|
4
|
+
* The functions that only raise or report an error: the method is the first frame that is none of
|
|
5
|
+
* them. Matched on the function name only — a frame's file path may well contain one of these words.
|
|
6
|
+
*/
|
|
7
|
+
export declare const RAISING_FUNCTIONS: Set<string>;
|
|
3
8
|
//# sourceMappingURL=errors.constants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"errors.constants.d.ts","sourceRoot":"","sources":["../../src/errors/errors.constants.ts"],"names":[],"mappings":"AAAA,kFAAkF;AAClF,eAAO,MAAM,aAAa,oCAAoC,CAAA"}
|
|
1
|
+
{"version":3,"file":"errors.constants.d.ts","sourceRoot":"","sources":["../../src/errors/errors.constants.ts"],"names":[],"mappings":"AAAA,kFAAkF;AAClF,eAAO,MAAM,aAAa,oCAAoC,CAAA;AAE9D;;;GAGG;AACH,eAAO,MAAM,iBAAiB,aAK5B,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../src/errors/errors.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../src/errors/errors.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACX,uBAAuB,EACvB,aAAa,EACb,yBAAyB,EACzB,uBAAuB,EACvB,wBAAwB,EACxB,gBAAgB,EAChB,qBAAqB,EACrB,wBAAwB,EACxB,MAAM,SAAS,CAAA;AAEhB;;;;;;;;;;;;;GAaG;AACH,wBAAgB,kBAAkB,CACjC,GAAG,EAAE,gBAAgB,GAAG,uBAAuB,EAC/C,MAAM,EAAE,wBAAwB,GAC9B,KAAK,CAEP;AAED;;;;;GAKG;AACH,wBAAgB,mBAAmB,CAClC,GAAG,EAAE,gBAAgB,GAAG,uBAAuB,EAC/C,MAAM,EAAE,wBAAwB,GAC9B,KAAK,CAeP;AAED;;;;;;;;;GASG;AACH,wBAAgB,YAAY,CAAC,KAAK,CAAC,cAAc,SAAS,yBAAyB,EAClF,OAAO,EAAE,cAAc,GAAG,uBAAuB,CAAC,cAAc,CAAC,GAC/D,wBAAwB,CAAC,cAAc,CAAC,CA0B1C;AAED;;;;;GAKG;AACH,wBAAgB,eAAe,CAAC,MAAM,EAAE,OAAO,GAAG,aAAa,GAAG,SAAS,CAO1E;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,oBAAoB,CACnC,KAAK,CAAC,iBAAiB,SAAS,SAAS,wBAAwB,CAAC,yBAAyB,CAAC,EAAE,EAE9F,KAAK,EAAE,aAAa,EACpB,MAAM,EAAE;IAAE,UAAU,EAAE,iBAAiB,CAAA;CAAE,GACvC,KAAK,IAAI,aAAa,CAAC,qBAAqB,CAAC,iBAAiB,CAAC,CAAC,CAKlE"}
|
package/dist/errors/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/errors/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/errors/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAA;AACjC,cAAc,UAAU,CAAA;AACxB,mBAAmB,SAAS,CAAA"}
|
package/dist/errors/types.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/errors/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/errors/types.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as e, D as t, E as n, O as r, S as i, W as a, b as o, c as s, d as c, f as l, k as u, l as d, s as f, u as p, w as m, y as h } from "./utils-
|
|
1
|
+
import { C as e, D as t, E as n, O as r, S as i, W as a, b as o, c as s, d as c, f as l, k as u, l as d, s as f, u as p, w as m, y as h } from "./utils-Cv4oHia0.js";
|
|
2
2
|
// src/helpers/guard.ts
|
|
3
3
|
var g = [
|
|
4
4
|
"id",
|
package/dist/helpers.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { F as e, I as t, L as n, M as r, N as i, P as a, R as o, j as s } from "./utils-
|
|
2
|
-
import { C as c, S as l, _ as u, a as d, b as f, c as p, d as m, f as h, g, h as _, i as v, l as y, m as b, n as x, o as S, p as C, r as w, s as T, t as E, u as D, v as O, w as k, x as A, y as j } from "./helpers-
|
|
1
|
+
import { F as e, I as t, L as n, M as r, N as i, P as a, R as o, j as s } from "./utils-Cv4oHia0.js";
|
|
2
|
+
import { C as c, S as l, _ as u, a as d, b as f, c as p, d as m, f as h, g, h as _, i as v, l as y, m as b, n as x, o as S, p as C, r as w, s as T, t as E, u as D, v as O, w as k, x as A, y as j } from "./helpers-D8p0KiJu.js";
|
|
3
3
|
export { s as CUSTOM_RECORD_ID_ATTRIBUTE, r as CUSTOM_RECORD_ID_ATTRIBUTE_NAME, i as DIALECTE_DEV_NAMESPACE, a as DIALECTE_NAMESPACES, e as XMLNS_NAMESPACE_URI, t as XMLNS_XSI_NAMESPACE, n as XSD_NAMESPACE_URI, o as XSI_NAMESPACE, p as assertNoFixedViolation, S as assertXsiTypeAdmitted, T as assertXsiTypeChangeLeavesNothing, E as evaluateExpectations, g as isAttributeOf, u as isChildOf, O as isElementOf, j as isFullAttributeArray, f as isParentOf, A as isRawRecord, l as isRecordOf, c as isTrackedRecord, k as isTreeRecord, d as mergeExtensions, x as readAttribute, w as readAttributes, y as standardizeRecord, v as stripAttributes, D as toFullAttributeArray, m as toRawRecord, h as toRef, C as toTrackedRecord, b as toTreeRecord, _ as widen };
|