@systemfsoftware/agent-storage-cloudflare 0.0.0-stage → 0.1.0-beta.192
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/LICENSE +21 -0
- package/dist/DoMemoryStore-AaGtt8CZ.d.mts +29 -0
- package/dist/DoMemoryStore-DVun329p.mjs +67 -0
- package/dist/DoMemoryStore-DVun329p.mjs.map +1 -0
- package/dist/DoMemoryStore.d.mts +2 -0
- package/dist/DoMemoryStore.mjs +1 -0
- package/dist/DoMessageDeliveryStore-BvB6OPI1.mjs +34 -0
- package/dist/DoMessageDeliveryStore-BvB6OPI1.mjs.map +1 -0
- package/dist/DoMessageDeliveryStore-Cb-DNN5s.d.mts +16 -0
- package/dist/DoMessageDeliveryStore.d.mts +2 -0
- package/dist/DoMessageDeliveryStore.mjs +1 -0
- package/dist/DoScheduleStore-BiTgDvX1.d.mts +36 -0
- package/dist/DoScheduleStore-C7GkSReF.mjs +167 -0
- package/dist/DoScheduleStore-C7GkSReF.mjs.map +1 -0
- package/dist/DoScheduleStore.d.mts +2 -0
- package/dist/DoScheduleStore.mjs +1 -0
- package/dist/DoStorageConfig-BqezsbD6.mjs +43 -0
- package/dist/DoStorageConfig-BqezsbD6.mjs.map +1 -0
- package/dist/DoStorageConfig-CuB6ZOtX.d.mts +36 -0
- package/dist/DoStorageConfig.d.mts +2 -0
- package/dist/DoStorageConfig.mjs +1 -0
- package/dist/DoStorageError-C-F5Z_FZ.d.mts +82 -0
- package/dist/DoStorageError-DSQzuCb0.mjs +138 -0
- package/dist/DoStorageError-DSQzuCb0.mjs.map +1 -0
- package/dist/DoStorageError.d.mts +2 -0
- package/dist/DoStorageError.mjs +1 -0
- package/dist/DoStorageFailpoint-C7zLUULu.d.mts +19 -0
- package/dist/DoStorageFailpoint-WO3B_DQl.mjs +20 -0
- package/dist/DoStorageFailpoint-WO3B_DQl.mjs.map +1 -0
- package/dist/DoStorageFailpoint.d.mts +2 -0
- package/dist/DoStorageFailpoint.mjs +1 -0
- package/dist/DoStorageFailpointTesting.d.mts +21 -0
- package/dist/DoStorageFailpointTesting.mjs +18 -0
- package/dist/DoStorageFailpointTesting.mjs.map +1 -0
- package/dist/DoStorageVersion-BrolfBDS.mjs +7 -0
- package/dist/DoStorageVersion-BrolfBDS.mjs.map +1 -0
- package/dist/DoStorageVersion-D7CIxFc_.d.mts +8 -0
- package/dist/DoStorageVersion.d.mts +3 -0
- package/dist/DoStorageVersion.mjs +2 -0
- package/dist/DoSubmissionLedger-Oq5OstxL.mjs +1878 -0
- package/dist/DoSubmissionLedger-Oq5OstxL.mjs.map +1 -0
- package/dist/DoSubmissionLedger-tLjwidUn.d.mts +25 -0
- package/dist/DoSubmissionLedger.d.mts +2 -0
- package/dist/DoSubmissionLedger.mjs +1 -0
- package/dist/DoSubscriptionStore-BMJiFxt3.mjs +185 -0
- package/dist/DoSubscriptionStore-BMJiFxt3.mjs.map +1 -0
- package/dist/DoSubscriptionStore-zx6nfbbh.d.mts +25 -0
- package/dist/DoSubscriptionStore.d.mts +2 -0
- package/dist/DoSubscriptionStore.mjs +1 -0
- package/dist/DoThreadStore-2zTSfui-.d.mts +81 -0
- package/dist/DoThreadStore-CeYHcRR9.mjs +411 -0
- package/dist/DoThreadStore-CeYHcRR9.mjs.map +1 -0
- package/dist/DoThreadStore.d.mts +2 -0
- package/dist/DoThreadStore.mjs +5 -0
- package/dist/MemoryProtocol-CtCFYe4s.mjs +221 -0
- package/dist/MemoryProtocol-CtCFYe4s.mjs.map +1 -0
- package/dist/MemoryProtocol-DXV77CcJ.d.mts +38160 -0
- package/dist/MemoryProtocol.d.mts +2 -0
- package/dist/MemoryProtocol.mjs +1 -0
- package/dist/PortProtocol-4xvMyCgP.mjs +322 -0
- package/dist/PortProtocol-4xvMyCgP.mjs.map +1 -0
- package/dist/PortProtocol-DXuguAgD.d.mts +966 -0
- package/dist/PortProtocol.d.mts +2 -0
- package/dist/PortProtocol.mjs +1 -0
- package/dist/PortRouting-B9302ouX.mjs +683 -0
- package/dist/PortRouting-B9302ouX.mjs.map +1 -0
- package/dist/PortRouting-DsoI6soW.d.mts +105 -0
- package/dist/PortRouting.d.mts +2 -0
- package/dist/PortRouting.mjs +1 -0
- package/dist/do-journal-nPNEAjV5.mjs +769 -0
- package/dist/do-journal-nPNEAjV5.mjs.map +1 -0
- package/dist/index.d.mts +14 -0
- package/dist/index.mjs +14 -0
- package/dist/migrations-BRTvj8Ue.mjs +233 -0
- package/dist/migrations-BRTvj8Ue.mjs.map +1 -0
- package/dist/owned-state-DrOD9s0c.mjs +157 -0
- package/dist/owned-state-DrOD9s0c.mjs.map +1 -0
- package/dist/rolldown-runtime-D3KUYPsf.mjs +12 -0
- package/package.json +106 -3
- package/src/DoMemoryStore.ts +71 -0
- package/src/DoMessageDeliveryStore.ts +46 -0
- package/src/DoScheduleStore.ts +276 -0
- package/src/DoStorageConfig.ts +45 -0
- package/src/DoStorageError.ts +146 -0
- package/src/DoStorageFailpoint.ts +25 -0
- package/src/DoStorageFailpointTesting.ts +42 -0
- package/src/DoStorageVersion.ts +2 -0
- package/src/DoSubmissionLedger.ts +3980 -0
- package/src/DoSubscriptionStore.ts +331 -0
- package/src/DoThreadStore.ts +602 -0
- package/src/MemoryProtocol.ts +357 -0
- package/src/PortProtocol.ts +626 -0
- package/src/PortRouting.ts +1888 -0
- package/src/index.ts +13 -0
- package/src/internal/canonical-append.ts +15 -0
- package/src/internal/do-journal.ts +1449 -0
- package/src/internal/migrations.ts +395 -0
- package/src/internal/owned-state.ts +300 -0
- package/src/internal/prompt-checkpoint.ts +170 -0
- package/src/internal/storage-span.ts +54 -0
- package/README.md +0 -3
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { ThreadStoreDiagnostic } from "@systemfsoftware/agent/thread-store";
|
|
2
|
+
import * as Schema from "effect/Schema";
|
|
3
|
+
declare namespace DoStorageError_d_exports {
|
|
4
|
+
export { DoAppendConflict, DoLedgerError, DoStorageCompatibilityError, DoStorageCorruptionError, DoStorageError, DoStorageFailpointError, DoStorageFailpointLocation, DoValueBoundExceeded };
|
|
5
|
+
}
|
|
6
|
+
declare const DoStorageCompatibilityError_base: Schema.Class<DoStorageCompatibilityError, Schema.TaggedStruct<"DoStorageCompatibilityError", {
|
|
7
|
+
readonly actualVersion: Schema.Int;
|
|
8
|
+
readonly message: Schema.String;
|
|
9
|
+
readonly supportedVersion: Schema.Int;
|
|
10
|
+
}>, import("effect/Cause").YieldableError>;
|
|
11
|
+
/** The Durable Object's SQLite storage uses a private-development format this adapter cannot read. */
|
|
12
|
+
declare class DoStorageCompatibilityError extends DoStorageCompatibilityError_base {}
|
|
13
|
+
declare const DoStorageCorruptionError_base: Schema.Class<DoStorageCorruptionError, Schema.TaggedStruct<"DoStorageCorruptionError", {
|
|
14
|
+
readonly message: Schema.String;
|
|
15
|
+
readonly rowKey: Schema.String;
|
|
16
|
+
readonly table: Schema.String;
|
|
17
|
+
readonly diagnostic: Schema.optionalKey<typeof ThreadStoreDiagnostic>;
|
|
18
|
+
}>, import("effect/Cause").YieldableError>;
|
|
19
|
+
/** Stored bytes failed the current Schema and cannot be used as recovery truth. */
|
|
20
|
+
declare class DoStorageCorruptionError extends DoStorageCorruptionError_base {}
|
|
21
|
+
declare const DoStorageError_base: Schema.Class<DoStorageError, Schema.TaggedStruct<"DoStorageError", {
|
|
22
|
+
readonly cause: Schema.optionalKey<Schema.Defect>;
|
|
23
|
+
readonly message: Schema.String;
|
|
24
|
+
readonly operation: Schema.String;
|
|
25
|
+
readonly diagnostic: Schema.optionalKey<typeof ThreadStoreDiagnostic>;
|
|
26
|
+
}>, import("effect/Cause").YieldableError>;
|
|
27
|
+
/** Durable Object SQLite infrastructure failed while opening or operating the store. */
|
|
28
|
+
declare class DoStorageError extends DoStorageError_base {}
|
|
29
|
+
declare const DoLedgerError_base: Schema.Class<DoLedgerError, Schema.TaggedStruct<"DoLedgerError", {
|
|
30
|
+
readonly cause: Schema.optionalKey<Schema.Defect>;
|
|
31
|
+
readonly message: Schema.String;
|
|
32
|
+
readonly operation: Schema.String;
|
|
33
|
+
}>, import("effect/Cause").YieldableError>;
|
|
34
|
+
/**
|
|
35
|
+
* Durable Object SQLite infrastructure failed while operating the Submission Ledger. Surfaces
|
|
36
|
+
* at the SubmissionLedger port as the typed `LedgerError` with this error preserved as its
|
|
37
|
+
* cause, so the adapter-level tag is never erased.
|
|
38
|
+
*/
|
|
39
|
+
declare class DoLedgerError extends DoLedgerError_base {}
|
|
40
|
+
declare const DoValueBoundExceeded_base: Schema.Class<DoValueBoundExceeded, Schema.TaggedStruct<"DoValueBoundExceeded", {
|
|
41
|
+
readonly actualBytes: Schema.Int;
|
|
42
|
+
readonly maxBytes: Schema.Int;
|
|
43
|
+
readonly operation: Schema.String;
|
|
44
|
+
}>, import("effect/Cause").YieldableError>;
|
|
45
|
+
/**
|
|
46
|
+
* A value to be stored exceeds the configured Durable Object per-value bound
|
|
47
|
+
* (`DoStorageConfigValue.maxStoredValueBytes`, kept under the platform's 2 MB SQLite value
|
|
48
|
+
* limit). The refusal happens typed BEFORE any durable mutation; no partial state is written.
|
|
49
|
+
* Payloads of this size are the designed overflow case for a future R2-backed AttachmentStore
|
|
50
|
+
* (deployment spec §3.1, deferred until a real attachment requirement exists).
|
|
51
|
+
*/
|
|
52
|
+
declare class DoValueBoundExceeded extends DoValueBoundExceeded_base {
|
|
53
|
+
get message(): string;
|
|
54
|
+
}
|
|
55
|
+
declare const DoAppendConflict_base: Schema.Class<DoAppendConflict, Schema.TaggedStruct<"DoAppendConflict", {
|
|
56
|
+
readonly message: Schema.String;
|
|
57
|
+
readonly reason: Schema.Literals<readonly ["batch-content", "record-identity", "tail", "stale-command"]>;
|
|
58
|
+
readonly actualTailSequence: Schema.optionalKey<Schema.brand<Schema.Natural, "@effect-agent/thread/CanonicalSequence">>;
|
|
59
|
+
}>, import("effect/Cause").YieldableError>;
|
|
60
|
+
/**
|
|
61
|
+
* A canonical batch retry conflicts with existing append state. Tail conflicts carry the
|
|
62
|
+
* actual committed tail as a diagnostic resume hint.
|
|
63
|
+
*/
|
|
64
|
+
declare class DoAppendConflict extends DoAppendConflict_base {}
|
|
65
|
+
/**
|
|
66
|
+
* Deterministic fault-injection locations at Durable Object storage operation boundaries.
|
|
67
|
+
*
|
|
68
|
+
* The string list is copied VERBATIM from `SqliteStorageFailpointLocation`
|
|
69
|
+
* (`packages/storage-sqlite/src/errors.ts`) so every crash-matrix row keeps the same name on
|
|
70
|
+
* both platforms — the DN process-kill evidence and the DC eviction evidence address identical
|
|
71
|
+
* locations. There is intentionally no Cloudflare-only location.
|
|
72
|
+
*/
|
|
73
|
+
declare const DoStorageFailpointLocation: Schema.Literals<readonly ["materialize:before", "materialize:after", "append:before", "append:after-batch-insert", "append:after-record-insert", "append:after-tail-update", "append:after", "export:after-thread-read", "ledger:admit:before", "ledger:admit:after", "ledger:mark-ready:before", "ledger:mark-ready:after", "ledger:claim:before", "ledger:claim:after", "ledger:mark-input-applied:before", "ledger:mark-input-applied:after", "ledger:finalize-settlement:before", "ledger:finalize-settlement:after", "ledger:request-abort:before", "ledger:request-abort:after", "ledger:claim-joining:before", "ledger:claim-joining:after", "ledger:mark-joined:before", "ledger:mark-joined:after", "ledger:revert-joining:before", "ledger:revert-joining:after", "ledger:suspend:before", "ledger:suspend:after", "ledger:approval-decision:before", "ledger:approval-decision:after", "ledger:mark-unknown:before", "ledger:mark-unknown:after", "ledger:unknown-resolution:before", "ledger:unknown-resolution:after", "ledger:child-reservation:before", "ledger:child-reservation:after", "ledger:child-attach:before", "ledger:child-attach:after", "ledger:child-release-pending:before", "ledger:child-release-pending:after", "ledger:child-release:before", "ledger:child-release:after", "ledger:child-settled:before", "ledger:child-settled:after"]>;
|
|
74
|
+
type DoStorageFailpointLocation = typeof DoStorageFailpointLocation.Type;
|
|
75
|
+
declare const DoStorageFailpointError_base: Schema.Class<DoStorageFailpointError, Schema.TaggedStruct<"DoStorageFailpointError", {
|
|
76
|
+
readonly location: Schema.Literals<readonly ["materialize:before", "materialize:after", "append:before", "append:after-batch-insert", "append:after-record-insert", "append:after-tail-update", "append:after", "export:after-thread-read", "ledger:admit:before", "ledger:admit:after", "ledger:mark-ready:before", "ledger:mark-ready:after", "ledger:claim:before", "ledger:claim:after", "ledger:mark-input-applied:before", "ledger:mark-input-applied:after", "ledger:finalize-settlement:before", "ledger:finalize-settlement:after", "ledger:request-abort:before", "ledger:request-abort:after", "ledger:claim-joining:before", "ledger:claim-joining:after", "ledger:mark-joined:before", "ledger:mark-joined:after", "ledger:revert-joining:before", "ledger:revert-joining:after", "ledger:suspend:before", "ledger:suspend:after", "ledger:approval-decision:before", "ledger:approval-decision:after", "ledger:mark-unknown:before", "ledger:mark-unknown:after", "ledger:unknown-resolution:before", "ledger:unknown-resolution:after", "ledger:child-reservation:before", "ledger:child-reservation:after", "ledger:child-attach:before", "ledger:child-attach:after", "ledger:child-release-pending:before", "ledger:child-release-pending:after", "ledger:child-release:before", "ledger:child-release:after", "ledger:child-settled:before", "ledger:child-settled:after"]>;
|
|
77
|
+
}>, import("effect/Cause").YieldableError>;
|
|
78
|
+
/** Deterministic test-only fault or pause injected at a Durable Object storage boundary. */
|
|
79
|
+
declare class DoStorageFailpointError extends DoStorageFailpointError_base {
|
|
80
|
+
get message(): string;
|
|
81
|
+
}
|
|
82
|
+
export { DoStorageError as a, DoStorageFailpointLocation as c, DoStorageCorruptionError as i, DoValueBoundExceeded as l, DoLedgerError as n, DoStorageError_d_exports as o, DoStorageCompatibilityError as r, DoStorageFailpointError as s, DoAppendConflict as t };
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
import { t as __exportAll } from "./rolldown-runtime-D3KUYPsf.mjs";
|
|
2
|
+
import { CanonicalSequence } from "@systemfsoftware/agent/records";
|
|
3
|
+
import { ThreadStoreDiagnostic } from "@systemfsoftware/agent/thread-store";
|
|
4
|
+
import * as Schema from "effect/Schema";
|
|
5
|
+
// src/DoStorageError.ts
|
|
6
|
+
var DoStorageError_exports = /* @__PURE__ */ __exportAll({
|
|
7
|
+
DoAppendConflict: () => DoAppendConflict,
|
|
8
|
+
DoLedgerError: () => DoLedgerError,
|
|
9
|
+
DoStorageCompatibilityError: () => DoStorageCompatibilityError,
|
|
10
|
+
DoStorageCorruptionError: () => DoStorageCorruptionError,
|
|
11
|
+
DoStorageError: () => DoStorageError,
|
|
12
|
+
DoStorageFailpointError: () => DoStorageFailpointError,
|
|
13
|
+
DoStorageFailpointLocation: () => DoStorageFailpointLocation,
|
|
14
|
+
DoValueBoundExceeded: () => DoValueBoundExceeded
|
|
15
|
+
});
|
|
16
|
+
/** The Durable Object's SQLite storage uses a private-development format this adapter cannot read. */
|
|
17
|
+
var DoStorageCompatibilityError = class extends Schema.TaggedError()("DoStorageCompatibilityError", {
|
|
18
|
+
actualVersion: Schema.Int,
|
|
19
|
+
message: Schema.String,
|
|
20
|
+
supportedVersion: Schema.Int
|
|
21
|
+
}) {};
|
|
22
|
+
/** Stored bytes failed the current Schema and cannot be used as recovery truth. */
|
|
23
|
+
var DoStorageCorruptionError = class extends Schema.TaggedError()("DoStorageCorruptionError", {
|
|
24
|
+
message: Schema.String,
|
|
25
|
+
rowKey: Schema.String,
|
|
26
|
+
table: Schema.String,
|
|
27
|
+
diagnostic: Schema.optionalKey(ThreadStoreDiagnostic)
|
|
28
|
+
}) {};
|
|
29
|
+
/** Durable Object SQLite infrastructure failed while opening or operating the store. */
|
|
30
|
+
var DoStorageError = class extends Schema.TaggedError()("DoStorageError", {
|
|
31
|
+
cause: Schema.optionalKey(Schema.Defect()),
|
|
32
|
+
message: Schema.String,
|
|
33
|
+
operation: Schema.String,
|
|
34
|
+
diagnostic: Schema.optionalKey(ThreadStoreDiagnostic)
|
|
35
|
+
}) {};
|
|
36
|
+
/**
|
|
37
|
+
* Durable Object SQLite infrastructure failed while operating the Submission Ledger. Surfaces
|
|
38
|
+
* at the SubmissionLedger port as the typed `LedgerError` with this error preserved as its
|
|
39
|
+
* cause, so the adapter-level tag is never erased.
|
|
40
|
+
*/
|
|
41
|
+
var DoLedgerError = class extends Schema.TaggedError()("DoLedgerError", {
|
|
42
|
+
cause: Schema.optionalKey(Schema.Defect()),
|
|
43
|
+
message: Schema.String,
|
|
44
|
+
operation: Schema.String
|
|
45
|
+
}) {};
|
|
46
|
+
/**
|
|
47
|
+
* A value to be stored exceeds the configured Durable Object per-value bound
|
|
48
|
+
* (`DoStorageConfigValue.maxStoredValueBytes`, kept under the platform's 2 MB SQLite value
|
|
49
|
+
* limit). The refusal happens typed BEFORE any durable mutation; no partial state is written.
|
|
50
|
+
* Payloads of this size are the designed overflow case for a future R2-backed AttachmentStore
|
|
51
|
+
* (deployment spec §3.1, deferred until a real attachment requirement exists).
|
|
52
|
+
*/
|
|
53
|
+
var DoValueBoundExceeded = class extends Schema.TaggedError()("DoValueBoundExceeded", {
|
|
54
|
+
actualBytes: Schema.Int,
|
|
55
|
+
maxBytes: Schema.Int,
|
|
56
|
+
operation: Schema.String
|
|
57
|
+
}) {
|
|
58
|
+
get message() {
|
|
59
|
+
return `A stored value of ${this.actualBytes} bytes exceeds the Durable Object per-value bound of ${this.maxBytes} bytes during ${this.operation}. Nothing was written. Values of this size are the designed R2 AttachmentStore overflow path (deferred, deployment spec §3.1).`;
|
|
60
|
+
}
|
|
61
|
+
};
|
|
62
|
+
/**
|
|
63
|
+
* A canonical batch retry conflicts with existing append state. Tail conflicts carry the
|
|
64
|
+
* actual committed tail as a diagnostic resume hint.
|
|
65
|
+
*/
|
|
66
|
+
var DoAppendConflict = class extends Schema.TaggedError()("DoAppendConflict", {
|
|
67
|
+
message: Schema.String,
|
|
68
|
+
reason: Schema.Literals([
|
|
69
|
+
"batch-content",
|
|
70
|
+
"record-identity",
|
|
71
|
+
"tail",
|
|
72
|
+
"stale-command"
|
|
73
|
+
]),
|
|
74
|
+
actualTailSequence: Schema.optionalKey(CanonicalSequence)
|
|
75
|
+
}) {};
|
|
76
|
+
/**
|
|
77
|
+
* Deterministic fault-injection locations at Durable Object storage operation boundaries.
|
|
78
|
+
*
|
|
79
|
+
* The string list is copied VERBATIM from `SqliteStorageFailpointLocation`
|
|
80
|
+
* (`packages/storage-sqlite/src/errors.ts`) so every crash-matrix row keeps the same name on
|
|
81
|
+
* both platforms — the DN process-kill evidence and the DC eviction evidence address identical
|
|
82
|
+
* locations. There is intentionally no Cloudflare-only location.
|
|
83
|
+
*/
|
|
84
|
+
const DoStorageFailpointLocation = Schema.Literals([
|
|
85
|
+
"materialize:before",
|
|
86
|
+
"materialize:after",
|
|
87
|
+
"append:before",
|
|
88
|
+
"append:after-batch-insert",
|
|
89
|
+
"append:after-record-insert",
|
|
90
|
+
"append:after-tail-update",
|
|
91
|
+
"append:after",
|
|
92
|
+
"export:after-thread-read",
|
|
93
|
+
"ledger:admit:before",
|
|
94
|
+
"ledger:admit:after",
|
|
95
|
+
"ledger:mark-ready:before",
|
|
96
|
+
"ledger:mark-ready:after",
|
|
97
|
+
"ledger:claim:before",
|
|
98
|
+
"ledger:claim:after",
|
|
99
|
+
"ledger:mark-input-applied:before",
|
|
100
|
+
"ledger:mark-input-applied:after",
|
|
101
|
+
"ledger:finalize-settlement:before",
|
|
102
|
+
"ledger:finalize-settlement:after",
|
|
103
|
+
"ledger:request-abort:before",
|
|
104
|
+
"ledger:request-abort:after",
|
|
105
|
+
"ledger:claim-joining:before",
|
|
106
|
+
"ledger:claim-joining:after",
|
|
107
|
+
"ledger:mark-joined:before",
|
|
108
|
+
"ledger:mark-joined:after",
|
|
109
|
+
"ledger:revert-joining:before",
|
|
110
|
+
"ledger:revert-joining:after",
|
|
111
|
+
"ledger:suspend:before",
|
|
112
|
+
"ledger:suspend:after",
|
|
113
|
+
"ledger:approval-decision:before",
|
|
114
|
+
"ledger:approval-decision:after",
|
|
115
|
+
"ledger:mark-unknown:before",
|
|
116
|
+
"ledger:mark-unknown:after",
|
|
117
|
+
"ledger:unknown-resolution:before",
|
|
118
|
+
"ledger:unknown-resolution:after",
|
|
119
|
+
"ledger:child-reservation:before",
|
|
120
|
+
"ledger:child-reservation:after",
|
|
121
|
+
"ledger:child-attach:before",
|
|
122
|
+
"ledger:child-attach:after",
|
|
123
|
+
"ledger:child-release-pending:before",
|
|
124
|
+
"ledger:child-release-pending:after",
|
|
125
|
+
"ledger:child-release:before",
|
|
126
|
+
"ledger:child-release:after",
|
|
127
|
+
"ledger:child-settled:before",
|
|
128
|
+
"ledger:child-settled:after"
|
|
129
|
+
]);
|
|
130
|
+
/** Deterministic test-only fault or pause injected at a Durable Object storage boundary. */
|
|
131
|
+
var DoStorageFailpointError = class extends Schema.TaggedError()("DoStorageFailpointError", { location: DoStorageFailpointLocation }) {
|
|
132
|
+
get message() {
|
|
133
|
+
return `Injected Durable Object storage failure at ${this.location}.`;
|
|
134
|
+
}
|
|
135
|
+
};
|
|
136
|
+
export { DoStorageError as a, DoStorageFailpointLocation as c, DoStorageCorruptionError as i, DoValueBoundExceeded as l, DoLedgerError as n, DoStorageError_exports as o, DoStorageCompatibilityError as r, DoStorageFailpointError as s, DoAppendConflict as t };
|
|
137
|
+
|
|
138
|
+
//# sourceMappingURL=DoStorageError-DSQzuCb0.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DoStorageError-DSQzuCb0.mjs","names":[],"sources":["../src/DoStorageError.ts"],"sourcesContent":["import { CanonicalSequence } from '@systemfsoftware/agent/records'\nimport { ThreadStoreDiagnostic } from '@systemfsoftware/agent/thread-store'\nimport * as Schema from 'effect/Schema'\n\n/** The Durable Object's SQLite storage uses a private-development format this adapter cannot read. */\nexport class DoStorageCompatibilityError extends Schema.TaggedError<DoStorageCompatibilityError>()(\n 'DoStorageCompatibilityError',\n {\n actualVersion: Schema.Int,\n message: Schema.String,\n supportedVersion: Schema.Int,\n },\n) {}\n\n/** Stored bytes failed the current Schema and cannot be used as recovery truth. */\nexport class DoStorageCorruptionError extends Schema.TaggedError<DoStorageCorruptionError>()(\n 'DoStorageCorruptionError',\n {\n message: Schema.String,\n rowKey: Schema.String,\n table: Schema.String,\n diagnostic: Schema.optionalKey(ThreadStoreDiagnostic),\n },\n) {}\n\n/** Durable Object SQLite infrastructure failed while opening or operating the store. */\nexport class DoStorageError extends Schema.TaggedError<DoStorageError>()('DoStorageError', {\n cause: Schema.optionalKey(Schema.Defect()),\n message: Schema.String,\n operation: Schema.String,\n diagnostic: Schema.optionalKey(ThreadStoreDiagnostic),\n}) {}\n\n/**\n * Durable Object SQLite infrastructure failed while operating the Submission Ledger. Surfaces\n * at the SubmissionLedger port as the typed `LedgerError` with this error preserved as its\n * cause, so the adapter-level tag is never erased.\n */\nexport class DoLedgerError extends Schema.TaggedError<DoLedgerError>()('DoLedgerError', {\n cause: Schema.optionalKey(Schema.Defect()),\n message: Schema.String,\n operation: Schema.String,\n}) {}\n\n/**\n * A value to be stored exceeds the configured Durable Object per-value bound\n * (`DoStorageConfigValue.maxStoredValueBytes`, kept under the platform's 2 MB SQLite value\n * limit). The refusal happens typed BEFORE any durable mutation; no partial state is written.\n * Payloads of this size are the designed overflow case for a future R2-backed AttachmentStore\n * (deployment spec §3.1, deferred until a real attachment requirement exists).\n */\nexport class DoValueBoundExceeded extends Schema.TaggedError<DoValueBoundExceeded>()(\n 'DoValueBoundExceeded',\n {\n actualBytes: Schema.Int,\n maxBytes: Schema.Int,\n operation: Schema.String,\n },\n) {\n override get message() {\n return (\n `A stored value of ${this.actualBytes} bytes exceeds the Durable Object per-value bound ` +\n `of ${this.maxBytes} bytes during ${this.operation}. Nothing was written. Values of this ` +\n 'size are the designed R2 AttachmentStore overflow path (deferred, deployment spec §3.1).'\n )\n }\n}\n\n/**\n * A canonical batch retry conflicts with existing append state. Tail conflicts carry the\n * actual committed tail as a diagnostic resume hint.\n */\nexport class DoAppendConflict extends Schema.TaggedError<DoAppendConflict>()('DoAppendConflict', {\n message: Schema.String,\n reason: Schema.Literals(['batch-content', 'record-identity', 'tail', 'stale-command']),\n actualTailSequence: Schema.optionalKey(CanonicalSequence),\n}) {}\n\n/**\n * Deterministic fault-injection locations at Durable Object storage operation boundaries.\n *\n * The string list is copied VERBATIM from `SqliteStorageFailpointLocation`\n * (`packages/storage-sqlite/src/errors.ts`) so every crash-matrix row keeps the same name on\n * both platforms — the DN process-kill evidence and the DC eviction evidence address identical\n * locations. There is intentionally no Cloudflare-only location.\n */\nexport const DoStorageFailpointLocation = Schema.Literals([\n 'materialize:before',\n 'materialize:after',\n 'append:before',\n 'append:after-batch-insert',\n 'append:after-record-insert',\n 'append:after-tail-update',\n 'append:after',\n 'export:after-thread-read',\n 'ledger:admit:before',\n 'ledger:admit:after',\n 'ledger:mark-ready:before',\n 'ledger:mark-ready:after',\n 'ledger:claim:before',\n 'ledger:claim:after',\n 'ledger:mark-input-applied:before',\n 'ledger:mark-input-applied:after',\n 'ledger:finalize-settlement:before',\n 'ledger:finalize-settlement:after',\n 'ledger:request-abort:before',\n 'ledger:request-abort:after',\n 'ledger:claim-joining:before',\n 'ledger:claim-joining:after',\n 'ledger:mark-joined:before',\n 'ledger:mark-joined:after',\n 'ledger:revert-joining:before',\n 'ledger:revert-joining:after',\n 'ledger:suspend:before',\n 'ledger:suspend:after',\n 'ledger:approval-decision:before',\n 'ledger:approval-decision:after',\n 'ledger:mark-unknown:before',\n 'ledger:mark-unknown:after',\n 'ledger:unknown-resolution:before',\n 'ledger:unknown-resolution:after',\n 'ledger:child-reservation:before',\n 'ledger:child-reservation:after',\n 'ledger:child-attach:before',\n 'ledger:child-attach:after',\n 'ledger:child-release-pending:before',\n 'ledger:child-release-pending:after',\n 'ledger:child-release:before',\n 'ledger:child-release:after',\n 'ledger:child-settled:before',\n 'ledger:child-settled:after',\n])\n\nexport type DoStorageFailpointLocation = typeof DoStorageFailpointLocation.Type\n\n/** Deterministic test-only fault or pause injected at a Durable Object storage boundary. */\nexport class DoStorageFailpointError extends Schema.TaggedError<DoStorageFailpointError>()(\n 'DoStorageFailpointError',\n {\n location: DoStorageFailpointLocation,\n },\n) {\n override get message() {\n return `Injected Durable Object storage failure at ${this.location}.`\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;AAKA,IAAa,8BAAb,cAAiD,OAAO,YAAyC,CAAC,CAChG,+BACA;CACE,eAAe,OAAO;CACtB,SAAS,OAAO;CAChB,kBAAkB,OAAO;AAC3B,CACF,CAAC,CAAC,CAAC;;AAGH,IAAa,2BAAb,cAA8C,OAAO,YAAsC,CAAC,CAC1F,4BACA;CACE,SAAS,OAAO;CAChB,QAAQ,OAAO;CACf,OAAO,OAAO;CACd,YAAY,OAAO,YAAY,qBAAqB;AACtD,CACF,CAAC,CAAC,CAAC;;AAGH,IAAa,iBAAb,cAAoC,OAAO,YAA4B,CAAC,CAAC,kBAAkB;CACzF,OAAO,OAAO,YAAY,OAAO,OAAO,CAAC;CACzC,SAAS,OAAO;CAChB,WAAW,OAAO;CAClB,YAAY,OAAO,YAAY,qBAAqB;AACtD,CAAC,CAAC,CAAC,CAAC;;;;;;AAOJ,IAAa,gBAAb,cAAmC,OAAO,YAA2B,CAAC,CAAC,iBAAiB;CACtF,OAAO,OAAO,YAAY,OAAO,OAAO,CAAC;CACzC,SAAS,OAAO;CAChB,WAAW,OAAO;AACpB,CAAC,CAAC,CAAC,CAAC;;;;;;;;AASJ,IAAa,uBAAb,cAA0C,OAAO,YAAkC,CAAC,CAClF,wBACA;CACE,aAAa,OAAO;CACpB,UAAU,OAAO;CACjB,WAAW,OAAO;AACpB,CACF,CAAC,CAAC;CACA,IAAa,UAAU;EACrB,OACE,qBAAqB,KAAK,YAAY,uDAChC,KAAK,SAAS,gBAAgB,KAAK,UAAU;CAGvD;AACF;;;;;AAMA,IAAa,mBAAb,cAAsC,OAAO,YAA8B,CAAC,CAAC,oBAAoB;CAC/F,SAAS,OAAO;CAChB,QAAQ,OAAO,SAAS;EAAC;EAAiB;EAAmB;EAAQ;CAAe,CAAC;CACrF,oBAAoB,OAAO,YAAY,iBAAiB;AAC1D,CAAC,CAAC,CAAC,CAAC;;;;;;;;;AAUJ,MAAa,6BAA6B,OAAO,SAAS;CACxD;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF,CAAC;;AAKD,IAAa,0BAAb,cAA6C,OAAO,YAAqC,CAAC,CACxF,2BACA,EACE,UAAU,2BACZ,CACF,CAAC,CAAC;CACA,IAAa,UAAU;EACrB,OAAO,8CAA8C,KAAK,SAAS;CACrE;AACF"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { a as DoStorageError, c as DoStorageFailpointLocation, i as DoStorageCorruptionError, l as DoValueBoundExceeded, n as DoLedgerError, r as DoStorageCompatibilityError, s as DoStorageFailpointError, t as DoAppendConflict } from "./DoStorageError-C-F5Z_FZ.mjs";
|
|
2
|
+
export { DoAppendConflict, DoLedgerError, DoStorageCompatibilityError, DoStorageCorruptionError, DoStorageError, DoStorageFailpointError, DoStorageFailpointLocation, DoValueBoundExceeded };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as DoAppendConflict, n as DoLedgerError, r as DoStorageCompatibilityError, i as DoStorageCorruptionError, a as DoStorageError, s as DoStorageFailpointError, c as DoStorageFailpointLocation, l as DoValueBoundExceeded } from "./DoStorageError-DSQzuCb0.mjs";
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as Context from "effect/Context";
|
|
2
|
+
import * as Effect from "effect/Effect";
|
|
3
|
+
import * as Layer from "effect/Layer";
|
|
4
|
+
import { c as DoStorageFailpointLocation, s as DoStorageFailpointError } from "./DoStorageError-C-F5Z_FZ.mjs";
|
|
5
|
+
declare namespace DoStorageFailpoint_d_exports {
|
|
6
|
+
export { DoStorageFailpoint, DoStorageFailpointHandler, isDefaultDoStorageFailpoint };
|
|
7
|
+
}
|
|
8
|
+
type DoStorageFailpointHandler = (location: DoStorageFailpointLocation) => Effect.Effect<void, DoStorageFailpointError>;
|
|
9
|
+
/** @internal Select a plain native body only for the library's no-op handler. */
|
|
10
|
+
declare const isDefaultDoStorageFailpoint: (handler: DoStorageFailpointHandler) => boolean;
|
|
11
|
+
declare const DoStorageFailpoint_base: Context.ServiceClass<DoStorageFailpoint, "@effect-agent/storage-cloudflare/DoStorageFailpoint", {
|
|
12
|
+
readonly hit: DoStorageFailpointHandler;
|
|
13
|
+
}>;
|
|
14
|
+
/** Explicit fault-injection authority used at Durable Object storage operation boundaries. */
|
|
15
|
+
declare class DoStorageFailpoint extends DoStorageFailpoint_base {
|
|
16
|
+
/** Production default: no fault injection. */
|
|
17
|
+
static readonly layer: Layer.Layer<DoStorageFailpoint, never, never>;
|
|
18
|
+
}
|
|
19
|
+
export { isDefaultDoStorageFailpoint as i, DoStorageFailpointHandler as n, DoStorageFailpoint_d_exports as r, DoStorageFailpoint as t };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { t as __exportAll } from "./rolldown-runtime-D3KUYPsf.mjs";
|
|
2
|
+
import * as Context from "effect/Context";
|
|
3
|
+
import * as Effect from "effect/Effect";
|
|
4
|
+
import * as Layer from "effect/Layer";
|
|
5
|
+
// src/DoStorageFailpoint.ts
|
|
6
|
+
var DoStorageFailpoint_exports = /* @__PURE__ */ __exportAll({
|
|
7
|
+
DoStorageFailpoint: () => DoStorageFailpoint,
|
|
8
|
+
isDefaultDoStorageFailpoint: () => isDefaultDoStorageFailpoint
|
|
9
|
+
});
|
|
10
|
+
const noFailpoint = () => Effect.void;
|
|
11
|
+
/** @internal Select a plain native body only for the library's no-op handler. */
|
|
12
|
+
const isDefaultDoStorageFailpoint = (handler) => handler === noFailpoint;
|
|
13
|
+
/** Explicit fault-injection authority used at Durable Object storage operation boundaries. */
|
|
14
|
+
var DoStorageFailpoint = class extends Context.Service()("@effect-agent/storage-cloudflare/DoStorageFailpoint") {
|
|
15
|
+
/** Production default: no fault injection. */
|
|
16
|
+
static layer = Layer.succeed(this)({ hit: noFailpoint });
|
|
17
|
+
};
|
|
18
|
+
export { DoStorageFailpoint_exports as n, isDefaultDoStorageFailpoint as r, DoStorageFailpoint as t };
|
|
19
|
+
|
|
20
|
+
//# sourceMappingURL=DoStorageFailpoint-WO3B_DQl.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DoStorageFailpoint-WO3B_DQl.mjs","names":[],"sources":["../src/DoStorageFailpoint.ts"],"sourcesContent":["import * as Context from 'effect/Context'\nimport * as Effect from 'effect/Effect'\nimport * as Layer from 'effect/Layer'\n\nimport type { DoStorageFailpointError, DoStorageFailpointLocation } from './DoStorageError'\n\nexport type DoStorageFailpointHandler = (\n location: DoStorageFailpointLocation,\n) => Effect.Effect<void, DoStorageFailpointError>\n\nconst noFailpoint: DoStorageFailpointHandler = () => Effect.void\n\n/** @internal Select a plain native body only for the library's no-op handler. */\nexport const isDefaultDoStorageFailpoint = (handler: DoStorageFailpointHandler): boolean => handler === noFailpoint\n\n/** Explicit fault-injection authority used at Durable Object storage operation boundaries. */\nexport class DoStorageFailpoint extends Context.Service<\n DoStorageFailpoint,\n {\n readonly hit: DoStorageFailpointHandler\n }\n>()('@effect-agent/storage-cloudflare/DoStorageFailpoint') {\n /** Production default: no fault injection. */\n static readonly layer = Layer.succeed(this)({ hit: noFailpoint })\n}\n"],"mappings":";;;;;;;;;AAUA,MAAM,oBAA+C,OAAO;;AAG5D,MAAa,+BAA+B,YAAgD,YAAY;;AAGxG,IAAa,qBAAb,cAAwC,QAAQ,QAK9C,CAAC,CAAC,qDAAqD,CAAC,CAAC;;CAEzD,OAAgB,QAAQ,MAAM,QAAQ,IAAI,CAAC,CAAC,EAAE,KAAK,YAAY,CAAC;AAClE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as DoStorageFailpoint, r as isDefaultDoStorageFailpoint } from "./DoStorageFailpoint-WO3B_DQl.mjs";
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as Effect from "effect/Effect";
|
|
2
|
+
import { c as DoStorageFailpointLocation } from "./DoStorageError-C-F5Z_FZ.mjs";
|
|
3
|
+
import { n as DoStorageFailpointHandler } from "./DoStorageFailpoint-C7zLUULu.mjs";
|
|
4
|
+
/**
|
|
5
|
+
* The DC-specific eviction failpoint mode: instead of failing typed, an armed hit evicts the
|
|
6
|
+
* Durable Object through an injected `evict` thunk — in production-shaped harnesses that thunk
|
|
7
|
+
* is `() => ctx.abort()`, the platform's real failure mode. `ctx.abort()` never returns (it
|
|
8
|
+
* throws while destroying the in-memory instance and every in-flight implicit or explicit
|
|
9
|
+
* storage transaction rolls back), so an armed hit ends the current Attempt exactly like an
|
|
10
|
+
* unannounced platform eviction; DO storage — the only correctness-critical state — survives
|
|
11
|
+
* for the next incarnation, which the persisted alarm wakes without any incoming request.
|
|
12
|
+
*
|
|
13
|
+
* The handles stay injected: this package never imports `cloudflare:workers`, so the harness
|
|
14
|
+
* that owns a `DurableObjectState` supplies the thunk.
|
|
15
|
+
*/
|
|
16
|
+
export declare const evictionFailpointHandler: (options: {
|
|
17
|
+
readonly isArmed: (location: DoStorageFailpointLocation) => Effect.Effect<boolean>;
|
|
18
|
+
/** Kills the incarnation — e.g. `() => ctx.abort()`. Typed `void` because the platform
|
|
19
|
+
* declares `abort` as returning, but it throws while destroying the instance. */
|
|
20
|
+
readonly evict: (location: DoStorageFailpointLocation) => void;
|
|
21
|
+
}) => DoStorageFailpointHandler;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as Effect from "effect/Effect";
|
|
2
|
+
// src/DoStorageFailpointTesting.ts
|
|
3
|
+
/**
|
|
4
|
+
* The DC-specific eviction failpoint mode: instead of failing typed, an armed hit evicts the
|
|
5
|
+
* Durable Object through an injected `evict` thunk — in production-shaped harnesses that thunk
|
|
6
|
+
* is `() => ctx.abort()`, the platform's real failure mode. `ctx.abort()` never returns (it
|
|
7
|
+
* throws while destroying the in-memory instance and every in-flight implicit or explicit
|
|
8
|
+
* storage transaction rolls back), so an armed hit ends the current Attempt exactly like an
|
|
9
|
+
* unannounced platform eviction; DO storage — the only correctness-critical state — survives
|
|
10
|
+
* for the next incarnation, which the persisted alarm wakes without any incoming request.
|
|
11
|
+
*
|
|
12
|
+
* The handles stay injected: this package never imports `cloudflare:workers`, so the harness
|
|
13
|
+
* that owns a `DurableObjectState` supplies the thunk.
|
|
14
|
+
*/
|
|
15
|
+
const evictionFailpointHandler = (options) => (location) => options.isArmed(location).pipe(Effect.flatMap((armed) => armed ? Effect.sync(() => options.evict(location)).pipe(Effect.andThen(Effect.die(/* @__PURE__ */ new Error(`Durable Object eviction did not interrupt execution at ${location}.`)))) : Effect.void));
|
|
16
|
+
export { evictionFailpointHandler };
|
|
17
|
+
|
|
18
|
+
//# sourceMappingURL=DoStorageFailpointTesting.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DoStorageFailpointTesting.mjs","names":[],"sources":["../src/DoStorageFailpointTesting.ts"],"sourcesContent":["import * as Effect from 'effect/Effect'\n\nimport type { DoStorageFailpointLocation } from './DoStorageError'\nimport type { DoStorageFailpointHandler } from './DoStorageFailpoint'\n\n/**\n * The DC-specific eviction failpoint mode: instead of failing typed, an armed hit evicts the\n * Durable Object through an injected `evict` thunk — in production-shaped harnesses that thunk\n * is `() => ctx.abort()`, the platform's real failure mode. `ctx.abort()` never returns (it\n * throws while destroying the in-memory instance and every in-flight implicit or explicit\n * storage transaction rolls back), so an armed hit ends the current Attempt exactly like an\n * unannounced platform eviction; DO storage — the only correctness-critical state — survives\n * for the next incarnation, which the persisted alarm wakes without any incoming request.\n *\n * The handles stay injected: this package never imports `cloudflare:workers`, so the harness\n * that owns a `DurableObjectState` supplies the thunk.\n */\nexport const evictionFailpointHandler = (options: {\n readonly isArmed: (location: DoStorageFailpointLocation) => Effect.Effect<boolean>\n /** Kills the incarnation — e.g. `() => ctx.abort()`. Typed `void` because the platform\n * declares `abort` as returning, but it throws while destroying the instance. */\n readonly evict: (location: DoStorageFailpointLocation) => void\n}): DoStorageFailpointHandler =>\n(location) =>\n options.isArmed(location).pipe(\n Effect.flatMap((armed) =>\n armed\n // `ctx.abort()` throws while destroying the instance; that throw surfaces as a\n // defect in the (already dying) incarnation. The defensive defect below keeps the\n // guarantee — nothing after an armed hit may observe in-memory state — even if a\n // harness supplies an evict thunk that returns.\n ? Effect.sync(() => options.evict(location)).pipe(\n Effect.andThen(\n Effect.die(\n // oxlint-disable-next-line effect/no-native-error -- A returning native eviction callback violates the host contract and must remain a defect.\n new Error(`Durable Object eviction did not interrupt execution at ${location}.`),\n ),\n ),\n )\n : Effect.void\n ),\n )\n"],"mappings":";;;;;;;;;;;;;;AAiBA,MAAa,4BAA4B,aAMxC,aACC,QAAQ,QAAQ,QAAQ,CAAC,CAAC,KACxB,OAAO,SAAS,UACd,QAKI,OAAO,WAAW,QAAQ,MAAM,QAAQ,CAAC,CAAC,CAAC,KAC3C,OAAO,QACL,OAAO,oBAEL,IAAI,MAAM,0DAA0D,SAAS,EAAE,CACjF,CACF,CACF,IACE,OAAO,IACb,CACF"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { t as __exportAll } from "./rolldown-runtime-D3KUYPsf.mjs";
|
|
2
|
+
import "./migrations-BRTvj8Ue.mjs";
|
|
3
|
+
// src/DoStorageVersion.ts
|
|
4
|
+
var DoStorageVersion_exports = /* @__PURE__ */ __exportAll({ CurrentDoStorageVersion: () => 31 });
|
|
5
|
+
export { DoStorageVersion_exports as t };
|
|
6
|
+
|
|
7
|
+
//# sourceMappingURL=DoStorageVersion-BrolfBDS.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DoStorageVersion-BrolfBDS.mjs","names":[],"sources":["../src/DoStorageVersion.ts"],"sourcesContent":["/** Current adapter layout version; record encoding is versioned independently. */\nexport { CurrentDoStorageVersion } from './internal/migrations'\n"],"mappings":""}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import "effect/Effect";
|
|
2
|
+
import "effect/sql/SqlClient";
|
|
3
|
+
import "./DoStorageError-C-F5Z_FZ.mjs";
|
|
4
|
+
declare const CurrentDoStorageVersion = 31;
|
|
5
|
+
declare namespace DoStorageVersion_d_exports {
|
|
6
|
+
export { CurrentDoStorageVersion };
|
|
7
|
+
}
|
|
8
|
+
export { CurrentDoStorageVersion as n, DoStorageVersion_d_exports as t };
|