@dialecte/core 0.8.0 → 0.9.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-oAXwOG-Q.js} +1182 -1203
- package/dist/document/document.d.ts +1 -1
- package/dist/document/types.extensions.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} +4136 -4075
- 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/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 +4 -2
- 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/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/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 +797 -763
- package/dist/types/dialecte-config.d.ts.map +1 -1
- package/dist/{utils-USNkj4sT.js → utils-Cv4oHia0.js} +63 -137
- package/dist/utils.js +1 -1
- package/package.json +16 -22
- package/skills/dialecte/SKILL.md +84 -15
- package/skills/dialecte/references/api.json +88 -61
- package/skills/dialecte/references/api.md +461 -459
- package/skills/dialecte/references/core-api.md +43 -15
- package/skills/dialecte-contributing/SKILL.md +94 -48
- package/skills/dialecte-contributing/references/code-rules.md +7 -0
- package/skills/dialecte-contributing/references/landing-changes.md +10 -6
- package/skills/dialecte-contributing/references/lot-in-a-package.md +45 -0
- package/skills/dialecte-contributing/references/perf.md +2 -1
- package/skills/dialecte-contributing/references/traps.md +20 -0
- package/skills/dialecte-lot/SKILL.md +106 -51
- package/skills/dialecte-lot/references/briefs.md +18 -9
- package/skills/dialecte-lot/references/model-tiers.md +3 -3
- package/skills/dialecte-lot/references/standard-check.md +45 -0
- package/skills/dialecte-lot/references/stations.md +110 -0
- 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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hub.types.d.ts","sourceRoot":"","sources":["../../../../../src/store/sqlite/served/hub/hub.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAA;AAIrE,oGAAoG;AACpG,MAAM,MAAM,UAAU,GAAG;IAAE,UAAU,EAAE,MAAM,CAAC;IAAC,eAAe,EAAE,MAAM,CAAA;CAAE,CAAA;AAExE,iHAAiH;AACjH,MAAM,MAAM,iBAAiB,GAAG;IAAE,GAAG,EAAE,MAAM,GAAG,SAAS,CAAC;IAAC,KAAK,EAAE,OAAO,CAAA;CAAE,CAAA;AAE3E;;;GAGG;AACH,MAAM,MAAM,QAAQ,GACjB;IACA,mGAAmG;IACnG,IAAI,EAAE,OAAO,CAAA;IACb,GAAG,EAAE,MAAM,CAAA;IACX,OAAO,EAAE,MAAM,CAAA;IACf,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,EAAE,OAAO,CAAA;IACjB,QAAQ,EAAE,UAAU,EAAE,CAAA;IACtB,aAAa,CAAC,EAAE,MAAM,CAAA;CACrB,GACD;IACA,uGAAuG;IACvG,IAAI,EAAE,UAAU,CAAA;IAChB,GAAG,EAAE,MAAM,CAAA;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iHAAiH;IACjH,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,KAAK,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,QAAQ,EAAE;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC,CAAA;CACvD,CAAA;AAED,MAAM,MAAM,QAAQ,GAAG;IACtB,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAA;IAC7B,qFAAqF;IACrF,QAAQ,EAAE,GAAG,CAAC,MAAM,EAAE,UAAU,CAAC,CAAA;IACjC,4GAA4G;IAC5G,KAAK,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAC3B,gGAAgG;IAChG,cAAc,EAAE,MAAM,CAAA;IACtB,SAAS,EAAE,MAAM,CAAA;CACjB,CAAA;AAED,sFAAsF;AACtF,MAAM,MAAM,OAAO,GAAG;IAAE,KAAK,EAAE,QAAQ,CAAC;IAAC,GAAG,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,UAAU,EAAE,CAAA;CAAE,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hub.worker.d.ts","sourceRoot":"","sources":["../../../../../src/store/sqlite/served/hub/hub.worker.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"realm-host.d.ts","sourceRoot":"","sources":["../../../../../src/store/sqlite/served/hub/realm-host.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAgB,SAAS,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAA;AAElF;;;;;;GAMG;AACH,wBAAgB,eAAe,CAAC,MAAM,EAAE,eAAe,GAAG,SAAS,CAuLlE"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { EngineControl } from '../client/client.types';
|
|
2
2
|
import { RealmToHubMessage } from './hub-protocol.types';
|
|
3
3
|
/**
|
|
4
|
-
* An engine a page can start for the hub: its dialecte, the version that dialecte runs, its worker.
|
|
5
|
-
*
|
|
4
|
+
* An engine a page can start for the hub: its dialecte, the version that dialecte runs, its worker. Made from what the
|
|
5
|
+
* app registered (`registerSqliteEngine`), one per dialecte, all on the app's one worker file.
|
|
6
6
|
*/
|
|
7
7
|
export type HubEngineSpawner = {
|
|
8
8
|
dialecteId: string;
|
|
9
9
|
dialecteVersion: string;
|
|
10
|
-
/** The address of the
|
|
10
|
+
/** The address of the app's engine worker file. */
|
|
11
11
|
engineUrl: string;
|
|
12
12
|
};
|
|
13
13
|
/** A spawner as the page's host runs it: what its engine opens with, loaded when it spawns one. */
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"realm-host.types.d.ts","sourceRoot":"","sources":["../../../../../src/store/sqlite/served/hub/realm-host.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAA;AAC3D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAA;AAE7D;;;GAGG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC9B,UAAU,EAAE,MAAM,CAAA;IAClB,eAAe,EAAE,MAAM,CAAA;IACvB,mDAAmD;IACnD,SAAS,EAAE,MAAM,CAAA;CACjB,CAAA;AAED,mGAAmG;AACnG,MAAM,MAAM,kBAAkB,GAAG,gBAAgB,GAAG;IACnD,oHAAoH;IACpH,QAAQ,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,CAAA;IAChC,+EAA+E;IAC/E,IAAI,CAAC,EAAE,OAAO,CAAA;CACd,CAAA;AAED,4CAA4C;AAC5C,MAAM,MAAM,YAAY,GAAG;IAC1B,OAAO,EAAE,MAAM,CAAA;IACf,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,EAAE,aAAa,CAAA;IACtB,yGAAyG;IACzG,KAAK,EAAE,OAAO,CAAA;IACd,yFAAyF;IACzF,K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@
|
|
|
1
|
+
{"version":3,"file":"error-envelope.d.ts","sourceRoot":"","sources":["../../../../../src/store/sqlite/served/wire/error-envelope.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAqB,UAAU,EAAE,MAAM,cAAc,CAAA;AAGjE;;;GAGG;AACH,wBAAgB,YAAY,CAAC,MAAM,EAAE;IAAE,MAAM,EAAE,OAAO,CAAA;CAAE,GAAG,UAAU,CAEpE;AAED;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,MAAM,EAAE;IAAE,IAAI,EAAE,UAAU,CAAA;CAAE,GAAG,OAAO,CAsBpE;AA8BD;;;GAGG;AACH,wBAAgB,SAAS,CAAC,MAAM,EAAE;IAAE,KAAK,EAAE,OAAO,CAAC;IAAC,SAAS,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;CAAE,GAAG,OAAO,CAqBtF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wire-values.d.ts","sourceRoot":"","sources":["../../../../../src/store/sqlite/served/wire/wire-values.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAEX,aAAa,EACb,WAAW,EAEX,UAAU,EACV,MAAM,cAAc,CAAA;AAGrB;;;;;;;;GAQG;AACH,wBAAgB,YAAY,CAAC,MAAM,EAAE;IAAE,MAAM,EAAE,SAAS,OAAO,EAAE,CAAA;CAAE,GAAG,UAAU,CAW/E;AAED,2DAA2D;AAC3D,wBAAgB,cAAc,CAAC,MAAM,EAAE,UAAU,GAAG,OAAO,EAAE,CAe5D;AA4QD;;;GAGG;AACH,wBAAgB,UAAU,CAAC,MAAM,EAAE;IAClC,IAAI,EAAE,SAAS,OAAO,EAAE,CAAA;IACxB,MAAM,EAAE,SAAS,aAAa,EAAE,CAAA;CAChC,GAAG;IAAE,IAAI,EAAE,OAAO,EAAE,CAAC;IAAC,QAAQ,EAAE,WAAW,EAAE,CAAA;CAAE,CAoB/C;AAED,8DAA8D;AAC9D,wBAAgB,YAAY,CAAC,MAAM,EAAE;IACpC,IAAI,EAAE,SAAS,OAAO,EAAE,CAAA;IACxB,MAAM,EAAE,SAAS,aAAa,EAAE,CAAA;IAChC,QAAQ,EAAE,WAAW,EAAE,CAAA;CACvB,GAAG,OAAO,EAAE,CAUZ"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wire.constants.d.ts","sourceRoot":"","sources":["../../../../../src/store/sqlite/served/wire/wire.constants.ts"],"names":[],"mappings":"AAGA;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,IAAI,CAAA;AAErC,+FAA+F;AAC/F,eAAO,MAAM,gBAAgB,IAAI,CAAA;AAEjC;;;GAGG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2C4B,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DialecteError } from '
|
|
1
|
+
import { DialecteError } from '../../../../errors';
|
|
2
2
|
/**
|
|
3
3
|
* A thrown value as a port carries it: a structured error with its record, any other `Error` with its
|
|
4
4
|
* name, or any other value as it clones (its text when it cannot).
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wire.types.d.ts","sourceRoot":"","sources":["../../../../../src/store/sqlite/served/wire/wire.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AAE7C;;;GAGG;AACH,MAAM,MAAM,UAAU,GACnB;IAAE,IAAI,EAAE,UAAU,CAAC;IAAC,OAAO,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,iBAAiB,CAAA;CAAE,GAC/E;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAC;IAAC,KAAK,CA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nectorParams } from './sqlite-storage.types';
|
|
2
|
+
import { StoreRuntime } from '../../project/io/store-runtime.types';
|
|
3
|
+
/**
|
|
4
|
+
* What a project on SQLite storage connects with: its name and its dialecte - a name or dialecte id no store can hold
|
|
5
|
+
* refused `PROJECT_NAME_INVALID`, a project made by no factory (no dialecte id or version)
|
|
6
|
+
* `PROJECT_ENGINE_NOT_DECLARED`. The engine it reaches is the one the app registered, read as it connects.
|
|
7
|
+
*/
|
|
8
|
+
export declare function sqliteConnectorParamsOf(params: {
|
|
9
|
+
name: string;
|
|
10
|
+
runtime: StoreRuntime;
|
|
11
|
+
dialecteId: string | undefined;
|
|
12
|
+
}): SqliteConnectorParams;
|
|
13
|
+
//# sourceMappingURL=sqlite-connector-params.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sqlite-connector-params.d.ts","sourceRoot":"","sources":["../../../src/store/sqlite/sqlite-connector-params.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAA;AACnE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAA;AAEpE;;;;GAIG;AACH,wBAAgB,uBAAuB,CAAC,MAAM,EAAE;IAC/C,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,YAAY,CAAA;IACrB,UAAU,EAAE,MAAM,GAAG,SAAS,CAAA;CAC9B,GAAG,qBAAqB,CAWxB"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { SqliteEngineRegistration } from './sqlite-storage.types';
|
|
2
|
+
/**
|
|
3
|
+
* Tell this page where the app's SQLite engine is: `url`, its one worker file (a `?worker&url` import of the file that
|
|
4
|
+
* calls `serveSqliteEngine`), and `dialectes`, the dialectes that file serves (their declarations fit; only each id and
|
|
5
|
+
* version are kept, as plain data on the realm's `globalThis`, so every copy of the library of the same SQLite storage
|
|
6
|
+
* version finds them). Call
|
|
7
|
+
* it once, before the first project opens on `sqlite`; a project of a dialecte it does not name is refused
|
|
8
|
+
* `PROJECT_SQLITE_ENGINE_NOT_REGISTERED`. The same URL and the same dialectes again, in any order, do nothing (a module
|
|
9
|
+
* evaluated twice). Anything else is refused `STORE_SQLITE_ENGINE_FIXED`, the first kept: there is no additive call, the
|
|
10
|
+
* app names all its dialectes at once. Two versions of one dialecte are refused `STORE_HUB_SPAWNERS_FIXED`, nothing
|
|
11
|
+
* kept. A child frame of another origin does not register: its shell does, and it joins through `adoptHubPort`.
|
|
12
|
+
*
|
|
13
|
+
* @intent use SQLite storage in an app, tell the page where an app's SQLite engine worker is, register the dialectes an app's engine worker serves, open projects of several dialectes on one SQLite engine worker
|
|
14
|
+
*/
|
|
15
|
+
export declare function registerSqliteEngine(params: SqliteEngineRegistration): void;
|
|
16
|
+
/**
|
|
17
|
+
* The engine the app registered, read from the realm's `globalThis`: whichever copy of the library of the same SQLite
|
|
18
|
+
* storage version registered it, this copy finds it. None until the app registers one.
|
|
19
|
+
*/
|
|
20
|
+
export declare function registeredSqliteEngine(): SqliteEngineRegistration | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* A test's engine registration for its case (`undefined`: none); answers the restore, which puts back the engine
|
|
23
|
+
* registered before it, or none.
|
|
24
|
+
*
|
|
25
|
+
* @internal for tests
|
|
26
|
+
*/
|
|
27
|
+
export declare function replaceSqliteEngine(params: {
|
|
28
|
+
engine: SqliteEngineRegistration | undefined;
|
|
29
|
+
}): () => void;
|
|
30
|
+
//# sourceMappingURL=sqlite-engine-registration.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sqlite-engine-registration.d.ts","sourceRoot":"","sources":["../../../src/store/sqlite/sqlite-engine-registration.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAsB,wBAAwB,EAAE,MAAM,wBAAwB,CAAA;AAE1F;;;;;;;;;;;;GAYG;AACH,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,wBAAwB,GAAG,IAAI,CAc3E;AAED;;;GAGG;AACH,wBAAgB,sBAAsB,IAAI,wBAAwB,GAAG,SAAS,CAE7E;AAmED;;;;;GAKG;AACH,wBAAgB,mBAAmB,CAAC,MAAM,EAAE;IAC3C,MAAM,EAAE,wBAAwB,GAAG,SAAS,CAAA;CAC5C,GAAG,MAAM,IAAI,CAMb"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { SqliteRaisedErrorKey } from './sqlite-errors.types';
|
|
2
|
+
import { DialecteErrorDefinition, DialecteErrorKey } from '../../errors';
|
|
3
|
+
/**
|
|
4
|
+
* What `createDialecteError` takes for a key the SQLite side raises, held as data (a refusal the hub's router decides):
|
|
5
|
+
* the SQLite catalogue's entry for one of its keys, the key itself for one of core's.
|
|
6
|
+
*/
|
|
7
|
+
export declare function sqliteErrorEntryOf(params: {
|
|
8
|
+
key: SqliteRaisedErrorKey;
|
|
9
|
+
}): DialecteErrorKey | DialecteErrorDefinition;
|
|
10
|
+
//# sourceMappingURL=sqlite-error-entry.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sqlite-error-entry.d.ts","sourceRoot":"","sources":["../../../src/store/sqlite/sqlite-error-entry.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAkB,oBAAoB,EAAE,MAAM,uBAAuB,CAAA;AACjF,OAAO,KAAK,EAAE,uBAAuB,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAA;AAEzE;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,EAAE;IAC1C,GAAG,EAAE,oBAAoB,CAAA;CACzB,GAAG,gBAAgB,GAAG,uBAAuB,CAG7C"}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The errors only SQLite storage raises, declared by the SQLite side (`@dialecte/core/sqlite`), not by core's catalogue:
|
|
3
|
+
* its engine, its worker, the origin's hub and the engine's registration. Their keys and codes are the ones these errors
|
|
4
|
+
* always had. An error of this catalogue is a `DialecteError` like any other; a consumer narrows its key with
|
|
5
|
+
* `isKnownDialecteError(error, { catalogues: [SQLITE_ERRORS] })`.
|
|
6
|
+
*
|
|
7
|
+
* @intent tell which SQLite storage error was thrown, narrow the key of an error SQLite storage raised, word an error of the engine, the hub or the engine's registration for a user
|
|
8
|
+
*/
|
|
9
|
+
export declare const SQLITE_ERRORS: import('../..').DialecteErrorDefinitions<{
|
|
10
|
+
readonly STORE_PROTOCOL_MISMATCH: {
|
|
11
|
+
readonly code: "D1012";
|
|
12
|
+
readonly message: "Another version of the library holds the shared store connection";
|
|
13
|
+
readonly explanation: {
|
|
14
|
+
readonly when: "Another version of the library already holds the origin's hub, or an engine worker speaks another wire than the page (another tab runs an older or newer build, or the worker file was built from another copy).";
|
|
15
|
+
readonly fix: "Close the other tabs of the app, or reload them all on the same version; build the engine worker file from the copy of `@dialecte/core` the page uses.";
|
|
16
|
+
readonly docs: "https://dialecte.github.io/core/api/project#sqlite-errors";
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
readonly STORE_REALM_ID_TAKEN: {
|
|
20
|
+
readonly code: "D1013";
|
|
21
|
+
readonly message: "A view with this id is already connected to the shared store";
|
|
22
|
+
readonly explanation: {
|
|
23
|
+
readonly when: "A view joined the origin's hub with an id another connected view already uses.";
|
|
24
|
+
readonly fix: "Give each view its own id; reload the page that reused one.";
|
|
25
|
+
readonly docs: "https://dialecte.github.io/core/api/project#sqlite-errors";
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
readonly STORE_REALM_UNKNOWN: {
|
|
29
|
+
readonly code: "D1014";
|
|
30
|
+
readonly message: "The shared store does not know this view";
|
|
31
|
+
readonly explanation: {
|
|
32
|
+
readonly when: "A view spoke to the origin's hub without having joined it, or after it left; or a child view was bound by a page the hub no longer knows.";
|
|
33
|
+
readonly fix: "Join (open the project) before reading or writing; reload a view that was disconnected; a child is bound again by its page (`createHubPort`, then `adoptHubPort`).";
|
|
34
|
+
readonly docs: "https://dialecte.github.io/core/api/project#sqlite-errors";
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
readonly STORE_HUB_SPAWNERS_FIXED: {
|
|
38
|
+
readonly code: "D1019";
|
|
39
|
+
readonly message: "The page's hub connection runs another version of this dialecte's engine";
|
|
40
|
+
readonly explanation: {
|
|
41
|
+
readonly when: "`registerSqliteEngine({ url, dialectes })` named two versions of one dialecte (nothing kept), or the engines the app registered name a dialecte the page's connection already runs at another version, as `connectHub()` or a project opening on `sqlite` offers them to the hub: a page runs one version of each dialecte's engine (two would split a project's views between two engines). `meta.spawners` names the dialectes (id and version) refused; nothing of the call was added, nothing opened.";
|
|
42
|
+
readonly fix: "Ship one version of each dialecte in the app, and name it once in `registerSqliteEngine({ url, dialectes })` and in `serveSqliteEngine({ dialectes })`, from the copy the app opens its projects with.";
|
|
43
|
+
readonly docs: "https://dialecte.github.io/core/api/project#sqlite-errors";
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
readonly STORE_SQLITE_ENGINE_FIXED: {
|
|
47
|
+
readonly code: "D1020";
|
|
48
|
+
readonly message: "This page's SQLite engine is registered already";
|
|
49
|
+
readonly explanation: {
|
|
50
|
+
readonly when: "A second `registerSqliteEngine({ url, dialectes })` named another URL or other dialectes than the first (the same URL and the same dialectes, in any order, do nothing: a module evaluated twice). There is no additive call. `meta`: `registered` (kept), `asked` (refused), each `{ url, dialectes }`.";
|
|
51
|
+
readonly fix: "Name all the dialectes of the app in one call, once, before the first project opens; the worker file serves them all (`serveSqliteEngine({ dialectes })`).";
|
|
52
|
+
readonly docs: "https://dialecte.github.io/core/api/dialecte#the-engine-worker-and-its-packaging";
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
readonly PROJECT_LAYOUT_OUTDATED: {
|
|
56
|
+
readonly code: "D7005";
|
|
57
|
+
readonly message: "Project stored by another version of the library";
|
|
58
|
+
readonly explanation: {
|
|
59
|
+
readonly when: "The project's SQLite file was stored by another version of the library (another layout); nothing was written to it.";
|
|
60
|
+
readonly fix: "Delete the project (the dialecte factory's `destroyProject({ name, storage: { type: 'sqlite' } })`) and import its files again with this version.";
|
|
61
|
+
readonly docs: "https://dialecte.github.io/core/api/project#sqlite-errors";
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
readonly PROJECT_ENGINE_UNAVAILABLE: {
|
|
65
|
+
readonly code: "D7006";
|
|
66
|
+
readonly message: "No view can start the project engine";
|
|
67
|
+
readonly explanation: {
|
|
68
|
+
readonly when: "The project's SQLite engine could not be started or reached: its worker failed to load, could not load the engine's chunk (a build or a precache list that leaves it out), 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.";
|
|
69
|
+
readonly fix: "Keep one tab of the app open and reload; check the `url` given to `registerSqliteEngine` points at the app's engine worker file and that it loads (the console names a script that fails); a destroy refused so is asked again once the project is closed elsewhere.";
|
|
70
|
+
readonly docs: "https://dialecte.github.io/core/api/project#sqlite-errors";
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
readonly PROJECT_ENGINE_BUSY: {
|
|
74
|
+
readonly code: "D7007";
|
|
75
|
+
readonly message: "The project is still held by another engine";
|
|
76
|
+
readonly explanation: {
|
|
77
|
+
readonly when: "Another SQLite engine still holds the project's files (another tab or a worker that did not stop).";
|
|
78
|
+
readonly fix: "Close the other tabs of the app, then open the project again.";
|
|
79
|
+
readonly docs: "https://dialecte.github.io/core/api/project#sqlite-errors";
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
readonly PROJECT_DATABASE_LOST: {
|
|
83
|
+
readonly code: "D7012";
|
|
84
|
+
readonly message: "The project's database is gone";
|
|
85
|
+
readonly explanation: {
|
|
86
|
+
readonly when: "The project's files hold data but none of them is its SQLite 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.";
|
|
87
|
+
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.";
|
|
88
|
+
readonly docs: "https://dialecte.github.io/core/api/project#lifecycle";
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
readonly PROJECT_ENGINE_NOT_DECLARED: {
|
|
92
|
+
readonly code: "D7015";
|
|
93
|
+
readonly message: "This project has no engine to open it on SQLite";
|
|
94
|
+
readonly explanation: {
|
|
95
|
+
readonly when: "A project was opened on `storage: { type: 'sqlite' }` but made by no dialecte's project factory: its dialecte's id or version is known to no one, so no engine can be asked for it. Nothing was opened.";
|
|
96
|
+
readonly fix: "Make the project with the dialecte's project factory (`createProjectFactory({ dialecte })`, as a dialecte package exports it), or open it on another storage.";
|
|
97
|
+
readonly docs: "https://dialecte.github.io/core/api/project#sqlite-storage";
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
readonly PROJECT_SQLITE_ENGINE_NOT_REGISTERED: {
|
|
101
|
+
readonly code: "D7017";
|
|
102
|
+
readonly message: "SQLite storage needs the engine registered for this dialecte";
|
|
103
|
+
readonly explanation: {
|
|
104
|
+
readonly when: "A project was opened (or destroyed by name) on `storage: { type: 'sqlite' }` in a realm that can store, but the app told the page of no engine for its dialecte: no `registerSqliteEngine` call, or one that does not name it. Nothing was started. A child its page bound through `adoptHubPort` is not refused: it goes through its page's engine. `meta`: `project`, `dialecteId`.";
|
|
105
|
+
readonly fix: "Write the app's one worker file (`serveSqliteEngine({ dialectes })`) and call `registerSqliteEngine({ url, dialectes })` from `@dialecte/core/sqlite` once, before the first project opens, naming every dialecte of the app; `url` is a `?worker&url` import of that file. The registration is the page's: a frame of the same origin joining the hub on its own registers too (or is bound by its page); a frame of another origin never registers - it joins through `adoptHubPort` before it opens a project. Registered already? The registration is shared by every copy of @dialecte/core of the same SQLite version in the realm: one made by a copy of another version (a dialecte bringing its own core) is not seen - align the core versions.";
|
|
106
|
+
readonly docs: "https://dialecte.github.io/core/api/dialecte#the-engine-worker-and-its-packaging";
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
}>;
|
|
110
|
+
//# sourceMappingURL=sqlite-errors.constants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sqlite-errors.constants.d.ts","sourceRoot":"","sources":["../../../src/store/sqlite/sqlite-errors.constants.ts"],"names":[],"mappings":"AAGA;;;;;;;GAOG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoGxB,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { SQLITE_ERRORS } from './sqlite-errors.constants';
|
|
2
|
+
import { DialecteErrorKey } from '../../errors';
|
|
3
|
+
/** The keys of the errors the SQLite side declares (`SQLITE_ERRORS`). */
|
|
4
|
+
export type SqliteErrorKey = keyof typeof SQLITE_ERRORS;
|
|
5
|
+
/** A key the SQLite side raises: one of core's catalogue, or one it declares itself. */
|
|
6
|
+
export type SqliteRaisedErrorKey = DialecteErrorKey | SqliteErrorKey;
|
|
7
|
+
//# sourceMappingURL=sqlite-errors.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sqlite-errors.types.d.ts","sourceRoot":"","sources":["../../../src/store/sqlite/sqlite-errors.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAA;AAC9D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAA;AAEhD,yEAAyE;AACzE,MAAM,MAAM,cAAc,GAAG,MAAM,OAAO,aAAa,CAAA;AAEvD,wFAAwF;AACxF,MAAM,MAAM,oBAAoB,GAAG,gBAAgB,GAAG,cAAc,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { StorageKind } from '../storage-kinds.types';
|
|
2
|
+
/**
|
|
3
|
+
* The `sqlite` storage kind `@dialecte/core/sqlite` registers: a project's store is an EngineStore on the app's
|
|
4
|
+
* registered SQLite engine, in a worker (through the origin's hub or the page), which imports and exports with its
|
|
5
|
+
* own; a project made by no dialecte's factory is refused `PROJECT_ENGINE_NOT_DECLARED`. It carries no `testStoreOf`:
|
|
6
|
+
* the in-process engine a test project opens on is core's test entry's (`@dialecte/core/test`), so a page that imports
|
|
7
|
+
* this entry never reaches the engine or sqlite-wasm.
|
|
8
|
+
*/
|
|
9
|
+
export declare const SQLITE_STORAGE_KIND: StorageKind<'sqlite'>;
|
|
10
|
+
//# sourceMappingURL=sqlite-storage-kind.constants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sqlite-storage-kind.constants.d.ts","sourceRoot":"","sources":["../../../src/store/sqlite/sqlite-storage-kind.constants.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAA;AAEzD;;;;;;GAMG;AACH,eAAO,MAAM,mBAAmB,EAAE,WAAW,CAAC,QAAQ,CAKrD,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sqlite-storage-kind.d.ts","sourceRoot":"","sources":["../../../src/store/sqlite/sqlite-storage-kind.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAA;AACrE,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAA"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The version of what copies of the library share through the SQLite engine's registration: the
|
|
3
|
+
* `SqliteEngineRegistration` it holds on `globalThis` (the `sqlite` storage kind's id carries no version). Bumped with any change of
|
|
4
|
+
* the registration's shape, so a copy of another version finds no engine (`PROJECT_SQLITE_ENGINE_NOT_REGISTERED`)
|
|
5
|
+
* instead of one it cannot read: `shared-shapes.test.ts` fails until it is; the shape (its members, and every type of
|
|
6
|
+
* the package they reach) is recorded per version in `__shapes__/sqlite-storage-v<version>.txt`, written at the first
|
|
7
|
+
* local run of a new version.
|
|
8
|
+
*/
|
|
9
|
+
export declare const SQLITE_STORAGE_VERSION = 3;
|
|
10
|
+
/**
|
|
11
|
+
* Where the app's registered SQLite engine is kept: on `globalThis`, so every copy of the library of the same SQLite
|
|
12
|
+
* storage version the page loads (a dialecte's own copy, a pre-bundled test entry) finds the engine the app registered.
|
|
13
|
+
* Its text names no `sqlite-engine`: that is the engine chunk's name, which no page chunk may hold.
|
|
14
|
+
*/
|
|
15
|
+
export declare const SQLITE_ENGINE_KEY: unique symbol;
|
|
16
|
+
/**
|
|
17
|
+
* What registered the `sqlite` storage kind: every copy of `@dialecte/core` registers it under this one id, so a second
|
|
18
|
+
* registration (the entry evaluated twice, another copy of any SQLite version) does nothing and the first copy's kind
|
|
19
|
+
* serves them all. What must match between copies, the engine registration, is versioned on its own key
|
|
20
|
+
* (`SQLITE_ENGINE_KEY`): a copy of another SQLite version is refused `PROJECT_SQLITE_ENGINE_NOT_REGISTERED` at open,
|
|
21
|
+
* never at import.
|
|
22
|
+
*/
|
|
23
|
+
export declare const SQLITE_STORAGE_KIND_ID = "@dialecte/core/sqlite";
|
|
24
|
+
//# sourceMappingURL=sqlite-storage.constants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sqlite-storage.constants.d.ts","sourceRoot":"","sources":["../../../src/store/sqlite/sqlite-storage.constants.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,eAAO,MAAM,sBAAsB,IAAI,CAAA;AAEvC;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,eAE7B,CAAA;AAED;;;;;;GAMG;AACH,eAAO,MAAM,sBAAsB,0BAA0B,CAAA"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { SQLITE_ENGINE_KEY } from './sqlite-storage.constants';
|
|
2
|
+
/** A project on `sqlite` storage: its name and its dialecte; its engine comes from what the app registered. */
|
|
3
|
+
export type SqliteConnectorParams = {
|
|
4
|
+
name: string;
|
|
5
|
+
dialecteId: string;
|
|
6
|
+
dialecteVersion: string;
|
|
7
|
+
/** Measure the import's and the export's stages in the engine (`dev.perf`). */
|
|
8
|
+
perf?: boolean;
|
|
9
|
+
};
|
|
10
|
+
/** The engine an app registers: its one worker file and the dialectes that worker serves. */
|
|
11
|
+
export type SqliteEngineRegistration = {
|
|
12
|
+
/** The address of the app's engine worker file: a `?worker&url` import of it. */
|
|
13
|
+
url: string;
|
|
14
|
+
/**
|
|
15
|
+
* Every dialecte the worker file serves (`serveSqliteEngine({ dialectes })`): their declarations fit, only the id
|
|
16
|
+
* and the version of each are kept.
|
|
17
|
+
*/
|
|
18
|
+
dialectes: readonly {
|
|
19
|
+
id: string;
|
|
20
|
+
version: string;
|
|
21
|
+
}[];
|
|
22
|
+
};
|
|
23
|
+
/** `globalThis` as it holds the registered SQLite engine. */
|
|
24
|
+
export type SqliteEngineHolder = {
|
|
25
|
+
[SQLITE_ENGINE_KEY]?: SqliteEngineRegistration;
|
|
26
|
+
};
|
|
27
|
+
//# sourceMappingURL=sqlite-storage.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sqlite-storage.types.d.ts","sourceRoot":"","sources":["../../../src/store/sqlite/sqlite-storage.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAA;AAEnE,+GAA+G;AAC/G,MAAM,MAAM,qBAAqB,GAAG;IACnC,IAAI,EAAE,MAAM,CAAA;IACZ,UAAU,EAAE,MAAM,CAAA;IAClB,eAAe,EAAE,MAAM,CAAA;IACvB,+EAA+E;IAC/E,IAAI,CAAC,EAAE,OAAO,CAAA;CACd,CAAA;AAED,6FAA6F;AAC7F,MAAM,MAAM,wBAAwB,GAAG;IACtC,iFAAiF;IACjF,GAAG,EAAE,MAAM,CAAA;IACX;;;OAGG;IACH,SAAS,EAAE,SAAS;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,EAAE,CAAA;CACrD,CAAA;AAED,6DAA6D;AAC7D,MAAM,MAAM,kBAAkB,GAAG;IAAE,CAAC,iBAAiB,CAAC,CAAC,EAAE,wBAAwB,CAAA;CAAE,CAAA"}
|
|
@@ -1,7 +1,12 @@
|
|
|
1
|
-
import { SqliteConnectorParams } from '../sqlite-storage.types';
|
|
2
1
|
import { Store } from '../store.types';
|
|
3
|
-
|
|
2
|
+
import { StoreRuntime } from '../../project/io/store-runtime.types';
|
|
3
|
+
/**
|
|
4
|
+
* The store of a project on `sqlite` storage: an EngineStore whose engine runs in a worker (hub or page), the worker
|
|
5
|
+
* the app registered read when the project connects; what it connects with as `sqliteConnectorParamsOf` answers it.
|
|
6
|
+
*/
|
|
4
7
|
export declare function sqliteStoreOf(params: {
|
|
5
|
-
|
|
8
|
+
name: string;
|
|
9
|
+
runtime: StoreRuntime;
|
|
10
|
+
dialecteId?: string;
|
|
6
11
|
}): Store;
|
|
7
12
|
//# sourceMappingURL=sqlite-store-of.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sqlite-store-of.d.ts","sourceRoot":"","sources":["../../../src/store/sqlite/sqlite-store-of.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"sqlite-store-of.d.ts","sourceRoot":"","sources":["../../../src/store/sqlite/sqlite-store-of.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAA;AAC3C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAA;AAEpE;;;GAGG;AACH,wBAAgB,aAAa,CAAC,MAAM,EAAE;IACrC,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,YAAY,CAAA;IACrB,UAAU,CAAC,EAAE,MAAM,CAAA;CACnB,GAAG,KAAK,CAOR"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The version of what copies of the library share through the registry of storage kinds: the `StorageKind` shape and
|
|
3
|
+
* the Store contract (a copy's Project calls a store another copy's kind built). Bumped with any change of either, so
|
|
4
|
+
* a copy of another version finds no kind (`PROJECT_STORAGE_NOT_REGISTERED`) instead of a store it cannot use:
|
|
5
|
+
* `shared-shapes.test.ts` fails until it is; the shape is recorded per version in
|
|
6
|
+
* `__shapes__/storage-kinds-v<version>.txt`, written at the first local run of a new version.
|
|
7
|
+
*/
|
|
8
|
+
export declare const STORAGE_KINDS_VERSION = 1;
|
|
9
|
+
/**
|
|
10
|
+
* Where the storage kinds are registered: on `globalThis`, so every copy of the library of the same version the page
|
|
11
|
+
* loads (a dialecte's own copy, a pre-bundled test entry) finds the kinds the app's imports registered.
|
|
12
|
+
*/
|
|
13
|
+
export declare const STORAGE_KINDS_KEY: unique symbol;
|
|
14
|
+
/** The storage types core serves itself: no kind is registered for them, and none may take their place. */
|
|
15
|
+
export declare const BUILT_IN_STORAGE_TYPES: readonly ["local", "inMemory", "custom"];
|
|
16
|
+
//# sourceMappingURL=storage-kinds.constants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"storage-kinds.constants.d.ts","sourceRoot":"","sources":["../../src/store/storage-kinds.constants.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,eAAO,MAAM,qBAAqB,IAAI,CAAA;AAEtC;;;GAGG;AACH,eAAO,MAAM,iBAAiB,eAE7B,CAAA;AAED,2GAA2G;AAC3G,eAAO,MAAM,sBAAsB,0CAA2C,CAAA"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { RegistrableStorageType, StorageKind } from './storage-kinds.types';
|
|
2
|
+
/**
|
|
3
|
+
* Register the store a storage type gets, for every copy of `@dialecte/core` of the same storage version in this
|
|
4
|
+
* realm: a project opened on `{ type }` gets the store `kind.storeOf` builds, a test project the one
|
|
5
|
+
* `kind.testStoreOf` answers (or the storage as it is, without it). The type is first declared by a module
|
|
6
|
+
* augmentation (`declare module '@dialecte/core' { interface StorageKinds { <type>: { type: '<type>'; ... } } }`),
|
|
7
|
+
* then registered once, by the entry that brings the kind (importing it is the app's opt-in). The first registration
|
|
8
|
+
* of a type is kept: the same `kind.id` again does nothing (a module evaluated twice, another copy of the
|
|
9
|
+
* package); another `id` is refused `STORE_KIND_TAKEN`, nothing replaced. Core's own types (`local`, `inMemory`,
|
|
10
|
+
* `custom`) are refused `ASSERTION_FAILED`: core serves them, no kind takes their place.
|
|
11
|
+
*
|
|
12
|
+
* @intent add a storage kind to core, register a store a project opens on by its storage type, write a package that brings its own storage
|
|
13
|
+
*/
|
|
14
|
+
export declare function registerStorageKind<GenericType extends RegistrableStorageType>(params: {
|
|
15
|
+
type: GenericType;
|
|
16
|
+
kind: StorageKind<GenericType>;
|
|
17
|
+
}): void;
|
|
18
|
+
/**
|
|
19
|
+
* A test's kind for its case (`undefined`: none, an app that never imported the entry registering it); answers the
|
|
20
|
+
* restore, which puts back the kind before it, or none.
|
|
21
|
+
*
|
|
22
|
+
* @internal for tests
|
|
23
|
+
*/
|
|
24
|
+
export declare function replaceStorageKind<GenericType extends string>(params: {
|
|
25
|
+
type: GenericType;
|
|
26
|
+
kind: StorageKind<GenericType> | undefined;
|
|
27
|
+
}): () => void;
|
|
28
|
+
/**
|
|
29
|
+
* The kind registered for `type` in this realm, whichever copy of the library registered it; none - the app never
|
|
30
|
+
* imported the entry that registers it, or a copy of another storage version did - refused
|
|
31
|
+
* `PROJECT_STORAGE_NOT_REGISTERED` for `project`.
|
|
32
|
+
*
|
|
33
|
+
* @internal store selection when a project or a test project opens
|
|
34
|
+
*/
|
|
35
|
+
export declare function registeredStorageKind(params: {
|
|
36
|
+
project: string;
|
|
37
|
+
type: string;
|
|
38
|
+
}): StorageKind;
|
|
39
|
+
/** Whether `type` is one core serves itself (`local`, `inMemory`, `custom`), which no kind is registered for. */
|
|
40
|
+
export declare function isBuiltInStorageType(params: {
|
|
41
|
+
type: string;
|
|
42
|
+
}): boolean;
|
|
43
|
+
//# sourceMappingURL=storage-kinds.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"storage-kinds.d.ts","sourceRoot":"","sources":["../../src/store/storage-kinds.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,sBAAsB,EAAE,WAAW,EAAsB,MAAM,uBAAuB,CAAA;AAEpG;;;;;;;;;;;GAWG;AACH,wBAAgB,mBAAmB,CAAC,WAAW,SAAS,sBAAsB,EAAE,MAAM,EAAE;IACvF,IAAI,EAAE,WAAW,CAAA;IACjB,IAAI,EAAE,WAAW,CAAC,WAAW,CAAC,CAAA;CAC9B,GAAG,IAAI,CAkBP;AAED;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,WAAW,SAAS,MAAM,EAAE,MAAM,EAAE;IACtE,IAAI,EAAE,WAAW,CAAA;IACjB,IAAI,EAAE,WAAW,CAAC,WAAW,CAAC,GAAG,SAAS,CAAA;CAC1C,GAAG,MAAM,IAAI,CAQb;AAED;;;;;;GAMG;AACH,wBAAgB,qBAAqB,CAAC,MAAM,EAAE;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,GAAG,WAAW,CAU5F;AAED,iHAAiH;AACjH,wBAAgB,oBAAoB,CAAC,MAAM,EAAE;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,GAAG,OAAO,CAGtE"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { BUILT_IN_STORAGE_TYPES, STORAGE_KINDS_KEY } from './storage-kinds.constants';
|
|
2
|
+
import { Perf } from '../perf';
|
|
3
|
+
import { StoreRuntime } from '../project/io/store-runtime.types';
|
|
4
|
+
import { StorageKinds, StorageParam } from '../project/types';
|
|
5
|
+
import { Store } from './store.types';
|
|
6
|
+
import { AnyDialecteConfig, DialecteHooks } from '../types';
|
|
7
|
+
/** The storage types core serves itself (`local`, `inMemory`, `custom`). */
|
|
8
|
+
export type BuiltInStorageType = (typeof BUILT_IN_STORAGE_TYPES)[number];
|
|
9
|
+
/** The storage types a kind can be registered for: every member of `StorageKinds` but core's built-ins. */
|
|
10
|
+
export type RegistrableStorageType = Exclude<keyof StorageKinds, BuiltInStorageType>;
|
|
11
|
+
/** The dialecte a test project's store holds, as a storage kind receives it: its id, its configs, how its hooks are made. */
|
|
12
|
+
export type StorageKindDialecte = {
|
|
13
|
+
id: string;
|
|
14
|
+
configs: Readonly<Record<string, AnyDialecteConfig>>;
|
|
15
|
+
defaultConfigKey: string;
|
|
16
|
+
createHooks?: () => DialecteHooks<AnyDialecteConfig>;
|
|
17
|
+
};
|
|
18
|
+
/** A storage kind: how a project of one `storage.type` gets its store. */
|
|
19
|
+
export type StorageKind<GenericType extends string = string> = {
|
|
20
|
+
/** What registered the kind and its version: a second registration of the same type is told apart by it. */
|
|
21
|
+
id: string;
|
|
22
|
+
/** The store of a project on this kind. */
|
|
23
|
+
storeOf(params: {
|
|
24
|
+
name: string;
|
|
25
|
+
storage: Extract<StorageParam, {
|
|
26
|
+
type: GenericType;
|
|
27
|
+
}>;
|
|
28
|
+
runtime: StoreRuntime;
|
|
29
|
+
dialecteId?: string;
|
|
30
|
+
perf?: Perf;
|
|
31
|
+
}): Store;
|
|
32
|
+
/** The store a test project opens on, in this realm; without it a test project opens on `storage` as it is. */
|
|
33
|
+
testStoreOf?(params: {
|
|
34
|
+
name: string;
|
|
35
|
+
storage: Extract<StorageParam, {
|
|
36
|
+
type: GenericType;
|
|
37
|
+
}>;
|
|
38
|
+
dialecte: StorageKindDialecte;
|
|
39
|
+
perf?: boolean;
|
|
40
|
+
}): Promise<Store>;
|
|
41
|
+
};
|
|
42
|
+
/** `globalThis` as it holds the registry of storage kinds, by type. */
|
|
43
|
+
export type StorageKindsHolder = {
|
|
44
|
+
[STORAGE_KINDS_KEY]?: Map<string, StorageKind>;
|
|
45
|
+
};
|
|
46
|
+
//# sourceMappingURL=storage-kinds.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"storage-kinds.types.d.ts","sourceRoot":"","sources":["../../src/store/storage-kinds.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAA;AAC1F,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAClC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAA;AACpE,OAAO,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AACjE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAA;AAChD,OAAO,KAAK,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAE/D,4EAA4E;AAC5E,MAAM,MAAM,kBAAkB,GAAG,CAAC,OAAO,sBAAsB,CAAC,CAAC,MAAM,CAAC,CAAA;AAExE,2GAA2G;AAC3G,MAAM,MAAM,sBAAsB,GAAG,OAAO,CAAC,MAAM,YAAY,EAAE,kBAAkB,CAAC,CAAA;AAEpF,6HAA6H;AAC7H,MAAM,MAAM,mBAAmB,GAAG;IACjC,EAAE,EAAE,MAAM,CAAA;IACV,OAAO,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,iBAAiB,CAAC,CAAC,CAAA;IACpD,gBAAgB,EAAE,MAAM,CAAA;IACxB,WAAW,CAAC,EAAE,MAAM,aAAa,CAAC,iBAAiB,CAAC,CAAA;CACpD,CAAA;AAED,0EAA0E;AAC1E,MAAM,MAAM,WAAW,CAAC,WAAW,SAAS,MAAM,GAAG,MAAM,IAAI;IAC9D,4GAA4G;IAC5G,EAAE,EAAE,MAAM,CAAA;IACV,2CAA2C;IAC3C,OAAO,CAAC,MAAM,EAAE;QACf,IAAI,EAAE,MAAM,CAAA;QACZ,OAAO,EAAE,OAAO,CAAC,YAAY,EAAE;YAAE,IAAI,EAAE,WAAW,CAAA;SAAE,CAAC,CAAA;QACrD,OAAO,EAAE,YAAY,CAAA;QACrB,UAAU,CAAC,EAAE,MAAM,CAAA;QACnB,IAAI,CAAC,EAAE,IAAI,CAAA;KACX,GAAG,KAAK,CAAA;IACT,+GAA+G;IAC/G,WAAW,CAAC,CAAC,MAAM,EAAE;QACpB,IAAI,EAAE,MAAM,CAAA;QACZ,OAAO,EAAE,OAAO,CAAC,YAAY,EAAE;YAAE,IAAI,EAAE,WAAW,CAAA;SAAE,CAAC,CAAA;QACrD,QAAQ,EAAE,mBAAmB,CAAA;QAC7B,IAAI,CAAC,EAAE,OAAO,CAAA;KACd,GAAG,OAAO,CAAC,KAAK,CAAC,CAAA;CAClB,CAAA;AAED,uEAAuE;AACvE,MAAM,MAAM,kBAAkB,GAAG;IAAE,CAAC,iBAAiB,CAAC,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,WAAW,CAAC,CAAA;CAAE,CAAA"}
|
|
@@ -89,9 +89,9 @@ export interface Store {
|
|
|
89
89
|
* another tab: a store several connections share announces their changes itself (a project on it posts what the
|
|
90
90
|
* store tells, nothing else). A call that changed nothing announces nothing. The change a call of this connection
|
|
91
91
|
* made is told before that call settles - a store that implements this must keep that order. `resync`: changes
|
|
92
|
-
* may have been missed (the connection
|
|
93
|
-
* nothing until opened again. Answers the unsubscribe. A store without it (IndexedDB, a custom
|
|
94
|
-
* announcing to the project's BroadcastChannel.
|
|
92
|
+
* may have been missed (the connection was made again, to what serves the store anew): read the project again. A
|
|
93
|
+
* closed store is told nothing until opened again. Answers the unsubscribe. A store without it (IndexedDB, a custom
|
|
94
|
+
* one) leaves the announcing to the project's BroadcastChannel.
|
|
95
95
|
*/
|
|
96
96
|
subscribe?(listener: (notice: StoreNotice) => void): () => void;
|
|
97
97
|
/**
|
|
@@ -413,10 +413,12 @@ export type StoreChange = {
|
|
|
413
413
|
message: ProjectChannelMessage;
|
|
414
414
|
own: boolean;
|
|
415
415
|
};
|
|
416
|
-
/** Changes may have been missed (the connection
|
|
416
|
+
/** Changes may have been missed (the connection was made again, to what serves the store anew): read the project again. */
|
|
417
417
|
export type StoreResync = {
|
|
418
418
|
type: 'resync';
|
|
419
419
|
};
|
|
420
420
|
/** What a store that announces tells its connections. */
|
|
421
421
|
export type StoreNotice = StoreChange | StoreResync;
|
|
422
|
+
/** `Omit` applied to each member of a union. */
|
|
423
|
+
export type DistributiveOmit<GenericUnion, GenericKey extends PropertyKey> = GenericUnion extends unknown ? Omit<GenericUnion, GenericKey> : never;
|
|
422
424
|
//# sourceMappingURL=store.types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"store.types.d.ts","sourceRoot":"","sources":["../../src/store/store.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC/C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAA;AAC1C,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAA;AAC7F,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,UAAU,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAElG;;;;;GAKG;AACH,MAAM,MAAM,YAAY,GAAG;IAC1B,6BAA6B;IAC7B,UAAU,EAAE,MAAM,CAAA;IAClB,sEAAsE;IACtE,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,2BAA2B;IAC3B,OAAO,EAAE,MAAM,EAAE,CAAA;IACjB,0DAA0D;IAC1D,eAAe,EAAE,MAAM,EAAE,EAAE,CAAA;IAC3B,oGAAoG;IACpG,YAAY,EAAE,MAAM,EAAE,CAAA;CACtB,CAAA;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,MAAM,WAAW,KAAK;IACrB,0FAA0F;IAC1F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
|
2
|
+
/** The stores `createTestContext` opened by name: connections of their own, closed by `closeTestContexts`. */
|
|
3
|
+
export declare const OPENED_CONTEXT_STORES: Set<Store>;
|
|
4
|
+
//# sourceMappingURL=create-test-dialecte.constants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-test-dialecte.constants.d.ts","sourceRoot":"","sources":["../../src/test/create-test-dialecte.constants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAA;AAEhD,8GAA8G;AAC9G,eAAO,MAAM,qBAAqB,YAAmB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-test-dialecte.d.ts","sourceRoot":"","sources":["../../src/test/create-test-dialecte.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-test-dialecte.d.ts","sourceRoot":"","sources":["../../src/test/create-test-dialecte.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAA;AAClD,OAAO,KAAK,EACX,yBAAyB,EACzB,uBAAuB,EACvB,iBAAiB,EACjB,iBAAiB,EACjB,MAAM,8BAA8B,CAAA;AACrC,OAAO,KAAK,EAAE,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAG3D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAEhD;;;;;;;;GAQG;AACH,wBAAsB,iBAAiB,CACtC,aAAa,SAAS,iBAAiB,GAAG,kBAAkB,EAC5D,cAAc,SAAS,gBAAgB,GAAG,MAAM,CAAC,KAAK,EAAE,KAAK,CAAC,EAC9D,gBAAgB,SAAS,MAAM,GAAG,MAAM,EAExC,MAAM,EAAE,yBAAyB,CAAC,aAAa,EAAE,cAAc,EAAE,gBAAgB,CAAC,GAChF,OAAO,CAAC,iBAAiB,CAAC,aAAa,EAAE,cAAc,CAAC,CAAC,CAAA;AAC5D;;;;GAIG;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