@dialecte/core 0.7.0 → 0.8.1
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-B1HcVDhn.js +2 -0
- package/dist/diagnostics/diagnostics.d.ts +4 -0
- package/dist/diagnostics/diagnostics.d.ts.map +1 -1
- package/dist/diagnostics/types.d.ts +6 -1
- package/dist/diagnostics/types.d.ts.map +1 -1
- package/dist/dialecte/create-dialecte-project.d.ts +11 -0
- package/dist/dialecte/create-dialecte-project.d.ts.map +1 -0
- package/dist/dialecte/create-project-factory.d.ts +14 -0
- package/dist/dialecte/create-project-factory.d.ts.map +1 -0
- package/dist/dialecte/define-dialecte.d.ts +12 -0
- package/dist/dialecte/define-dialecte.d.ts.map +1 -0
- package/dist/dialecte/dialecte.constants.d.ts +4 -0
- package/dist/dialecte/dialecte.constants.d.ts.map +1 -0
- package/dist/dialecte/dialecte.types.d.ts +75 -0
- package/dist/dialecte/dialecte.types.d.ts.map +1 -0
- package/dist/dialecte/index.d.ts +4 -0
- package/dist/dialecte/index.d.ts.map +1 -0
- package/dist/{project-DIKdMMHx.js → dialecte-gIPrRzni.js} +8031 -8457
- package/dist/document/bind-extensions.d.ts +4 -1
- package/dist/document/bind-extensions.d.ts.map +1 -1
- package/dist/document/document.d.ts +58 -5
- package/dist/document/document.d.ts.map +1 -1
- package/dist/document/progress/progress.types.d.ts +21 -4
- package/dist/document/progress/progress.types.d.ts.map +1 -1
- package/dist/document/query/find/ancestor/find-ancestor.d.ts +2 -0
- package/dist/document/query/find/ancestor/find-ancestor.d.ts.map +1 -1
- package/dist/document/query/find/by-attribute/find-by-attributes.d.ts +4 -0
- package/dist/document/query/find/by-attribute/find-by-attributes.d.ts.map +1 -1
- package/dist/document/query/find/descendant/find-descendant.d.ts +2 -0
- package/dist/document/query/find/descendant/find-descendant.d.ts.map +1 -1
- package/dist/document/query/get/attribute/get-attribute.d.ts +4 -0
- package/dist/document/query/get/attribute/get-attribute.d.ts.map +1 -1
- package/dist/document/query/get/attribute/get-attributes.d.ts +4 -0
- package/dist/document/query/get/attribute/get-attributes.d.ts.map +1 -1
- package/dist/document/query/get/definition/get-definition.d.ts +2 -0
- package/dist/document/query/get/definition/get-definition.d.ts.map +1 -1
- package/dist/document/query/get/record/get-child.d.ts +2 -0
- package/dist/document/query/get/record/get-child.d.ts.map +1 -1
- package/dist/document/query/get/record/get-children.d.ts +2 -0
- package/dist/document/query/get/record/get-children.d.ts.map +1 -1
- package/dist/document/query/get/record/get-record.d.ts +2 -0
- package/dist/document/query/get/record/get-record.d.ts.map +1 -1
- package/dist/document/query/get/record/get-records-by-tagname.d.ts +2 -0
- package/dist/document/query/get/record/get-records-by-tagname.d.ts.map +1 -1
- package/dist/document/query/get/record/get-records.d.ts +2 -0
- package/dist/document/query/get/record/get-records.d.ts.map +1 -1
- package/dist/document/query/get/record/load-live-records.d.ts +2 -0
- package/dist/document/query/get/record/load-live-records.d.ts.map +1 -1
- package/dist/document/query/get/record/resolve-record.d.ts +2 -0
- package/dist/document/query/get/record/resolve-record.d.ts.map +1 -1
- package/dist/document/query/get/record/staged-lookup.d.ts +4 -0
- package/dist/document/query/get/record/staged-lookup.d.ts.map +1 -1
- package/dist/document/query/get/tree/get-tree.d.ts +6 -0
- package/dist/document/query/get/tree/get-tree.d.ts.map +1 -1
- package/dist/document/query/main.d.ts +50 -15
- package/dist/document/query/main.d.ts.map +1 -1
- package/dist/document/query/snapshot/collect-snapshot.d.ts +2 -0
- package/dist/document/query/snapshot/collect-snapshot.d.ts.map +1 -1
- package/dist/document/query/snapshot/get-snapshot.d.ts +2 -0
- package/dist/document/query/snapshot/get-snapshot.d.ts.map +1 -1
- package/dist/document/query/snapshot/records-to-tree.d.ts +2 -0
- package/dist/document/query/snapshot/records-to-tree.d.ts.map +1 -1
- package/dist/document/query/tree-filter/omit.d.ts +8 -0
- package/dist/document/query/tree-filter/omit.d.ts.map +1 -1
- package/dist/document/query/tree-filter/order.d.ts +5 -2
- package/dist/document/query/tree-filter/order.d.ts.map +1 -1
- package/dist/document/query/tree-filter/unwrap.d.ts +2 -0
- package/dist/document/query/tree-filter/unwrap.d.ts.map +1 -1
- package/dist/document/staged-operations.d.ts +5 -1
- package/dist/document/staged-operations.d.ts.map +1 -1
- package/dist/document/transaction/clone/clone.d.ts +2 -0
- package/dist/document/transaction/clone/clone.d.ts.map +1 -1
- package/dist/document/transaction/commit/commit.d.ts.map +1 -1
- package/dist/document/transaction/commit/merge-operations.d.ts +1 -1
- package/dist/document/transaction/commit/merge-operations.d.ts.map +1 -1
- package/dist/document/transaction/commit/summarize-operations.d.ts +16 -0
- package/dist/document/transaction/commit/summarize-operations.d.ts.map +1 -0
- package/dist/document/transaction/commit/summarize-operations.types.d.ts +17 -0
- package/dist/document/transaction/commit/summarize-operations.types.d.ts.map +1 -0
- package/dist/document/transaction/create/create.d.ts +2 -0
- package/dist/document/transaction/create/create.d.ts.map +1 -1
- package/dist/document/transaction/guard.d.ts +5 -0
- package/dist/document/transaction/guard.d.ts.map +1 -1
- package/dist/document/transaction/index.d.ts +2 -0
- package/dist/document/transaction/index.d.ts.map +1 -1
- package/dist/document/transaction/main.d.ts +46 -16
- package/dist/document/transaction/main.d.ts.map +1 -1
- package/dist/document/transaction/stage-operations.d.ts.map +1 -1
- package/dist/document/transaction/update/update.d.ts +2 -0
- package/dist/document/transaction/update/update.d.ts.map +1 -1
- package/dist/document/types.d.ts +3 -5
- package/dist/document/types.d.ts.map +1 -1
- package/dist/document/types.extensions.d.ts.map +1 -1
- package/dist/engine-store-CIEqgPUb.js +348 -0
- package/dist/engine.constants-DBMjMmV9.js +98 -0
- package/dist/engine.d.ts +9 -0
- package/dist/engine.d.ts.map +1 -0
- package/dist/engine.js +15805 -0
- package/dist/errors/codes.d.ts +451 -0
- package/dist/errors/codes.d.ts.map +1 -1
- package/dist/errors/errors.constants.d.ts +3 -0
- package/dist/errors/errors.constants.d.ts.map +1 -0
- package/dist/errors/errors.d.ts +10 -0
- package/dist/errors/errors.d.ts.map +1 -1
- package/dist/errors/types.d.ts +14 -0
- package/dist/errors/types.d.ts.map +1 -1
- package/dist/helpers/assert-fixed.d.ts +3 -1
- package/dist/helpers/assert-fixed.d.ts.map +1 -1
- package/dist/helpers/assert-xml-characters.d.ts +35 -0
- package/dist/helpers/assert-xml-characters.d.ts.map +1 -0
- package/dist/helpers/assert-xml-characters.types.d.ts +26 -0
- package/dist/helpers/assert-xml-characters.types.d.ts.map +1 -0
- package/dist/helpers/assert-xsi-type.d.ts +4 -0
- package/dist/helpers/assert-xsi-type.d.ts.map +1 -1
- package/dist/helpers/converter.d.ts +21 -6
- package/dist/helpers/converter.d.ts.map +1 -1
- package/dist/helpers/evaluate-expectations.d.ts +21 -0
- package/dist/helpers/evaluate-expectations.d.ts.map +1 -0
- package/dist/helpers/evaluate-expectations.types.d.ts +31 -0
- package/dist/helpers/evaluate-expectations.types.d.ts.map +1 -0
- package/dist/helpers/guard.d.ts +24 -4
- package/dist/helpers/guard.d.ts.map +1 -1
- package/dist/helpers/index.d.ts +2 -0
- package/dist/helpers/index.d.ts.map +1 -1
- package/dist/helpers/merge-extensions.d.ts +2 -0
- package/dist/helpers/merge-extensions.d.ts.map +1 -1
- package/dist/helpers/read-attributes.d.ts +4 -0
- package/dist/helpers/read-attributes.d.ts.map +1 -1
- package/dist/helpers/standardizing.d.ts +10 -0
- package/dist/helpers/standardizing.d.ts.map +1 -1
- package/dist/helpers/strip-attributes.d.ts +2 -0
- package/dist/helpers/strip-attributes.d.ts.map +1 -1
- package/dist/helpers-DVShv41E.js +489 -0
- package/dist/helpers.js +3 -439
- package/dist/in-process-link-DBeAOZRp.js +2791 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +13 -12
- package/dist/perf/create-perf.d.ts +8 -1
- package/dist/perf/create-perf.d.ts.map +1 -1
- package/dist/perf/index.d.ts +1 -1
- package/dist/perf/index.d.ts.map +1 -1
- package/dist/perf/noop-perf.d.ts.map +1 -1
- package/dist/perf/perf.types.d.ts +65 -6
- package/dist/perf/perf.types.d.ts.map +1 -1
- package/dist/project/index.d.ts +7 -5
- package/dist/project/index.d.ts.map +1 -1
- package/dist/project/io/export-blob.d.ts +5 -2
- package/dist/project/io/export-blob.d.ts.map +1 -1
- package/dist/project/io/export-document.d.ts +5 -4
- package/dist/project/io/export-document.d.ts.map +1 -1
- package/dist/project/io/index.d.ts +1 -1
- package/dist/project/io/index.d.ts.map +1 -1
- package/dist/project/io/init-empty-document.d.ts +2 -0
- package/dist/project/io/init-empty-document.d.ts.map +1 -1
- package/dist/project/io/run-export.d.ts +19 -0
- package/dist/project/io/run-export.d.ts.map +1 -0
- package/dist/project/io/run-export.types.d.ts +45 -0
- package/dist/project/io/run-export.types.d.ts.map +1 -0
- package/dist/project/io/run-import.d.ts +15 -0
- package/dist/project/io/run-import.d.ts.map +1 -0
- package/dist/project/io/run-import.types.d.ts +19 -0
- package/dist/project/io/run-import.types.d.ts.map +1 -0
- package/dist/project/io/store-runtime.constants.d.ts +6 -0
- package/dist/project/io/store-runtime.constants.d.ts.map +1 -0
- package/dist/project/io/store-runtime.d.ts +12 -0
- package/dist/project/io/store-runtime.d.ts.map +1 -0
- package/dist/project/io/store-runtime.types.d.ts +18 -0
- package/dist/project/io/store-runtime.types.d.ts.map +1 -0
- package/dist/project/project-channel.d.ts +11 -0
- package/dist/project/project-channel.d.ts.map +1 -0
- package/dist/project/project.constants.d.ts +12 -0
- package/dist/project/project.constants.d.ts.map +1 -0
- package/dist/project/project.d.ts +315 -31
- package/dist/project/project.d.ts.map +1 -1
- package/dist/project/state/document-lifecycle.d.ts +0 -12
- package/dist/project/state/document-lifecycle.d.ts.map +1 -1
- package/dist/project/state/document-state.d.ts +4 -0
- package/dist/project/state/document-state.d.ts.map +1 -1
- package/dist/project/types.d.ts +126 -60
- package/dist/project/types.d.ts.map +1 -1
- package/dist/project-key-Ch34EtFa.js +1435 -0
- package/dist/rolldown-runtime-CYdcPHCu.js +12 -0
- package/dist/running-operations-vnijBvn7.js +76 -0
- package/dist/same-json-value-C6kUaoyt.js +1603 -0
- package/dist/sqlite.d.ts +5 -0
- package/dist/sqlite.d.ts.map +1 -0
- package/dist/sqlite.js +2671 -0
- package/dist/sqlite3.wasm +0 -0
- package/dist/store/apply-record-patch.d.ts +13 -0
- package/dist/store/apply-record-patch.d.ts.map +1 -0
- package/dist/store/closing-connections.d.ts +7 -0
- package/dist/store/closing-connections.d.ts.map +1 -0
- package/dist/store/closing-connections.types.d.ts +13 -0
- package/dist/store/closing-connections.types.d.ts.map +1 -0
- package/dist/store/commit-progress.d.ts +10 -0
- package/dist/store/commit-progress.d.ts.map +1 -0
- package/dist/store/compare-by-id.d.ts +10 -0
- package/dist/store/compare-by-id.d.ts.map +1 -0
- package/dist/store/document-path.constants.d.ts +20 -0
- package/dist/store/document-path.constants.d.ts.map +1 -0
- package/dist/store/document-path.d.ts +75 -0
- package/dist/store/document-path.d.ts.map +1 -0
- package/dist/store/document-path.types.d.ts +11 -0
- package/dist/store/document-path.types.d.ts.map +1 -0
- package/dist/store/engine/client/check-engine-wire.d.ts +8 -0
- package/dist/store/engine/client/check-engine-wire.d.ts.map +1 -0
- package/dist/store/engine/client/client.constants.d.ts +30 -0
- package/dist/store/engine/client/client.constants.d.ts.map +1 -0
- package/dist/store/engine/client/client.types.d.ts +200 -0
- package/dist/store/engine/client/client.types.d.ts.map +1 -0
- package/dist/store/engine/client/engine-client.d.ts +15 -0
- package/dist/store/engine/client/engine-client.d.ts.map +1 -0
- package/dist/store/engine/client/engine-control.d.ts +16 -0
- package/dist/store/engine/client/engine-control.d.ts.map +1 -0
- package/dist/store/engine/client/heartbeat-watch.d.ts +17 -0
- package/dist/store/engine/client/heartbeat-watch.d.ts.map +1 -0
- package/dist/store/engine/client/hub-connector.d.ts +11 -0
- package/dist/store/engine/client/hub-connector.d.ts.map +1 -0
- package/dist/store/engine/client/hub-connector.types.d.ts +25 -0
- package/dist/store/engine/client/hub-connector.types.d.ts.map +1 -0
- package/dist/store/engine/client/worker-connector.d.ts +32 -0
- package/dist/store/engine/client/worker-connector.d.ts.map +1 -0
- package/dist/store/engine/creation-refusal.d.ts +10 -0
- package/dist/store/engine/creation-refusal.d.ts.map +1 -0
- package/dist/store/engine/dialecte-refusal.d.ts +18 -0
- package/dist/store/engine/dialecte-refusal.d.ts.map +1 -0
- package/dist/store/engine/engine-store.d.ts +163 -0
- package/dist/store/engine/engine-store.d.ts.map +1 -0
- package/dist/store/engine/engine-store.types.d.ts +53 -0
- package/dist/store/engine/engine-store.types.d.ts.map +1 -0
- package/dist/store/engine/engine.constants.d.ts +14 -0
- package/dist/store/engine/engine.constants.d.ts.map +1 -0
- package/dist/store/engine/engine.types.d.ts +165 -0
- package/dist/store/engine/engine.types.d.ts.map +1 -0
- package/dist/store/engine/host/engine-wire.d.ts +19 -0
- package/dist/store/engine/host/engine-wire.d.ts.map +1 -0
- package/dist/store/engine/host/heartbeat.d.ts +33 -0
- package/dist/store/engine/host/heartbeat.d.ts.map +1 -0
- package/dist/store/engine/host/host.constants.d.ts +13 -0
- package/dist/store/engine/host/host.constants.d.ts.map +1 -0
- package/dist/store/engine/host/host.types.d.ts +65 -0
- package/dist/store/engine/host/host.types.d.ts.map +1 -0
- package/dist/store/engine/host/store-events.d.ts +14 -0
- package/dist/store/engine/host/store-events.d.ts.map +1 -0
- package/dist/store/engine/hub/hub-client.constants.d.ts +27 -0
- package/dist/store/engine/hub/hub-client.constants.d.ts.map +1 -0
- package/dist/store/engine/hub/hub-client.d.ts +46 -0
- package/dist/store/engine/hub/hub-client.d.ts.map +1 -0
- package/dist/store/engine/hub/hub-client.types.d.ts +208 -0
- package/dist/store/engine/hub/hub-client.types.d.ts.map +1 -0
- package/dist/store/engine/hub/hub-protocol.types.d.ts +193 -0
- package/dist/store/engine/hub/hub-protocol.types.d.ts.map +1 -0
- package/dist/store/engine/hub/hub-router.d.ts +9 -0
- package/dist/store/engine/hub/hub-router.d.ts.map +1 -0
- package/dist/store/engine/hub/hub-shell.d.ts +13 -0
- package/dist/store/engine/hub/hub-shell.d.ts.map +1 -0
- package/dist/store/engine/hub/hub-shell.types.d.ts +64 -0
- package/dist/store/engine/hub/hub-shell.types.d.ts.map +1 -0
- package/dist/store/engine/hub/hub.constants.d.ts +33 -0
- package/dist/store/engine/hub/hub.constants.d.ts.map +1 -0
- package/dist/store/engine/hub/hub.types.d.ts +305 -0
- package/dist/store/engine/hub/hub.types.d.ts.map +1 -0
- package/dist/store/engine/hub/hub.worker.d.ts +2 -0
- package/dist/store/engine/hub/hub.worker.d.ts.map +1 -0
- package/dist/store/engine/hub/realm-host.d.ts +10 -0
- package/dist/store/engine/hub/realm-host.d.ts.map +1 -0
- package/dist/store/engine/hub/realm-host.types.d.ts +78 -0
- package/dist/store/engine/hub/realm-host.types.d.ts.map +1 -0
- package/dist/store/engine/project-key.d.ts +15 -0
- package/dist/store/engine/project-key.d.ts.map +1 -0
- package/dist/store/engine/wire/error-envelope.d.ts +25 -0
- package/dist/store/engine/wire/error-envelope.d.ts.map +1 -0
- package/dist/store/engine/wire/wire-values.d.ts +33 -0
- package/dist/store/engine/wire/wire-values.d.ts.map +1 -0
- package/dist/store/engine/wire/wire.constants.d.ts +116 -0
- package/dist/store/engine/wire/wire.constants.d.ts.map +1 -0
- package/dist/store/engine/wire/wire.types.d.ts +119 -0
- package/dist/store/engine/wire/wire.types.d.ts.map +1 -0
- package/dist/store/hub-public.d.ts +33 -0
- package/dist/store/hub-public.d.ts.map +1 -0
- package/dist/store/ignore-destroy-outcome.d.ts +6 -0
- package/dist/store/ignore-destroy-outcome.d.ts.map +1 -0
- package/dist/store/in-memory/in-memory-state.d.ts +46 -0
- package/dist/store/in-memory/in-memory-state.d.ts.map +1 -0
- package/dist/store/in-memory/in-memory-store.constants.d.ts +7 -0
- package/dist/store/in-memory/in-memory-store.constants.d.ts.map +1 -0
- package/dist/store/in-memory/in-memory-store.d.ts +105 -17
- package/dist/store/in-memory/in-memory-store.d.ts.map +1 -1
- package/dist/store/in-memory/types.d.ts +55 -1
- package/dist/store/in-memory/types.d.ts.map +1 -1
- package/dist/store/index.d.ts +8 -2
- package/dist/store/index.d.ts.map +1 -1
- package/dist/store/json-values.constants.d.ts +18 -0
- package/dist/store/json-values.constants.d.ts.map +1 -0
- package/dist/store/json-values.d.ts +40 -0
- package/dist/store/json-values.d.ts.map +1 -0
- package/dist/store/json-values.types.d.ts +18 -0
- package/dist/store/json-values.types.d.ts.map +1 -0
- package/dist/store/local/dexie-store.constants.d.ts +20 -0
- package/dist/store/local/dexie-store.constants.d.ts.map +1 -0
- package/dist/store/local/dexie-store.d.ts +134 -5
- package/dist/store/local/dexie-store.d.ts.map +1 -1
- package/dist/store/local/types.d.ts +6 -0
- package/dist/store/local/types.d.ts.map +1 -1
- package/dist/store/lost-write.d.ts +32 -0
- package/dist/store/lost-write.d.ts.map +1 -0
- package/dist/store/lost-write.types.d.ts +4 -0
- package/dist/store/lost-write.types.d.ts.map +1 -0
- package/dist/store/open-connections.d.ts +4 -0
- package/dist/store/open-connections.d.ts.map +1 -0
- package/dist/store/open-connections.types.d.ts +17 -0
- package/dist/store/open-connections.types.d.ts.map +1 -0
- package/dist/store/own-import.d.ts +10 -0
- package/dist/store/own-import.d.ts.map +1 -0
- package/dist/store/project-name.d.ts +10 -0
- package/dist/store/project-name.d.ts.map +1 -0
- package/dist/store/resolve-store.d.ts +28 -4
- package/dist/store/resolve-store.d.ts.map +1 -1
- package/dist/store/running-operations.d.ts +7 -0
- package/dist/store/running-operations.d.ts.map +1 -0
- package/dist/store/running-operations.types.d.ts +10 -0
- package/dist/store/running-operations.types.d.ts.map +1 -0
- package/dist/store/same-json-value.d.ts +9 -0
- package/dist/store/same-json-value.d.ts.map +1 -0
- package/dist/store/sqlite/adapter/in-process-link.d.ts +20 -0
- package/dist/store/sqlite/adapter/in-process-link.d.ts.map +1 -0
- package/dist/store/sqlite/adapter/in-process-link.types.d.ts +21 -0
- package/dist/store/sqlite/adapter/in-process-link.types.d.ts.map +1 -0
- package/dist/store/sqlite/adapter/realm-storage.d.ts +10 -0
- package/dist/store/sqlite/adapter/realm-storage.d.ts.map +1 -0
- package/dist/store/sqlite/adapter/sqlite-connector.d.ts +14 -0
- package/dist/store/sqlite/adapter/sqlite-connector.d.ts.map +1 -0
- package/dist/store/sqlite/adapter/sqlite-engine-settings.d.ts +4 -0
- package/dist/store/sqlite/adapter/sqlite-engine-settings.d.ts.map +1 -0
- package/dist/store/sqlite/adapter/sqlite-hub-spawner.d.ts +8 -0
- package/dist/store/sqlite/adapter/sqlite-hub-spawner.d.ts.map +1 -0
- package/dist/store/sqlite/adapter/sqlite-hub-spawner.types.d.ts +5 -0
- package/dist/store/sqlite/adapter/sqlite-hub-spawner.types.d.ts.map +1 -0
- package/dist/store/sqlite/adapter/sqlite-worker-connector.d.ts +8 -0
- package/dist/store/sqlite/adapter/sqlite-worker-connector.d.ts.map +1 -0
- package/dist/store/sqlite/adapter/sqlite-worker-connector.types.d.ts +5 -0
- package/dist/store/sqlite/adapter/sqlite-worker-connector.types.d.ts.map +1 -0
- package/dist/store/sqlite/engine/blobs.d.ts +55 -0
- package/dist/store/sqlite/engine/blobs.d.ts.map +1 -0
- package/dist/store/sqlite/engine/bulk-insert.d.ts +31 -0
- package/dist/store/sqlite/engine/bulk-insert.d.ts.map +1 -0
- package/dist/store/sqlite/engine/commit.d.ts +20 -0
- package/dist/store/sqlite/engine/commit.d.ts.map +1 -0
- package/dist/store/sqlite/engine/device-cache.d.ts +13 -0
- package/dist/store/sqlite/engine/device-cache.d.ts.map +1 -0
- package/dist/store/sqlite/engine/engine-errors.d.ts +26 -0
- package/dist/store/sqlite/engine/engine-errors.d.ts.map +1 -0
- package/dist/store/sqlite/engine/engine.constants.d.ts +144 -0
- package/dist/store/sqlite/engine/engine.constants.d.ts.map +1 -0
- package/dist/store/sqlite/engine/engine.types.d.ts +361 -0
- package/dist/store/sqlite/engine/engine.types.d.ts.map +1 -0
- package/dist/store/sqlite/engine/history.d.ts +114 -0
- package/dist/store/sqlite/engine/history.d.ts.map +1 -0
- package/dist/store/sqlite/engine/import-queue.d.ts +7 -0
- package/dist/store/sqlite/engine/import-queue.d.ts.map +1 -0
- package/dist/store/sqlite/engine/import-target.d.ts +23 -0
- package/dist/store/sqlite/engine/import-target.d.ts.map +1 -0
- package/dist/store/sqlite/engine/import-window.d.ts +23 -0
- package/dist/store/sqlite/engine/import-window.d.ts.map +1 -0
- package/dist/store/sqlite/engine/reclaim.d.ts +13 -0
- package/dist/store/sqlite/engine/reclaim.d.ts.map +1 -0
- package/dist/store/sqlite/engine/records.d.ts +117 -0
- package/dist/store/sqlite/engine/records.d.ts.map +1 -0
- package/dist/store/sqlite/engine/registry.d.ts +76 -0
- package/dist/store/sqlite/engine/registry.d.ts.map +1 -0
- package/dist/store/sqlite/engine/schema.d.ts +57 -0
- package/dist/store/sqlite/engine/schema.d.ts.map +1 -0
- package/dist/store/sqlite/engine/sqlite-engine.d.ts +14 -0
- package/dist/store/sqlite/engine/sqlite-engine.d.ts.map +1 -0
- package/dist/store/sqlite/engine/transaction.d.ts +12 -0
- package/dist/store/sqlite/engine/transaction.d.ts.map +1 -0
- package/dist/store/sqlite/list-projects.constants.d.ts +12 -0
- package/dist/store/sqlite/list-projects.constants.d.ts.map +1 -0
- package/dist/store/sqlite/list-projects.d.ts +22 -0
- package/dist/store/sqlite/list-projects.d.ts.map +1 -0
- package/dist/store/sqlite/list-projects.types.d.ts +28 -0
- package/dist/store/sqlite/list-projects.types.d.ts.map +1 -0
- package/dist/store/sqlite/load-sqlite.d.ts +11 -0
- package/dist/store/sqlite/load-sqlite.d.ts.map +1 -0
- package/dist/store/sqlite/runtime/close-engine.d.ts +18 -0
- package/dist/store/sqlite/runtime/close-engine.d.ts.map +1 -0
- package/dist/store/sqlite/runtime/install-pool.d.ts +94 -0
- package/dist/store/sqlite/runtime/install-pool.d.ts.map +1 -0
- package/dist/store/sqlite/runtime/pool-header.d.ts +13 -0
- package/dist/store/sqlite/runtime/pool-header.d.ts.map +1 -0
- package/dist/store/sqlite/runtime/progress-beat.d.ts +13 -0
- package/dist/store/sqlite/runtime/progress-beat.d.ts.map +1 -0
- package/dist/store/sqlite/runtime/runtime.constants.d.ts +57 -0
- package/dist/store/sqlite/runtime/runtime.constants.d.ts.map +1 -0
- package/dist/store/sqlite/runtime/runtime.types.d.ts +56 -0
- package/dist/store/sqlite/runtime/runtime.types.d.ts.map +1 -0
- package/dist/store/sqlite/runtime/serve-dialecte-engine.d.ts +16 -0
- package/dist/store/sqlite/runtime/serve-dialecte-engine.d.ts.map +1 -0
- package/dist/store/sqlite/sqlite-store-of.d.ts +7 -0
- package/dist/store/sqlite/sqlite-store-of.d.ts.map +1 -0
- package/dist/store/sqlite/sqlite-text.d.ts +20 -0
- package/dist/store/sqlite/sqlite-text.d.ts.map +1 -0
- package/dist/store/sqlite/sqlite-wasm-url.d.ts +9 -0
- package/dist/store/sqlite/sqlite-wasm-url.d.ts.map +1 -0
- package/dist/store/sqlite/sqlite.constants.d.ts +15 -0
- package/dist/store/sqlite/sqlite.constants.d.ts.map +1 -0
- package/dist/store/sqlite/sqlite.types.d.ts +36 -0
- package/dist/store/sqlite/sqlite.types.d.ts.map +1 -0
- package/dist/store/sqlite-storage.constants.d.ts +14 -0
- package/dist/store/sqlite-storage.constants.d.ts.map +1 -0
- package/dist/store/sqlite-storage.d.ts +22 -0
- package/dist/store/sqlite-storage.d.ts.map +1 -0
- package/dist/store/sqlite-storage.types.d.ts +24 -0
- package/dist/store/sqlite-storage.types.d.ts.map +1 -0
- package/dist/store/store-errors.d.ts +51 -0
- package/dist/store/store-errors.d.ts.map +1 -0
- package/dist/store/store.constants.d.ts +15 -3
- package/dist/store/store.constants.d.ts.map +1 -1
- package/dist/store/store.types.d.ts +280 -16
- package/dist/store/store.types.d.ts.map +1 -1
- package/dist/store/stored-record.d.ts +16 -0
- package/dist/store/stored-record.d.ts.map +1 -0
- package/dist/store/unfinished-imports.d.ts +15 -0
- package/dist/store/unfinished-imports.d.ts.map +1 -0
- package/dist/store/write-outcome.d.ts +34 -0
- package/dist/store/write-outcome.d.ts.map +1 -0
- package/dist/test/assert-valid-xml/assert-valid-xml.constants.d.ts +7 -0
- package/dist/test/assert-valid-xml/assert-valid-xml.constants.d.ts.map +1 -0
- package/dist/test/assert-valid-xml/assert-valid-xml.d.ts +19 -18
- package/dist/test/assert-valid-xml/assert-valid-xml.d.ts.map +1 -1
- package/dist/test/assert-valid-xml/assert-valid-xml.types.d.ts +8 -4
- package/dist/test/assert-valid-xml/assert-valid-xml.types.d.ts.map +1 -1
- package/dist/test/assert-xml/assert-xml.constants.d.ts +25 -0
- package/dist/test/assert-xml/assert-xml.constants.d.ts.map +1 -0
- package/dist/test/assert-xml/assert-xml.d.ts +23 -34
- package/dist/test/assert-xml/assert-xml.d.ts.map +1 -1
- package/dist/test/assert-xml/assert-xml.types.d.ts +48 -0
- package/dist/test/assert-xml/assert-xml.types.d.ts.map +1 -0
- package/dist/test/assert-xml/describe-nearby.d.ts +16 -0
- package/dist/test/assert-xml/describe-nearby.d.ts.map +1 -0
- package/dist/test/assert-xml/describe-node-place.d.ts +15 -0
- package/dist/test/assert-xml/describe-node-place.d.ts.map +1 -0
- package/dist/test/assert-xml/index.d.ts +1 -1
- package/dist/test/assert-xml/index.d.ts.map +1 -1
- package/dist/test/assert-xml/query-failure-message.d.ts +24 -0
- package/dist/test/assert-xml/query-failure-message.d.ts.map +1 -0
- package/dist/test/assert-xml/read-xpath-step.d.ts +8 -0
- package/dist/test/assert-xml/read-xpath-step.d.ts.map +1 -0
- package/dist/test/assert-xml/xpath-parser.d.ts +2 -1
- package/dist/test/assert-xml/xpath-parser.d.ts.map +1 -1
- package/dist/test/config.d.ts +5 -0
- package/dist/test/config.d.ts.map +1 -1
- package/dist/test/constant.d.ts +2 -0
- package/dist/test/constant.d.ts.map +1 -1
- package/dist/test/create-test-dialecte.d.ts +32 -37
- package/dist/test/create-test-dialecte.d.ts.map +1 -1
- package/dist/test/create-test-dialecte.types.d.ts +99 -0
- package/dist/test/create-test-dialecte.types.d.ts.map +1 -0
- package/dist/test/create-test-helpers-internal.types.d.ts +19 -0
- package/dist/test/create-test-helpers-internal.types.d.ts.map +1 -0
- package/dist/test/create-test-helpers.d.ts +13 -0
- package/dist/test/create-test-helpers.d.ts.map +1 -0
- package/dist/test/create-test-helpers.types.d.ts +50 -0
- package/dist/test/create-test-helpers.types.d.ts.map +1 -0
- package/dist/test/fixtures/test-entry-scan-constraint.d.ts +3 -0
- package/dist/test/fixtures/test-entry-scan-constraint.d.ts.map +1 -0
- package/dist/test/fixtures/test-entry-scan-edges.types.d.ts +10 -0
- package/dist/test/fixtures/test-entry-scan-edges.types.d.ts.map +1 -0
- package/dist/test/fixtures/test-entry-scan-recursive.d.ts +4 -0
- package/dist/test/fixtures/test-entry-scan-recursive.d.ts.map +1 -0
- package/dist/test/fixtures/test-entry-scan-recursive.types.d.ts +15 -0
- package/dist/test/fixtures/test-entry-scan-recursive.types.d.ts.map +1 -0
- package/dist/test/fixtures/test-entry-scan-shapes.d.ts +14 -0
- package/dist/test/fixtures/test-entry-scan-shapes.d.ts.map +1 -0
- package/dist/test/fixtures/test-entry-scan-shapes.types.d.ts +14 -0
- package/dist/test/fixtures/test-entry-scan-shapes.types.d.ts.map +1 -0
- package/dist/test/fixtures/test-entry-scan-tree.d.ts +3 -0
- package/dist/test/fixtures/test-entry-scan-tree.d.ts.map +1 -0
- package/dist/test/fixtures/test-entry-scan.d.ts +5 -0
- package/dist/test/fixtures/test-entry-scan.d.ts.map +1 -0
- package/dist/test/fixtures/test-entry-scan.types.d.ts +5 -0
- package/dist/test/fixtures/test-entry-scan.types.d.ts.map +1 -0
- package/dist/test/generated/definition.generated.d.ts +5 -0
- package/dist/test/generated/definition.generated.d.ts.map +1 -1
- package/dist/test/in-memory-storage.setup.d.ts +2 -0
- package/dist/test/in-memory-storage.setup.d.ts.map +1 -0
- package/dist/test/index.d.ts +6 -0
- package/dist/test/index.d.ts.map +1 -1
- package/dist/test/normalize-uuids.constants.d.ts +3 -0
- package/dist/test/normalize-uuids.constants.d.ts.map +1 -0
- package/dist/test/normalize-uuids.d.ts +12 -0
- package/dist/test/normalize-uuids.d.ts.map +1 -1
- package/dist/test/run-test-cases.d.ts +30 -11
- package/dist/test/run-test-cases.d.ts.map +1 -1
- package/dist/test/run-test-cases.type.d.ts +16 -0
- package/dist/test/run-test-cases.type.d.ts.map +1 -1
- package/dist/test/sqlite-storage.setup.d.ts +1 -0
- package/dist/test/sqlite-storage.setup.d.ts.map +1 -0
- package/dist/test/test-dialecte-setup.d.ts +31 -0
- package/dist/test/test-dialecte-setup.d.ts.map +1 -0
- package/dist/test/test-dialecte-setup.types.d.ts +29 -0
- package/dist/test/test-dialecte-setup.types.d.ts.map +1 -0
- package/dist/test/test-dialecte.d.ts +2722 -0
- package/dist/test/test-dialecte.d.ts.map +1 -0
- package/dist/test/test-dialecte.types.d.ts +3 -0
- package/dist/test/test-dialecte.types.d.ts.map +1 -0
- package/dist/test/test-dialecte.worker.d.ts +2 -0
- package/dist/test/test-dialecte.worker.d.ts.map +1 -0
- package/dist/test/test-entry-environment.constants.d.ts +27 -0
- package/dist/test/test-entry-environment.constants.d.ts.map +1 -0
- package/dist/test/test-record.d.ts +49 -1
- package/dist/test/test-record.d.ts.map +1 -1
- package/dist/test/test-storage/index.d.ts +5 -0
- package/dist/test/test-storage/index.d.ts.map +1 -0
- package/dist/test/test-storage/read-test-storage.d.ts +4 -0
- package/dist/test/test-storage/read-test-storage.d.ts.map +1 -0
- package/dist/test/test-storage/resolve-test-storage.d.ts +9 -0
- package/dist/test/test-storage/resolve-test-storage.d.ts.map +1 -0
- package/dist/test/test-storage/test-storage.constants.d.ts +9 -0
- package/dist/test/test-storage/test-storage.constants.d.ts.map +1 -0
- package/dist/test/test-storage/test-storage.types.d.ts +15 -0
- package/dist/test/test-storage/test-storage.types.d.ts.map +1 -0
- package/dist/test/test-storage/test-store-for.d.ts +19 -0
- package/dist/test/test-storage/test-store-for.d.ts.map +1 -0
- package/dist/test/test-storage/use-test-storage.d.ts +14 -0
- package/dist/test/test-storage/use-test-storage.d.ts.map +1 -0
- package/dist/test/test-timing.constants.d.ts +15 -0
- package/dist/test/test-timing.constants.d.ts.map +1 -0
- package/dist/test/xml/engine-console.d.ts +6 -0
- package/dist/test/xml/engine-console.d.ts.map +1 -0
- package/dist/test/xml/engine.d.ts +3 -0
- package/dist/test/xml/engine.d.ts.map +1 -0
- package/dist/test/xml/index.d.ts +8 -0
- package/dist/test/xml/index.d.ts.map +1 -0
- package/dist/test/xml/malformed-xml-error.d.ts +5 -0
- package/dist/test/xml/malformed-xml-error.d.ts.map +1 -0
- package/dist/test/xml/print-node.d.ts +7 -0
- package/dist/test/xml/print-node.d.ts.map +1 -0
- package/dist/test/xml/select-nodes.d.ts +14 -0
- package/dist/test/xml/select-nodes.d.ts.map +1 -0
- package/dist/test/xml/with-xml-document.constants.d.ts +7 -0
- package/dist/test/xml/with-xml-document.constants.d.ts.map +1 -0
- package/dist/test/xml/with-xml-document.d.ts +14 -0
- package/dist/test/xml/with-xml-document.d.ts.map +1 -0
- package/dist/test/xml/xml-query-refused-error.d.ts +13 -0
- package/dist/test/xml/xml-query-refused-error.d.ts.map +1 -0
- package/dist/test/xml/xml.constants.d.ts +16 -0
- package/dist/test/xml/xml.constants.d.ts.map +1 -0
- package/dist/test/xml/xml.types.d.ts +31 -0
- package/dist/test/xml/xml.types.d.ts.map +1 -0
- package/dist/test/xsd/test-ext.xsd +226 -0
- package/dist/test/xsd/test.xsd +528 -0
- package/dist/test.js +3427 -406
- package/dist/types/dialecte-config.d.ts +6 -0
- package/dist/types/dialecte-config.d.ts.map +1 -1
- package/dist/types/io.d.ts +5 -0
- package/dist/types/io.d.ts.map +1 -1
- package/dist/utils/attribute-rules.d.ts +16 -1
- package/dist/utils/attribute-rules.d.ts.map +1 -1
- package/dist/utils/child-occurrences.constants.d.ts +4 -0
- package/dist/utils/child-occurrences.constants.d.ts.map +1 -0
- package/dist/utils/child-occurrences.d.ts +17 -0
- package/dist/utils/child-occurrences.d.ts.map +1 -0
- package/dist/utils/child-occurrences.types.d.ts +6 -0
- package/dist/utils/child-occurrences.types.d.ts.map +1 -0
- package/dist/utils/datatype.d.ts +4 -0
- package/dist/utils/datatype.d.ts.map +1 -1
- package/dist/utils/format-xml.d.ts +4 -0
- package/dist/utils/format-xml.d.ts.map +1 -1
- package/dist/utils/index.d.ts +5 -1
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/invariant.d.ts +2 -0
- package/dist/utils/invariant.d.ts.map +1 -1
- package/dist/utils/namespaces.d.ts +15 -1
- package/dist/utils/namespaces.d.ts.map +1 -1
- package/dist/utils/order-children.d.ts +14 -3
- package/dist/utils/order-children.d.ts.map +1 -1
- package/dist/utils/order-children.types.d.ts +10 -0
- package/dist/utils/order-children.types.d.ts.map +1 -0
- package/dist/utils/particle-occurrences.d.ts +4 -0
- package/dist/utils/particle-occurrences.d.ts.map +1 -0
- package/dist/utils/required-choices.d.ts +17 -0
- package/dist/utils/required-choices.d.ts.map +1 -0
- package/dist/utils/required-choices.types.d.ts +15 -0
- package/dist/utils/required-choices.types.d.ts.map +1 -0
- package/dist/utils/resolve-definition.d.ts +4 -0
- package/dist/utils/resolve-definition.d.ts.map +1 -1
- package/dist/utils/save-to-disk.constants.d.ts +3 -0
- package/dist/utils/save-to-disk.constants.d.ts.map +1 -0
- package/dist/utils/save-to-disk.d.ts +17 -5
- package/dist/utils/save-to-disk.d.ts.map +1 -1
- package/dist/utils/save-to-disk.types.d.ts +17 -0
- package/dist/utils/save-to-disk.types.d.ts.map +1 -0
- package/dist/utils/seeded-uuid.constants.d.ts +5 -0
- package/dist/utils/seeded-uuid.constants.d.ts.map +1 -0
- package/dist/utils/seeded-uuid.d.ts +15 -0
- package/dist/utils/seeded-uuid.d.ts.map +1 -0
- package/dist/utils/seeded-uuid.types.d.ts +8 -0
- package/dist/utils/seeded-uuid.types.d.ts.map +1 -0
- package/dist/utils/tell-listener.constants.d.ts +9 -0
- package/dist/utils/tell-listener.constants.d.ts.map +1 -0
- package/dist/utils/tell-listener.d.ts +24 -0
- package/dist/utils/tell-listener.d.ts.map +1 -0
- package/dist/utils/xml-characters.constants.d.ts +9 -0
- package/dist/utils/xml-characters.constants.d.ts.map +1 -0
- package/dist/utils/xml-characters.d.ts +8 -0
- package/dist/utils/xml-characters.d.ts.map +1 -0
- package/dist/utils/xml-whitespace.constants.d.ts +8 -0
- package/dist/utils/xml-whitespace.constants.d.ts.map +1 -0
- package/dist/utils/xml-whitespace.d.ts +19 -0
- package/dist/utils/xml-whitespace.d.ts.map +1 -0
- package/dist/utils/xsi-type.d.ts +4 -0
- package/dist/utils/xsi-type.d.ts.map +1 -1
- package/dist/utils/yield-to-queue.d.ts +6 -0
- package/dist/utils/yield-to-queue.d.ts.map +1 -0
- package/dist/utils-USNkj4sT.js +1275 -0
- package/dist/utils.js +1 -2
- package/dist/xml/build/document-root.d.ts +7 -0
- package/dist/xml/build/document-root.d.ts.map +1 -0
- package/dist/xml/build/index.d.ts +0 -5
- package/dist/xml/build/index.d.ts.map +1 -1
- package/dist/xml/build/record-element.d.ts +15 -0
- package/dist/xml/build/record-element.d.ts.map +1 -0
- package/dist/xml/build/record-element.types.d.ts +12 -0
- package/dist/xml/build/record-element.types.d.ts.map +1 -0
- package/dist/xml/build/write-xml-records.d.ts +7 -0
- package/dist/xml/build/write-xml-records.d.ts.map +1 -0
- package/dist/xml/build/write-xml-records.types.d.ts +11 -0
- package/dist/xml/build/write-xml-records.types.d.ts.map +1 -0
- package/dist/xml/build/xml-element.d.ts +79 -0
- package/dist/xml/build/xml-element.d.ts.map +1 -0
- package/dist/xml/build/xml-element.types.d.ts +34 -0
- package/dist/xml/build/xml-element.types.d.ts.map +1 -0
- package/dist/xml/build/xml-writer.constants.d.ts +24 -0
- package/dist/xml/build/xml-writer.constants.d.ts.map +1 -0
- package/dist/xml/build/xml-writer.d.ts +40 -0
- package/dist/xml/build/xml-writer.d.ts.map +1 -0
- package/dist/xml/build/xml-writer.types.d.ts +34 -0
- package/dist/xml/build/xml-writer.types.d.ts.map +1 -0
- package/dist/xml/dom/index.d.ts +3 -0
- package/dist/xml/dom/index.d.ts.map +1 -0
- package/dist/xml/dom/xml-document-from-file.d.ts +10 -0
- package/dist/xml/dom/xml-document-from-file.d.ts.map +1 -0
- package/dist/xml/dom/xml-document-from-file.types.d.ts +5 -0
- package/dist/xml/dom/xml-document-from-file.types.d.ts.map +1 -0
- package/dist/xml/index.d.ts +1 -0
- package/dist/xml/index.d.ts.map +1 -1
- package/dist/xml/inspect-xml.d.ts +2 -0
- package/dist/xml/inspect-xml.d.ts.map +1 -1
- package/dist/xml/parse/index.d.ts +1 -1
- package/dist/xml/parse/index.d.ts.map +1 -1
- package/dist/xml/parse/parse-xml-document.constants.d.ts +5 -0
- package/dist/xml/parse/parse-xml-document.constants.d.ts.map +1 -0
- package/dist/xml/parse/parse-xml-document.d.ts +13 -2
- package/dist/xml/parse/parse-xml-document.d.ts.map +1 -1
- package/dist/xml/parse/parse-xml-document.types.d.ts +7 -2
- package/dist/xml/parse/parse-xml-document.types.d.ts.map +1 -1
- package/dist/xml/parse/parser.constants.d.ts +7 -0
- package/dist/xml/parse/parser.constants.d.ts.map +1 -0
- package/dist/xml/parse/parser.d.ts.map +1 -1
- package/package.json +88 -10
- package/skills/dialecte/SKILL.md +345 -0
- package/skills/dialecte/references/api.json +1830 -0
- package/skills/dialecte/references/api.md +557 -0
- package/skills/dialecte/references/core-api.md +205 -0
- package/skills/dialecte/references/testing.md +116 -0
- package/skills/dialecte-contributing/SKILL.md +374 -0
- package/skills/dialecte-contributing/references/code-rules.md +115 -0
- package/skills/dialecte-contributing/references/landing-changes.md +87 -0
- package/skills/dialecte-contributing/references/lot-in-a-package.md +45 -0
- package/skills/dialecte-contributing/references/perf.md +40 -0
- package/skills/dialecte-contributing/references/traps.md +109 -0
- package/skills/dialecte-lot/SKILL.md +526 -0
- package/skills/dialecte-lot/references/briefs.md +161 -0
- package/skills/dialecte-lot/references/model-tiers.md +52 -0
- package/skills/dialecte-lot/references/retro.md +51 -0
- package/skills/dialecte-lot/references/standard-check.md +45 -0
- package/skills/dialecte-lot/references/stations.md +110 -0
- package/dist/project/io/import-document.d.ts +0 -7
- package/dist/project/io/import-document.d.ts.map +0 -1
- package/dist/test/assert-xml/types.d.ts +0 -2
- package/dist/test/assert-xml/types.d.ts.map +0 -1
- package/dist/utils-DJN0Md0v.js +0 -624
- package/dist/xml/build/build-xml-document.d.ts +0 -10
- package/dist/xml/build/build-xml-document.d.ts.map +0 -1
- package/dist/xml/build/build-xml-document.types.d.ts +0 -22
- package/dist/xml/build/build-xml-document.types.d.ts.map +0 -1
- package/dist/xml/build/download-file.d.ts +0 -7
- package/dist/xml/build/download-file.d.ts.map +0 -1
- package/dist/xml/build/formatter.d.ts +0 -2
- package/dist/xml/build/formatter.d.ts.map +0 -1
- package/dist/xml/build/serialize.d.ts +0 -11
- package/dist/xml/build/serialize.d.ts.map +0 -1
- package/dist/xml/build/serialize.types.d.ts +0 -12
- package/dist/xml/build/serialize.types.d.ts.map +0 -1
package/dist/index.d.ts
CHANGED
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAA;AAC7B,cAAc,YAAY,CAAA;AAC1B,cAAc,UAAU,CAAA;AACxB,cAAc,QAAQ,CAAA;AACtB,cAAc,WAAW,CAAA;AACzB,cAAc,SAAS,CAAA;AACvB,cAAc,OAAO,CAAA;AAErB,mBAAmB,SAAS,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAA;AAC7B,cAAc,YAAY,CAAA;AAC1B,cAAc,YAAY,CAAA;AAC1B,cAAc,UAAU,CAAA;AACxB,cAAc,QAAQ,CAAA;AACtB,cAAc,WAAW,CAAA;AACzB,cAAc,SAAS,CAAA;AACvB,cAAc,OAAO,CAAA;AAErB,mBAAmB,SAAS,CAAA"}
|
package/dist/index.js
CHANGED
|
@@ -1,22 +1,23 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { F as
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { G as e, H as t, K as n, U as r, V as i, W as a } from "./utils-USNkj4sT.js";
|
|
2
|
+
import { A as o, C as s, D as c, E as ee, F as l, G as u, H as d, I as f, J as p, K as m, L as h, M as g, N as _, O as v, P as y, R as b, S as x, T as S, U as C, V as w, W as T, X as E, Y as D, _ as O, a as k, b as A, c as j, d as M, f as N, g as P, h as F, i as I, j as L, k as R, l as z, m as B, o as V, p as H, q as U, r as W, s as G, t as K, u as q, v as J, w as Y, x as X, y as Z, z as Q } from "./dialecte-gIPrRzni.js";
|
|
3
|
+
import { B as te, F as ne, G as re, H as ie, I as ae, J as oe, K as se, L as ce, R as le, U as ue, V as de, W as fe, d as pe, g as me, h as he, i as ge, q as _e, z as ve } from "./project-key-Ch34EtFa.js";
|
|
4
|
+
import { C as ye, S as be, T as xe, a as Se, b as Ce, c as we, g as Te, h as Ee, i as De, l as $, m as Oe, p as ke, s as Ae, w as je, x as Me, y as Ne } from "./same-json-value-C6kUaoyt.js";
|
|
5
|
+
// src/diagnostics/diagnostics.ts
|
|
6
|
+
function Pe(e, t, n) {
|
|
5
7
|
let r = e.codes[t];
|
|
6
|
-
r ||
|
|
7
|
-
let { ref: i, message:
|
|
8
|
+
r || a("ASSERTION_FAILED", { detail: `createDiagnostic: "${t}" is not a code of the "${e.source}" catalogue` });
|
|
9
|
+
let { ref: i, message: o = r.message, related: s, meta: c } = n;
|
|
8
10
|
return {
|
|
9
11
|
code: t,
|
|
10
12
|
severity: r.severity,
|
|
11
13
|
source: e.source,
|
|
12
|
-
message:
|
|
14
|
+
message: o,
|
|
13
15
|
ref: i,
|
|
14
|
-
...
|
|
15
|
-
...
|
|
16
|
+
...s && { related: s },
|
|
17
|
+
...c && { meta: c }
|
|
16
18
|
};
|
|
17
19
|
}
|
|
18
|
-
function
|
|
20
|
+
function Fe(e, t) {
|
|
19
21
|
return t.catalogues.some((t) => t.source === e.source && Object.hasOwn(t.codes, e.code));
|
|
20
22
|
}
|
|
21
|
-
|
|
22
|
-
export { H as AnyQuery, U as AnyTransaction, Z as BLOBS_SCHEMA, G as BLOB_DATA_SCHEMA, R as CHANGELOG_SCHEMA, I as DOCUMENTS_SCHEMA, P as DexieStore, a as Document, Se as ERROR_CATALOG, Y as IMPORT_HEARTBEAT_MS, j as InMemoryStore, w as META_SCHEMA, o as NOOP_PERF, te as ParseSession, le as Project, t as Query, se as STALE_IMPORT_MS, pe as TABLE_BLOBS, he as TABLE_BLOB_PREFIX, O as TABLE_CHANGELOG, Q as TABLE_DOCUMENTS, _ as TABLE_META, r as TABLE_RECORD_PREFIX, y as TEMP_IDB_ID_ATTRIBUTE_NAME, p as Transaction, c as applyOmit, ie as applyOrder, h as applyUnwrap, ge as bindExtensions, me as blobTableName, B as buildDocumentState, g as buildXmlDocument, s as collectSnapshotRecords, Ce as createDiagnostic, be as createDialecteError, m as createPerf, T as createStagedOperations, ve as defineErrors, _e as downloadFile, k as exportBlob, ne as exportDocument, ce as findAncestors, D as findByAttributes, V as findDescendants, ee as formatXml, J as getAttribute, oe as getAttributeFullObject, N as getAttributes, ue as getAttributesFullObject, fe as getChild, W as getChildren, e as getDefinition, K as getRecord, F as getRecords, M as getRecordsByTagName, d as getSnapshot, l as getTree, ae as importDocument, z as indexStagedDeletesByParent, q as initEmptyDocument, u as inspectXml, we as isKnownDiagnostic, ye as isKnownDialecteError, S as isOmitted, i as isTransactionContext, A as loadLiveRecords, X as matchesAttributeFilter, L as overlayAllStaged, x as parseOmit, f as parseXmlFile, E as reconcileDocumentState, v as recordTableName, b as recordsToTree, re as resolveRecord, de as resolveStore, C as shouldStopTraversal, $ as throwDialecteError, xe as toDialecteError, n as xmlDocumentToString };
|
|
23
|
+
export { q as AnyQuery, j as AnyTransaction, ne as BLOBS_SCHEMA, ae as BLOB_DATA_SCHEMA, ce as CHANGELOG_SCHEMA, le as DOCUMENTS_SCHEMA, Ne as DOCUMENT_PATH_INVISIBLE_CHARACTER, Ce as DOCUMENT_PATH_MAX_BYTES, Me as DOCUMENT_PATH_SEGMENT_MAX_BYTES, be as DOCUMENT_PATH_SEPARATOR, ye as DOCUMENT_UPDATE_FIELDS, p as DexieStore, I as Document, n as ERROR_CATALOG, ve as EXPORT_BATCH_SIZE, U as InMemoryStore, te as META_SCHEMA, me as NOOP_PERF, Ae as ParseSession, W as Project, z as Query, de as TABLE_BLOBS, ie as TABLE_BLOB_PREFIX, ue as TABLE_CHANGELOG, fe as TABLE_DOCUMENTS, re as TABLE_META, se as TABLE_RECORD_PREFIX, pe as TEMP_IDB_ID_ATTRIBUTE_NAME, G as Transaction, ke as applyDocumentUpdates, P as applyOmit, F as applyOrder, A as applyUnwrap, Oe as assertDocumentPlace, w as bindExtensions, _e as blobTableName, C as buildDocumentState, H as collectSnapshotRecords, Pe as createDiagnostic, i as createDialecteError, he as createPerf, K as createProjectFactory, Q as createStagedOperations, E as defineDialecte, t as defineErrors, u as exportBlob, R as findAncestors, c as findByAttributes, ee as findDescendants, Y as getAttribute, S as getAttributeFullObject, x as getAttributes, s as getAttributesFullObject, g as getChild, L as getChildren, X as getDefinition, f as getRecord, y as getRecords, _ as getRecordsByTagName, M as getSnapshot, B as getTree, je as importOutcomeOf, h as indexStagedDeletesByParent, d as initEmptyDocument, we as inspectXml, Fe as isKnownDiagnostic, r as isKnownDialecteError, O as isOmitted, V as isTransactionContext, o as loadLiveRecords, v as matchesAttributeFilter, b as overlayAllStaged, Ee as parseDocumentPath, J as parseOmit, $ as parseXmlDocument, Se as parseXmlFile, Te as pathHolderOf, T as reconcileDocumentState, oe as recordTableName, N as recordsToTree, D as removeUnfinishedImports, l as resolveRecord, m as resolveStore, ge as runExport, De as runImport, Z as shouldStopTraversal, k as summarizeOperations, a as throwDialecteError, e as toDialecteError, xe as writeOutcomeOf };
|
|
@@ -6,8 +6,15 @@ import { Perf } from './perf.types';
|
|
|
6
6
|
* callback is queued for after the current task — `stop(); report()` in the same
|
|
7
7
|
* tick would otherwise read stale data). Filtering by the `dialecte::` root
|
|
8
8
|
* prefix excludes measures any other library placed on the shared timeline.
|
|
9
|
+
*
|
|
10
|
+
* `timeline: false` keeps the spans in this perf only (`report()` and `snapshot()` read them, the
|
|
11
|
+
* shared timeline never sees them): what a perf whose spans another realm merges uses, so the realm
|
|
12
|
+
* running it holds them once.
|
|
13
|
+
*
|
|
14
|
+
* @intent measure how long operations take in development, collect timing spans and read a report of them
|
|
9
15
|
*/
|
|
10
|
-
export declare function createPerf({ enabled }: {
|
|
16
|
+
export declare function createPerf({ enabled, timeline, }: {
|
|
11
17
|
enabled: boolean;
|
|
18
|
+
timeline?: boolean;
|
|
12
19
|
}): Perf;
|
|
13
20
|
//# sourceMappingURL=create-perf.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-perf.d.ts","sourceRoot":"","sources":["../../src/perf/create-perf.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,IAAI,
|
|
1
|
+
{"version":3,"file":"create-perf.d.ts","sourceRoot":"","sources":["../../src/perf/create-perf.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,IAAI,EAAwB,MAAM,cAAc,CAAA;AAI9D;;;;;;;;;;;;;GAaG;AACH,wBAAgB,UAAU,CAAC,EAC1B,OAAO,EACP,QAAe,GACf,EAAE;IACF,OAAO,EAAE,OAAO,CAAA;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAA;CAClB,GAAG,IAAI,CA4JP"}
|
package/dist/perf/index.d.ts
CHANGED
package/dist/perf/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/perf/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,YAAY,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/perf/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,YAAY,EAAE,IAAI,EAAE,UAAU,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"noop-perf.d.ts","sourceRoot":"","sources":["../../src/perf/noop-perf.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AAExC,iFAAiF;AACjF,eAAO,MAAM,SAAS,EAAE,
|
|
1
|
+
{"version":3,"file":"noop-perf.d.ts","sourceRoot":"","sources":["../../src/perf/noop-perf.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AAExC,iFAAiF;AACjF,eAAO,MAAM,SAAS,EAAE,IAmBtB,CAAA"}
|
|
@@ -10,6 +10,21 @@ export type PerfReport = Record<string, {
|
|
|
10
10
|
avgMs: number;
|
|
11
11
|
count?: number;
|
|
12
12
|
}>;
|
|
13
|
+
/** One span a perf measured, on the clock of its realm (ms since that realm's `timeOrigin`). */
|
|
14
|
+
export type PerfSpan = {
|
|
15
|
+
name: string;
|
|
16
|
+
startTime: number;
|
|
17
|
+
duration: number;
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* What a perf hands to another realm: its spans on its own clock, the realm's `timeOrigin` to shift
|
|
21
|
+
* them by, and its tallies (`time` and `count` names), keyed like `report()`. Plain data.
|
|
22
|
+
*/
|
|
23
|
+
export type PerfSnapshot = {
|
|
24
|
+
timeOrigin: number;
|
|
25
|
+
spans: PerfSpan[];
|
|
26
|
+
totals: PerfReport;
|
|
27
|
+
};
|
|
13
28
|
/**
|
|
14
29
|
* Dev-only perf helper built on the platform User Timing API
|
|
15
30
|
* (`performance.mark`/`measure`). Spans live on the standard `performance`
|
|
@@ -21,14 +36,24 @@ export type PerfReport = Record<string, {
|
|
|
21
36
|
* `createPerf` prepends the fixed `dialecte::` root.
|
|
22
37
|
*/
|
|
23
38
|
export type Perf = {
|
|
24
|
-
/**
|
|
39
|
+
/**
|
|
40
|
+
* Open a span. Name-keyed pair (like `console.time`); name = `layer::op`.
|
|
41
|
+
*
|
|
42
|
+
* @intent time a code section in dev, measure how long an operation takes
|
|
43
|
+
*/
|
|
25
44
|
start(name: string): void;
|
|
26
|
-
/**
|
|
45
|
+
/**
|
|
46
|
+
* Close the most recent open span for `name`. Unmatched `stop` is a no-op.
|
|
47
|
+
*
|
|
48
|
+
* @intent end a timed section opened with start
|
|
49
|
+
*/
|
|
27
50
|
stop(name: string): void;
|
|
28
51
|
/**
|
|
29
52
|
* O(1) tally for a hot per-node primitive (e.g. store round-trips, cache
|
|
30
53
|
* hits/misses) — cheaper than a span and safe in a node loop where per-call
|
|
31
54
|
* `start`/`stop` would flood the timeline. Surfaced as `count` in `report()`.
|
|
55
|
+
*
|
|
56
|
+
* @intent count store reads or cache hits in dev, tally calls of a hot function cheaply
|
|
32
57
|
*/
|
|
33
58
|
count(name: string): void;
|
|
34
59
|
/**
|
|
@@ -37,15 +62,49 @@ export type Perf = {
|
|
|
37
62
|
* `start`/`stop`). Surfaced as calls/totalMs/avgMs in `report()`. Use to time a
|
|
38
63
|
* hot per-node primitive (e.g. the SAX handlers) where millions of measures
|
|
39
64
|
* would flood the timeline.
|
|
65
|
+
*
|
|
66
|
+
* @intent accumulate time spent in a hot per-node function, time a callback without flooding the timeline
|
|
40
67
|
*/
|
|
41
68
|
time<GenericResult>(name: string, fn: () => GenericResult): GenericResult;
|
|
42
|
-
/**
|
|
69
|
+
/**
|
|
70
|
+
* Run `fn` inside a DevTools CPU profile (no-op in node/headless).
|
|
71
|
+
*
|
|
72
|
+
* @intent capture a CPU profile of an async operation in DevTools
|
|
73
|
+
*/
|
|
43
74
|
profile<GenericResult>(name: string, fn: () => Promise<GenericResult>): Promise<GenericResult>;
|
|
44
|
-
/**
|
|
75
|
+
/**
|
|
76
|
+
* Aggregate the timeline synchronously on demand — no `PerformanceObserver`.
|
|
77
|
+
*
|
|
78
|
+
* @intent read collected perf metrics, assert on store read counts in a test
|
|
79
|
+
*/
|
|
45
80
|
report(): PerfReport;
|
|
46
|
-
/**
|
|
81
|
+
/**
|
|
82
|
+
* Print the perf report as a console table (`console.table(report())`).
|
|
83
|
+
*
|
|
84
|
+
* @intent print perf metrics to the console
|
|
85
|
+
*/
|
|
47
86
|
log(): void;
|
|
48
|
-
/**
|
|
87
|
+
/**
|
|
88
|
+
* Clear all marks + measures (bound memory between measured scenarios).
|
|
89
|
+
*
|
|
90
|
+
* @intent reset perf metrics between measured scenarios
|
|
91
|
+
*/
|
|
49
92
|
reset(): void;
|
|
93
|
+
/**
|
|
94
|
+
* This realm's spans (the shared timeline's; this perf's own with `timeline: false`) and this perf's tallies, to hand to another realm.
|
|
95
|
+
*
|
|
96
|
+
* @intent send a worker's or another realm's timings to the page, collect perf from the store engine
|
|
97
|
+
*/
|
|
98
|
+
snapshot(): PerfSnapshot;
|
|
99
|
+
/**
|
|
100
|
+
* Fold another realm's snapshot in under `<prefix>::<name>`: its spans placed on this realm's
|
|
101
|
+
* timeline (shifted by the difference of the two `timeOrigin`s), its tallies added to this one's.
|
|
102
|
+
*
|
|
103
|
+
* @intent combine timings measured in a worker with the page's, one report across realms
|
|
104
|
+
*/
|
|
105
|
+
merge(params: {
|
|
106
|
+
report: PerfSnapshot;
|
|
107
|
+
prefix: string;
|
|
108
|
+
}): void;
|
|
50
109
|
};
|
|
51
110
|
//# sourceMappingURL=perf.types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"perf.types.d.ts","sourceRoot":"","sources":["../../src/perf/perf.types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,MAAM,UAAU,GAAG,MAAM,CAC9B,MAAM,EACN;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CACjE,CAAA;AAED;;;;;;;;;GASG;AACH,MAAM,MAAM,IAAI,GAAG;IAClB
|
|
1
|
+
{"version":3,"file":"perf.types.d.ts","sourceRoot":"","sources":["../../src/perf/perf.types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,MAAM,UAAU,GAAG,MAAM,CAC9B,MAAM,EACN;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CACjE,CAAA;AAED,gGAAgG;AAChG,MAAM,MAAM,QAAQ,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAE,CAAA;AAE5E;;;GAGG;AACH,MAAM,MAAM,YAAY,GAAG;IAC1B,UAAU,EAAE,MAAM,CAAA;IAClB,KAAK,EAAE,QAAQ,EAAE,CAAA;IACjB,MAAM,EAAE,UAAU,CAAA;CAClB,CAAA;AAED;;;;;;;;;GASG;AACH,MAAM,MAAM,IAAI,GAAG;IAClB;;;;OAIG;IACH,KAAK,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB;;;;OAIG;IACH,IAAI,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB;;;;;;OAMG;IACH,KAAK,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB;;;;;;;;OAQG;IACH,IAAI,CAAC,aAAa,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,aAAa,GAAG,aAAa,CAAA;IACzE;;;;OAIG;IACH,OAAO,CAAC,aAAa,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC,aAAa,CAAC,GAAG,OAAO,CAAC,aAAa,CAAC,CAAA;IAC9F;;;;OAIG;IACH,MAAM,IAAI,UAAU,CAAA;IACpB;;;;OAIG;IACH,GAAG,IAAI,IAAI,CAAA;IACX;;;;OAIG;IACH,KAAK,IAAI,IAAI,CAAA;IACb;;;;OAIG;IACH,QAAQ,IAAI,YAAY,CAAA;IACxB;;;;;OAKG;IACH,KAAK,CAAC,MAAM,EAAE;QAAE,MAAM,EAAE,YAAY,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAA;CAC7D,CAAA"}
|
package/dist/project/index.d.ts
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
export { Project } from './project';
|
|
2
2
|
export { buildDocumentState, reconcileDocumentState } from './state/document-state';
|
|
3
|
-
export { IMPORT_HEARTBEAT_MS, STALE_IMPORT_MS } from './state/document-lifecycle';
|
|
4
|
-
export { exportDocument } from './io/export-document';
|
|
5
3
|
export { exportBlob } from './io/export-blob';
|
|
6
4
|
export { initEmptyDocument } from './io/init-empty-document';
|
|
7
|
-
export {
|
|
5
|
+
export { runImport } from './io/run-import';
|
|
6
|
+
export { runExport } from './io/run-export';
|
|
8
7
|
export { resolveStore } from '../store/resolve-store';
|
|
9
|
-
export type { ProjectParams, InitEmptyDocumentOptions, ImportDocumentOptions, ImportedDocument, ImportEntry,
|
|
10
|
-
export type { InitEmptyDocumentParams, InitEmptyDocumentResult,
|
|
8
|
+
export type { ProjectParams, InitEmptyDocumentOptions, ImportDocumentOptions, ImportedDocument, ImportEntry, ProjectExportParams, ProjectExportResult, ProjectExportResultMaybeDocument, ProjectExportResultWithDocument, ProjectExportBlobParams, StorageParam, DocumentRecord, DocumentStatus, DocumentUpdates, ImportFilesOptions, DocumentEntry, ProjectState, ProjectChannelMessage, ProjectChannelResync, ProjectChannelEvent, } from './types';
|
|
9
|
+
export type { InitEmptyDocumentParams, InitEmptyDocumentResult, ExportBlobParams, ExportBlobResult, } from './types';
|
|
10
|
+
export type { RunImportParams } from './io/run-import.types';
|
|
11
|
+
export type { StoreRuntime } from './io/store-runtime.types';
|
|
12
|
+
export type { RunExportParams } from './io/run-export.types';
|
|
11
13
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/project/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AACnC,OAAO,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAA;AACnF,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/project/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AACnC,OAAO,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAA;AACnF,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAC7C,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAA;AAC5D,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAC3C,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AACrD,YAAY,EACX,aAAa,EACb,wBAAwB,EACxB,qBAAqB,EACrB,gBAAgB,EAChB,WAAW,EACX,mBAAmB,EACnB,mBAAmB,EACnB,gCAAgC,EAChC,+BAA+B,EAC/B,uBAAuB,EACvB,YAAY,EACZ,cAAc,EACd,cAAc,EACd,eAAe,EACf,kBAAkB,EAClB,aAAa,EACb,YAAY,EACZ,qBAAqB,EACrB,oBAAoB,EACpB,mBAAmB,GACnB,MAAM,SAAS,CAAA;AAChB,YAAY,EACX,uBAAuB,EACvB,uBAAuB,EACvB,gBAAgB,EAChB,gBAAgB,GAChB,MAAM,SAAS,CAAA;AAChB,YAAY,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAA;AAC5D,YAAY,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAC5D,YAAY,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAA"}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { ExportBlobParams, ExportBlobResult } from '../types';
|
|
2
2
|
/**
|
|
3
|
-
* Export a blob from the project store
|
|
4
|
-
*
|
|
3
|
+
* Export a blob from the project store, and save it when asked: under another filename the save dialog is opened
|
|
4
|
+
* first, while the user's gesture still counts; under the blob's own name, once the blob is read (its name is known
|
|
5
|
+
* then).
|
|
6
|
+
*
|
|
7
|
+
* @internal the store-level step behind `project.exportBlob`; callers use the project
|
|
5
8
|
*/
|
|
6
9
|
export declare function exportBlob(params: ExportBlobParams): Promise<ExportBlobResult>;
|
|
7
10
|
//# sourceMappingURL=export-blob.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"export-blob.d.ts","sourceRoot":"","sources":["../../../src/project/io/export-blob.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"export-blob.d.ts","sourceRoot":"","sources":["../../../src/project/io/export-blob.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAA;AAElE;;;;;;GAMG;AACH,wBAAsB,UAAU,CAAC,MAAM,EAAE,gBAAgB,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAiBpF"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { ExportDocumentParams,
|
|
1
|
+
import { ExportDocumentParams, ProjectExportResultMaybeDocument } from '../types';
|
|
2
2
|
/**
|
|
3
|
-
* Export a document
|
|
4
|
-
*
|
|
3
|
+
* Export a document through the store: its file in the layout asked and, on the page, its DOM (parsed from a
|
|
4
|
+
* compact export) and its save (a formatted export). The save target is asked first, while the user's gesture
|
|
5
|
+
* still counts; a store export is made once more when an option needs the other layout.
|
|
5
6
|
*/
|
|
6
|
-
export declare function exportDocument(params: ExportDocumentParams): Promise<
|
|
7
|
+
export declare function exportDocument(params: ExportDocumentParams): Promise<ProjectExportResultMaybeDocument>;
|
|
7
8
|
//# sourceMappingURL=export-document.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"export-document.d.ts","sourceRoot":"","sources":["../../../src/project/io/export-document.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"export-document.d.ts","sourceRoot":"","sources":["../../../src/project/io/export-document.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAEX,oBAAoB,EAGpB,gCAAgC,EAChC,MAAM,UAAU,CAAA;AAGjB;;;;GAIG;AACH,wBAAsB,cAAc,CACnC,MAAM,EAAE,oBAAoB,GAC1B,OAAO,CAAC,gCAAgC,CAAC,CA+B3C"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { exportDocument } from './export-document';
|
|
2
2
|
export { exportBlob } from './export-blob';
|
|
3
|
-
export {
|
|
3
|
+
export { runImport } from './run-import';
|
|
4
4
|
export { initEmptyDocument } from './init-empty-document';
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/project/io/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAA;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/project/io/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAA;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AACxC,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAA"}
|
|
@@ -2,6 +2,8 @@ import { InitEmptyDocumentParams, InitEmptyDocumentResult } from '../types';
|
|
|
2
2
|
/**
|
|
3
3
|
* Build a DocumentRecord, persist it, and create a root record in the store.
|
|
4
4
|
* Pure orchestration - no class state mutation.
|
|
5
|
+
*
|
|
6
|
+
* @internal the store-level step behind `project.initEmptyDocument`; callers use the project
|
|
5
7
|
*/
|
|
6
8
|
export declare function initEmptyDocument(params: InitEmptyDocumentParams): Promise<InitEmptyDocumentResult>;
|
|
7
9
|
//# sourceMappingURL=init-empty-document.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"init-empty-document.d.ts","sourceRoot":"","sources":["../../../src/project/io/init-empty-document.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"init-empty-document.d.ts","sourceRoot":"","sources":["../../../src/project/io/init-empty-document.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAEX,uBAAuB,EACvB,uBAAuB,EAEvB,MAAM,UAAU,CAAA;AAGjB;;;;;GAKG;AACH,wBAAsB,iBAAiB,CACtC,MAAM,EAAE,uBAAuB,GAC7B,OAAO,CAAC,uBAAuB,CAAC,CAwClC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { RunExportParams } from './run-export.types';
|
|
2
|
+
import { ExportControl, ExportFileResult } from '../../store/store.types';
|
|
3
|
+
/**
|
|
4
|
+
* The export of one document, next to the data - what every store's `exportFile` runs. The records are read
|
|
5
|
+
* parent by parent, `batchSize` children per call in the order they are written (never the whole document in
|
|
6
|
+
* one call), and written as they come; each written batch becomes a part of the answered `Blob`, whose head
|
|
7
|
+
* (declaration and root start tag) is put in front at the end. A write on the document while it is exported
|
|
8
|
+
* restarts it once from the start; a second one fails it with `EXPORT_CONFLICT`. The progress listener and the
|
|
9
|
+
* abort come apart from the export's data, as a worker call carries them.
|
|
10
|
+
*
|
|
11
|
+
* @intent implement exportFile of a custom store, export a document from a store in batches
|
|
12
|
+
*/
|
|
13
|
+
export declare function runExport(params: RunExportParams, control?: ExportControl): Promise<ExportFileResult>;
|
|
14
|
+
/** An aborted export goes no further: `EXPORT_ABORTED`. */
|
|
15
|
+
export declare function throwIfExportAborted(params: {
|
|
16
|
+
signal?: AbortSignal;
|
|
17
|
+
documentId: string;
|
|
18
|
+
}): void;
|
|
19
|
+
//# sourceMappingURL=run-export.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"run-export.d.ts","sourceRoot":"","sources":["../../../src/project/io/run-export.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAA0C,eAAe,EAAE,MAAM,oBAAoB,CAAA;AAGjG,OAAO,KAAK,EAAE,aAAa,EAAE,gBAAgB,EAAgB,MAAM,qBAAqB,CAAA;AAGxF;;;;;;;;;GASG;AACH,wBAAsB,SAAS,CAC9B,MAAM,EAAE,eAAe,EACvB,OAAO,GAAE,aAAkB,GACzB,OAAO,CAAC,gBAAgB,CAAC,CAmC3B;AAsMD,2DAA2D;AAC3D,wBAAgB,oBAAoB,CAAC,MAAM,EAAE;IAAE,MAAM,CAAC,EAAE,WAAW,CAAC;IAAC,UAAU,EAAE,MAAM,CAAA;CAAE,GAAG,IAAI,CAO/F"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { StoreRuntime } from './store-runtime.types';
|
|
2
|
+
import { Perf } from '../../perf';
|
|
3
|
+
import { ExportControl, ExportFileOptions, ExportSource } from '../../store/store.types';
|
|
4
|
+
import { AnyRawRecord } from '../../types';
|
|
5
|
+
import { XmlWriter } from '../../xml/build/xml-writer';
|
|
6
|
+
export type RunExportParams = {
|
|
7
|
+
/** The store the records are read from */
|
|
8
|
+
source: ExportSource;
|
|
9
|
+
/** The dialecte's configs (and perf): what the document is written with */
|
|
10
|
+
runtime: StoreRuntime;
|
|
11
|
+
documentId: string;
|
|
12
|
+
options?: ExportFileOptions;
|
|
13
|
+
};
|
|
14
|
+
/** One pass over the document: written whole, or the document changed under it (`moved`). */
|
|
15
|
+
export type ExportAttempt = {
|
|
16
|
+
status: 'written';
|
|
17
|
+
file: Blob;
|
|
18
|
+
} | {
|
|
19
|
+
status: 'moved';
|
|
20
|
+
};
|
|
21
|
+
/** An element being written: its children in the order they are written, read `batchSize` at a time. */
|
|
22
|
+
export type ExportFrame = {
|
|
23
|
+
record: AnyRawRecord;
|
|
24
|
+
childRefs: AnyRawRecord['children'];
|
|
25
|
+
/** The next child to write */
|
|
26
|
+
next: number;
|
|
27
|
+
/** The children read last, from `chunkStart`; `undefined` where a child id has no record */
|
|
28
|
+
chunk: (AnyRawRecord | undefined)[];
|
|
29
|
+
chunkStart: number;
|
|
30
|
+
};
|
|
31
|
+
/** What one pass over a document holds while it writes it. */
|
|
32
|
+
export type ExportPass = {
|
|
33
|
+
source: ExportSource;
|
|
34
|
+
documentId: string;
|
|
35
|
+
/** The document's version when the pass began */
|
|
36
|
+
version: number;
|
|
37
|
+
totalRecords: number;
|
|
38
|
+
control: ExportControl;
|
|
39
|
+
perf: Perf;
|
|
40
|
+
writer: XmlWriter;
|
|
41
|
+
/** The written batches, each a part of the file */
|
|
42
|
+
parts: Blob[];
|
|
43
|
+
recordsWritten: number;
|
|
44
|
+
};
|
|
45
|
+
//# sourceMappingURL=run-export.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"run-export.types.d.ts","sourceRoot":"","sources":["../../../src/project/io/run-export.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AACzD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAClC,OAAO,KAAK,EAAE,aAAa,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA;AACzF,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAC3C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAA;AAEvD,MAAM,MAAM,eAAe,GAAG;IAC7B,0CAA0C;IAC1C,MAAM,EAAE,YAAY,CAAA;IACpB,2EAA2E;IAC3E,OAAO,EAAE,YAAY,CAAA;IACrB,UAAU,EAAE,MAAM,CAAA;IAClB,OAAO,CAAC,EAAE,iBAAiB,CAAA;CAC3B,CAAA;AAED,6FAA6F;AAC7F,MAAM,MAAM,aAAa,GAAG;IAAE,MAAM,EAAE,SAAS,CAAC;IAAC,IAAI,EAAE,IAAI,CAAA;CAAE,GAAG;IAAE,MAAM,EAAE,OAAO,CAAA;CAAE,CAAA;AAEnF,wGAAwG;AACxG,MAAM,MAAM,WAAW,GAAG;IACzB,MAAM,EAAE,YAAY,CAAA;IACpB,SAAS,EAAE,YAAY,CAAC,UAAU,CAAC,CAAA;IACnC,8BAA8B;IAC9B,IAAI,EAAE,MAAM,CAAA;IACZ,4FAA4F;IAC5F,KAAK,EAAE,CAAC,YAAY,GAAG,SAAS,CAAC,EAAE,CAAA;IACnC,UAAU,EAAE,MAAM,CAAA;CAClB,CAAA;AAED,8DAA8D;AAC9D,MAAM,MAAM,UAAU,GAAG;IACxB,MAAM,EAAE,YAAY,CAAA;IACpB,UAAU,EAAE,MAAM,CAAA;IAClB,iDAAiD;IACjD,OAAO,EAAE,MAAM,CAAA;IACf,YAAY,EAAE,MAAM,CAAA;IACpB,OAAO,EAAE,aAAa,CAAA;IACtB,IAAI,EAAE,IAAI,CAAA;IACV,MAAM,EAAE,SAAS,CAAA;IACjB,mDAAmD;IACnD,KAAK,EAAE,IAAI,EAAE,CAAA;IACb,cAAc,EAAE,MAAM,CAAA;CACtB,CAAA"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { RunImportParams } from './run-import.types';
|
|
2
|
+
import { ImportControl, ImportFileResult } from '../../store/store.types';
|
|
3
|
+
/**
|
|
4
|
+
* The import of one file, next to the data - what every store's `importFile` runs. It registers the
|
|
5
|
+
* document `importing` under the caller's `writeId`, parses the file with the dialecte's import
|
|
6
|
+
* session and stores it batch by batch, applies the session's writes, marks the document `ready`.
|
|
7
|
+
* A document is whole or absent: whatever fails, or an abort, removes it and is thrown (a foreign
|
|
8
|
+
* error as `IMPORT_FAILED`, its cause kept; diagnostics that are not plain JSON as
|
|
9
|
+
* `STORE_VALUE_NOT_JSON`). The progress listener and the abort come apart from the import's data, as
|
|
10
|
+
* a worker call carries them.
|
|
11
|
+
*
|
|
12
|
+
* @intent implement importFile of a custom store, import a file into a store with core's import pipeline
|
|
13
|
+
*/
|
|
14
|
+
export declare function runImport(params: RunImportParams, control?: ImportControl): Promise<ImportFileResult>;
|
|
15
|
+
//# sourceMappingURL=run-import.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"run-import.d.ts","sourceRoot":"","sources":["../../../src/project/io/run-import.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAA;AAGzD,OAAO,KAAK,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;AAG1E;;;;;;;;;;GAUG;AACH,wBAAsB,SAAS,CAC9B,MAAM,EAAE,eAAe,EACvB,OAAO,GAAE,aAAkB,GACzB,OAAO,CAAC,gBAAgB,CAAC,CAqC3B"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { StoreRuntime } from './store-runtime.types';
|
|
2
|
+
import { Perf } from '../../perf';
|
|
3
|
+
import { ImportTarget, ImportFileOptions } from '../../store/store.types';
|
|
4
|
+
export type RunImportParams = {
|
|
5
|
+
/** The store the records are written to */
|
|
6
|
+
store: ImportTarget;
|
|
7
|
+
runtime: StoreRuntime;
|
|
8
|
+
file: File;
|
|
9
|
+
options?: ImportFileOptions;
|
|
10
|
+
/** The caller's id for this import, kept on the document's registry row */
|
|
11
|
+
writeId: string;
|
|
12
|
+
/**
|
|
13
|
+
* The perf the import's stages are timed on, when the store times its own stages on it too (its
|
|
14
|
+
* target's writes); one is made from `runtime.perf` when absent. The result carries its snapshot
|
|
15
|
+
* when `runtime.perf` is on.
|
|
16
|
+
*/
|
|
17
|
+
perf?: Perf;
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=run-import.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"run-import.types.d.ts","sourceRoot":"","sources":["../../../src/project/io/run-import.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AACzD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAClC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA;AACvD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAE5D,MAAM,MAAM,eAAe,GAAG;IAC7B,2CAA2C;IAC3C,KAAK,EAAE,YAAY,CAAA;IACnB,OAAO,EAAE,YAAY,CAAA;IACrB,IAAI,EAAE,IAAI,CAAA;IACV,OAAO,CAAC,EAAE,iBAAiB,CAAA;IAC3B,2EAA2E;IAC3E,OAAO,EAAE,MAAM,CAAA;IACf;;;;OAIG;IACH,IAAI,CAAC,EAAE,IAAI,CAAA;CACX,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"store-runtime.constants.d.ts","sourceRoot":"","sources":["../../../src/project/io/store-runtime.constants.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,eAAO,MAAM,sBAAsB;;;CAGzB,CAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { STORE_RUNTIME_REFUSALS } from './store-runtime.constants';
|
|
2
|
+
import { StoreRuntime } from './store-runtime.types';
|
|
3
|
+
/**
|
|
4
|
+
* The dialecte a store imports and exports with; a store built without one refuses: an import with
|
|
5
|
+
* `IMPORT_FAILED`, an export with `ASSERTION_FAILED` (it cannot write XML without the dialecte's configs).
|
|
6
|
+
*/
|
|
7
|
+
export declare function requireStoreRuntime(params: {
|
|
8
|
+
runtime: StoreRuntime | undefined;
|
|
9
|
+
storeName: string;
|
|
10
|
+
operation: keyof typeof STORE_RUNTIME_REFUSALS;
|
|
11
|
+
}): StoreRuntime;
|
|
12
|
+
//# sourceMappingURL=store-runtime.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"store-runtime.d.ts","sourceRoot":"","sources":["../../../src/project/io/store-runtime.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAA;AAIlE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAEzD;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,MAAM,EAAE;IAC3C,OAAO,EAAE,YAAY,GAAG,SAAS,CAAA;IACjC,SAAS,EAAE,MAAM,CAAA;IACjB,SAAS,EAAE,MAAM,OAAO,sBAAsB,CAAA;CAC9C,GAAG,YAAY,CAQf"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { AnyDialecteConfig, DialecteHooks } from '../../types';
|
|
2
|
+
/**
|
|
3
|
+
* What a store imports and exports with: the dialecte's configs and its hooks, held next to the data (a store
|
|
4
|
+
* behind a worker holds its own; a store on the page shares the project's).
|
|
5
|
+
*/
|
|
6
|
+
export type StoreRuntime = {
|
|
7
|
+
configs: Record<string, AnyDialecteConfig>;
|
|
8
|
+
defaultConfigKey: string;
|
|
9
|
+
/** IO hooks (`beforeImport`, `createImportSession`) and the record hooks standardization applies */
|
|
10
|
+
hooks?: DialecteHooks<AnyDialecteConfig>;
|
|
11
|
+
/** Measure the import's and the export's stages: each result then carries the run's perf snapshot */
|
|
12
|
+
perf?: boolean;
|
|
13
|
+
/** The version of the dialecte: the engine a store starts or reaches runs that version (SQLite). */
|
|
14
|
+
dialecteVersion?: string;
|
|
15
|
+
/** The address of the dialecte's engine worker, which a store running the engine apart starts (SQLite). */
|
|
16
|
+
engineUrl?: string;
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=store-runtime.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"store-runtime.types.d.ts","sourceRoot":"","sources":["../../../src/project/io/store-runtime.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAE/D;;;GAGG;AACH,MAAM,MAAM,YAAY,GAAG;IAC1B,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,iBAAiB,CAAC,CAAA;IAC1C,gBAAgB,EAAE,MAAM,CAAA;IACxB,oGAAoG;IACpG,KAAK,CAAC,EAAE,aAAa,CAAC,iBAAiB,CAAC,CAAA;IACxC,qGAAqG;IACrG,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,oGAAoG;IACpG,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,2GAA2G;IAC3G,SAAS,CAAC,EAAE,MAAM,CAAA;CAClB,CAAA"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The name of a project's BroadcastChannel, the public event contract (`project.channelName`): every Project of the
|
|
3
|
+
* name posts and listens there when its store announces nothing itself (IndexedDB, a custom store); a Project whose
|
|
4
|
+
* store announces its changes (SQLite, in memory) has a channel of its own (`instance`), where only its listeners hear
|
|
5
|
+
* what it reposts.
|
|
6
|
+
*/
|
|
7
|
+
export declare function projectChannelName(params: {
|
|
8
|
+
name: string;
|
|
9
|
+
instance?: string;
|
|
10
|
+
}): string;
|
|
11
|
+
//# sourceMappingURL=project-channel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"project-channel.d.ts","sourceRoot":"","sources":["../../src/project/project-channel.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,EAAE;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,MAAM,CAKtF"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* How long a close waits for the imports and writes in flight before it says, once, what it is waiting for: a
|
|
3
|
+
* close that never ends is a hook or a transaction callback awaiting the Project's own open, close or destroy.
|
|
4
|
+
*/
|
|
5
|
+
export declare const CLOSE_WAIT_REPORT_MS = 10000;
|
|
6
|
+
/**
|
|
7
|
+
* The most changes a Project holds before it folds them: its own told while a call that will post them runs (past
|
|
8
|
+
* it, posted at once), and every change told while it opens (past it, its state read again once open). A call that
|
|
9
|
+
* runs on, a store written beside the Project, a long open, never hold an unbounded list.
|
|
10
|
+
*/
|
|
11
|
+
export declare const CHANGES_HELD_MAX = 256;
|
|
12
|
+
//# sourceMappingURL=project.constants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"project.constants.d.ts","sourceRoot":"","sources":["../../src/project/project.constants.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,oBAAoB,QAAS,CAAA;AAE1C;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,MAAM,CAAA"}
|