@opencode-ai/schema 0.0.0-next-15090 → 0.0.0-next-15092
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/agent.d.ts +13 -9
- package/dist/agent.js +5 -2
- package/dist/command.d.ts +5 -5
- package/dist/command.js +3 -2
- package/dist/durable-event-manifest.d.ts +146 -96
- package/dist/event-manifest.d.ts +390 -282
- package/dist/event.d.ts +2 -1
- package/dist/event.js +12 -4
- package/dist/file-diff.d.ts +11 -1
- package/dist/file-diff.js +13 -5
- package/dist/index.d.ts +3 -1
- package/dist/index.js +3 -1
- package/dist/model.d.ts +46 -30
- package/dist/model.js +10 -9
- package/dist/money.d.ts +10 -0
- package/dist/money.js +5 -0
- package/dist/session-event.d.ts +748 -486
- package/dist/session-event.js +30 -27
- package/dist/session-input.d.ts +6 -6
- package/dist/session-input.js +3 -3
- package/dist/session-message.d.ts +238 -619
- package/dist/session-message.js +57 -44
- package/dist/session-revert.d.ts +479 -0
- package/dist/session-revert.js +63 -0
- package/dist/session.d.ts +26 -22
- package/dist/session.js +9 -13
- package/dist/shell.d.ts +42 -42
- package/dist/shell.js +1 -1
- package/dist/skill.d.ts +16 -9
- package/dist/skill.js +14 -11
- package/dist/snapshot.d.ts +4 -0
- package/dist/snapshot.js +3 -0
- package/dist/token-usage.d.ts +13 -0
- package/dist/token-usage.js +11 -0
- package/dist/v1/session.d.ts +62 -62
- package/dist/v1/session.js +5 -5
- package/package.json +1 -1
- package/dist/revert.d.ts +0 -35
- package/dist/revert.js +0 -19
|
@@ -13,7 +13,7 @@ export declare const SessionDurable: {
|
|
|
13
13
|
readonly durable: import("effect/Schema").Struct<{
|
|
14
14
|
readonly aggregateID: import("effect/Schema").String;
|
|
15
15
|
readonly seq: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Seq">;
|
|
16
|
-
readonly version: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Version">;
|
|
16
|
+
readonly version: import("effect/Schema").decodeTo<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").Int, "Event.Version">>, import("effect/Schema").Literal<number>, never, never>;
|
|
17
17
|
}>;
|
|
18
18
|
readonly location: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Struct<{
|
|
19
19
|
readonly directory: import("effect/Schema").brand<import("effect/Schema").String, "AbsolutePath">;
|
|
@@ -35,7 +35,7 @@ export declare const SessionDurable: {
|
|
|
35
35
|
}>, never, never>;
|
|
36
36
|
}>>, never, never>;
|
|
37
37
|
readonly data: import("effect/Schema").Struct<{
|
|
38
|
-
readonly agent: import("effect/Schema").String
|
|
38
|
+
readonly agent: import("effect/Schema").brand<import("effect/Schema").String, "Agent.ID">;
|
|
39
39
|
readonly sessionID: import("effect/Schema").brand<import("effect/Schema").String, "SessionID"> & {
|
|
40
40
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
41
41
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -49,7 +49,7 @@ export declare const SessionDurable: {
|
|
|
49
49
|
readonly aggregate: string;
|
|
50
50
|
};
|
|
51
51
|
data: import("effect/Schema").Struct<{
|
|
52
|
-
readonly agent: import("effect/Schema").String
|
|
52
|
+
readonly agent: import("effect/Schema").brand<import("effect/Schema").String, "Agent.ID">;
|
|
53
53
|
readonly sessionID: import("effect/Schema").brand<import("effect/Schema").String, "SessionID"> & {
|
|
54
54
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
55
55
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -65,7 +65,7 @@ export declare const SessionDurable: {
|
|
|
65
65
|
readonly durable: import("effect/Schema").Struct<{
|
|
66
66
|
readonly aggregateID: import("effect/Schema").String;
|
|
67
67
|
readonly seq: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Seq">;
|
|
68
|
-
readonly version: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Version">;
|
|
68
|
+
readonly version: import("effect/Schema").decodeTo<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").Int, "Event.Version">>, import("effect/Schema").Literal<number>, never, never>;
|
|
69
69
|
}>;
|
|
70
70
|
readonly location: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Struct<{
|
|
71
71
|
readonly directory: import("effect/Schema").brand<import("effect/Schema").String, "AbsolutePath">;
|
|
@@ -88,7 +88,7 @@ export declare const SessionDurable: {
|
|
|
88
88
|
}>>, never, never>;
|
|
89
89
|
readonly data: import("effect/Schema").Struct<{
|
|
90
90
|
readonly model: import("effect/Schema").Struct<{
|
|
91
|
-
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "
|
|
91
|
+
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Model.ID">;
|
|
92
92
|
readonly providerID: import("effect/Schema").brand<import("effect/Schema").String, "ProviderV2.ID"> & {
|
|
93
93
|
opencode: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
94
94
|
anthropic: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
@@ -102,7 +102,7 @@ export declare const SessionDurable: {
|
|
|
102
102
|
mistral: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
103
103
|
gitlab: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
104
104
|
};
|
|
105
|
-
readonly variant: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").String, "VariantID">>>, import("effect/Schema").optionalKey<import("effect/Schema").brand<import("effect/Schema").String, "VariantID">>, never, never>;
|
|
105
|
+
readonly variant: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").String, "Model.VariantID">>>, import("effect/Schema").optionalKey<import("effect/Schema").brand<import("effect/Schema").String, "Model.VariantID">>, never, never>;
|
|
106
106
|
}>;
|
|
107
107
|
readonly sessionID: import("effect/Schema").brand<import("effect/Schema").String, "SessionID"> & {
|
|
108
108
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -118,7 +118,7 @@ export declare const SessionDurable: {
|
|
|
118
118
|
};
|
|
119
119
|
data: import("effect/Schema").Struct<{
|
|
120
120
|
readonly model: import("effect/Schema").Struct<{
|
|
121
|
-
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "
|
|
121
|
+
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Model.ID">;
|
|
122
122
|
readonly providerID: import("effect/Schema").brand<import("effect/Schema").String, "ProviderV2.ID"> & {
|
|
123
123
|
opencode: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
124
124
|
anthropic: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
@@ -132,7 +132,7 @@ export declare const SessionDurable: {
|
|
|
132
132
|
mistral: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
133
133
|
gitlab: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
134
134
|
};
|
|
135
|
-
readonly variant: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").String, "VariantID">>>, import("effect/Schema").optionalKey<import("effect/Schema").brand<import("effect/Schema").String, "VariantID">>, never, never>;
|
|
135
|
+
readonly variant: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").String, "Model.VariantID">>>, import("effect/Schema").optionalKey<import("effect/Schema").brand<import("effect/Schema").String, "Model.VariantID">>, never, never>;
|
|
136
136
|
}>;
|
|
137
137
|
readonly sessionID: import("effect/Schema").brand<import("effect/Schema").String, "SessionID"> & {
|
|
138
138
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -149,7 +149,7 @@ export declare const SessionDurable: {
|
|
|
149
149
|
readonly durable: import("effect/Schema").Struct<{
|
|
150
150
|
readonly aggregateID: import("effect/Schema").String;
|
|
151
151
|
readonly seq: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Seq">;
|
|
152
|
-
readonly version: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Version">;
|
|
152
|
+
readonly version: import("effect/Schema").decodeTo<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").Int, "Event.Version">>, import("effect/Schema").Literal<number>, never, never>;
|
|
153
153
|
}>;
|
|
154
154
|
readonly location: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Struct<{
|
|
155
155
|
readonly directory: import("effect/Schema").brand<import("effect/Schema").String, "AbsolutePath">;
|
|
@@ -221,7 +221,7 @@ export declare const SessionDurable: {
|
|
|
221
221
|
readonly durable: import("effect/Schema").Struct<{
|
|
222
222
|
readonly aggregateID: import("effect/Schema").String;
|
|
223
223
|
readonly seq: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Seq">;
|
|
224
|
-
readonly version: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Version">;
|
|
224
|
+
readonly version: import("effect/Schema").decodeTo<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").Int, "Event.Version">>, import("effect/Schema").Literal<number>, never, never>;
|
|
225
225
|
}>;
|
|
226
226
|
readonly location: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Struct<{
|
|
227
227
|
readonly directory: import("effect/Schema").brand<import("effect/Schema").String, "AbsolutePath">;
|
|
@@ -273,7 +273,7 @@ export declare const SessionDurable: {
|
|
|
273
273
|
readonly durable: import("effect/Schema").Struct<{
|
|
274
274
|
readonly aggregateID: import("effect/Schema").String;
|
|
275
275
|
readonly seq: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Seq">;
|
|
276
|
-
readonly version: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Version">;
|
|
276
|
+
readonly version: import("effect/Schema").decodeTo<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").Int, "Event.Version">>, import("effect/Schema").Literal<number>, never, never>;
|
|
277
277
|
}>;
|
|
278
278
|
readonly location: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Struct<{
|
|
279
279
|
readonly directory: import("effect/Schema").brand<import("effect/Schema").String, "AbsolutePath">;
|
|
@@ -323,7 +323,7 @@ export declare const SessionDurable: {
|
|
|
323
323
|
readonly durable: import("effect/Schema").Struct<{
|
|
324
324
|
readonly aggregateID: import("effect/Schema").String;
|
|
325
325
|
readonly seq: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Seq">;
|
|
326
|
-
readonly version: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Version">;
|
|
326
|
+
readonly version: import("effect/Schema").decodeTo<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").Int, "Event.Version">>, import("effect/Schema").Literal<number>, never, never>;
|
|
327
327
|
}>;
|
|
328
328
|
readonly location: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Struct<{
|
|
329
329
|
readonly directory: import("effect/Schema").brand<import("effect/Schema").String, "AbsolutePath">;
|
|
@@ -395,7 +395,7 @@ export declare const SessionDurable: {
|
|
|
395
395
|
readonly durable: import("effect/Schema").Struct<{
|
|
396
396
|
readonly aggregateID: import("effect/Schema").String;
|
|
397
397
|
readonly seq: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Seq">;
|
|
398
|
-
readonly version: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Version">;
|
|
398
|
+
readonly version: import("effect/Schema").decodeTo<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").Int, "Event.Version">>, import("effect/Schema").Literal<number>, never, never>;
|
|
399
399
|
}>;
|
|
400
400
|
readonly location: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Struct<{
|
|
401
401
|
readonly directory: import("effect/Schema").brand<import("effect/Schema").String, "AbsolutePath">;
|
|
@@ -453,7 +453,7 @@ export declare const SessionDurable: {
|
|
|
453
453
|
readonly durable: import("effect/Schema").Struct<{
|
|
454
454
|
readonly aggregateID: import("effect/Schema").String;
|
|
455
455
|
readonly seq: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Seq">;
|
|
456
|
-
readonly version: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Version">;
|
|
456
|
+
readonly version: import("effect/Schema").decodeTo<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").Int, "Event.Version">>, import("effect/Schema").Literal<number>, never, never>;
|
|
457
457
|
}>;
|
|
458
458
|
readonly location: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Struct<{
|
|
459
459
|
readonly directory: import("effect/Schema").brand<import("effect/Schema").String, "AbsolutePath">;
|
|
@@ -833,7 +833,7 @@ export declare const SessionDurable: {
|
|
|
833
833
|
readonly durable: import("effect/Schema").Struct<{
|
|
834
834
|
readonly aggregateID: import("effect/Schema").String;
|
|
835
835
|
readonly seq: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Seq">;
|
|
836
|
-
readonly version: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Version">;
|
|
836
|
+
readonly version: import("effect/Schema").decodeTo<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").Int, "Event.Version">>, import("effect/Schema").Literal<number>, never, never>;
|
|
837
837
|
}>;
|
|
838
838
|
readonly location: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Struct<{
|
|
839
839
|
readonly directory: import("effect/Schema").brand<import("effect/Schema").String, "AbsolutePath">;
|
|
@@ -883,7 +883,7 @@ export declare const SessionDurable: {
|
|
|
883
883
|
readonly durable: import("effect/Schema").Struct<{
|
|
884
884
|
readonly aggregateID: import("effect/Schema").String;
|
|
885
885
|
readonly seq: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Seq">;
|
|
886
|
-
readonly version: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Version">;
|
|
886
|
+
readonly version: import("effect/Schema").decodeTo<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").Int, "Event.Version">>, import("effect/Schema").Literal<number>, never, never>;
|
|
887
887
|
}>;
|
|
888
888
|
readonly location: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Struct<{
|
|
889
889
|
readonly directory: import("effect/Schema").brand<import("effect/Schema").String, "AbsolutePath">;
|
|
@@ -933,7 +933,7 @@ export declare const SessionDurable: {
|
|
|
933
933
|
readonly durable: import("effect/Schema").Struct<{
|
|
934
934
|
readonly aggregateID: import("effect/Schema").String;
|
|
935
935
|
readonly seq: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Seq">;
|
|
936
|
-
readonly version: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Version">;
|
|
936
|
+
readonly version: import("effect/Schema").decodeTo<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").Int, "Event.Version">>, import("effect/Schema").Literal<number>, never, never>;
|
|
937
937
|
}>;
|
|
938
938
|
readonly location: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Struct<{
|
|
939
939
|
readonly directory: import("effect/Schema").brand<import("effect/Schema").String, "AbsolutePath">;
|
|
@@ -991,7 +991,7 @@ export declare const SessionDurable: {
|
|
|
991
991
|
readonly durable: import("effect/Schema").Struct<{
|
|
992
992
|
readonly aggregateID: import("effect/Schema").String;
|
|
993
993
|
readonly seq: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Seq">;
|
|
994
|
-
readonly version: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Version">;
|
|
994
|
+
readonly version: import("effect/Schema").decodeTo<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").Int, "Event.Version">>, import("effect/Schema").Literal<number>, never, never>;
|
|
995
995
|
}>;
|
|
996
996
|
readonly location: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Struct<{
|
|
997
997
|
readonly directory: import("effect/Schema").brand<import("effect/Schema").String, "AbsolutePath">;
|
|
@@ -1043,7 +1043,7 @@ export declare const SessionDurable: {
|
|
|
1043
1043
|
readonly durable: import("effect/Schema").Struct<{
|
|
1044
1044
|
readonly aggregateID: import("effect/Schema").String;
|
|
1045
1045
|
readonly seq: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Seq">;
|
|
1046
|
-
readonly version: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Version">;
|
|
1046
|
+
readonly version: import("effect/Schema").decodeTo<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").Int, "Event.Version">>, import("effect/Schema").Literal<number>, never, never>;
|
|
1047
1047
|
}>;
|
|
1048
1048
|
readonly location: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Struct<{
|
|
1049
1049
|
readonly directory: import("effect/Schema").brand<import("effect/Schema").String, "AbsolutePath">;
|
|
@@ -1095,7 +1095,7 @@ export declare const SessionDurable: {
|
|
|
1095
1095
|
readonly durable: import("effect/Schema").Struct<{
|
|
1096
1096
|
readonly aggregateID: import("effect/Schema").String;
|
|
1097
1097
|
readonly seq: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Seq">;
|
|
1098
|
-
readonly version: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Version">;
|
|
1098
|
+
readonly version: import("effect/Schema").decodeTo<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").Int, "Event.Version">>, import("effect/Schema").Literal<number>, never, never>;
|
|
1099
1099
|
}>;
|
|
1100
1100
|
readonly location: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Struct<{
|
|
1101
1101
|
readonly directory: import("effect/Schema").brand<import("effect/Schema").String, "AbsolutePath">;
|
|
@@ -1151,7 +1151,7 @@ export declare const SessionDurable: {
|
|
|
1151
1151
|
readonly durable: import("effect/Schema").Struct<{
|
|
1152
1152
|
readonly aggregateID: import("effect/Schema").String;
|
|
1153
1153
|
readonly seq: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Seq">;
|
|
1154
|
-
readonly version: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Version">;
|
|
1154
|
+
readonly version: import("effect/Schema").decodeTo<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").Int, "Event.Version">>, import("effect/Schema").Literal<number>, never, never>;
|
|
1155
1155
|
}>;
|
|
1156
1156
|
readonly location: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Struct<{
|
|
1157
1157
|
readonly directory: import("effect/Schema").brand<import("effect/Schema").String, "AbsolutePath">;
|
|
@@ -1173,7 +1173,8 @@ export declare const SessionDurable: {
|
|
|
1173
1173
|
}>, never, never>;
|
|
1174
1174
|
}>>, never, never>;
|
|
1175
1175
|
readonly data: import("effect/Schema").Struct<{
|
|
1176
|
-
readonly
|
|
1176
|
+
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Skill.ID">;
|
|
1177
|
+
readonly name: import("effect/Schema").brand<import("effect/Schema").String, "Skill.Name">;
|
|
1177
1178
|
readonly text: import("effect/Schema").String;
|
|
1178
1179
|
readonly sessionID: import("effect/Schema").brand<import("effect/Schema").String, "SessionID"> & {
|
|
1179
1180
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -1188,7 +1189,8 @@ export declare const SessionDurable: {
|
|
|
1188
1189
|
readonly aggregate: string;
|
|
1189
1190
|
};
|
|
1190
1191
|
data: import("effect/Schema").Struct<{
|
|
1191
|
-
readonly
|
|
1192
|
+
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Skill.ID">;
|
|
1193
|
+
readonly name: import("effect/Schema").brand<import("effect/Schema").String, "Skill.Name">;
|
|
1192
1194
|
readonly text: import("effect/Schema").String;
|
|
1193
1195
|
readonly sessionID: import("effect/Schema").brand<import("effect/Schema").String, "SessionID"> & {
|
|
1194
1196
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -1205,7 +1207,7 @@ export declare const SessionDurable: {
|
|
|
1205
1207
|
readonly durable: import("effect/Schema").Struct<{
|
|
1206
1208
|
readonly aggregateID: import("effect/Schema").String;
|
|
1207
1209
|
readonly seq: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Seq">;
|
|
1208
|
-
readonly version: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Version">;
|
|
1210
|
+
readonly version: import("effect/Schema").decodeTo<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").Int, "Event.Version">>, import("effect/Schema").Literal<number>, never, never>;
|
|
1209
1211
|
}>;
|
|
1210
1212
|
readonly location: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Struct<{
|
|
1211
1213
|
readonly directory: import("effect/Schema").brand<import("effect/Schema").String, "AbsolutePath">;
|
|
@@ -1228,9 +1230,9 @@ export declare const SessionDurable: {
|
|
|
1228
1230
|
}>>, never, never>;
|
|
1229
1231
|
readonly data: import("effect/Schema").Struct<{
|
|
1230
1232
|
readonly shell: import("effect/Schema").Struct<{
|
|
1231
|
-
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "
|
|
1232
|
-
create: () => string & import("effect/Brand").Brand<"
|
|
1233
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"
|
|
1233
|
+
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Shell.ID"> & {
|
|
1234
|
+
create: () => string & import("effect/Brand").Brand<"Shell.ID">;
|
|
1235
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Shell.ID">;
|
|
1234
1236
|
};
|
|
1235
1237
|
readonly status: import("effect/Schema").Literals<readonly ["running", "exited", "timeout", "killed"]>;
|
|
1236
1238
|
readonly command: import("effect/Schema").String;
|
|
@@ -1259,9 +1261,9 @@ export declare const SessionDurable: {
|
|
|
1259
1261
|
};
|
|
1260
1262
|
data: import("effect/Schema").Struct<{
|
|
1261
1263
|
readonly shell: import("effect/Schema").Struct<{
|
|
1262
|
-
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "
|
|
1263
|
-
create: () => string & import("effect/Brand").Brand<"
|
|
1264
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"
|
|
1264
|
+
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Shell.ID"> & {
|
|
1265
|
+
create: () => string & import("effect/Brand").Brand<"Shell.ID">;
|
|
1266
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Shell.ID">;
|
|
1265
1267
|
};
|
|
1266
1268
|
readonly status: import("effect/Schema").Literals<readonly ["running", "exited", "timeout", "killed"]>;
|
|
1267
1269
|
readonly command: import("effect/Schema").String;
|
|
@@ -1291,7 +1293,7 @@ export declare const SessionDurable: {
|
|
|
1291
1293
|
readonly durable: import("effect/Schema").Struct<{
|
|
1292
1294
|
readonly aggregateID: import("effect/Schema").String;
|
|
1293
1295
|
readonly seq: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Seq">;
|
|
1294
|
-
readonly version: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Version">;
|
|
1296
|
+
readonly version: import("effect/Schema").decodeTo<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").Int, "Event.Version">>, import("effect/Schema").Literal<number>, never, never>;
|
|
1295
1297
|
}>;
|
|
1296
1298
|
readonly location: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Struct<{
|
|
1297
1299
|
readonly directory: import("effect/Schema").brand<import("effect/Schema").String, "AbsolutePath">;
|
|
@@ -1314,9 +1316,9 @@ export declare const SessionDurable: {
|
|
|
1314
1316
|
}>>, never, never>;
|
|
1315
1317
|
readonly data: import("effect/Schema").Struct<{
|
|
1316
1318
|
readonly shell: import("effect/Schema").Struct<{
|
|
1317
|
-
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "
|
|
1318
|
-
create: () => string & import("effect/Brand").Brand<"
|
|
1319
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"
|
|
1319
|
+
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Shell.ID"> & {
|
|
1320
|
+
create: () => string & import("effect/Brand").Brand<"Shell.ID">;
|
|
1321
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Shell.ID">;
|
|
1320
1322
|
};
|
|
1321
1323
|
readonly status: import("effect/Schema").Literals<readonly ["running", "exited", "timeout", "killed"]>;
|
|
1322
1324
|
readonly command: import("effect/Schema").String;
|
|
@@ -1351,9 +1353,9 @@ export declare const SessionDurable: {
|
|
|
1351
1353
|
};
|
|
1352
1354
|
data: import("effect/Schema").Struct<{
|
|
1353
1355
|
readonly shell: import("effect/Schema").Struct<{
|
|
1354
|
-
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "
|
|
1355
|
-
create: () => string & import("effect/Brand").Brand<"
|
|
1356
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"
|
|
1356
|
+
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Shell.ID"> & {
|
|
1357
|
+
create: () => string & import("effect/Brand").Brand<"Shell.ID">;
|
|
1358
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Shell.ID">;
|
|
1357
1359
|
};
|
|
1358
1360
|
readonly status: import("effect/Schema").Literals<readonly ["running", "exited", "timeout", "killed"]>;
|
|
1359
1361
|
readonly command: import("effect/Schema").String;
|
|
@@ -1389,7 +1391,7 @@ export declare const SessionDurable: {
|
|
|
1389
1391
|
readonly durable: import("effect/Schema").Struct<{
|
|
1390
1392
|
readonly aggregateID: import("effect/Schema").String;
|
|
1391
1393
|
readonly seq: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Seq">;
|
|
1392
|
-
readonly version: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Version">;
|
|
1394
|
+
readonly version: import("effect/Schema").decodeTo<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").Int, "Event.Version">>, import("effect/Schema").Literal<number>, never, never>;
|
|
1393
1395
|
}>;
|
|
1394
1396
|
readonly location: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Struct<{
|
|
1395
1397
|
readonly directory: import("effect/Schema").brand<import("effect/Schema").String, "AbsolutePath">;
|
|
@@ -1415,9 +1417,9 @@ export declare const SessionDurable: {
|
|
|
1415
1417
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1416
1418
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1417
1419
|
};
|
|
1418
|
-
readonly agent: import("effect/Schema").String
|
|
1420
|
+
readonly agent: import("effect/Schema").brand<import("effect/Schema").String, "Agent.ID">;
|
|
1419
1421
|
readonly model: import("effect/Schema").Struct<{
|
|
1420
|
-
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "
|
|
1422
|
+
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Model.ID">;
|
|
1421
1423
|
readonly providerID: import("effect/Schema").brand<import("effect/Schema").String, "ProviderV2.ID"> & {
|
|
1422
1424
|
opencode: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
1423
1425
|
anthropic: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
@@ -1431,9 +1433,9 @@ export declare const SessionDurable: {
|
|
|
1431
1433
|
mistral: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
1432
1434
|
gitlab: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
1433
1435
|
};
|
|
1434
|
-
readonly variant: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").String, "VariantID">>>, import("effect/Schema").optionalKey<import("effect/Schema").brand<import("effect/Schema").String, "VariantID">>, never, never>;
|
|
1436
|
+
readonly variant: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").String, "Model.VariantID">>>, import("effect/Schema").optionalKey<import("effect/Schema").brand<import("effect/Schema").String, "Model.VariantID">>, never, never>;
|
|
1435
1437
|
}>;
|
|
1436
|
-
readonly snapshot: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").String
|
|
1438
|
+
readonly snapshot: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").String, "Snapshot.ID">>>, import("effect/Schema").optionalKey<import("effect/Schema").brand<import("effect/Schema").String, "Snapshot.ID">>, never, never>;
|
|
1437
1439
|
readonly sessionID: import("effect/Schema").brand<import("effect/Schema").String, "SessionID"> & {
|
|
1438
1440
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
1439
1441
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -1451,9 +1453,9 @@ export declare const SessionDurable: {
|
|
|
1451
1453
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1452
1454
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1453
1455
|
};
|
|
1454
|
-
readonly agent: import("effect/Schema").String
|
|
1456
|
+
readonly agent: import("effect/Schema").brand<import("effect/Schema").String, "Agent.ID">;
|
|
1455
1457
|
readonly model: import("effect/Schema").Struct<{
|
|
1456
|
-
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "
|
|
1458
|
+
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Model.ID">;
|
|
1457
1459
|
readonly providerID: import("effect/Schema").brand<import("effect/Schema").String, "ProviderV2.ID"> & {
|
|
1458
1460
|
opencode: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
1459
1461
|
anthropic: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
@@ -1467,9 +1469,9 @@ export declare const SessionDurable: {
|
|
|
1467
1469
|
mistral: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
1468
1470
|
gitlab: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
1469
1471
|
};
|
|
1470
|
-
readonly variant: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").String, "VariantID">>>, import("effect/Schema").optionalKey<import("effect/Schema").brand<import("effect/Schema").String, "VariantID">>, never, never>;
|
|
1472
|
+
readonly variant: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").String, "Model.VariantID">>>, import("effect/Schema").optionalKey<import("effect/Schema").brand<import("effect/Schema").String, "Model.VariantID">>, never, never>;
|
|
1471
1473
|
}>;
|
|
1472
|
-
readonly snapshot: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").String
|
|
1474
|
+
readonly snapshot: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").String, "Snapshot.ID">>>, import("effect/Schema").optionalKey<import("effect/Schema").brand<import("effect/Schema").String, "Snapshot.ID">>, never, never>;
|
|
1473
1475
|
readonly sessionID: import("effect/Schema").brand<import("effect/Schema").String, "SessionID"> & {
|
|
1474
1476
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
1475
1477
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -1485,7 +1487,7 @@ export declare const SessionDurable: {
|
|
|
1485
1487
|
readonly durable: import("effect/Schema").Struct<{
|
|
1486
1488
|
readonly aggregateID: import("effect/Schema").String;
|
|
1487
1489
|
readonly seq: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Seq">;
|
|
1488
|
-
readonly version: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Version">;
|
|
1490
|
+
readonly version: import("effect/Schema").decodeTo<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").Int, "Event.Version">>, import("effect/Schema").Literal<number>, never, never>;
|
|
1489
1491
|
}>;
|
|
1490
1492
|
readonly location: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Struct<{
|
|
1491
1493
|
readonly directory: import("effect/Schema").brand<import("effect/Schema").String, "AbsolutePath">;
|
|
@@ -1512,7 +1514,9 @@ export declare const SessionDurable: {
|
|
|
1512
1514
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1513
1515
|
};
|
|
1514
1516
|
readonly finish: import("effect/Schema").Literals<readonly ["stop", "length", "tool-calls", "content-filter", "error", "unknown"]>;
|
|
1515
|
-
readonly cost: import("effect/Schema").Finite
|
|
1517
|
+
readonly cost: import("effect/Schema").brand<import("effect/Schema").Finite, "Money.USD"> & {
|
|
1518
|
+
zero: number & import("effect/Brand").Brand<"Money.USD">;
|
|
1519
|
+
};
|
|
1516
1520
|
readonly tokens: import("effect/Schema").Struct<{
|
|
1517
1521
|
readonly input: import("effect/Schema").Finite;
|
|
1518
1522
|
readonly output: import("effect/Schema").Finite;
|
|
@@ -1522,7 +1526,7 @@ export declare const SessionDurable: {
|
|
|
1522
1526
|
readonly write: import("effect/Schema").Finite;
|
|
1523
1527
|
}>;
|
|
1524
1528
|
}>;
|
|
1525
|
-
readonly snapshot: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").String
|
|
1529
|
+
readonly snapshot: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").String, "Snapshot.ID">>>, import("effect/Schema").optionalKey<import("effect/Schema").brand<import("effect/Schema").String, "Snapshot.ID">>, never, never>;
|
|
1526
1530
|
readonly files: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").$Array<import("effect/Schema").brand<import("effect/Schema").String, "RelativePath">>>>, import("effect/Schema").optionalKey<import("effect/Schema").$Array<import("effect/Schema").brand<import("effect/Schema").String, "RelativePath">>>, never, never>;
|
|
1527
1531
|
readonly sessionID: import("effect/Schema").brand<import("effect/Schema").String, "SessionID"> & {
|
|
1528
1532
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -1542,7 +1546,9 @@ export declare const SessionDurable: {
|
|
|
1542
1546
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1543
1547
|
};
|
|
1544
1548
|
readonly finish: import("effect/Schema").Literals<readonly ["stop", "length", "tool-calls", "content-filter", "error", "unknown"]>;
|
|
1545
|
-
readonly cost: import("effect/Schema").Finite
|
|
1549
|
+
readonly cost: import("effect/Schema").brand<import("effect/Schema").Finite, "Money.USD"> & {
|
|
1550
|
+
zero: number & import("effect/Brand").Brand<"Money.USD">;
|
|
1551
|
+
};
|
|
1546
1552
|
readonly tokens: import("effect/Schema").Struct<{
|
|
1547
1553
|
readonly input: import("effect/Schema").Finite;
|
|
1548
1554
|
readonly output: import("effect/Schema").Finite;
|
|
@@ -1552,7 +1558,7 @@ export declare const SessionDurable: {
|
|
|
1552
1558
|
readonly write: import("effect/Schema").Finite;
|
|
1553
1559
|
}>;
|
|
1554
1560
|
}>;
|
|
1555
|
-
readonly snapshot: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").String
|
|
1561
|
+
readonly snapshot: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").String, "Snapshot.ID">>>, import("effect/Schema").optionalKey<import("effect/Schema").brand<import("effect/Schema").String, "Snapshot.ID">>, never, never>;
|
|
1556
1562
|
readonly files: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").$Array<import("effect/Schema").brand<import("effect/Schema").String, "RelativePath">>>>, import("effect/Schema").optionalKey<import("effect/Schema").$Array<import("effect/Schema").brand<import("effect/Schema").String, "RelativePath">>>, never, never>;
|
|
1557
1563
|
readonly sessionID: import("effect/Schema").brand<import("effect/Schema").String, "SessionID"> & {
|
|
1558
1564
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -1569,7 +1575,7 @@ export declare const SessionDurable: {
|
|
|
1569
1575
|
readonly durable: import("effect/Schema").Struct<{
|
|
1570
1576
|
readonly aggregateID: import("effect/Schema").String;
|
|
1571
1577
|
readonly seq: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Seq">;
|
|
1572
|
-
readonly version: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Version">;
|
|
1578
|
+
readonly version: import("effect/Schema").decodeTo<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").Int, "Event.Version">>, import("effect/Schema").Literal<number>, never, never>;
|
|
1573
1579
|
}>;
|
|
1574
1580
|
readonly location: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Struct<{
|
|
1575
1581
|
readonly directory: import("effect/Schema").brand<import("effect/Schema").String, "AbsolutePath">;
|
|
@@ -1599,7 +1605,11 @@ export declare const SessionDurable: {
|
|
|
1599
1605
|
readonly type: import("effect/Schema").String;
|
|
1600
1606
|
readonly message: import("effect/Schema").String;
|
|
1601
1607
|
}>;
|
|
1602
|
-
readonly cost: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").
|
|
1608
|
+
readonly cost: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").Finite, "Money.USD"> & {
|
|
1609
|
+
zero: number & import("effect/Brand").Brand<"Money.USD">;
|
|
1610
|
+
}>>, import("effect/Schema").optionalKey<import("effect/Schema").brand<import("effect/Schema").Finite, "Money.USD"> & {
|
|
1611
|
+
zero: number & import("effect/Brand").Brand<"Money.USD">;
|
|
1612
|
+
}>, never, never>;
|
|
1603
1613
|
readonly tokens: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Struct<{
|
|
1604
1614
|
readonly input: import("effect/Schema").Finite;
|
|
1605
1615
|
readonly output: import("effect/Schema").Finite;
|
|
@@ -1638,7 +1648,11 @@ export declare const SessionDurable: {
|
|
|
1638
1648
|
readonly type: import("effect/Schema").String;
|
|
1639
1649
|
readonly message: import("effect/Schema").String;
|
|
1640
1650
|
}>;
|
|
1641
|
-
readonly cost: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").
|
|
1651
|
+
readonly cost: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").Finite, "Money.USD"> & {
|
|
1652
|
+
zero: number & import("effect/Brand").Brand<"Money.USD">;
|
|
1653
|
+
}>>, import("effect/Schema").optionalKey<import("effect/Schema").brand<import("effect/Schema").Finite, "Money.USD"> & {
|
|
1654
|
+
zero: number & import("effect/Brand").Brand<"Money.USD">;
|
|
1655
|
+
}>, never, never>;
|
|
1642
1656
|
readonly tokens: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Struct<{
|
|
1643
1657
|
readonly input: import("effect/Schema").Finite;
|
|
1644
1658
|
readonly output: import("effect/Schema").Finite;
|
|
@@ -1671,7 +1685,7 @@ export declare const SessionDurable: {
|
|
|
1671
1685
|
readonly durable: import("effect/Schema").Struct<{
|
|
1672
1686
|
readonly aggregateID: import("effect/Schema").String;
|
|
1673
1687
|
readonly seq: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Seq">;
|
|
1674
|
-
readonly version: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Version">;
|
|
1688
|
+
readonly version: import("effect/Schema").decodeTo<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").Int, "Event.Version">>, import("effect/Schema").Literal<number>, never, never>;
|
|
1675
1689
|
}>;
|
|
1676
1690
|
readonly location: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Struct<{
|
|
1677
1691
|
readonly directory: import("effect/Schema").brand<import("effect/Schema").String, "AbsolutePath">;
|
|
@@ -1731,7 +1745,7 @@ export declare const SessionDurable: {
|
|
|
1731
1745
|
readonly durable: import("effect/Schema").Struct<{
|
|
1732
1746
|
readonly aggregateID: import("effect/Schema").String;
|
|
1733
1747
|
readonly seq: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Seq">;
|
|
1734
|
-
readonly version: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Version">;
|
|
1748
|
+
readonly version: import("effect/Schema").decodeTo<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").Int, "Event.Version">>, import("effect/Schema").Literal<number>, never, never>;
|
|
1735
1749
|
}>;
|
|
1736
1750
|
readonly location: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Struct<{
|
|
1737
1751
|
readonly directory: import("effect/Schema").brand<import("effect/Schema").String, "AbsolutePath">;
|
|
@@ -1793,7 +1807,7 @@ export declare const SessionDurable: {
|
|
|
1793
1807
|
readonly durable: import("effect/Schema").Struct<{
|
|
1794
1808
|
readonly aggregateID: import("effect/Schema").String;
|
|
1795
1809
|
readonly seq: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Seq">;
|
|
1796
|
-
readonly version: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Version">;
|
|
1810
|
+
readonly version: import("effect/Schema").decodeTo<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").Int, "Event.Version">>, import("effect/Schema").Literal<number>, never, never>;
|
|
1797
1811
|
}>;
|
|
1798
1812
|
readonly location: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Struct<{
|
|
1799
1813
|
readonly directory: import("effect/Schema").brand<import("effect/Schema").String, "AbsolutePath">;
|
|
@@ -1855,7 +1869,7 @@ export declare const SessionDurable: {
|
|
|
1855
1869
|
readonly durable: import("effect/Schema").Struct<{
|
|
1856
1870
|
readonly aggregateID: import("effect/Schema").String;
|
|
1857
1871
|
readonly seq: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Seq">;
|
|
1858
|
-
readonly version: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Version">;
|
|
1872
|
+
readonly version: import("effect/Schema").decodeTo<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").Int, "Event.Version">>, import("effect/Schema").Literal<number>, never, never>;
|
|
1859
1873
|
}>;
|
|
1860
1874
|
readonly location: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Struct<{
|
|
1861
1875
|
readonly directory: import("effect/Schema").brand<import("effect/Schema").String, "AbsolutePath">;
|
|
@@ -1919,7 +1933,7 @@ export declare const SessionDurable: {
|
|
|
1919
1933
|
readonly durable: import("effect/Schema").Struct<{
|
|
1920
1934
|
readonly aggregateID: import("effect/Schema").String;
|
|
1921
1935
|
readonly seq: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Seq">;
|
|
1922
|
-
readonly version: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Version">;
|
|
1936
|
+
readonly version: import("effect/Schema").decodeTo<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").Int, "Event.Version">>, import("effect/Schema").Literal<number>, never, never>;
|
|
1923
1937
|
}>;
|
|
1924
1938
|
readonly location: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Struct<{
|
|
1925
1939
|
readonly directory: import("effect/Schema").brand<import("effect/Schema").String, "AbsolutePath">;
|
|
@@ -1981,7 +1995,7 @@ export declare const SessionDurable: {
|
|
|
1981
1995
|
readonly durable: import("effect/Schema").Struct<{
|
|
1982
1996
|
readonly aggregateID: import("effect/Schema").String;
|
|
1983
1997
|
readonly seq: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Seq">;
|
|
1984
|
-
readonly version: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Version">;
|
|
1998
|
+
readonly version: import("effect/Schema").decodeTo<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").Int, "Event.Version">>, import("effect/Schema").Literal<number>, never, never>;
|
|
1985
1999
|
}>;
|
|
1986
2000
|
readonly location: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Struct<{
|
|
1987
2001
|
readonly directory: import("effect/Schema").brand<import("effect/Schema").String, "AbsolutePath">;
|
|
@@ -2043,7 +2057,7 @@ export declare const SessionDurable: {
|
|
|
2043
2057
|
readonly durable: import("effect/Schema").Struct<{
|
|
2044
2058
|
readonly aggregateID: import("effect/Schema").String;
|
|
2045
2059
|
readonly seq: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Seq">;
|
|
2046
|
-
readonly version: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Version">;
|
|
2060
|
+
readonly version: import("effect/Schema").decodeTo<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").Int, "Event.Version">>, import("effect/Schema").Literal<number>, never, never>;
|
|
2047
2061
|
}>;
|
|
2048
2062
|
readonly location: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Struct<{
|
|
2049
2063
|
readonly directory: import("effect/Schema").brand<import("effect/Schema").String, "AbsolutePath">;
|
|
@@ -2109,7 +2123,7 @@ export declare const SessionDurable: {
|
|
|
2109
2123
|
readonly durable: import("effect/Schema").Struct<{
|
|
2110
2124
|
readonly aggregateID: import("effect/Schema").String;
|
|
2111
2125
|
readonly seq: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Seq">;
|
|
2112
|
-
readonly version: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Version">;
|
|
2126
|
+
readonly version: import("effect/Schema").decodeTo<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").Int, "Event.Version">>, import("effect/Schema").Literal<number>, never, never>;
|
|
2113
2127
|
}>;
|
|
2114
2128
|
readonly location: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Struct<{
|
|
2115
2129
|
readonly directory: import("effect/Schema").brand<import("effect/Schema").String, "AbsolutePath">;
|
|
@@ -2189,7 +2203,7 @@ export declare const SessionDurable: {
|
|
|
2189
2203
|
readonly durable: import("effect/Schema").Struct<{
|
|
2190
2204
|
readonly aggregateID: import("effect/Schema").String;
|
|
2191
2205
|
readonly seq: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Seq">;
|
|
2192
|
-
readonly version: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Version">;
|
|
2206
|
+
readonly version: import("effect/Schema").decodeTo<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").Int, "Event.Version">>, import("effect/Schema").Literal<number>, never, never>;
|
|
2193
2207
|
}>;
|
|
2194
2208
|
readonly location: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Struct<{
|
|
2195
2209
|
readonly directory: import("effect/Schema").brand<import("effect/Schema").String, "AbsolutePath">;
|
|
@@ -2221,7 +2235,6 @@ export declare const SessionDurable: {
|
|
|
2221
2235
|
readonly mime: import("effect/Schema").String;
|
|
2222
2236
|
readonly name: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").String>>, import("effect/Schema").optionalKey<import("effect/Schema").String>, never, never>;
|
|
2223
2237
|
}>]>>;
|
|
2224
|
-
readonly outputPaths: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").$Array<import("effect/Schema").String>>>, import("effect/Schema").optionalKey<import("effect/Schema").$Array<import("effect/Schema").String>>, never, never>;
|
|
2225
2238
|
readonly result: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Unknown>>, import("effect/Schema").optionalKey<import("effect/Schema").Unknown>, never, never>;
|
|
2226
2239
|
readonly executed: import("effect/Schema").Boolean;
|
|
2227
2240
|
readonly resultState: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>>>, import("effect/Schema").optionalKey<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>>, never, never>;
|
|
@@ -2253,7 +2266,6 @@ export declare const SessionDurable: {
|
|
|
2253
2266
|
readonly mime: import("effect/Schema").String;
|
|
2254
2267
|
readonly name: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").String>>, import("effect/Schema").optionalKey<import("effect/Schema").String>, never, never>;
|
|
2255
2268
|
}>]>>;
|
|
2256
|
-
readonly outputPaths: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").$Array<import("effect/Schema").String>>>, import("effect/Schema").optionalKey<import("effect/Schema").$Array<import("effect/Schema").String>>, never, never>;
|
|
2257
2269
|
readonly result: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Unknown>>, import("effect/Schema").optionalKey<import("effect/Schema").Unknown>, never, never>;
|
|
2258
2270
|
readonly executed: import("effect/Schema").Boolean;
|
|
2259
2271
|
readonly resultState: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>>>, import("effect/Schema").optionalKey<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>>, never, never>;
|
|
@@ -2277,7 +2289,7 @@ export declare const SessionDurable: {
|
|
|
2277
2289
|
readonly durable: import("effect/Schema").Struct<{
|
|
2278
2290
|
readonly aggregateID: import("effect/Schema").String;
|
|
2279
2291
|
readonly seq: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Seq">;
|
|
2280
|
-
readonly version: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Version">;
|
|
2292
|
+
readonly version: import("effect/Schema").decodeTo<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").Int, "Event.Version">>, import("effect/Schema").Literal<number>, never, never>;
|
|
2281
2293
|
}>;
|
|
2282
2294
|
readonly location: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Struct<{
|
|
2283
2295
|
readonly directory: import("effect/Schema").brand<import("effect/Schema").String, "AbsolutePath">;
|
|
@@ -2351,7 +2363,7 @@ export declare const SessionDurable: {
|
|
|
2351
2363
|
readonly durable: import("effect/Schema").Struct<{
|
|
2352
2364
|
readonly aggregateID: import("effect/Schema").String;
|
|
2353
2365
|
readonly seq: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Seq">;
|
|
2354
|
-
readonly version: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Version">;
|
|
2366
|
+
readonly version: import("effect/Schema").decodeTo<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").Int, "Event.Version">>, import("effect/Schema").Literal<number>, never, never>;
|
|
2355
2367
|
}>;
|
|
2356
2368
|
readonly location: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Struct<{
|
|
2357
2369
|
readonly directory: import("effect/Schema").brand<import("effect/Schema").String, "AbsolutePath">;
|
|
@@ -2421,7 +2433,7 @@ export declare const SessionDurable: {
|
|
|
2421
2433
|
readonly durable: import("effect/Schema").Struct<{
|
|
2422
2434
|
readonly aggregateID: import("effect/Schema").String;
|
|
2423
2435
|
readonly seq: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Seq">;
|
|
2424
|
-
readonly version: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Version">;
|
|
2436
|
+
readonly version: import("effect/Schema").decodeTo<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").Int, "Event.Version">>, import("effect/Schema").Literal<number>, never, never>;
|
|
2425
2437
|
}>;
|
|
2426
2438
|
readonly location: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Struct<{
|
|
2427
2439
|
readonly directory: import("effect/Schema").brand<import("effect/Schema").String, "AbsolutePath">;
|
|
@@ -2479,7 +2491,7 @@ export declare const SessionDurable: {
|
|
|
2479
2491
|
readonly durable: import("effect/Schema").Struct<{
|
|
2480
2492
|
readonly aggregateID: import("effect/Schema").String;
|
|
2481
2493
|
readonly seq: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Seq">;
|
|
2482
|
-
readonly version: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Version">;
|
|
2494
|
+
readonly version: import("effect/Schema").decodeTo<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").Int, "Event.Version">>, import("effect/Schema").Literal<number>, never, never>;
|
|
2483
2495
|
}>;
|
|
2484
2496
|
readonly location: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Struct<{
|
|
2485
2497
|
readonly directory: import("effect/Schema").brand<import("effect/Schema").String, "AbsolutePath">;
|
|
@@ -2501,7 +2513,15 @@ export declare const SessionDurable: {
|
|
|
2501
2513
|
}>, never, never>;
|
|
2502
2514
|
}>>, never, never>;
|
|
2503
2515
|
readonly data: import("effect/Schema").Struct<{
|
|
2504
|
-
readonly reason: import("effect/Schema").
|
|
2516
|
+
readonly reason: import("effect/Schema").Literals<readonly ["auto", "manual"]>;
|
|
2517
|
+
readonly recent: import("effect/Schema").String;
|
|
2518
|
+
readonly inputID: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").String, "Session.Message.ID"> & {
|
|
2519
|
+
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
2520
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
2521
|
+
}>>, import("effect/Schema").optionalKey<import("effect/Schema").brand<import("effect/Schema").String, "Session.Message.ID"> & {
|
|
2522
|
+
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
2523
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
2524
|
+
}>, never, never>;
|
|
2505
2525
|
readonly sessionID: import("effect/Schema").brand<import("effect/Schema").String, "SessionID"> & {
|
|
2506
2526
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
2507
2527
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -2515,7 +2535,15 @@ export declare const SessionDurable: {
|
|
|
2515
2535
|
readonly aggregate: string;
|
|
2516
2536
|
};
|
|
2517
2537
|
data: import("effect/Schema").Struct<{
|
|
2518
|
-
readonly reason: import("effect/Schema").
|
|
2538
|
+
readonly reason: import("effect/Schema").Literals<readonly ["auto", "manual"]>;
|
|
2539
|
+
readonly recent: import("effect/Schema").String;
|
|
2540
|
+
readonly inputID: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").String, "Session.Message.ID"> & {
|
|
2541
|
+
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
2542
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
2543
|
+
}>>, import("effect/Schema").optionalKey<import("effect/Schema").brand<import("effect/Schema").String, "Session.Message.ID"> & {
|
|
2544
|
+
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
2545
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
2546
|
+
}>, never, never>;
|
|
2519
2547
|
readonly sessionID: import("effect/Schema").brand<import("effect/Schema").String, "SessionID"> & {
|
|
2520
2548
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
2521
2549
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -2531,7 +2559,7 @@ export declare const SessionDurable: {
|
|
|
2531
2559
|
readonly durable: import("effect/Schema").Struct<{
|
|
2532
2560
|
readonly aggregateID: import("effect/Schema").String;
|
|
2533
2561
|
readonly seq: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Seq">;
|
|
2534
|
-
readonly version: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Version">;
|
|
2562
|
+
readonly version: import("effect/Schema").decodeTo<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").Int, "Event.Version">>, import("effect/Schema").Literal<number>, never, never>;
|
|
2535
2563
|
}>;
|
|
2536
2564
|
readonly location: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Struct<{
|
|
2537
2565
|
readonly directory: import("effect/Schema").brand<import("effect/Schema").String, "AbsolutePath">;
|
|
@@ -2553,7 +2581,7 @@ export declare const SessionDurable: {
|
|
|
2553
2581
|
}>, never, never>;
|
|
2554
2582
|
}>>, never, never>;
|
|
2555
2583
|
readonly data: import("effect/Schema").Struct<{
|
|
2556
|
-
readonly reason: import("effect/Schema").
|
|
2584
|
+
readonly reason: import("effect/Schema").Literals<readonly ["auto", "manual"]>;
|
|
2557
2585
|
readonly text: import("effect/Schema").String;
|
|
2558
2586
|
readonly recent: import("effect/Schema").String;
|
|
2559
2587
|
readonly sessionID: import("effect/Schema").brand<import("effect/Schema").String, "SessionID"> & {
|
|
@@ -2569,7 +2597,7 @@ export declare const SessionDurable: {
|
|
|
2569
2597
|
readonly aggregate: string;
|
|
2570
2598
|
};
|
|
2571
2599
|
data: import("effect/Schema").Struct<{
|
|
2572
|
-
readonly reason: import("effect/Schema").
|
|
2600
|
+
readonly reason: import("effect/Schema").Literals<readonly ["auto", "manual"]>;
|
|
2573
2601
|
readonly text: import("effect/Schema").String;
|
|
2574
2602
|
readonly recent: import("effect/Schema").String;
|
|
2575
2603
|
readonly sessionID: import("effect/Schema").brand<import("effect/Schema").String, "SessionID"> & {
|
|
@@ -2587,7 +2615,7 @@ export declare const SessionDurable: {
|
|
|
2587
2615
|
readonly durable: import("effect/Schema").Struct<{
|
|
2588
2616
|
readonly aggregateID: import("effect/Schema").String;
|
|
2589
2617
|
readonly seq: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Seq">;
|
|
2590
|
-
readonly version: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Version">;
|
|
2618
|
+
readonly version: import("effect/Schema").decodeTo<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").Int, "Event.Version">>, import("effect/Schema").Literal<number>, never, never>;
|
|
2591
2619
|
}>;
|
|
2592
2620
|
readonly location: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Struct<{
|
|
2593
2621
|
readonly directory: import("effect/Schema").brand<import("effect/Schema").String, "AbsolutePath">;
|
|
@@ -2609,7 +2637,19 @@ export declare const SessionDurable: {
|
|
|
2609
2637
|
}>, never, never>;
|
|
2610
2638
|
}>>, never, never>;
|
|
2611
2639
|
readonly data: import("effect/Schema").Struct<{
|
|
2612
|
-
|
|
2640
|
+
readonly reason: import("effect/Schema").Literals<readonly ["auto", "manual"]>;
|
|
2641
|
+
readonly error: import("effect/Schema").Struct<{
|
|
2642
|
+
readonly type: import("effect/Schema").String;
|
|
2643
|
+
readonly message: import("effect/Schema").String;
|
|
2644
|
+
}>;
|
|
2645
|
+
readonly inputID: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").String, "Session.Message.ID"> & {
|
|
2646
|
+
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
2647
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
2648
|
+
}>>, import("effect/Schema").optionalKey<import("effect/Schema").brand<import("effect/Schema").String, "Session.Message.ID"> & {
|
|
2649
|
+
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
2650
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
2651
|
+
}>, never, never>;
|
|
2652
|
+
readonly sessionID: import("effect/Schema").brand<import("effect/Schema").String, "SessionID"> & {
|
|
2613
2653
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
2614
2654
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
2615
2655
|
};
|
|
@@ -2622,7 +2662,19 @@ export declare const SessionDurable: {
|
|
|
2622
2662
|
readonly aggregate: string;
|
|
2623
2663
|
};
|
|
2624
2664
|
data: import("effect/Schema").Struct<{
|
|
2625
|
-
|
|
2665
|
+
readonly reason: import("effect/Schema").Literals<readonly ["auto", "manual"]>;
|
|
2666
|
+
readonly error: import("effect/Schema").Struct<{
|
|
2667
|
+
readonly type: import("effect/Schema").String;
|
|
2668
|
+
readonly message: import("effect/Schema").String;
|
|
2669
|
+
}>;
|
|
2670
|
+
readonly inputID: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").String, "Session.Message.ID"> & {
|
|
2671
|
+
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
2672
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
2673
|
+
}>>, import("effect/Schema").optionalKey<import("effect/Schema").brand<import("effect/Schema").String, "Session.Message.ID"> & {
|
|
2674
|
+
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
2675
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
2676
|
+
}>, never, never>;
|
|
2677
|
+
readonly sessionID: import("effect/Schema").brand<import("effect/Schema").String, "SessionID"> & {
|
|
2626
2678
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
2627
2679
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
2628
2680
|
};
|
|
@@ -2637,7 +2689,7 @@ export declare const SessionDurable: {
|
|
|
2637
2689
|
readonly durable: import("effect/Schema").Struct<{
|
|
2638
2690
|
readonly aggregateID: import("effect/Schema").String;
|
|
2639
2691
|
readonly seq: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Seq">;
|
|
2640
|
-
readonly version: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Version">;
|
|
2692
|
+
readonly version: import("effect/Schema").decodeTo<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").Int, "Event.Version">>, import("effect/Schema").Literal<number>, never, never>;
|
|
2641
2693
|
}>;
|
|
2642
2694
|
readonly location: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Struct<{
|
|
2643
2695
|
readonly directory: import("effect/Schema").brand<import("effect/Schema").String, "AbsolutePath">;
|
|
@@ -2665,20 +2717,19 @@ export declare const SessionDurable: {
|
|
|
2665
2717
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
2666
2718
|
};
|
|
2667
2719
|
readonly partID: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").String>>, import("effect/Schema").optionalKey<import("effect/Schema").String>, never, never>;
|
|
2668
|
-
readonly snapshot: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").String
|
|
2669
|
-
readonly diff: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").String>>, import("effect/Schema").optionalKey<import("effect/Schema").String>, never, never>;
|
|
2720
|
+
readonly snapshot: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").String, "Snapshot.ID">>>, import("effect/Schema").optionalKey<import("effect/Schema").brand<import("effect/Schema").String, "Snapshot.ID">>, never, never>;
|
|
2670
2721
|
readonly files: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
2671
|
-
readonly
|
|
2672
|
-
readonly
|
|
2722
|
+
readonly file: import("effect/Schema").String;
|
|
2723
|
+
readonly patch: import("effect/Schema").String;
|
|
2673
2724
|
readonly additions: import("effect/Schema").Int;
|
|
2674
2725
|
readonly deletions: import("effect/Schema").Int;
|
|
2675
|
-
readonly
|
|
2726
|
+
readonly status: import("effect/Schema").Literals<readonly ["added", "deleted", "modified"]>;
|
|
2676
2727
|
}>>>>, import("effect/Schema").optionalKey<import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
2677
|
-
readonly
|
|
2678
|
-
readonly
|
|
2728
|
+
readonly file: import("effect/Schema").String;
|
|
2729
|
+
readonly patch: import("effect/Schema").String;
|
|
2679
2730
|
readonly additions: import("effect/Schema").Int;
|
|
2680
2731
|
readonly deletions: import("effect/Schema").Int;
|
|
2681
|
-
readonly
|
|
2732
|
+
readonly status: import("effect/Schema").Literals<readonly ["added", "deleted", "modified"]>;
|
|
2682
2733
|
}>>>, never, never>;
|
|
2683
2734
|
}>;
|
|
2684
2735
|
readonly sessionID: import("effect/Schema").brand<import("effect/Schema").String, "SessionID"> & {
|
|
@@ -2700,20 +2751,19 @@ export declare const SessionDurable: {
|
|
|
2700
2751
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
2701
2752
|
};
|
|
2702
2753
|
readonly partID: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").String>>, import("effect/Schema").optionalKey<import("effect/Schema").String>, never, never>;
|
|
2703
|
-
readonly snapshot: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").String
|
|
2704
|
-
readonly diff: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").String>>, import("effect/Schema").optionalKey<import("effect/Schema").String>, never, never>;
|
|
2754
|
+
readonly snapshot: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").String, "Snapshot.ID">>>, import("effect/Schema").optionalKey<import("effect/Schema").brand<import("effect/Schema").String, "Snapshot.ID">>, never, never>;
|
|
2705
2755
|
readonly files: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
2706
|
-
readonly
|
|
2707
|
-
readonly
|
|
2756
|
+
readonly file: import("effect/Schema").String;
|
|
2757
|
+
readonly patch: import("effect/Schema").String;
|
|
2708
2758
|
readonly additions: import("effect/Schema").Int;
|
|
2709
2759
|
readonly deletions: import("effect/Schema").Int;
|
|
2710
|
-
readonly
|
|
2760
|
+
readonly status: import("effect/Schema").Literals<readonly ["added", "deleted", "modified"]>;
|
|
2711
2761
|
}>>>>, import("effect/Schema").optionalKey<import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
2712
|
-
readonly
|
|
2713
|
-
readonly
|
|
2762
|
+
readonly file: import("effect/Schema").String;
|
|
2763
|
+
readonly patch: import("effect/Schema").String;
|
|
2714
2764
|
readonly additions: import("effect/Schema").Int;
|
|
2715
2765
|
readonly deletions: import("effect/Schema").Int;
|
|
2716
|
-
readonly
|
|
2766
|
+
readonly status: import("effect/Schema").Literals<readonly ["added", "deleted", "modified"]>;
|
|
2717
2767
|
}>>>, never, never>;
|
|
2718
2768
|
}>;
|
|
2719
2769
|
readonly sessionID: import("effect/Schema").brand<import("effect/Schema").String, "SessionID"> & {
|
|
@@ -2731,7 +2781,7 @@ export declare const SessionDurable: {
|
|
|
2731
2781
|
readonly durable: import("effect/Schema").Struct<{
|
|
2732
2782
|
readonly aggregateID: import("effect/Schema").String;
|
|
2733
2783
|
readonly seq: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Seq">;
|
|
2734
|
-
readonly version: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Version">;
|
|
2784
|
+
readonly version: import("effect/Schema").decodeTo<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").Int, "Event.Version">>, import("effect/Schema").Literal<number>, never, never>;
|
|
2735
2785
|
}>;
|
|
2736
2786
|
readonly location: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Struct<{
|
|
2737
2787
|
readonly directory: import("effect/Schema").brand<import("effect/Schema").String, "AbsolutePath">;
|
|
@@ -2781,7 +2831,7 @@ export declare const SessionDurable: {
|
|
|
2781
2831
|
readonly durable: import("effect/Schema").Struct<{
|
|
2782
2832
|
readonly aggregateID: import("effect/Schema").String;
|
|
2783
2833
|
readonly seq: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Seq">;
|
|
2784
|
-
readonly version: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Version">;
|
|
2834
|
+
readonly version: import("effect/Schema").decodeTo<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").Int, "Event.Version">>, import("effect/Schema").Literal<number>, never, never>;
|
|
2785
2835
|
}>;
|
|
2786
2836
|
readonly location: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Struct<{
|
|
2787
2837
|
readonly directory: import("effect/Schema").brand<import("effect/Schema").String, "AbsolutePath">;
|