@opencode-ai/schema 0.0.0-next-17343 → 0.0.0-next-17346
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/durable-event-manifest.d.ts +76 -148
- package/dist/event-manifest.d.ts +152 -296
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/session-event.d.ts +405 -769
- package/dist/session-event.js +18 -33
- package/dist/{session-pending.d.ts → session-inbox.d.ts} +117 -159
- package/dist/session-inbox.js +47 -0
- package/package.json +1 -1
- package/dist/session-delivery.d.ts +0 -4
- package/dist/session-delivery.js +0 -3
- package/dist/session-pending.js +0 -47
package/dist/session-event.d.ts
CHANGED
|
@@ -488,11 +488,9 @@ export declare const Moved: Schema.Struct<{
|
|
|
488
488
|
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
489
489
|
}>, never, never>;
|
|
490
490
|
}>;
|
|
491
|
-
readonly projectID: Schema.
|
|
492
|
-
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
493
|
-
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Project.ID"> & {
|
|
491
|
+
readonly projectID: Schema.brand<Schema.String, "Project.ID"> & {
|
|
494
492
|
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
495
|
-
}
|
|
493
|
+
};
|
|
496
494
|
readonly subpath: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "RelativePath">>>, Schema.optionalKey<Schema.brand<Schema.String, "RelativePath">>, never, never>;
|
|
497
495
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
498
496
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -517,11 +515,9 @@ export declare const Moved: Schema.Struct<{
|
|
|
517
515
|
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
518
516
|
}>, never, never>;
|
|
519
517
|
}>;
|
|
520
|
-
readonly projectID: Schema.
|
|
521
|
-
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
522
|
-
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Project.ID"> & {
|
|
518
|
+
readonly projectID: Schema.brand<Schema.String, "Project.ID"> & {
|
|
523
519
|
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
524
|
-
}
|
|
520
|
+
};
|
|
525
521
|
readonly subpath: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "RelativePath">>>, Schema.optionalKey<Schema.brand<Schema.String, "RelativePath">>, never, never>;
|
|
526
522
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
527
523
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -870,13 +866,13 @@ export declare const Forked: Schema.Struct<{
|
|
|
870
866
|
}>;
|
|
871
867
|
};
|
|
872
868
|
export type Forked = typeof Forked.Type;
|
|
873
|
-
export declare const
|
|
869
|
+
export declare const InboxDelivered: Schema.Struct<{
|
|
874
870
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
875
871
|
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
876
872
|
};
|
|
877
873
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
878
874
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
879
|
-
readonly type: Schema.Literal<"session.
|
|
875
|
+
readonly type: Schema.Literal<"session.inbox.delivered">;
|
|
880
876
|
readonly durable: Schema.Struct<{
|
|
881
877
|
readonly aggregateID: Schema.String;
|
|
882
878
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -902,7 +898,7 @@ export declare const InputPromoted: Schema.Struct<{
|
|
|
902
898
|
}>, never, never>;
|
|
903
899
|
}>>, never, never>;
|
|
904
900
|
readonly data: Schema.Struct<{
|
|
905
|
-
|
|
901
|
+
inboxID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
906
902
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
907
903
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
908
904
|
};
|
|
@@ -912,14 +908,14 @@ export declare const InputPromoted: Schema.Struct<{
|
|
|
912
908
|
};
|
|
913
909
|
}>;
|
|
914
910
|
}> & {
|
|
915
|
-
type: "session.
|
|
911
|
+
type: "session.inbox.delivered";
|
|
916
912
|
durability: "durable";
|
|
917
913
|
durable: {
|
|
918
914
|
readonly version: number;
|
|
919
915
|
readonly aggregate: string;
|
|
920
916
|
};
|
|
921
917
|
data: Schema.Struct<{
|
|
922
|
-
|
|
918
|
+
inboxID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
923
919
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
924
920
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
925
921
|
};
|
|
@@ -929,14 +925,14 @@ export declare const InputPromoted: Schema.Struct<{
|
|
|
929
925
|
};
|
|
930
926
|
}>;
|
|
931
927
|
};
|
|
932
|
-
export type
|
|
933
|
-
export declare const
|
|
928
|
+
export type InboxDelivered = typeof InboxDelivered.Type;
|
|
929
|
+
export declare const InboxEnqueued: Schema.Struct<{
|
|
934
930
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
935
931
|
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
936
932
|
};
|
|
937
933
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
938
934
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
939
|
-
readonly type: Schema.Literal<"session.
|
|
935
|
+
readonly type: Schema.Literal<"session.inbox.enqueued">;
|
|
940
936
|
readonly durable: Schema.Struct<{
|
|
941
937
|
readonly aggregateID: Schema.String;
|
|
942
938
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -962,9 +958,9 @@ export declare const InputAdmitted: Schema.Struct<{
|
|
|
962
958
|
}>, never, never>;
|
|
963
959
|
}>>, never, never>;
|
|
964
960
|
readonly data: Schema.Struct<{
|
|
965
|
-
readonly
|
|
961
|
+
readonly item: Schema.Union<readonly [Schema.Struct<{
|
|
966
962
|
readonly type: Schema.tag<"user">;
|
|
967
|
-
readonly
|
|
963
|
+
readonly payload: Schema.Struct<{
|
|
968
964
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
969
965
|
readonly text: Schema.String;
|
|
970
966
|
readonly files: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
@@ -1098,14 +1094,37 @@ export declare const InputAdmitted: Schema.Struct<{
|
|
|
1098
1094
|
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
1099
1095
|
}>, Schema.Struct<{
|
|
1100
1096
|
readonly type: Schema.tag<"synthetic">;
|
|
1101
|
-
readonly
|
|
1097
|
+
readonly payload: Schema.Struct<{
|
|
1102
1098
|
readonly text: Schema.String;
|
|
1103
1099
|
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1104
1100
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
1105
1101
|
}>;
|
|
1106
1102
|
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
1103
|
+
}>, Schema.Struct<{
|
|
1104
|
+
readonly type: Schema.tag<"compaction">;
|
|
1105
|
+
readonly payload: Schema.Struct<{}>;
|
|
1106
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
1107
|
+
}>, Schema.Struct<{
|
|
1108
|
+
readonly type: Schema.tag<"move">;
|
|
1109
|
+
readonly payload: Schema.Struct<{
|
|
1110
|
+
readonly location: Schema.Struct<{
|
|
1111
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
1112
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
1113
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
1114
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
1115
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
1116
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
1117
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
1118
|
+
}>, never, never>;
|
|
1119
|
+
}>;
|
|
1120
|
+
readonly projectID: Schema.brand<Schema.String, "Project.ID"> & {
|
|
1121
|
+
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
1122
|
+
};
|
|
1123
|
+
readonly subpath: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "RelativePath">>>, Schema.optionalKey<Schema.brand<Schema.String, "RelativePath">>, never, never>;
|
|
1124
|
+
}>;
|
|
1125
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
1107
1126
|
}>]>;
|
|
1108
|
-
readonly
|
|
1127
|
+
readonly inboxID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
1109
1128
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1110
1129
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1111
1130
|
};
|
|
@@ -1115,16 +1134,16 @@ export declare const InputAdmitted: Schema.Struct<{
|
|
|
1115
1134
|
};
|
|
1116
1135
|
}>;
|
|
1117
1136
|
}> & {
|
|
1118
|
-
type: "session.
|
|
1137
|
+
type: "session.inbox.enqueued";
|
|
1119
1138
|
durability: "durable";
|
|
1120
1139
|
durable: {
|
|
1121
1140
|
readonly version: number;
|
|
1122
1141
|
readonly aggregate: string;
|
|
1123
1142
|
};
|
|
1124
1143
|
data: Schema.Struct<{
|
|
1125
|
-
readonly
|
|
1144
|
+
readonly item: Schema.Union<readonly [Schema.Struct<{
|
|
1126
1145
|
readonly type: Schema.tag<"user">;
|
|
1127
|
-
readonly
|
|
1146
|
+
readonly payload: Schema.Struct<{
|
|
1128
1147
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
1129
1148
|
readonly text: Schema.String;
|
|
1130
1149
|
readonly files: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
@@ -1258,14 +1277,37 @@ export declare const InputAdmitted: Schema.Struct<{
|
|
|
1258
1277
|
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
1259
1278
|
}>, Schema.Struct<{
|
|
1260
1279
|
readonly type: Schema.tag<"synthetic">;
|
|
1261
|
-
readonly
|
|
1280
|
+
readonly payload: Schema.Struct<{
|
|
1262
1281
|
readonly text: Schema.String;
|
|
1263
1282
|
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1264
1283
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
1265
1284
|
}>;
|
|
1266
1285
|
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
1286
|
+
}>, Schema.Struct<{
|
|
1287
|
+
readonly type: Schema.tag<"compaction">;
|
|
1288
|
+
readonly payload: Schema.Struct<{}>;
|
|
1289
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
1290
|
+
}>, Schema.Struct<{
|
|
1291
|
+
readonly type: Schema.tag<"move">;
|
|
1292
|
+
readonly payload: Schema.Struct<{
|
|
1293
|
+
readonly location: Schema.Struct<{
|
|
1294
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
1295
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
1296
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
1297
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
1298
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
1299
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
1300
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
1301
|
+
}>, never, never>;
|
|
1302
|
+
}>;
|
|
1303
|
+
readonly projectID: Schema.brand<Schema.String, "Project.ID"> & {
|
|
1304
|
+
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
1305
|
+
};
|
|
1306
|
+
readonly subpath: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "RelativePath">>>, Schema.optionalKey<Schema.brand<Schema.String, "RelativePath">>, never, never>;
|
|
1307
|
+
}>;
|
|
1308
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
1267
1309
|
}>]>;
|
|
1268
|
-
readonly
|
|
1310
|
+
readonly inboxID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
1269
1311
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1270
1312
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1271
1313
|
};
|
|
@@ -1275,74 +1317,14 @@ export declare const InputAdmitted: Schema.Struct<{
|
|
|
1275
1317
|
};
|
|
1276
1318
|
}>;
|
|
1277
1319
|
};
|
|
1278
|
-
export type
|
|
1279
|
-
export declare const
|
|
1280
|
-
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
1281
|
-
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
1282
|
-
};
|
|
1283
|
-
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
1284
|
-
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
1285
|
-
readonly type: Schema.Literal<"session.input.cancelled">;
|
|
1286
|
-
readonly durable: Schema.Struct<{
|
|
1287
|
-
readonly aggregateID: Schema.String;
|
|
1288
|
-
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
1289
|
-
readonly version: Schema.decodeTo<Schema.toType<Schema.brand<Schema.Int, "Event.Version">>, Schema.Literal<number>, never, never>;
|
|
1290
|
-
}>;
|
|
1291
|
-
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
1292
|
-
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
1293
|
-
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
1294
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
1295
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
1296
|
-
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
1297
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
1298
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
1299
|
-
}>, never, never>;
|
|
1300
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
1301
|
-
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
1302
|
-
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
1303
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
1304
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
1305
|
-
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
1306
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
1307
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
1308
|
-
}>, never, never>;
|
|
1309
|
-
}>>, never, never>;
|
|
1310
|
-
readonly data: Schema.Struct<{
|
|
1311
|
-
inputID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
1312
|
-
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1313
|
-
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1314
|
-
};
|
|
1315
|
-
sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
1316
|
-
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
1317
|
-
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
1318
|
-
};
|
|
1319
|
-
}>;
|
|
1320
|
-
}> & {
|
|
1321
|
-
type: "session.input.cancelled";
|
|
1322
|
-
durability: "durable";
|
|
1323
|
-
durable: {
|
|
1324
|
-
readonly version: number;
|
|
1325
|
-
readonly aggregate: string;
|
|
1326
|
-
};
|
|
1327
|
-
data: Schema.Struct<{
|
|
1328
|
-
inputID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
1329
|
-
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1330
|
-
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1331
|
-
};
|
|
1332
|
-
sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
1333
|
-
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
1334
|
-
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
1335
|
-
};
|
|
1336
|
-
}>;
|
|
1337
|
-
};
|
|
1338
|
-
export type InputCancelled = typeof InputCancelled.Type;
|
|
1339
|
-
export declare const InputSteered: Schema.Struct<{
|
|
1320
|
+
export type InboxEnqueued = typeof InboxEnqueued.Type;
|
|
1321
|
+
export declare const InboxCancelled: Schema.Struct<{
|
|
1340
1322
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
1341
1323
|
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
1342
1324
|
};
|
|
1343
1325
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
1344
1326
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
1345
|
-
readonly type: Schema.Literal<"session.
|
|
1327
|
+
readonly type: Schema.Literal<"session.inbox.cancelled">;
|
|
1346
1328
|
readonly durable: Schema.Struct<{
|
|
1347
1329
|
readonly aggregateID: Schema.String;
|
|
1348
1330
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -1368,7 +1350,7 @@ export declare const InputSteered: Schema.Struct<{
|
|
|
1368
1350
|
}>, never, never>;
|
|
1369
1351
|
}>>, never, never>;
|
|
1370
1352
|
readonly data: Schema.Struct<{
|
|
1371
|
-
|
|
1353
|
+
inboxID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
1372
1354
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1373
1355
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1374
1356
|
};
|
|
@@ -1378,14 +1360,14 @@ export declare const InputSteered: Schema.Struct<{
|
|
|
1378
1360
|
};
|
|
1379
1361
|
}>;
|
|
1380
1362
|
}> & {
|
|
1381
|
-
type: "session.
|
|
1363
|
+
type: "session.inbox.cancelled";
|
|
1382
1364
|
durability: "durable";
|
|
1383
1365
|
durable: {
|
|
1384
1366
|
readonly version: number;
|
|
1385
1367
|
readonly aggregate: string;
|
|
1386
1368
|
};
|
|
1387
1369
|
data: Schema.Struct<{
|
|
1388
|
-
|
|
1370
|
+
inboxID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
1389
1371
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1390
1372
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1391
1373
|
};
|
|
@@ -1395,14 +1377,14 @@ export declare const InputSteered: Schema.Struct<{
|
|
|
1395
1377
|
};
|
|
1396
1378
|
}>;
|
|
1397
1379
|
};
|
|
1398
|
-
export type
|
|
1399
|
-
export declare const
|
|
1380
|
+
export type InboxCancelled = typeof InboxCancelled.Type;
|
|
1381
|
+
export declare const InboxDeliveryChanged: Schema.Struct<{
|
|
1400
1382
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
1401
1383
|
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
1402
1384
|
};
|
|
1403
1385
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
1404
1386
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
1405
|
-
readonly type: Schema.Literal<"session.
|
|
1387
|
+
readonly type: Schema.Literal<"session.inbox.delivery.changed">;
|
|
1406
1388
|
readonly durable: Schema.Struct<{
|
|
1407
1389
|
readonly aggregateID: Schema.String;
|
|
1408
1390
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -1428,34 +1410,36 @@ export declare const InputQueued: Schema.Struct<{
|
|
|
1428
1410
|
}>, never, never>;
|
|
1429
1411
|
}>>, never, never>;
|
|
1430
1412
|
readonly data: Schema.Struct<{
|
|
1431
|
-
|
|
1413
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
1414
|
+
readonly inboxID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
1432
1415
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1433
1416
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1434
1417
|
};
|
|
1435
|
-
sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
1418
|
+
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
1436
1419
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
1437
1420
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
1438
1421
|
};
|
|
1439
1422
|
}>;
|
|
1440
1423
|
}> & {
|
|
1441
|
-
type: "session.
|
|
1424
|
+
type: "session.inbox.delivery.changed";
|
|
1442
1425
|
durability: "durable";
|
|
1443
1426
|
durable: {
|
|
1444
1427
|
readonly version: number;
|
|
1445
1428
|
readonly aggregate: string;
|
|
1446
1429
|
};
|
|
1447
1430
|
data: Schema.Struct<{
|
|
1448
|
-
|
|
1431
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
1432
|
+
readonly inboxID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
1449
1433
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1450
1434
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1451
1435
|
};
|
|
1452
|
-
sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
1436
|
+
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
1453
1437
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
1454
1438
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
1455
1439
|
};
|
|
1456
1440
|
}>;
|
|
1457
1441
|
};
|
|
1458
|
-
export type
|
|
1442
|
+
export type InboxDeliveryChanged = typeof InboxDeliveryChanged.Type;
|
|
1459
1443
|
export declare namespace Execution {
|
|
1460
1444
|
const Started: Schema.Struct<{
|
|
1461
1445
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
@@ -3336,66 +3320,6 @@ export declare const RetryScheduled: Schema.Struct<{
|
|
|
3336
3320
|
};
|
|
3337
3321
|
export type RetryScheduled = typeof RetryScheduled.Type;
|
|
3338
3322
|
export declare namespace Compaction {
|
|
3339
|
-
const Admitted: Schema.Struct<{
|
|
3340
|
-
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
3341
|
-
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
3342
|
-
};
|
|
3343
|
-
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
3344
|
-
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
3345
|
-
readonly type: Schema.Literal<"session.compaction.admitted">;
|
|
3346
|
-
readonly durable: Schema.Struct<{
|
|
3347
|
-
readonly aggregateID: Schema.String;
|
|
3348
|
-
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
3349
|
-
readonly version: Schema.decodeTo<Schema.toType<Schema.brand<Schema.Int, "Event.Version">>, Schema.Literal<number>, never, never>;
|
|
3350
|
-
}>;
|
|
3351
|
-
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
3352
|
-
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
3353
|
-
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
3354
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
3355
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
3356
|
-
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
3357
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
3358
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
3359
|
-
}>, never, never>;
|
|
3360
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
3361
|
-
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
3362
|
-
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
3363
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
3364
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
3365
|
-
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
3366
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
3367
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
3368
|
-
}>, never, never>;
|
|
3369
|
-
}>>, never, never>;
|
|
3370
|
-
readonly data: Schema.Struct<{
|
|
3371
|
-
readonly inputID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
3372
|
-
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
3373
|
-
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
3374
|
-
};
|
|
3375
|
-
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
3376
|
-
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
3377
|
-
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
3378
|
-
};
|
|
3379
|
-
}>;
|
|
3380
|
-
}> & {
|
|
3381
|
-
type: "session.compaction.admitted";
|
|
3382
|
-
durability: "durable";
|
|
3383
|
-
durable: {
|
|
3384
|
-
readonly version: number;
|
|
3385
|
-
readonly aggregate: string;
|
|
3386
|
-
};
|
|
3387
|
-
data: Schema.Struct<{
|
|
3388
|
-
readonly inputID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
3389
|
-
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
3390
|
-
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
3391
|
-
};
|
|
3392
|
-
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
3393
|
-
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
3394
|
-
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
3395
|
-
};
|
|
3396
|
-
}>;
|
|
3397
|
-
};
|
|
3398
|
-
type Admitted = typeof Admitted.Type;
|
|
3399
3323
|
const Started: Schema.Struct<{
|
|
3400
3324
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
3401
3325
|
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -4326,11 +4250,9 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
4326
4250
|
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
4327
4251
|
}>, never, never>;
|
|
4328
4252
|
}>;
|
|
4329
|
-
readonly projectID: Schema.
|
|
4330
|
-
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
4331
|
-
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Project.ID"> & {
|
|
4253
|
+
readonly projectID: Schema.brand<Schema.String, "Project.ID"> & {
|
|
4332
4254
|
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
4333
|
-
}
|
|
4255
|
+
};
|
|
4334
4256
|
readonly subpath: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "RelativePath">>>, Schema.optionalKey<Schema.brand<Schema.String, "RelativePath">>, never, never>;
|
|
4335
4257
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
4336
4258
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -4355,11 +4277,9 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
4355
4277
|
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
4356
4278
|
}>, never, never>;
|
|
4357
4279
|
}>;
|
|
4358
|
-
readonly projectID: Schema.
|
|
4359
|
-
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
4360
|
-
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Project.ID"> & {
|
|
4280
|
+
readonly projectID: Schema.brand<Schema.String, "Project.ID"> & {
|
|
4361
4281
|
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
4362
|
-
}
|
|
4282
|
+
};
|
|
4363
4283
|
readonly subpath: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "RelativePath">>>, Schema.optionalKey<Schema.brand<Schema.String, "RelativePath">>, never, never>;
|
|
4364
4284
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
4365
4285
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -4626,7 +4546,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
4626
4546
|
};
|
|
4627
4547
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
4628
4548
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
4629
|
-
readonly type: Schema.Literal<"session.
|
|
4549
|
+
readonly type: Schema.Literal<"session.inbox.delivered">;
|
|
4630
4550
|
readonly durable: Schema.Struct<{
|
|
4631
4551
|
readonly aggregateID: Schema.String;
|
|
4632
4552
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -4652,7 +4572,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
4652
4572
|
}>, never, never>;
|
|
4653
4573
|
}>>, never, never>;
|
|
4654
4574
|
readonly data: Schema.Struct<{
|
|
4655
|
-
|
|
4575
|
+
inboxID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
4656
4576
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
4657
4577
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
4658
4578
|
};
|
|
@@ -4662,14 +4582,14 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
4662
4582
|
};
|
|
4663
4583
|
}>;
|
|
4664
4584
|
}> & {
|
|
4665
|
-
type: "session.
|
|
4585
|
+
type: "session.inbox.delivered";
|
|
4666
4586
|
durability: "durable";
|
|
4667
4587
|
durable: {
|
|
4668
4588
|
readonly version: number;
|
|
4669
4589
|
readonly aggregate: string;
|
|
4670
4590
|
};
|
|
4671
4591
|
data: Schema.Struct<{
|
|
4672
|
-
|
|
4592
|
+
inboxID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
4673
4593
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
4674
4594
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
4675
4595
|
};
|
|
@@ -4684,7 +4604,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
4684
4604
|
};
|
|
4685
4605
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
4686
4606
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
4687
|
-
readonly type: Schema.Literal<"session.
|
|
4607
|
+
readonly type: Schema.Literal<"session.inbox.enqueued">;
|
|
4688
4608
|
readonly durable: Schema.Struct<{
|
|
4689
4609
|
readonly aggregateID: Schema.String;
|
|
4690
4610
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -4710,9 +4630,9 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
4710
4630
|
}>, never, never>;
|
|
4711
4631
|
}>>, never, never>;
|
|
4712
4632
|
readonly data: Schema.Struct<{
|
|
4713
|
-
readonly
|
|
4633
|
+
readonly item: Schema.Union<readonly [Schema.Struct<{
|
|
4714
4634
|
readonly type: Schema.tag<"user">;
|
|
4715
|
-
readonly
|
|
4635
|
+
readonly payload: Schema.Struct<{
|
|
4716
4636
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
4717
4637
|
readonly text: Schema.String;
|
|
4718
4638
|
readonly files: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
@@ -4846,14 +4766,37 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
4846
4766
|
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
4847
4767
|
}>, Schema.Struct<{
|
|
4848
4768
|
readonly type: Schema.tag<"synthetic">;
|
|
4849
|
-
readonly
|
|
4769
|
+
readonly payload: Schema.Struct<{
|
|
4850
4770
|
readonly text: Schema.String;
|
|
4851
4771
|
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
4852
4772
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
4853
4773
|
}>;
|
|
4854
4774
|
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
4775
|
+
}>, Schema.Struct<{
|
|
4776
|
+
readonly type: Schema.tag<"compaction">;
|
|
4777
|
+
readonly payload: Schema.Struct<{}>;
|
|
4778
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
4779
|
+
}>, Schema.Struct<{
|
|
4780
|
+
readonly type: Schema.tag<"move">;
|
|
4781
|
+
readonly payload: Schema.Struct<{
|
|
4782
|
+
readonly location: Schema.Struct<{
|
|
4783
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
4784
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
4785
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
4786
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
4787
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
4788
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
4789
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
4790
|
+
}>, never, never>;
|
|
4791
|
+
}>;
|
|
4792
|
+
readonly projectID: Schema.brand<Schema.String, "Project.ID"> & {
|
|
4793
|
+
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
4794
|
+
};
|
|
4795
|
+
readonly subpath: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "RelativePath">>>, Schema.optionalKey<Schema.brand<Schema.String, "RelativePath">>, never, never>;
|
|
4796
|
+
}>;
|
|
4797
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
4855
4798
|
}>]>;
|
|
4856
|
-
readonly
|
|
4799
|
+
readonly inboxID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
4857
4800
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
4858
4801
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
4859
4802
|
};
|
|
@@ -4863,16 +4806,16 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
4863
4806
|
};
|
|
4864
4807
|
}>;
|
|
4865
4808
|
}> & {
|
|
4866
|
-
type: "session.
|
|
4809
|
+
type: "session.inbox.enqueued";
|
|
4867
4810
|
durability: "durable";
|
|
4868
4811
|
durable: {
|
|
4869
4812
|
readonly version: number;
|
|
4870
4813
|
readonly aggregate: string;
|
|
4871
4814
|
};
|
|
4872
4815
|
data: Schema.Struct<{
|
|
4873
|
-
readonly
|
|
4816
|
+
readonly item: Schema.Union<readonly [Schema.Struct<{
|
|
4874
4817
|
readonly type: Schema.tag<"user">;
|
|
4875
|
-
readonly
|
|
4818
|
+
readonly payload: Schema.Struct<{
|
|
4876
4819
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
4877
4820
|
readonly text: Schema.String;
|
|
4878
4821
|
readonly files: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
@@ -5006,14 +4949,37 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
5006
4949
|
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
5007
4950
|
}>, Schema.Struct<{
|
|
5008
4951
|
readonly type: Schema.tag<"synthetic">;
|
|
5009
|
-
readonly
|
|
4952
|
+
readonly payload: Schema.Struct<{
|
|
5010
4953
|
readonly text: Schema.String;
|
|
5011
4954
|
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
5012
4955
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
5013
4956
|
}>;
|
|
5014
4957
|
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
4958
|
+
}>, Schema.Struct<{
|
|
4959
|
+
readonly type: Schema.tag<"compaction">;
|
|
4960
|
+
readonly payload: Schema.Struct<{}>;
|
|
4961
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
4962
|
+
}>, Schema.Struct<{
|
|
4963
|
+
readonly type: Schema.tag<"move">;
|
|
4964
|
+
readonly payload: Schema.Struct<{
|
|
4965
|
+
readonly location: Schema.Struct<{
|
|
4966
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
4967
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
4968
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
4969
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
4970
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
4971
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
4972
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
4973
|
+
}>, never, never>;
|
|
4974
|
+
}>;
|
|
4975
|
+
readonly projectID: Schema.brand<Schema.String, "Project.ID"> & {
|
|
4976
|
+
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
4977
|
+
};
|
|
4978
|
+
readonly subpath: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "RelativePath">>>, Schema.optionalKey<Schema.brand<Schema.String, "RelativePath">>, never, never>;
|
|
4979
|
+
}>;
|
|
4980
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
5015
4981
|
}>]>;
|
|
5016
|
-
readonly
|
|
4982
|
+
readonly inboxID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
5017
4983
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
5018
4984
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
5019
4985
|
};
|
|
@@ -5028,65 +4994,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
5028
4994
|
};
|
|
5029
4995
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
5030
4996
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
5031
|
-
readonly type: Schema.Literal<"session.
|
|
5032
|
-
readonly durable: Schema.Struct<{
|
|
5033
|
-
readonly aggregateID: Schema.String;
|
|
5034
|
-
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
5035
|
-
readonly version: Schema.decodeTo<Schema.toType<Schema.brand<Schema.Int, "Event.Version">>, Schema.Literal<number>, never, never>;
|
|
5036
|
-
}>;
|
|
5037
|
-
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
5038
|
-
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
5039
|
-
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
5040
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
5041
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
5042
|
-
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
5043
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
5044
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
5045
|
-
}>, never, never>;
|
|
5046
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
5047
|
-
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
5048
|
-
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
5049
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
5050
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
5051
|
-
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
5052
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
5053
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
5054
|
-
}>, never, never>;
|
|
5055
|
-
}>>, never, never>;
|
|
5056
|
-
readonly data: Schema.Struct<{
|
|
5057
|
-
inputID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
5058
|
-
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
5059
|
-
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
5060
|
-
};
|
|
5061
|
-
sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
5062
|
-
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
5063
|
-
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
5064
|
-
};
|
|
5065
|
-
}>;
|
|
5066
|
-
}> & {
|
|
5067
|
-
type: "session.input.cancelled";
|
|
5068
|
-
durability: "durable";
|
|
5069
|
-
durable: {
|
|
5070
|
-
readonly version: number;
|
|
5071
|
-
readonly aggregate: string;
|
|
5072
|
-
};
|
|
5073
|
-
data: Schema.Struct<{
|
|
5074
|
-
inputID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
5075
|
-
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
5076
|
-
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
5077
|
-
};
|
|
5078
|
-
sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
5079
|
-
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
5080
|
-
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
5081
|
-
};
|
|
5082
|
-
}>;
|
|
5083
|
-
}, Schema.Struct<{
|
|
5084
|
-
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
5085
|
-
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
5086
|
-
};
|
|
5087
|
-
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
5088
|
-
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
5089
|
-
readonly type: Schema.Literal<"session.input.steered">;
|
|
4997
|
+
readonly type: Schema.Literal<"session.inbox.cancelled">;
|
|
5090
4998
|
readonly durable: Schema.Struct<{
|
|
5091
4999
|
readonly aggregateID: Schema.String;
|
|
5092
5000
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -5112,7 +5020,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
5112
5020
|
}>, never, never>;
|
|
5113
5021
|
}>>, never, never>;
|
|
5114
5022
|
readonly data: Schema.Struct<{
|
|
5115
|
-
|
|
5023
|
+
inboxID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
5116
5024
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
5117
5025
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
5118
5026
|
};
|
|
@@ -5122,14 +5030,14 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
5122
5030
|
};
|
|
5123
5031
|
}>;
|
|
5124
5032
|
}> & {
|
|
5125
|
-
type: "session.
|
|
5033
|
+
type: "session.inbox.cancelled";
|
|
5126
5034
|
durability: "durable";
|
|
5127
5035
|
durable: {
|
|
5128
5036
|
readonly version: number;
|
|
5129
5037
|
readonly aggregate: string;
|
|
5130
5038
|
};
|
|
5131
5039
|
data: Schema.Struct<{
|
|
5132
|
-
|
|
5040
|
+
inboxID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
5133
5041
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
5134
5042
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
5135
5043
|
};
|
|
@@ -5144,7 +5052,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
5144
5052
|
};
|
|
5145
5053
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
5146
5054
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
5147
|
-
readonly type: Schema.Literal<"session.
|
|
5055
|
+
readonly type: Schema.Literal<"session.inbox.delivery.changed">;
|
|
5148
5056
|
readonly durable: Schema.Struct<{
|
|
5149
5057
|
readonly aggregateID: Schema.String;
|
|
5150
5058
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -5170,28 +5078,30 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
5170
5078
|
}>, never, never>;
|
|
5171
5079
|
}>>, never, never>;
|
|
5172
5080
|
readonly data: Schema.Struct<{
|
|
5173
|
-
|
|
5081
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
5082
|
+
readonly inboxID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
5174
5083
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
5175
5084
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
5176
5085
|
};
|
|
5177
|
-
sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
5086
|
+
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
5178
5087
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
5179
5088
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
5180
5089
|
};
|
|
5181
5090
|
}>;
|
|
5182
5091
|
}> & {
|
|
5183
|
-
type: "session.
|
|
5092
|
+
type: "session.inbox.delivery.changed";
|
|
5184
5093
|
durability: "durable";
|
|
5185
5094
|
durable: {
|
|
5186
5095
|
readonly version: number;
|
|
5187
5096
|
readonly aggregate: string;
|
|
5188
5097
|
};
|
|
5189
5098
|
data: Schema.Struct<{
|
|
5190
|
-
|
|
5099
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
5100
|
+
readonly inboxID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
5191
5101
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
5192
5102
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
5193
5103
|
};
|
|
5194
|
-
sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
5104
|
+
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
5195
5105
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
5196
5106
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
5197
5107
|
};
|
|
@@ -7006,7 +6916,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
7006
6916
|
};
|
|
7007
6917
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
7008
6918
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
7009
|
-
readonly type: Schema.Literal<"session.compaction.
|
|
6919
|
+
readonly type: Schema.Literal<"session.compaction.started">;
|
|
7010
6920
|
readonly durable: Schema.Struct<{
|
|
7011
6921
|
readonly aggregateID: Schema.String;
|
|
7012
6922
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -7032,27 +6942,37 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
7032
6942
|
}>, never, never>;
|
|
7033
6943
|
}>>, never, never>;
|
|
7034
6944
|
readonly data: Schema.Struct<{
|
|
7035
|
-
readonly
|
|
6945
|
+
readonly reason: Schema.Literals<readonly ["auto", "manual"]>;
|
|
6946
|
+
readonly recent: Schema.String;
|
|
6947
|
+
readonly inputID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
7036
6948
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7037
6949
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7038
|
-
}
|
|
6950
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
6951
|
+
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
6952
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
6953
|
+
}>, never, never>;
|
|
7039
6954
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
7040
6955
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
7041
6956
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
7042
6957
|
};
|
|
7043
6958
|
}>;
|
|
7044
6959
|
}> & {
|
|
7045
|
-
type: "session.compaction.
|
|
6960
|
+
type: "session.compaction.started";
|
|
7046
6961
|
durability: "durable";
|
|
7047
6962
|
durable: {
|
|
7048
6963
|
readonly version: number;
|
|
7049
6964
|
readonly aggregate: string;
|
|
7050
6965
|
};
|
|
7051
6966
|
data: Schema.Struct<{
|
|
7052
|
-
readonly
|
|
6967
|
+
readonly reason: Schema.Literals<readonly ["auto", "manual"]>;
|
|
6968
|
+
readonly recent: Schema.String;
|
|
6969
|
+
readonly inputID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
7053
6970
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7054
6971
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7055
|
-
}
|
|
6972
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
6973
|
+
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
6974
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
6975
|
+
}>, never, never>;
|
|
7056
6976
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
7057
6977
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
7058
6978
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -7064,75 +6984,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
7064
6984
|
};
|
|
7065
6985
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
7066
6986
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
7067
|
-
readonly type: Schema.Literal<"session.compaction.
|
|
7068
|
-
readonly durable: Schema.Struct<{
|
|
7069
|
-
readonly aggregateID: Schema.String;
|
|
7070
|
-
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
7071
|
-
readonly version: Schema.decodeTo<Schema.toType<Schema.brand<Schema.Int, "Event.Version">>, Schema.Literal<number>, never, never>;
|
|
7072
|
-
}>;
|
|
7073
|
-
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
7074
|
-
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
7075
|
-
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
7076
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
7077
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
7078
|
-
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
7079
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
7080
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
7081
|
-
}>, never, never>;
|
|
7082
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
7083
|
-
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
7084
|
-
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
7085
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
7086
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
7087
|
-
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
7088
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
7089
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
7090
|
-
}>, never, never>;
|
|
7091
|
-
}>>, never, never>;
|
|
7092
|
-
readonly data: Schema.Struct<{
|
|
7093
|
-
readonly reason: Schema.Literals<readonly ["auto", "manual"]>;
|
|
7094
|
-
readonly recent: Schema.String;
|
|
7095
|
-
readonly inputID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
7096
|
-
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7097
|
-
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7098
|
-
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
7099
|
-
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7100
|
-
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7101
|
-
}>, never, never>;
|
|
7102
|
-
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
7103
|
-
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
7104
|
-
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
7105
|
-
};
|
|
7106
|
-
}>;
|
|
7107
|
-
}> & {
|
|
7108
|
-
type: "session.compaction.started";
|
|
7109
|
-
durability: "durable";
|
|
7110
|
-
durable: {
|
|
7111
|
-
readonly version: number;
|
|
7112
|
-
readonly aggregate: string;
|
|
7113
|
-
};
|
|
7114
|
-
data: Schema.Struct<{
|
|
7115
|
-
readonly reason: Schema.Literals<readonly ["auto", "manual"]>;
|
|
7116
|
-
readonly recent: Schema.String;
|
|
7117
|
-
readonly inputID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
7118
|
-
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7119
|
-
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7120
|
-
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
7121
|
-
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7122
|
-
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7123
|
-
}>, never, never>;
|
|
7124
|
-
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
7125
|
-
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
7126
|
-
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
7127
|
-
};
|
|
7128
|
-
}>;
|
|
7129
|
-
}, Schema.Struct<{
|
|
7130
|
-
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
7131
|
-
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
7132
|
-
};
|
|
7133
|
-
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
7134
|
-
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
7135
|
-
readonly type: Schema.Literal<"session.compaction.delta">;
|
|
6987
|
+
readonly type: Schema.Literal<"session.compaction.delta">;
|
|
7136
6988
|
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
7137
6989
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
7138
6990
|
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
@@ -7975,11 +7827,9 @@ export declare const DurableDefinitions: readonly [...((Schema.Struct<{
|
|
|
7975
7827
|
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
7976
7828
|
}>, never, never>;
|
|
7977
7829
|
}>;
|
|
7978
|
-
readonly projectID: Schema.
|
|
7979
|
-
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
7980
|
-
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Project.ID"> & {
|
|
7830
|
+
readonly projectID: Schema.brand<Schema.String, "Project.ID"> & {
|
|
7981
7831
|
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
7982
|
-
}
|
|
7832
|
+
};
|
|
7983
7833
|
readonly subpath: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "RelativePath">>>, Schema.optionalKey<Schema.brand<Schema.String, "RelativePath">>, never, never>;
|
|
7984
7834
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
7985
7835
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -8004,11 +7854,9 @@ export declare const DurableDefinitions: readonly [...((Schema.Struct<{
|
|
|
8004
7854
|
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
8005
7855
|
}>, never, never>;
|
|
8006
7856
|
}>;
|
|
8007
|
-
readonly projectID: Schema.
|
|
8008
|
-
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
8009
|
-
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Project.ID"> & {
|
|
7857
|
+
readonly projectID: Schema.brand<Schema.String, "Project.ID"> & {
|
|
8010
7858
|
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
8011
|
-
}
|
|
7859
|
+
};
|
|
8012
7860
|
readonly subpath: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "RelativePath">>>, Schema.optionalKey<Schema.brand<Schema.String, "RelativePath">>, never, never>;
|
|
8013
7861
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
8014
7862
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -8209,7 +8057,7 @@ export declare const DurableDefinitions: readonly [...((Schema.Struct<{
|
|
|
8209
8057
|
};
|
|
8210
8058
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
8211
8059
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
8212
|
-
readonly type: Schema.Literal<"session.
|
|
8060
|
+
readonly type: Schema.Literal<"session.inbox.delivered">;
|
|
8213
8061
|
readonly durable: Schema.Struct<{
|
|
8214
8062
|
readonly aggregateID: Schema.String;
|
|
8215
8063
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -8235,7 +8083,7 @@ export declare const DurableDefinitions: readonly [...((Schema.Struct<{
|
|
|
8235
8083
|
}>, never, never>;
|
|
8236
8084
|
}>>, never, never>;
|
|
8237
8085
|
readonly data: Schema.Struct<{
|
|
8238
|
-
|
|
8086
|
+
inboxID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
8239
8087
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
8240
8088
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
8241
8089
|
};
|
|
@@ -8245,14 +8093,14 @@ export declare const DurableDefinitions: readonly [...((Schema.Struct<{
|
|
|
8245
8093
|
};
|
|
8246
8094
|
}>;
|
|
8247
8095
|
}> & {
|
|
8248
|
-
type: "session.
|
|
8096
|
+
type: "session.inbox.delivered";
|
|
8249
8097
|
durability: "durable";
|
|
8250
8098
|
durable: {
|
|
8251
8099
|
readonly version: number;
|
|
8252
8100
|
readonly aggregate: string;
|
|
8253
8101
|
};
|
|
8254
8102
|
data: Schema.Struct<{
|
|
8255
|
-
|
|
8103
|
+
inboxID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
8256
8104
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
8257
8105
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
8258
8106
|
};
|
|
@@ -8267,7 +8115,7 @@ export declare const DurableDefinitions: readonly [...((Schema.Struct<{
|
|
|
8267
8115
|
};
|
|
8268
8116
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
8269
8117
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
8270
|
-
readonly type: Schema.Literal<"session.
|
|
8118
|
+
readonly type: Schema.Literal<"session.inbox.enqueued">;
|
|
8271
8119
|
readonly durable: Schema.Struct<{
|
|
8272
8120
|
readonly aggregateID: Schema.String;
|
|
8273
8121
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -8293,9 +8141,9 @@ export declare const DurableDefinitions: readonly [...((Schema.Struct<{
|
|
|
8293
8141
|
}>, never, never>;
|
|
8294
8142
|
}>>, never, never>;
|
|
8295
8143
|
readonly data: Schema.Struct<{
|
|
8296
|
-
readonly
|
|
8144
|
+
readonly item: Schema.Union<readonly [Schema.Struct<{
|
|
8297
8145
|
readonly type: Schema.tag<"user">;
|
|
8298
|
-
readonly
|
|
8146
|
+
readonly payload: Schema.Struct<{
|
|
8299
8147
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
8300
8148
|
readonly text: Schema.String;
|
|
8301
8149
|
readonly files: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
@@ -8429,14 +8277,37 @@ export declare const DurableDefinitions: readonly [...((Schema.Struct<{
|
|
|
8429
8277
|
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
8430
8278
|
}>, Schema.Struct<{
|
|
8431
8279
|
readonly type: Schema.tag<"synthetic">;
|
|
8432
|
-
readonly
|
|
8280
|
+
readonly payload: Schema.Struct<{
|
|
8433
8281
|
readonly text: Schema.String;
|
|
8434
8282
|
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
8435
8283
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
8436
8284
|
}>;
|
|
8437
8285
|
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
8286
|
+
}>, Schema.Struct<{
|
|
8287
|
+
readonly type: Schema.tag<"compaction">;
|
|
8288
|
+
readonly payload: Schema.Struct<{}>;
|
|
8289
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
8290
|
+
}>, Schema.Struct<{
|
|
8291
|
+
readonly type: Schema.tag<"move">;
|
|
8292
|
+
readonly payload: Schema.Struct<{
|
|
8293
|
+
readonly location: Schema.Struct<{
|
|
8294
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
8295
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
8296
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
8297
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
8298
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
8299
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
8300
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
8301
|
+
}>, never, never>;
|
|
8302
|
+
}>;
|
|
8303
|
+
readonly projectID: Schema.brand<Schema.String, "Project.ID"> & {
|
|
8304
|
+
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
8305
|
+
};
|
|
8306
|
+
readonly subpath: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "RelativePath">>>, Schema.optionalKey<Schema.brand<Schema.String, "RelativePath">>, never, never>;
|
|
8307
|
+
}>;
|
|
8308
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
8438
8309
|
}>]>;
|
|
8439
|
-
readonly
|
|
8310
|
+
readonly inboxID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
8440
8311
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
8441
8312
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
8442
8313
|
};
|
|
@@ -8446,16 +8317,16 @@ export declare const DurableDefinitions: readonly [...((Schema.Struct<{
|
|
|
8446
8317
|
};
|
|
8447
8318
|
}>;
|
|
8448
8319
|
}> & {
|
|
8449
|
-
type: "session.
|
|
8320
|
+
type: "session.inbox.enqueued";
|
|
8450
8321
|
durability: "durable";
|
|
8451
8322
|
durable: {
|
|
8452
8323
|
readonly version: number;
|
|
8453
8324
|
readonly aggregate: string;
|
|
8454
8325
|
};
|
|
8455
8326
|
data: Schema.Struct<{
|
|
8456
|
-
readonly
|
|
8327
|
+
readonly item: Schema.Union<readonly [Schema.Struct<{
|
|
8457
8328
|
readonly type: Schema.tag<"user">;
|
|
8458
|
-
readonly
|
|
8329
|
+
readonly payload: Schema.Struct<{
|
|
8459
8330
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
8460
8331
|
readonly text: Schema.String;
|
|
8461
8332
|
readonly files: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
@@ -8589,14 +8460,37 @@ export declare const DurableDefinitions: readonly [...((Schema.Struct<{
|
|
|
8589
8460
|
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
8590
8461
|
}>, Schema.Struct<{
|
|
8591
8462
|
readonly type: Schema.tag<"synthetic">;
|
|
8592
|
-
readonly
|
|
8463
|
+
readonly payload: Schema.Struct<{
|
|
8593
8464
|
readonly text: Schema.String;
|
|
8594
8465
|
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
8595
8466
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
8596
8467
|
}>;
|
|
8597
8468
|
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
8469
|
+
}>, Schema.Struct<{
|
|
8470
|
+
readonly type: Schema.tag<"compaction">;
|
|
8471
|
+
readonly payload: Schema.Struct<{}>;
|
|
8472
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
8473
|
+
}>, Schema.Struct<{
|
|
8474
|
+
readonly type: Schema.tag<"move">;
|
|
8475
|
+
readonly payload: Schema.Struct<{
|
|
8476
|
+
readonly location: Schema.Struct<{
|
|
8477
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
8478
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
8479
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
8480
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
8481
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
8482
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
8483
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
8484
|
+
}>, never, never>;
|
|
8485
|
+
}>;
|
|
8486
|
+
readonly projectID: Schema.brand<Schema.String, "Project.ID"> & {
|
|
8487
|
+
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
8488
|
+
};
|
|
8489
|
+
readonly subpath: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "RelativePath">>>, Schema.optionalKey<Schema.brand<Schema.String, "RelativePath">>, never, never>;
|
|
8490
|
+
}>;
|
|
8491
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
8598
8492
|
}>]>;
|
|
8599
|
-
readonly
|
|
8493
|
+
readonly inboxID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
8600
8494
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
8601
8495
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
8602
8496
|
};
|
|
@@ -8611,65 +8505,7 @@ export declare const DurableDefinitions: readonly [...((Schema.Struct<{
|
|
|
8611
8505
|
};
|
|
8612
8506
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
8613
8507
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
8614
|
-
readonly type: Schema.Literal<"session.
|
|
8615
|
-
readonly durable: Schema.Struct<{
|
|
8616
|
-
readonly aggregateID: Schema.String;
|
|
8617
|
-
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
8618
|
-
readonly version: Schema.decodeTo<Schema.toType<Schema.brand<Schema.Int, "Event.Version">>, Schema.Literal<number>, never, never>;
|
|
8619
|
-
}>;
|
|
8620
|
-
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
8621
|
-
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
8622
|
-
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
8623
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
8624
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
8625
|
-
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
8626
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
8627
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
8628
|
-
}>, never, never>;
|
|
8629
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
8630
|
-
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
8631
|
-
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
8632
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
8633
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
8634
|
-
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
8635
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
8636
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
8637
|
-
}>, never, never>;
|
|
8638
|
-
}>>, never, never>;
|
|
8639
|
-
readonly data: Schema.Struct<{
|
|
8640
|
-
inputID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
8641
|
-
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
8642
|
-
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
8643
|
-
};
|
|
8644
|
-
sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
8645
|
-
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
8646
|
-
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
8647
|
-
};
|
|
8648
|
-
}>;
|
|
8649
|
-
}> & {
|
|
8650
|
-
type: "session.input.cancelled";
|
|
8651
|
-
durability: "durable";
|
|
8652
|
-
durable: {
|
|
8653
|
-
readonly version: number;
|
|
8654
|
-
readonly aggregate: string;
|
|
8655
|
-
};
|
|
8656
|
-
data: Schema.Struct<{
|
|
8657
|
-
inputID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
8658
|
-
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
8659
|
-
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
8660
|
-
};
|
|
8661
|
-
sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
8662
|
-
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
8663
|
-
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
8664
|
-
};
|
|
8665
|
-
}>;
|
|
8666
|
-
}) | (Schema.Struct<{
|
|
8667
|
-
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
8668
|
-
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
8669
|
-
};
|
|
8670
|
-
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
8671
|
-
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
8672
|
-
readonly type: Schema.Literal<"session.input.steered">;
|
|
8508
|
+
readonly type: Schema.Literal<"session.inbox.cancelled">;
|
|
8673
8509
|
readonly durable: Schema.Struct<{
|
|
8674
8510
|
readonly aggregateID: Schema.String;
|
|
8675
8511
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -8695,7 +8531,7 @@ export declare const DurableDefinitions: readonly [...((Schema.Struct<{
|
|
|
8695
8531
|
}>, never, never>;
|
|
8696
8532
|
}>>, never, never>;
|
|
8697
8533
|
readonly data: Schema.Struct<{
|
|
8698
|
-
|
|
8534
|
+
inboxID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
8699
8535
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
8700
8536
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
8701
8537
|
};
|
|
@@ -8705,14 +8541,14 @@ export declare const DurableDefinitions: readonly [...((Schema.Struct<{
|
|
|
8705
8541
|
};
|
|
8706
8542
|
}>;
|
|
8707
8543
|
}> & {
|
|
8708
|
-
type: "session.
|
|
8544
|
+
type: "session.inbox.cancelled";
|
|
8709
8545
|
durability: "durable";
|
|
8710
8546
|
durable: {
|
|
8711
8547
|
readonly version: number;
|
|
8712
8548
|
readonly aggregate: string;
|
|
8713
8549
|
};
|
|
8714
8550
|
data: Schema.Struct<{
|
|
8715
|
-
|
|
8551
|
+
inboxID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
8716
8552
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
8717
8553
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
8718
8554
|
};
|
|
@@ -8727,7 +8563,7 @@ export declare const DurableDefinitions: readonly [...((Schema.Struct<{
|
|
|
8727
8563
|
};
|
|
8728
8564
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
8729
8565
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
8730
|
-
readonly type: Schema.Literal<"session.
|
|
8566
|
+
readonly type: Schema.Literal<"session.inbox.delivery.changed">;
|
|
8731
8567
|
readonly durable: Schema.Struct<{
|
|
8732
8568
|
readonly aggregateID: Schema.String;
|
|
8733
8569
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -8753,28 +8589,30 @@ export declare const DurableDefinitions: readonly [...((Schema.Struct<{
|
|
|
8753
8589
|
}>, never, never>;
|
|
8754
8590
|
}>>, never, never>;
|
|
8755
8591
|
readonly data: Schema.Struct<{
|
|
8756
|
-
|
|
8592
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
8593
|
+
readonly inboxID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
8757
8594
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
8758
8595
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
8759
8596
|
};
|
|
8760
|
-
sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
8597
|
+
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
8761
8598
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
8762
8599
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
8763
8600
|
};
|
|
8764
8601
|
}>;
|
|
8765
8602
|
}> & {
|
|
8766
|
-
type: "session.
|
|
8603
|
+
type: "session.inbox.delivery.changed";
|
|
8767
8604
|
durability: "durable";
|
|
8768
8605
|
durable: {
|
|
8769
8606
|
readonly version: number;
|
|
8770
8607
|
readonly aggregate: string;
|
|
8771
8608
|
};
|
|
8772
8609
|
data: Schema.Struct<{
|
|
8773
|
-
|
|
8610
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
8611
|
+
readonly inboxID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
8774
8612
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
8775
8613
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
8776
8614
|
};
|
|
8777
|
-
sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
8615
|
+
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
8778
8616
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
8779
8617
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
8780
8618
|
};
|
|
@@ -10367,64 +10205,6 @@ export declare const DurableDefinitions: readonly [...((Schema.Struct<{
|
|
|
10367
10205
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
10368
10206
|
};
|
|
10369
10207
|
}>;
|
|
10370
|
-
}) | (Schema.Struct<{
|
|
10371
|
-
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
10372
|
-
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
10373
|
-
};
|
|
10374
|
-
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
10375
|
-
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
10376
|
-
readonly type: Schema.Literal<"session.compaction.admitted">;
|
|
10377
|
-
readonly durable: Schema.Struct<{
|
|
10378
|
-
readonly aggregateID: Schema.String;
|
|
10379
|
-
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
10380
|
-
readonly version: Schema.decodeTo<Schema.toType<Schema.brand<Schema.Int, "Event.Version">>, Schema.Literal<number>, never, never>;
|
|
10381
|
-
}>;
|
|
10382
|
-
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
10383
|
-
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
10384
|
-
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
10385
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
10386
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
10387
|
-
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
10388
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
10389
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
10390
|
-
}>, never, never>;
|
|
10391
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
10392
|
-
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
10393
|
-
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
10394
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
10395
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
10396
|
-
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
10397
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
10398
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
10399
|
-
}>, never, never>;
|
|
10400
|
-
}>>, never, never>;
|
|
10401
|
-
readonly data: Schema.Struct<{
|
|
10402
|
-
readonly inputID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
10403
|
-
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
10404
|
-
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
10405
|
-
};
|
|
10406
|
-
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
10407
|
-
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
10408
|
-
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
10409
|
-
};
|
|
10410
|
-
}>;
|
|
10411
|
-
}> & {
|
|
10412
|
-
type: "session.compaction.admitted";
|
|
10413
|
-
durability: "durable";
|
|
10414
|
-
durable: {
|
|
10415
|
-
readonly version: number;
|
|
10416
|
-
readonly aggregate: string;
|
|
10417
|
-
};
|
|
10418
|
-
data: Schema.Struct<{
|
|
10419
|
-
readonly inputID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
10420
|
-
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
10421
|
-
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
10422
|
-
};
|
|
10423
|
-
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
10424
|
-
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
10425
|
-
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
10426
|
-
};
|
|
10427
|
-
}>;
|
|
10428
10208
|
}) | (Schema.Struct<{
|
|
10429
10209
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
10430
10210
|
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -11701,11 +11481,9 @@ export declare const Durable: Schema.Union<readonly [...((Schema.Struct<{
|
|
|
11701
11481
|
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
11702
11482
|
}>, never, never>;
|
|
11703
11483
|
}>;
|
|
11704
|
-
readonly projectID: Schema.
|
|
11705
|
-
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
11706
|
-
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Project.ID"> & {
|
|
11484
|
+
readonly projectID: Schema.brand<Schema.String, "Project.ID"> & {
|
|
11707
11485
|
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
11708
|
-
}
|
|
11486
|
+
};
|
|
11709
11487
|
readonly subpath: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "RelativePath">>>, Schema.optionalKey<Schema.brand<Schema.String, "RelativePath">>, never, never>;
|
|
11710
11488
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
11711
11489
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -11730,11 +11508,9 @@ export declare const Durable: Schema.Union<readonly [...((Schema.Struct<{
|
|
|
11730
11508
|
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
11731
11509
|
}>, never, never>;
|
|
11732
11510
|
}>;
|
|
11733
|
-
readonly projectID: Schema.
|
|
11734
|
-
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
11735
|
-
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Project.ID"> & {
|
|
11511
|
+
readonly projectID: Schema.brand<Schema.String, "Project.ID"> & {
|
|
11736
11512
|
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
11737
|
-
}
|
|
11513
|
+
};
|
|
11738
11514
|
readonly subpath: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "RelativePath">>>, Schema.optionalKey<Schema.brand<Schema.String, "RelativePath">>, never, never>;
|
|
11739
11515
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
11740
11516
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -11935,7 +11711,7 @@ export declare const Durable: Schema.Union<readonly [...((Schema.Struct<{
|
|
|
11935
11711
|
};
|
|
11936
11712
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
11937
11713
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
11938
|
-
readonly type: Schema.Literal<"session.
|
|
11714
|
+
readonly type: Schema.Literal<"session.inbox.delivered">;
|
|
11939
11715
|
readonly durable: Schema.Struct<{
|
|
11940
11716
|
readonly aggregateID: Schema.String;
|
|
11941
11717
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -11961,7 +11737,7 @@ export declare const Durable: Schema.Union<readonly [...((Schema.Struct<{
|
|
|
11961
11737
|
}>, never, never>;
|
|
11962
11738
|
}>>, never, never>;
|
|
11963
11739
|
readonly data: Schema.Struct<{
|
|
11964
|
-
|
|
11740
|
+
inboxID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
11965
11741
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
11966
11742
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
11967
11743
|
};
|
|
@@ -11971,14 +11747,14 @@ export declare const Durable: Schema.Union<readonly [...((Schema.Struct<{
|
|
|
11971
11747
|
};
|
|
11972
11748
|
}>;
|
|
11973
11749
|
}> & {
|
|
11974
|
-
type: "session.
|
|
11750
|
+
type: "session.inbox.delivered";
|
|
11975
11751
|
durability: "durable";
|
|
11976
11752
|
durable: {
|
|
11977
11753
|
readonly version: number;
|
|
11978
11754
|
readonly aggregate: string;
|
|
11979
11755
|
};
|
|
11980
11756
|
data: Schema.Struct<{
|
|
11981
|
-
|
|
11757
|
+
inboxID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
11982
11758
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
11983
11759
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
11984
11760
|
};
|
|
@@ -11993,7 +11769,7 @@ export declare const Durable: Schema.Union<readonly [...((Schema.Struct<{
|
|
|
11993
11769
|
};
|
|
11994
11770
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
11995
11771
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
11996
|
-
readonly type: Schema.Literal<"session.
|
|
11772
|
+
readonly type: Schema.Literal<"session.inbox.enqueued">;
|
|
11997
11773
|
readonly durable: Schema.Struct<{
|
|
11998
11774
|
readonly aggregateID: Schema.String;
|
|
11999
11775
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -12019,9 +11795,9 @@ export declare const Durable: Schema.Union<readonly [...((Schema.Struct<{
|
|
|
12019
11795
|
}>, never, never>;
|
|
12020
11796
|
}>>, never, never>;
|
|
12021
11797
|
readonly data: Schema.Struct<{
|
|
12022
|
-
readonly
|
|
11798
|
+
readonly item: Schema.Union<readonly [Schema.Struct<{
|
|
12023
11799
|
readonly type: Schema.tag<"user">;
|
|
12024
|
-
readonly
|
|
11800
|
+
readonly payload: Schema.Struct<{
|
|
12025
11801
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
12026
11802
|
readonly text: Schema.String;
|
|
12027
11803
|
readonly files: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
@@ -12155,14 +11931,37 @@ export declare const Durable: Schema.Union<readonly [...((Schema.Struct<{
|
|
|
12155
11931
|
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
12156
11932
|
}>, Schema.Struct<{
|
|
12157
11933
|
readonly type: Schema.tag<"synthetic">;
|
|
12158
|
-
readonly
|
|
11934
|
+
readonly payload: Schema.Struct<{
|
|
12159
11935
|
readonly text: Schema.String;
|
|
12160
11936
|
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
12161
11937
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
12162
11938
|
}>;
|
|
12163
11939
|
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
11940
|
+
}>, Schema.Struct<{
|
|
11941
|
+
readonly type: Schema.tag<"compaction">;
|
|
11942
|
+
readonly payload: Schema.Struct<{}>;
|
|
11943
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
11944
|
+
}>, Schema.Struct<{
|
|
11945
|
+
readonly type: Schema.tag<"move">;
|
|
11946
|
+
readonly payload: Schema.Struct<{
|
|
11947
|
+
readonly location: Schema.Struct<{
|
|
11948
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
11949
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
11950
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
11951
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
11952
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
11953
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
11954
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
11955
|
+
}>, never, never>;
|
|
11956
|
+
}>;
|
|
11957
|
+
readonly projectID: Schema.brand<Schema.String, "Project.ID"> & {
|
|
11958
|
+
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
11959
|
+
};
|
|
11960
|
+
readonly subpath: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "RelativePath">>>, Schema.optionalKey<Schema.brand<Schema.String, "RelativePath">>, never, never>;
|
|
11961
|
+
}>;
|
|
11962
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
12164
11963
|
}>]>;
|
|
12165
|
-
readonly
|
|
11964
|
+
readonly inboxID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
12166
11965
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
12167
11966
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
12168
11967
|
};
|
|
@@ -12172,16 +11971,16 @@ export declare const Durable: Schema.Union<readonly [...((Schema.Struct<{
|
|
|
12172
11971
|
};
|
|
12173
11972
|
}>;
|
|
12174
11973
|
}> & {
|
|
12175
|
-
type: "session.
|
|
11974
|
+
type: "session.inbox.enqueued";
|
|
12176
11975
|
durability: "durable";
|
|
12177
11976
|
durable: {
|
|
12178
11977
|
readonly version: number;
|
|
12179
11978
|
readonly aggregate: string;
|
|
12180
11979
|
};
|
|
12181
11980
|
data: Schema.Struct<{
|
|
12182
|
-
readonly
|
|
11981
|
+
readonly item: Schema.Union<readonly [Schema.Struct<{
|
|
12183
11982
|
readonly type: Schema.tag<"user">;
|
|
12184
|
-
readonly
|
|
11983
|
+
readonly payload: Schema.Struct<{
|
|
12185
11984
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
12186
11985
|
readonly text: Schema.String;
|
|
12187
11986
|
readonly files: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
@@ -12315,14 +12114,37 @@ export declare const Durable: Schema.Union<readonly [...((Schema.Struct<{
|
|
|
12315
12114
|
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
12316
12115
|
}>, Schema.Struct<{
|
|
12317
12116
|
readonly type: Schema.tag<"synthetic">;
|
|
12318
|
-
readonly
|
|
12117
|
+
readonly payload: Schema.Struct<{
|
|
12319
12118
|
readonly text: Schema.String;
|
|
12320
12119
|
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
12321
12120
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
12322
12121
|
}>;
|
|
12323
12122
|
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
12123
|
+
}>, Schema.Struct<{
|
|
12124
|
+
readonly type: Schema.tag<"compaction">;
|
|
12125
|
+
readonly payload: Schema.Struct<{}>;
|
|
12126
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
12127
|
+
}>, Schema.Struct<{
|
|
12128
|
+
readonly type: Schema.tag<"move">;
|
|
12129
|
+
readonly payload: Schema.Struct<{
|
|
12130
|
+
readonly location: Schema.Struct<{
|
|
12131
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
12132
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
12133
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
12134
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
12135
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
12136
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
12137
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
12138
|
+
}>, never, never>;
|
|
12139
|
+
}>;
|
|
12140
|
+
readonly projectID: Schema.brand<Schema.String, "Project.ID"> & {
|
|
12141
|
+
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
12142
|
+
};
|
|
12143
|
+
readonly subpath: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "RelativePath">>>, Schema.optionalKey<Schema.brand<Schema.String, "RelativePath">>, never, never>;
|
|
12144
|
+
}>;
|
|
12145
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
12324
12146
|
}>]>;
|
|
12325
|
-
readonly
|
|
12147
|
+
readonly inboxID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
12326
12148
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
12327
12149
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
12328
12150
|
};
|
|
@@ -12337,65 +12159,7 @@ export declare const Durable: Schema.Union<readonly [...((Schema.Struct<{
|
|
|
12337
12159
|
};
|
|
12338
12160
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
12339
12161
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
12340
|
-
readonly type: Schema.Literal<"session.
|
|
12341
|
-
readonly durable: Schema.Struct<{
|
|
12342
|
-
readonly aggregateID: Schema.String;
|
|
12343
|
-
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
12344
|
-
readonly version: Schema.decodeTo<Schema.toType<Schema.brand<Schema.Int, "Event.Version">>, Schema.Literal<number>, never, never>;
|
|
12345
|
-
}>;
|
|
12346
|
-
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
12347
|
-
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
12348
|
-
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
12349
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
12350
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
12351
|
-
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
12352
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
12353
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
12354
|
-
}>, never, never>;
|
|
12355
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
12356
|
-
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
12357
|
-
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
12358
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
12359
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
12360
|
-
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
12361
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
12362
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
12363
|
-
}>, never, never>;
|
|
12364
|
-
}>>, never, never>;
|
|
12365
|
-
readonly data: Schema.Struct<{
|
|
12366
|
-
inputID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
12367
|
-
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
12368
|
-
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
12369
|
-
};
|
|
12370
|
-
sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
12371
|
-
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
12372
|
-
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
12373
|
-
};
|
|
12374
|
-
}>;
|
|
12375
|
-
}> & {
|
|
12376
|
-
type: "session.input.cancelled";
|
|
12377
|
-
durability: "durable";
|
|
12378
|
-
durable: {
|
|
12379
|
-
readonly version: number;
|
|
12380
|
-
readonly aggregate: string;
|
|
12381
|
-
};
|
|
12382
|
-
data: Schema.Struct<{
|
|
12383
|
-
inputID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
12384
|
-
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
12385
|
-
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
12386
|
-
};
|
|
12387
|
-
sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
12388
|
-
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
12389
|
-
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
12390
|
-
};
|
|
12391
|
-
}>;
|
|
12392
|
-
}) | (Schema.Struct<{
|
|
12393
|
-
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
12394
|
-
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
12395
|
-
};
|
|
12396
|
-
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
12397
|
-
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
12398
|
-
readonly type: Schema.Literal<"session.input.steered">;
|
|
12162
|
+
readonly type: Schema.Literal<"session.inbox.cancelled">;
|
|
12399
12163
|
readonly durable: Schema.Struct<{
|
|
12400
12164
|
readonly aggregateID: Schema.String;
|
|
12401
12165
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -12421,7 +12185,7 @@ export declare const Durable: Schema.Union<readonly [...((Schema.Struct<{
|
|
|
12421
12185
|
}>, never, never>;
|
|
12422
12186
|
}>>, never, never>;
|
|
12423
12187
|
readonly data: Schema.Struct<{
|
|
12424
|
-
|
|
12188
|
+
inboxID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
12425
12189
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
12426
12190
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
12427
12191
|
};
|
|
@@ -12431,14 +12195,14 @@ export declare const Durable: Schema.Union<readonly [...((Schema.Struct<{
|
|
|
12431
12195
|
};
|
|
12432
12196
|
}>;
|
|
12433
12197
|
}> & {
|
|
12434
|
-
type: "session.
|
|
12198
|
+
type: "session.inbox.cancelled";
|
|
12435
12199
|
durability: "durable";
|
|
12436
12200
|
durable: {
|
|
12437
12201
|
readonly version: number;
|
|
12438
12202
|
readonly aggregate: string;
|
|
12439
12203
|
};
|
|
12440
12204
|
data: Schema.Struct<{
|
|
12441
|
-
|
|
12205
|
+
inboxID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
12442
12206
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
12443
12207
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
12444
12208
|
};
|
|
@@ -12453,7 +12217,7 @@ export declare const Durable: Schema.Union<readonly [...((Schema.Struct<{
|
|
|
12453
12217
|
};
|
|
12454
12218
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
12455
12219
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
12456
|
-
readonly type: Schema.Literal<"session.
|
|
12220
|
+
readonly type: Schema.Literal<"session.inbox.delivery.changed">;
|
|
12457
12221
|
readonly durable: Schema.Struct<{
|
|
12458
12222
|
readonly aggregateID: Schema.String;
|
|
12459
12223
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -12479,28 +12243,30 @@ export declare const Durable: Schema.Union<readonly [...((Schema.Struct<{
|
|
|
12479
12243
|
}>, never, never>;
|
|
12480
12244
|
}>>, never, never>;
|
|
12481
12245
|
readonly data: Schema.Struct<{
|
|
12482
|
-
|
|
12246
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
12247
|
+
readonly inboxID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
12483
12248
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
12484
12249
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
12485
12250
|
};
|
|
12486
|
-
sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
12251
|
+
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
12487
12252
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
12488
12253
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
12489
12254
|
};
|
|
12490
12255
|
}>;
|
|
12491
12256
|
}> & {
|
|
12492
|
-
type: "session.
|
|
12257
|
+
type: "session.inbox.delivery.changed";
|
|
12493
12258
|
durability: "durable";
|
|
12494
12259
|
durable: {
|
|
12495
12260
|
readonly version: number;
|
|
12496
12261
|
readonly aggregate: string;
|
|
12497
12262
|
};
|
|
12498
12263
|
data: Schema.Struct<{
|
|
12499
|
-
|
|
12264
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
12265
|
+
readonly inboxID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
12500
12266
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
12501
12267
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
12502
12268
|
};
|
|
12503
|
-
sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
12269
|
+
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
12504
12270
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
12505
12271
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
12506
12272
|
};
|
|
@@ -14093,64 +13859,6 @@ export declare const Durable: Schema.Union<readonly [...((Schema.Struct<{
|
|
|
14093
13859
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
14094
13860
|
};
|
|
14095
13861
|
}>;
|
|
14096
|
-
}) | (Schema.Struct<{
|
|
14097
|
-
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
14098
|
-
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
14099
|
-
};
|
|
14100
|
-
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
14101
|
-
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
14102
|
-
readonly type: Schema.Literal<"session.compaction.admitted">;
|
|
14103
|
-
readonly durable: Schema.Struct<{
|
|
14104
|
-
readonly aggregateID: Schema.String;
|
|
14105
|
-
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
14106
|
-
readonly version: Schema.decodeTo<Schema.toType<Schema.brand<Schema.Int, "Event.Version">>, Schema.Literal<number>, never, never>;
|
|
14107
|
-
}>;
|
|
14108
|
-
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
14109
|
-
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
14110
|
-
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
14111
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
14112
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
14113
|
-
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
14114
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
14115
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
14116
|
-
}>, never, never>;
|
|
14117
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
14118
|
-
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
14119
|
-
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
14120
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
14121
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
14122
|
-
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
14123
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
14124
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
14125
|
-
}>, never, never>;
|
|
14126
|
-
}>>, never, never>;
|
|
14127
|
-
readonly data: Schema.Struct<{
|
|
14128
|
-
readonly inputID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
14129
|
-
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
14130
|
-
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
14131
|
-
};
|
|
14132
|
-
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
14133
|
-
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
14134
|
-
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
14135
|
-
};
|
|
14136
|
-
}>;
|
|
14137
|
-
}> & {
|
|
14138
|
-
type: "session.compaction.admitted";
|
|
14139
|
-
durability: "durable";
|
|
14140
|
-
durable: {
|
|
14141
|
-
readonly version: number;
|
|
14142
|
-
readonly aggregate: string;
|
|
14143
|
-
};
|
|
14144
|
-
data: Schema.Struct<{
|
|
14145
|
-
readonly inputID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
14146
|
-
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
14147
|
-
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
14148
|
-
};
|
|
14149
|
-
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
14150
|
-
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
14151
|
-
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
14152
|
-
};
|
|
14153
|
-
}>;
|
|
14154
13862
|
}) | (Schema.Struct<{
|
|
14155
13863
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
14156
13864
|
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -15101,11 +14809,9 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Union<re
|
|
|
15101
14809
|
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
15102
14810
|
}>, never, never>;
|
|
15103
14811
|
}>;
|
|
15104
|
-
readonly projectID: Schema.
|
|
15105
|
-
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
15106
|
-
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Project.ID"> & {
|
|
14812
|
+
readonly projectID: Schema.brand<Schema.String, "Project.ID"> & {
|
|
15107
14813
|
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
15108
|
-
}
|
|
14814
|
+
};
|
|
15109
14815
|
readonly subpath: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "RelativePath">>>, Schema.optionalKey<Schema.brand<Schema.String, "RelativePath">>, never, never>;
|
|
15110
14816
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
15111
14817
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -15130,11 +14836,9 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Union<re
|
|
|
15130
14836
|
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
15131
14837
|
}>, never, never>;
|
|
15132
14838
|
}>;
|
|
15133
|
-
readonly projectID: Schema.
|
|
15134
|
-
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
15135
|
-
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Project.ID"> & {
|
|
14839
|
+
readonly projectID: Schema.brand<Schema.String, "Project.ID"> & {
|
|
15136
14840
|
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
15137
|
-
}
|
|
14841
|
+
};
|
|
15138
14842
|
readonly subpath: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "RelativePath">>>, Schema.optionalKey<Schema.brand<Schema.String, "RelativePath">>, never, never>;
|
|
15139
14843
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
15140
14844
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -15335,7 +15039,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Union<re
|
|
|
15335
15039
|
};
|
|
15336
15040
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
15337
15041
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
15338
|
-
readonly type: Schema.Literal<"session.
|
|
15042
|
+
readonly type: Schema.Literal<"session.inbox.delivered">;
|
|
15339
15043
|
readonly durable: Schema.Struct<{
|
|
15340
15044
|
readonly aggregateID: Schema.String;
|
|
15341
15045
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -15361,7 +15065,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Union<re
|
|
|
15361
15065
|
}>, never, never>;
|
|
15362
15066
|
}>>, never, never>;
|
|
15363
15067
|
readonly data: Schema.Struct<{
|
|
15364
|
-
|
|
15068
|
+
inboxID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
15365
15069
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
15366
15070
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
15367
15071
|
};
|
|
@@ -15371,14 +15075,14 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Union<re
|
|
|
15371
15075
|
};
|
|
15372
15076
|
}>;
|
|
15373
15077
|
}> & {
|
|
15374
|
-
type: "session.
|
|
15078
|
+
type: "session.inbox.delivered";
|
|
15375
15079
|
durability: "durable";
|
|
15376
15080
|
durable: {
|
|
15377
15081
|
readonly version: number;
|
|
15378
15082
|
readonly aggregate: string;
|
|
15379
15083
|
};
|
|
15380
15084
|
data: Schema.Struct<{
|
|
15381
|
-
|
|
15085
|
+
inboxID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
15382
15086
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
15383
15087
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
15384
15088
|
};
|
|
@@ -15393,7 +15097,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Union<re
|
|
|
15393
15097
|
};
|
|
15394
15098
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
15395
15099
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
15396
|
-
readonly type: Schema.Literal<"session.
|
|
15100
|
+
readonly type: Schema.Literal<"session.inbox.enqueued">;
|
|
15397
15101
|
readonly durable: Schema.Struct<{
|
|
15398
15102
|
readonly aggregateID: Schema.String;
|
|
15399
15103
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -15419,9 +15123,9 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Union<re
|
|
|
15419
15123
|
}>, never, never>;
|
|
15420
15124
|
}>>, never, never>;
|
|
15421
15125
|
readonly data: Schema.Struct<{
|
|
15422
|
-
readonly
|
|
15126
|
+
readonly item: Schema.Union<readonly [Schema.Struct<{
|
|
15423
15127
|
readonly type: Schema.tag<"user">;
|
|
15424
|
-
readonly
|
|
15128
|
+
readonly payload: Schema.Struct<{
|
|
15425
15129
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
15426
15130
|
readonly text: Schema.String;
|
|
15427
15131
|
readonly files: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
@@ -15555,14 +15259,37 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Union<re
|
|
|
15555
15259
|
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
15556
15260
|
}>, Schema.Struct<{
|
|
15557
15261
|
readonly type: Schema.tag<"synthetic">;
|
|
15558
|
-
readonly
|
|
15262
|
+
readonly payload: Schema.Struct<{
|
|
15559
15263
|
readonly text: Schema.String;
|
|
15560
15264
|
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
15561
15265
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
15562
15266
|
}>;
|
|
15563
15267
|
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
15268
|
+
}>, Schema.Struct<{
|
|
15269
|
+
readonly type: Schema.tag<"compaction">;
|
|
15270
|
+
readonly payload: Schema.Struct<{}>;
|
|
15271
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
15272
|
+
}>, Schema.Struct<{
|
|
15273
|
+
readonly type: Schema.tag<"move">;
|
|
15274
|
+
readonly payload: Schema.Struct<{
|
|
15275
|
+
readonly location: Schema.Struct<{
|
|
15276
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
15277
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
15278
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
15279
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
15280
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
15281
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
15282
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
15283
|
+
}>, never, never>;
|
|
15284
|
+
}>;
|
|
15285
|
+
readonly projectID: Schema.brand<Schema.String, "Project.ID"> & {
|
|
15286
|
+
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
15287
|
+
};
|
|
15288
|
+
readonly subpath: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "RelativePath">>>, Schema.optionalKey<Schema.brand<Schema.String, "RelativePath">>, never, never>;
|
|
15289
|
+
}>;
|
|
15290
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
15564
15291
|
}>]>;
|
|
15565
|
-
readonly
|
|
15292
|
+
readonly inboxID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
15566
15293
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
15567
15294
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
15568
15295
|
};
|
|
@@ -15572,16 +15299,16 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Union<re
|
|
|
15572
15299
|
};
|
|
15573
15300
|
}>;
|
|
15574
15301
|
}> & {
|
|
15575
|
-
type: "session.
|
|
15302
|
+
type: "session.inbox.enqueued";
|
|
15576
15303
|
durability: "durable";
|
|
15577
15304
|
durable: {
|
|
15578
15305
|
readonly version: number;
|
|
15579
15306
|
readonly aggregate: string;
|
|
15580
15307
|
};
|
|
15581
15308
|
data: Schema.Struct<{
|
|
15582
|
-
readonly
|
|
15309
|
+
readonly item: Schema.Union<readonly [Schema.Struct<{
|
|
15583
15310
|
readonly type: Schema.tag<"user">;
|
|
15584
|
-
readonly
|
|
15311
|
+
readonly payload: Schema.Struct<{
|
|
15585
15312
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
15586
15313
|
readonly text: Schema.String;
|
|
15587
15314
|
readonly files: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
@@ -15715,14 +15442,37 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Union<re
|
|
|
15715
15442
|
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
15716
15443
|
}>, Schema.Struct<{
|
|
15717
15444
|
readonly type: Schema.tag<"synthetic">;
|
|
15718
|
-
readonly
|
|
15445
|
+
readonly payload: Schema.Struct<{
|
|
15719
15446
|
readonly text: Schema.String;
|
|
15720
15447
|
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
15721
15448
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
15722
15449
|
}>;
|
|
15723
15450
|
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
15451
|
+
}>, Schema.Struct<{
|
|
15452
|
+
readonly type: Schema.tag<"compaction">;
|
|
15453
|
+
readonly payload: Schema.Struct<{}>;
|
|
15454
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
15455
|
+
}>, Schema.Struct<{
|
|
15456
|
+
readonly type: Schema.tag<"move">;
|
|
15457
|
+
readonly payload: Schema.Struct<{
|
|
15458
|
+
readonly location: Schema.Struct<{
|
|
15459
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
15460
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
15461
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
15462
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
15463
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
15464
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
15465
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
15466
|
+
}>, never, never>;
|
|
15467
|
+
}>;
|
|
15468
|
+
readonly projectID: Schema.brand<Schema.String, "Project.ID"> & {
|
|
15469
|
+
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
15470
|
+
};
|
|
15471
|
+
readonly subpath: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "RelativePath">>>, Schema.optionalKey<Schema.brand<Schema.String, "RelativePath">>, never, never>;
|
|
15472
|
+
}>;
|
|
15473
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
15724
15474
|
}>]>;
|
|
15725
|
-
readonly
|
|
15475
|
+
readonly inboxID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
15726
15476
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
15727
15477
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
15728
15478
|
};
|
|
@@ -15737,65 +15487,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Union<re
|
|
|
15737
15487
|
};
|
|
15738
15488
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
15739
15489
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
15740
|
-
readonly type: Schema.Literal<"session.
|
|
15741
|
-
readonly durable: Schema.Struct<{
|
|
15742
|
-
readonly aggregateID: Schema.String;
|
|
15743
|
-
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
15744
|
-
readonly version: Schema.decodeTo<Schema.toType<Schema.brand<Schema.Int, "Event.Version">>, Schema.Literal<number>, never, never>;
|
|
15745
|
-
}>;
|
|
15746
|
-
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
15747
|
-
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
15748
|
-
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
15749
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
15750
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
15751
|
-
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
15752
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
15753
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
15754
|
-
}>, never, never>;
|
|
15755
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
15756
|
-
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
15757
|
-
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
15758
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
15759
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
15760
|
-
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
15761
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
15762
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
15763
|
-
}>, never, never>;
|
|
15764
|
-
}>>, never, never>;
|
|
15765
|
-
readonly data: Schema.Struct<{
|
|
15766
|
-
inputID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
15767
|
-
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
15768
|
-
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
15769
|
-
};
|
|
15770
|
-
sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
15771
|
-
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
15772
|
-
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
15773
|
-
};
|
|
15774
|
-
}>;
|
|
15775
|
-
}> & {
|
|
15776
|
-
type: "session.input.cancelled";
|
|
15777
|
-
durability: "durable";
|
|
15778
|
-
durable: {
|
|
15779
|
-
readonly version: number;
|
|
15780
|
-
readonly aggregate: string;
|
|
15781
|
-
};
|
|
15782
|
-
data: Schema.Struct<{
|
|
15783
|
-
inputID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
15784
|
-
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
15785
|
-
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
15786
|
-
};
|
|
15787
|
-
sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
15788
|
-
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
15789
|
-
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
15790
|
-
};
|
|
15791
|
-
}>;
|
|
15792
|
-
}) | (Schema.Struct<{
|
|
15793
|
-
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
15794
|
-
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
15795
|
-
};
|
|
15796
|
-
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
15797
|
-
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
15798
|
-
readonly type: Schema.Literal<"session.input.steered">;
|
|
15490
|
+
readonly type: Schema.Literal<"session.inbox.cancelled">;
|
|
15799
15491
|
readonly durable: Schema.Struct<{
|
|
15800
15492
|
readonly aggregateID: Schema.String;
|
|
15801
15493
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -15821,7 +15513,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Union<re
|
|
|
15821
15513
|
}>, never, never>;
|
|
15822
15514
|
}>>, never, never>;
|
|
15823
15515
|
readonly data: Schema.Struct<{
|
|
15824
|
-
|
|
15516
|
+
inboxID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
15825
15517
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
15826
15518
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
15827
15519
|
};
|
|
@@ -15831,14 +15523,14 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Union<re
|
|
|
15831
15523
|
};
|
|
15832
15524
|
}>;
|
|
15833
15525
|
}> & {
|
|
15834
|
-
type: "session.
|
|
15526
|
+
type: "session.inbox.cancelled";
|
|
15835
15527
|
durability: "durable";
|
|
15836
15528
|
durable: {
|
|
15837
15529
|
readonly version: number;
|
|
15838
15530
|
readonly aggregate: string;
|
|
15839
15531
|
};
|
|
15840
15532
|
data: Schema.Struct<{
|
|
15841
|
-
|
|
15533
|
+
inboxID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
15842
15534
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
15843
15535
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
15844
15536
|
};
|
|
@@ -15853,7 +15545,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Union<re
|
|
|
15853
15545
|
};
|
|
15854
15546
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
15855
15547
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
15856
|
-
readonly type: Schema.Literal<"session.
|
|
15548
|
+
readonly type: Schema.Literal<"session.inbox.delivery.changed">;
|
|
15857
15549
|
readonly durable: Schema.Struct<{
|
|
15858
15550
|
readonly aggregateID: Schema.String;
|
|
15859
15551
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -15879,28 +15571,30 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Union<re
|
|
|
15879
15571
|
}>, never, never>;
|
|
15880
15572
|
}>>, never, never>;
|
|
15881
15573
|
readonly data: Schema.Struct<{
|
|
15882
|
-
|
|
15574
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
15575
|
+
readonly inboxID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
15883
15576
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
15884
15577
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
15885
15578
|
};
|
|
15886
|
-
sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
15579
|
+
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
15887
15580
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
15888
15581
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
15889
15582
|
};
|
|
15890
15583
|
}>;
|
|
15891
15584
|
}> & {
|
|
15892
|
-
type: "session.
|
|
15585
|
+
type: "session.inbox.delivery.changed";
|
|
15893
15586
|
durability: "durable";
|
|
15894
15587
|
durable: {
|
|
15895
15588
|
readonly version: number;
|
|
15896
15589
|
readonly aggregate: string;
|
|
15897
15590
|
};
|
|
15898
15591
|
data: Schema.Struct<{
|
|
15899
|
-
|
|
15592
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
15593
|
+
readonly inboxID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
15900
15594
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
15901
15595
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
15902
15596
|
};
|
|
15903
|
-
sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
15597
|
+
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
15904
15598
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
15905
15599
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
15906
15600
|
};
|
|
@@ -17493,64 +17187,6 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Union<re
|
|
|
17493
17187
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
17494
17188
|
};
|
|
17495
17189
|
}>;
|
|
17496
|
-
}) | (Schema.Struct<{
|
|
17497
|
-
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
17498
|
-
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
17499
|
-
};
|
|
17500
|
-
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
17501
|
-
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
17502
|
-
readonly type: Schema.Literal<"session.compaction.admitted">;
|
|
17503
|
-
readonly durable: Schema.Struct<{
|
|
17504
|
-
readonly aggregateID: Schema.String;
|
|
17505
|
-
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
17506
|
-
readonly version: Schema.decodeTo<Schema.toType<Schema.brand<Schema.Int, "Event.Version">>, Schema.Literal<number>, never, never>;
|
|
17507
|
-
}>;
|
|
17508
|
-
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
17509
|
-
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
17510
|
-
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
17511
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
17512
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
17513
|
-
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
17514
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
17515
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
17516
|
-
}>, never, never>;
|
|
17517
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
17518
|
-
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
17519
|
-
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
17520
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
17521
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
17522
|
-
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
17523
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
17524
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
17525
|
-
}>, never, never>;
|
|
17526
|
-
}>>, never, never>;
|
|
17527
|
-
readonly data: Schema.Struct<{
|
|
17528
|
-
readonly inputID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
17529
|
-
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
17530
|
-
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
17531
|
-
};
|
|
17532
|
-
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
17533
|
-
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
17534
|
-
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
17535
|
-
};
|
|
17536
|
-
}>;
|
|
17537
|
-
}> & {
|
|
17538
|
-
type: "session.compaction.admitted";
|
|
17539
|
-
durability: "durable";
|
|
17540
|
-
durable: {
|
|
17541
|
-
readonly version: number;
|
|
17542
|
-
readonly aggregate: string;
|
|
17543
|
-
};
|
|
17544
|
-
data: Schema.Struct<{
|
|
17545
|
-
readonly inputID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
17546
|
-
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
17547
|
-
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
17548
|
-
};
|
|
17549
|
-
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
17550
|
-
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
17551
|
-
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
17552
|
-
};
|
|
17553
|
-
}>;
|
|
17554
17190
|
}) | (Schema.Struct<{
|
|
17555
17191
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
17556
17192
|
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|