@opencode-ai/protocol 0.0.0-next-17335 → 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/groups/event.d.ts +180 -348
- package/dist/groups/session.d.ts +150 -212
- package/dist/groups/session.js +35 -32
- package/package.json +2 -2
package/dist/groups/event.d.ts
CHANGED
|
@@ -667,11 +667,9 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
667
667
|
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
668
668
|
}>, never, never>;
|
|
669
669
|
}>;
|
|
670
|
-
readonly projectID: Schema.
|
|
671
|
-
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
672
|
-
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Project.ID"> & {
|
|
670
|
+
readonly projectID: Schema.brand<Schema.String, "Project.ID"> & {
|
|
673
671
|
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
674
|
-
}
|
|
672
|
+
};
|
|
675
673
|
readonly subpath: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "RelativePath">>>, Schema.optionalKey<Schema.brand<Schema.String, "RelativePath">>, never, never>;
|
|
676
674
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
677
675
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -696,11 +694,9 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
696
694
|
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
697
695
|
}>, never, never>;
|
|
698
696
|
}>;
|
|
699
|
-
readonly projectID: Schema.
|
|
700
|
-
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
701
|
-
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Project.ID"> & {
|
|
697
|
+
readonly projectID: Schema.brand<Schema.String, "Project.ID"> & {
|
|
702
698
|
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
703
|
-
}
|
|
699
|
+
};
|
|
704
700
|
readonly subpath: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "RelativePath">>>, Schema.optionalKey<Schema.brand<Schema.String, "RelativePath">>, never, never>;
|
|
705
701
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
706
702
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -967,7 +963,7 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
967
963
|
};
|
|
968
964
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
969
965
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
970
|
-
readonly type: Schema.Literal<"session.
|
|
966
|
+
readonly type: Schema.Literal<"session.inbox.delivered">;
|
|
971
967
|
readonly durable: Schema.Struct<{
|
|
972
968
|
readonly aggregateID: Schema.String;
|
|
973
969
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -993,7 +989,7 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
993
989
|
}>, never, never>;
|
|
994
990
|
}>>, never, never>;
|
|
995
991
|
readonly data: Schema.Struct<{
|
|
996
|
-
|
|
992
|
+
inboxID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
997
993
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
998
994
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
999
995
|
};
|
|
@@ -1003,14 +999,14 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
1003
999
|
};
|
|
1004
1000
|
}>;
|
|
1005
1001
|
}> & {
|
|
1006
|
-
type: "session.
|
|
1002
|
+
type: "session.inbox.delivered";
|
|
1007
1003
|
durability: "durable";
|
|
1008
1004
|
durable: {
|
|
1009
1005
|
readonly version: number;
|
|
1010
1006
|
readonly aggregate: string;
|
|
1011
1007
|
};
|
|
1012
1008
|
data: Schema.Struct<{
|
|
1013
|
-
|
|
1009
|
+
inboxID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
1014
1010
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1015
1011
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1016
1012
|
};
|
|
@@ -1025,7 +1021,7 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
1025
1021
|
};
|
|
1026
1022
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
1027
1023
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
1028
|
-
readonly type: Schema.Literal<"session.
|
|
1024
|
+
readonly type: Schema.Literal<"session.inbox.enqueued">;
|
|
1029
1025
|
readonly durable: Schema.Struct<{
|
|
1030
1026
|
readonly aggregateID: Schema.String;
|
|
1031
1027
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -1051,9 +1047,9 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
1051
1047
|
}>, never, never>;
|
|
1052
1048
|
}>>, never, never>;
|
|
1053
1049
|
readonly data: Schema.Struct<{
|
|
1054
|
-
readonly
|
|
1050
|
+
readonly item: Schema.Union<readonly [Schema.Struct<{
|
|
1055
1051
|
readonly type: Schema.tag<"user">;
|
|
1056
|
-
readonly
|
|
1052
|
+
readonly payload: Schema.Struct<{
|
|
1057
1053
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
1058
1054
|
readonly text: Schema.String;
|
|
1059
1055
|
readonly files: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
@@ -1187,14 +1183,37 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
1187
1183
|
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
1188
1184
|
}>, Schema.Struct<{
|
|
1189
1185
|
readonly type: Schema.tag<"synthetic">;
|
|
1190
|
-
readonly
|
|
1186
|
+
readonly payload: Schema.Struct<{
|
|
1191
1187
|
readonly text: Schema.String;
|
|
1192
1188
|
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1193
1189
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
1194
1190
|
}>;
|
|
1195
1191
|
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
1192
|
+
}>, Schema.Struct<{
|
|
1193
|
+
readonly type: Schema.tag<"compaction">;
|
|
1194
|
+
readonly payload: Schema.Struct<{}>;
|
|
1195
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
1196
|
+
}>, Schema.Struct<{
|
|
1197
|
+
readonly type: Schema.tag<"move">;
|
|
1198
|
+
readonly payload: Schema.Struct<{
|
|
1199
|
+
readonly location: Schema.Struct<{
|
|
1200
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
1201
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
1202
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
1203
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
1204
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
1205
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
1206
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
1207
|
+
}>, never, never>;
|
|
1208
|
+
}>;
|
|
1209
|
+
readonly projectID: Schema.brand<Schema.String, "Project.ID"> & {
|
|
1210
|
+
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
1211
|
+
};
|
|
1212
|
+
readonly subpath: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "RelativePath">>>, Schema.optionalKey<Schema.brand<Schema.String, "RelativePath">>, never, never>;
|
|
1213
|
+
}>;
|
|
1214
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
1196
1215
|
}>]>;
|
|
1197
|
-
readonly
|
|
1216
|
+
readonly inboxID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
1198
1217
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1199
1218
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1200
1219
|
};
|
|
@@ -1204,16 +1223,16 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
1204
1223
|
};
|
|
1205
1224
|
}>;
|
|
1206
1225
|
}> & {
|
|
1207
|
-
type: "session.
|
|
1226
|
+
type: "session.inbox.enqueued";
|
|
1208
1227
|
durability: "durable";
|
|
1209
1228
|
durable: {
|
|
1210
1229
|
readonly version: number;
|
|
1211
1230
|
readonly aggregate: string;
|
|
1212
1231
|
};
|
|
1213
1232
|
data: Schema.Struct<{
|
|
1214
|
-
readonly
|
|
1233
|
+
readonly item: Schema.Union<readonly [Schema.Struct<{
|
|
1215
1234
|
readonly type: Schema.tag<"user">;
|
|
1216
|
-
readonly
|
|
1235
|
+
readonly payload: Schema.Struct<{
|
|
1217
1236
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
1218
1237
|
readonly text: Schema.String;
|
|
1219
1238
|
readonly files: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
@@ -1347,14 +1366,37 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
1347
1366
|
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
1348
1367
|
}>, Schema.Struct<{
|
|
1349
1368
|
readonly type: Schema.tag<"synthetic">;
|
|
1350
|
-
readonly
|
|
1369
|
+
readonly payload: Schema.Struct<{
|
|
1351
1370
|
readonly text: Schema.String;
|
|
1352
1371
|
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1353
1372
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
1354
1373
|
}>;
|
|
1355
1374
|
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
1375
|
+
}>, Schema.Struct<{
|
|
1376
|
+
readonly type: Schema.tag<"compaction">;
|
|
1377
|
+
readonly payload: Schema.Struct<{}>;
|
|
1378
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
1379
|
+
}>, Schema.Struct<{
|
|
1380
|
+
readonly type: Schema.tag<"move">;
|
|
1381
|
+
readonly payload: Schema.Struct<{
|
|
1382
|
+
readonly location: Schema.Struct<{
|
|
1383
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
1384
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
1385
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
1386
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
1387
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
1388
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
1389
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
1390
|
+
}>, never, never>;
|
|
1391
|
+
}>;
|
|
1392
|
+
readonly projectID: Schema.brand<Schema.String, "Project.ID"> & {
|
|
1393
|
+
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
1394
|
+
};
|
|
1395
|
+
readonly subpath: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "RelativePath">>>, Schema.optionalKey<Schema.brand<Schema.String, "RelativePath">>, never, never>;
|
|
1396
|
+
}>;
|
|
1397
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
1356
1398
|
}>]>;
|
|
1357
|
-
readonly
|
|
1399
|
+
readonly inboxID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
1358
1400
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1359
1401
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1360
1402
|
};
|
|
@@ -1369,65 +1411,7 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
1369
1411
|
};
|
|
1370
1412
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
1371
1413
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
1372
|
-
readonly type: Schema.Literal<"session.
|
|
1373
|
-
readonly durable: Schema.Struct<{
|
|
1374
|
-
readonly aggregateID: Schema.String;
|
|
1375
|
-
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
1376
|
-
readonly version: Schema.decodeTo<Schema.toType<Schema.brand<Schema.Int, "Event.Version">>, Schema.Literal<number>, never, never>;
|
|
1377
|
-
}>;
|
|
1378
|
-
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
1379
|
-
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
1380
|
-
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
1381
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
1382
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
1383
|
-
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
1384
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
1385
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
1386
|
-
}>, never, never>;
|
|
1387
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
1388
|
-
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
1389
|
-
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
1390
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
1391
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
1392
|
-
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
1393
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
1394
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
1395
|
-
}>, never, never>;
|
|
1396
|
-
}>>, never, never>;
|
|
1397
|
-
readonly data: Schema.Struct<{
|
|
1398
|
-
inputID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
1399
|
-
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1400
|
-
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1401
|
-
};
|
|
1402
|
-
sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
1403
|
-
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
1404
|
-
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
1405
|
-
};
|
|
1406
|
-
}>;
|
|
1407
|
-
}> & {
|
|
1408
|
-
type: "session.input.cancelled";
|
|
1409
|
-
durability: "durable";
|
|
1410
|
-
durable: {
|
|
1411
|
-
readonly version: number;
|
|
1412
|
-
readonly aggregate: string;
|
|
1413
|
-
};
|
|
1414
|
-
data: Schema.Struct<{
|
|
1415
|
-
inputID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
1416
|
-
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1417
|
-
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1418
|
-
};
|
|
1419
|
-
sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
1420
|
-
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
1421
|
-
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
1422
|
-
};
|
|
1423
|
-
}>;
|
|
1424
|
-
}, Schema.Struct<{
|
|
1425
|
-
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
1426
|
-
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
1427
|
-
};
|
|
1428
|
-
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
1429
|
-
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
1430
|
-
readonly type: Schema.Literal<"session.input.steered">;
|
|
1414
|
+
readonly type: Schema.Literal<"session.inbox.cancelled">;
|
|
1431
1415
|
readonly durable: Schema.Struct<{
|
|
1432
1416
|
readonly aggregateID: Schema.String;
|
|
1433
1417
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -1453,7 +1437,7 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
1453
1437
|
}>, never, never>;
|
|
1454
1438
|
}>>, never, never>;
|
|
1455
1439
|
readonly data: Schema.Struct<{
|
|
1456
|
-
|
|
1440
|
+
inboxID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
1457
1441
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1458
1442
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1459
1443
|
};
|
|
@@ -1463,14 +1447,14 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
1463
1447
|
};
|
|
1464
1448
|
}>;
|
|
1465
1449
|
}> & {
|
|
1466
|
-
type: "session.
|
|
1450
|
+
type: "session.inbox.cancelled";
|
|
1467
1451
|
durability: "durable";
|
|
1468
1452
|
durable: {
|
|
1469
1453
|
readonly version: number;
|
|
1470
1454
|
readonly aggregate: string;
|
|
1471
1455
|
};
|
|
1472
1456
|
data: Schema.Struct<{
|
|
1473
|
-
|
|
1457
|
+
inboxID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
1474
1458
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1475
1459
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1476
1460
|
};
|
|
@@ -1485,7 +1469,7 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
1485
1469
|
};
|
|
1486
1470
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
1487
1471
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
1488
|
-
readonly type: Schema.Literal<"session.
|
|
1472
|
+
readonly type: Schema.Literal<"session.inbox.delivery.changed">;
|
|
1489
1473
|
readonly durable: Schema.Struct<{
|
|
1490
1474
|
readonly aggregateID: Schema.String;
|
|
1491
1475
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -1511,28 +1495,30 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
1511
1495
|
}>, never, never>;
|
|
1512
1496
|
}>>, never, never>;
|
|
1513
1497
|
readonly data: Schema.Struct<{
|
|
1514
|
-
|
|
1498
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
1499
|
+
readonly inboxID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
1515
1500
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1516
1501
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1517
1502
|
};
|
|
1518
|
-
sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
1503
|
+
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
1519
1504
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
1520
1505
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
1521
1506
|
};
|
|
1522
1507
|
}>;
|
|
1523
1508
|
}> & {
|
|
1524
|
-
type: "session.
|
|
1509
|
+
type: "session.inbox.delivery.changed";
|
|
1525
1510
|
durability: "durable";
|
|
1526
1511
|
durable: {
|
|
1527
1512
|
readonly version: number;
|
|
1528
1513
|
readonly aggregate: string;
|
|
1529
1514
|
};
|
|
1530
1515
|
data: Schema.Struct<{
|
|
1531
|
-
|
|
1516
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
1517
|
+
readonly inboxID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
1532
1518
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1533
1519
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1534
1520
|
};
|
|
1535
|
-
sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
1521
|
+
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
1536
1522
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
1537
1523
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
1538
1524
|
};
|
|
@@ -3333,64 +3319,6 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
3333
3319
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
3334
3320
|
};
|
|
3335
3321
|
}>;
|
|
3336
|
-
}, Schema.Struct<{
|
|
3337
|
-
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
3338
|
-
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
3339
|
-
};
|
|
3340
|
-
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
3341
|
-
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
3342
|
-
readonly type: Schema.Literal<"session.compaction.admitted">;
|
|
3343
|
-
readonly durable: Schema.Struct<{
|
|
3344
|
-
readonly aggregateID: Schema.String;
|
|
3345
|
-
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
3346
|
-
readonly version: Schema.decodeTo<Schema.toType<Schema.brand<Schema.Int, "Event.Version">>, Schema.Literal<number>, never, never>;
|
|
3347
|
-
}>;
|
|
3348
|
-
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
3349
|
-
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
3350
|
-
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
3351
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
3352
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
3353
|
-
}>>, Schema.optionalKey<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
|
-
}>, never, never>;
|
|
3357
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
3358
|
-
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
3359
|
-
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
3360
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
3361
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
3362
|
-
}>>, Schema.optionalKey<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
|
-
}>, never, never>;
|
|
3366
|
-
}>>, never, never>;
|
|
3367
|
-
readonly data: Schema.Struct<{
|
|
3368
|
-
readonly inputID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
3369
|
-
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
3370
|
-
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
3371
|
-
};
|
|
3372
|
-
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
3373
|
-
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
3374
|
-
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
3375
|
-
};
|
|
3376
|
-
}>;
|
|
3377
|
-
}> & {
|
|
3378
|
-
type: "session.compaction.admitted";
|
|
3379
|
-
durability: "durable";
|
|
3380
|
-
durable: {
|
|
3381
|
-
readonly version: number;
|
|
3382
|
-
readonly aggregate: string;
|
|
3383
|
-
};
|
|
3384
|
-
data: Schema.Struct<{
|
|
3385
|
-
readonly inputID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
3386
|
-
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
3387
|
-
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
3388
|
-
};
|
|
3389
|
-
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
3390
|
-
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
3391
|
-
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
3392
|
-
};
|
|
3393
|
-
}>;
|
|
3394
3322
|
}, Schema.Struct<{
|
|
3395
3323
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
3396
3324
|
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -6138,7 +6066,7 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
6138
6066
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
6139
6067
|
};
|
|
6140
6068
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
6141
|
-
readonly projectID
|
|
6069
|
+
readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
|
|
6142
6070
|
readonly subpath?: (string & import("effect/Brand").Brand<"RelativePath">) | undefined;
|
|
6143
6071
|
};
|
|
6144
6072
|
readonly durable: {
|
|
@@ -6251,7 +6179,7 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
6251
6179
|
} | {
|
|
6252
6180
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
6253
6181
|
readonly data: {
|
|
6254
|
-
readonly
|
|
6182
|
+
readonly inboxID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
6255
6183
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
6256
6184
|
};
|
|
6257
6185
|
readonly durable: {
|
|
@@ -6259,7 +6187,7 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
6259
6187
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
6260
6188
|
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
6261
6189
|
};
|
|
6262
|
-
readonly type: "session.
|
|
6190
|
+
readonly type: "session.inbox.delivered";
|
|
6263
6191
|
readonly created: import("effect/DateTime").Utc;
|
|
6264
6192
|
readonly location?: {
|
|
6265
6193
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
@@ -6271,9 +6199,9 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
6271
6199
|
} | {
|
|
6272
6200
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
6273
6201
|
readonly data: {
|
|
6274
|
-
readonly
|
|
6202
|
+
readonly item: {
|
|
6275
6203
|
readonly type: "user";
|
|
6276
|
-
readonly
|
|
6204
|
+
readonly payload: {
|
|
6277
6205
|
readonly text: string;
|
|
6278
6206
|
readonly metadata?: {
|
|
6279
6207
|
readonly [x: string]: unknown;
|
|
@@ -6317,7 +6245,7 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
6317
6245
|
readonly delivery: "steer" | "queue";
|
|
6318
6246
|
} | {
|
|
6319
6247
|
readonly type: "synthetic";
|
|
6320
|
-
readonly
|
|
6248
|
+
readonly payload: {
|
|
6321
6249
|
readonly text: string;
|
|
6322
6250
|
readonly metadata?: {
|
|
6323
6251
|
readonly [x: string]: unknown;
|
|
@@ -6325,8 +6253,23 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
6325
6253
|
readonly description?: string | undefined;
|
|
6326
6254
|
};
|
|
6327
6255
|
readonly delivery: "steer" | "queue";
|
|
6256
|
+
} | {
|
|
6257
|
+
readonly type: "compaction";
|
|
6258
|
+
readonly payload: {};
|
|
6259
|
+
readonly delivery: "steer" | "queue";
|
|
6260
|
+
} | {
|
|
6261
|
+
readonly type: "move";
|
|
6262
|
+
readonly payload: {
|
|
6263
|
+
readonly location: {
|
|
6264
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
6265
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
6266
|
+
};
|
|
6267
|
+
readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
|
|
6268
|
+
readonly subpath?: (string & import("effect/Brand").Brand<"RelativePath">) | undefined;
|
|
6269
|
+
};
|
|
6270
|
+
readonly delivery: "steer" | "queue";
|
|
6328
6271
|
};
|
|
6329
|
-
readonly
|
|
6272
|
+
readonly inboxID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
6330
6273
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
6331
6274
|
};
|
|
6332
6275
|
readonly durable: {
|
|
@@ -6334,7 +6277,7 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
6334
6277
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
6335
6278
|
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
6336
6279
|
};
|
|
6337
|
-
readonly type: "session.
|
|
6280
|
+
readonly type: "session.inbox.enqueued";
|
|
6338
6281
|
readonly created: import("effect/DateTime").Utc;
|
|
6339
6282
|
readonly location?: {
|
|
6340
6283
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
@@ -6346,7 +6289,7 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
6346
6289
|
} | {
|
|
6347
6290
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
6348
6291
|
readonly data: {
|
|
6349
|
-
readonly
|
|
6292
|
+
readonly inboxID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
6350
6293
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
6351
6294
|
};
|
|
6352
6295
|
readonly durable: {
|
|
@@ -6354,7 +6297,7 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
6354
6297
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
6355
6298
|
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
6356
6299
|
};
|
|
6357
|
-
readonly type: "session.
|
|
6300
|
+
readonly type: "session.inbox.cancelled";
|
|
6358
6301
|
readonly created: import("effect/DateTime").Utc;
|
|
6359
6302
|
readonly location?: {
|
|
6360
6303
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
@@ -6366,7 +6309,8 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
6366
6309
|
} | {
|
|
6367
6310
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
6368
6311
|
readonly data: {
|
|
6369
|
-
readonly
|
|
6312
|
+
readonly delivery: "steer" | "queue";
|
|
6313
|
+
readonly inboxID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
6370
6314
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
6371
6315
|
};
|
|
6372
6316
|
readonly durable: {
|
|
@@ -6374,27 +6318,7 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
6374
6318
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
6375
6319
|
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
6376
6320
|
};
|
|
6377
|
-
readonly type: "session.
|
|
6378
|
-
readonly created: import("effect/DateTime").Utc;
|
|
6379
|
-
readonly location?: {
|
|
6380
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
6381
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
6382
|
-
} | undefined;
|
|
6383
|
-
readonly metadata?: {
|
|
6384
|
-
readonly [x: string]: unknown;
|
|
6385
|
-
} | undefined;
|
|
6386
|
-
} | {
|
|
6387
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
6388
|
-
readonly data: {
|
|
6389
|
-
readonly inputID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
6390
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
6391
|
-
};
|
|
6392
|
-
readonly durable: {
|
|
6393
|
-
readonly aggregateID: string;
|
|
6394
|
-
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
6395
|
-
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
6396
|
-
};
|
|
6397
|
-
readonly type: "session.input.queued";
|
|
6321
|
+
readonly type: "session.inbox.delivery.changed";
|
|
6398
6322
|
readonly created: import("effect/DateTime").Utc;
|
|
6399
6323
|
readonly location?: {
|
|
6400
6324
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
@@ -7088,26 +7012,6 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
7088
7012
|
readonly metadata?: {
|
|
7089
7013
|
readonly [x: string]: unknown;
|
|
7090
7014
|
} | undefined;
|
|
7091
|
-
} | {
|
|
7092
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
7093
|
-
readonly data: {
|
|
7094
|
-
readonly inputID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7095
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7096
|
-
};
|
|
7097
|
-
readonly durable: {
|
|
7098
|
-
readonly aggregateID: string;
|
|
7099
|
-
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
7100
|
-
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
7101
|
-
};
|
|
7102
|
-
readonly type: "session.compaction.admitted";
|
|
7103
|
-
readonly created: import("effect/DateTime").Utc;
|
|
7104
|
-
readonly location?: {
|
|
7105
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7106
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7107
|
-
} | undefined;
|
|
7108
|
-
readonly metadata?: {
|
|
7109
|
-
readonly [x: string]: unknown;
|
|
7110
|
-
} | undefined;
|
|
7111
7015
|
} | {
|
|
7112
7016
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
7113
7017
|
readonly data: {
|
|
@@ -8348,11 +8252,9 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
8348
8252
|
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
8349
8253
|
}>, never, never>;
|
|
8350
8254
|
}>;
|
|
8351
|
-
readonly projectID: Schema.
|
|
8352
|
-
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
8353
|
-
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Project.ID"> & {
|
|
8255
|
+
readonly projectID: Schema.brand<Schema.String, "Project.ID"> & {
|
|
8354
8256
|
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
8355
|
-
}
|
|
8257
|
+
};
|
|
8356
8258
|
readonly subpath: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "RelativePath">>>, Schema.optionalKey<Schema.brand<Schema.String, "RelativePath">>, never, never>;
|
|
8357
8259
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
8358
8260
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -8377,11 +8279,9 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
8377
8279
|
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
8378
8280
|
}>, never, never>;
|
|
8379
8281
|
}>;
|
|
8380
|
-
readonly projectID: Schema.
|
|
8381
|
-
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
8382
|
-
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Project.ID"> & {
|
|
8282
|
+
readonly projectID: Schema.brand<Schema.String, "Project.ID"> & {
|
|
8383
8283
|
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
8384
|
-
}
|
|
8284
|
+
};
|
|
8385
8285
|
readonly subpath: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "RelativePath">>>, Schema.optionalKey<Schema.brand<Schema.String, "RelativePath">>, never, never>;
|
|
8386
8286
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
8387
8287
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -8648,7 +8548,7 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
8648
8548
|
};
|
|
8649
8549
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
8650
8550
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
8651
|
-
readonly type: Schema.Literal<"session.
|
|
8551
|
+
readonly type: Schema.Literal<"session.inbox.delivered">;
|
|
8652
8552
|
readonly durable: Schema.Struct<{
|
|
8653
8553
|
readonly aggregateID: Schema.String;
|
|
8654
8554
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -8674,7 +8574,7 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
8674
8574
|
}>, never, never>;
|
|
8675
8575
|
}>>, never, never>;
|
|
8676
8576
|
readonly data: Schema.Struct<{
|
|
8677
|
-
|
|
8577
|
+
inboxID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
8678
8578
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
8679
8579
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
8680
8580
|
};
|
|
@@ -8684,14 +8584,14 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
8684
8584
|
};
|
|
8685
8585
|
}>;
|
|
8686
8586
|
}> & {
|
|
8687
|
-
type: "session.
|
|
8587
|
+
type: "session.inbox.delivered";
|
|
8688
8588
|
durability: "durable";
|
|
8689
8589
|
durable: {
|
|
8690
8590
|
readonly version: number;
|
|
8691
8591
|
readonly aggregate: string;
|
|
8692
8592
|
};
|
|
8693
8593
|
data: Schema.Struct<{
|
|
8694
|
-
|
|
8594
|
+
inboxID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
8695
8595
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
8696
8596
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
8697
8597
|
};
|
|
@@ -8706,7 +8606,7 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
8706
8606
|
};
|
|
8707
8607
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
8708
8608
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
8709
|
-
readonly type: Schema.Literal<"session.
|
|
8609
|
+
readonly type: Schema.Literal<"session.inbox.enqueued">;
|
|
8710
8610
|
readonly durable: Schema.Struct<{
|
|
8711
8611
|
readonly aggregateID: Schema.String;
|
|
8712
8612
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -8732,9 +8632,9 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
8732
8632
|
}>, never, never>;
|
|
8733
8633
|
}>>, never, never>;
|
|
8734
8634
|
readonly data: Schema.Struct<{
|
|
8735
|
-
readonly
|
|
8635
|
+
readonly item: Schema.Union<readonly [Schema.Struct<{
|
|
8736
8636
|
readonly type: Schema.tag<"user">;
|
|
8737
|
-
readonly
|
|
8637
|
+
readonly payload: Schema.Struct<{
|
|
8738
8638
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
8739
8639
|
readonly text: Schema.String;
|
|
8740
8640
|
readonly files: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
@@ -8868,14 +8768,37 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
8868
8768
|
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
8869
8769
|
}>, Schema.Struct<{
|
|
8870
8770
|
readonly type: Schema.tag<"synthetic">;
|
|
8871
|
-
readonly
|
|
8771
|
+
readonly payload: Schema.Struct<{
|
|
8872
8772
|
readonly text: Schema.String;
|
|
8873
8773
|
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
8874
8774
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
8875
8775
|
}>;
|
|
8876
8776
|
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
8777
|
+
}>, Schema.Struct<{
|
|
8778
|
+
readonly type: Schema.tag<"compaction">;
|
|
8779
|
+
readonly payload: Schema.Struct<{}>;
|
|
8780
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
8781
|
+
}>, Schema.Struct<{
|
|
8782
|
+
readonly type: Schema.tag<"move">;
|
|
8783
|
+
readonly payload: Schema.Struct<{
|
|
8784
|
+
readonly location: Schema.Struct<{
|
|
8785
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
8786
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
8787
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
8788
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
8789
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
8790
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
8791
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
8792
|
+
}>, never, never>;
|
|
8793
|
+
}>;
|
|
8794
|
+
readonly projectID: Schema.brand<Schema.String, "Project.ID"> & {
|
|
8795
|
+
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
8796
|
+
};
|
|
8797
|
+
readonly subpath: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "RelativePath">>>, Schema.optionalKey<Schema.brand<Schema.String, "RelativePath">>, never, never>;
|
|
8798
|
+
}>;
|
|
8799
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
8877
8800
|
}>]>;
|
|
8878
|
-
readonly
|
|
8801
|
+
readonly inboxID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
8879
8802
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
8880
8803
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
8881
8804
|
};
|
|
@@ -8885,16 +8808,16 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
8885
8808
|
};
|
|
8886
8809
|
}>;
|
|
8887
8810
|
}> & {
|
|
8888
|
-
type: "session.
|
|
8811
|
+
type: "session.inbox.enqueued";
|
|
8889
8812
|
durability: "durable";
|
|
8890
8813
|
durable: {
|
|
8891
8814
|
readonly version: number;
|
|
8892
8815
|
readonly aggregate: string;
|
|
8893
8816
|
};
|
|
8894
8817
|
data: Schema.Struct<{
|
|
8895
|
-
readonly
|
|
8818
|
+
readonly item: Schema.Union<readonly [Schema.Struct<{
|
|
8896
8819
|
readonly type: Schema.tag<"user">;
|
|
8897
|
-
readonly
|
|
8820
|
+
readonly payload: Schema.Struct<{
|
|
8898
8821
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
8899
8822
|
readonly text: Schema.String;
|
|
8900
8823
|
readonly files: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
@@ -9028,14 +8951,37 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
9028
8951
|
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
9029
8952
|
}>, Schema.Struct<{
|
|
9030
8953
|
readonly type: Schema.tag<"synthetic">;
|
|
9031
|
-
readonly
|
|
8954
|
+
readonly payload: Schema.Struct<{
|
|
9032
8955
|
readonly text: Schema.String;
|
|
9033
8956
|
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
9034
8957
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
9035
8958
|
}>;
|
|
9036
8959
|
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
8960
|
+
}>, Schema.Struct<{
|
|
8961
|
+
readonly type: Schema.tag<"compaction">;
|
|
8962
|
+
readonly payload: Schema.Struct<{}>;
|
|
8963
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
8964
|
+
}>, Schema.Struct<{
|
|
8965
|
+
readonly type: Schema.tag<"move">;
|
|
8966
|
+
readonly payload: Schema.Struct<{
|
|
8967
|
+
readonly location: Schema.Struct<{
|
|
8968
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
8969
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
8970
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
8971
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
8972
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
8973
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
8974
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
8975
|
+
}>, never, never>;
|
|
8976
|
+
}>;
|
|
8977
|
+
readonly projectID: Schema.brand<Schema.String, "Project.ID"> & {
|
|
8978
|
+
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
8979
|
+
};
|
|
8980
|
+
readonly subpath: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "RelativePath">>>, Schema.optionalKey<Schema.brand<Schema.String, "RelativePath">>, never, never>;
|
|
8981
|
+
}>;
|
|
8982
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
9037
8983
|
}>]>;
|
|
9038
|
-
readonly
|
|
8984
|
+
readonly inboxID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
9039
8985
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
9040
8986
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
9041
8987
|
};
|
|
@@ -9050,7 +8996,7 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
9050
8996
|
};
|
|
9051
8997
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
9052
8998
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
9053
|
-
readonly type: Schema.Literal<"session.
|
|
8999
|
+
readonly type: Schema.Literal<"session.inbox.cancelled">;
|
|
9054
9000
|
readonly durable: Schema.Struct<{
|
|
9055
9001
|
readonly aggregateID: Schema.String;
|
|
9056
9002
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -9076,7 +9022,7 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
9076
9022
|
}>, never, never>;
|
|
9077
9023
|
}>>, never, never>;
|
|
9078
9024
|
readonly data: Schema.Struct<{
|
|
9079
|
-
|
|
9025
|
+
inboxID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
9080
9026
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
9081
9027
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
9082
9028
|
};
|
|
@@ -9086,14 +9032,14 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
9086
9032
|
};
|
|
9087
9033
|
}>;
|
|
9088
9034
|
}> & {
|
|
9089
|
-
type: "session.
|
|
9035
|
+
type: "session.inbox.cancelled";
|
|
9090
9036
|
durability: "durable";
|
|
9091
9037
|
durable: {
|
|
9092
9038
|
readonly version: number;
|
|
9093
9039
|
readonly aggregate: string;
|
|
9094
9040
|
};
|
|
9095
9041
|
data: Schema.Struct<{
|
|
9096
|
-
|
|
9042
|
+
inboxID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
9097
9043
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
9098
9044
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
9099
9045
|
};
|
|
@@ -9108,7 +9054,7 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
9108
9054
|
};
|
|
9109
9055
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
9110
9056
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
9111
|
-
readonly type: Schema.Literal<"session.
|
|
9057
|
+
readonly type: Schema.Literal<"session.inbox.delivery.changed">;
|
|
9112
9058
|
readonly durable: Schema.Struct<{
|
|
9113
9059
|
readonly aggregateID: Schema.String;
|
|
9114
9060
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -9134,86 +9080,30 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
9134
9080
|
}>, never, never>;
|
|
9135
9081
|
}>>, never, never>;
|
|
9136
9082
|
readonly data: Schema.Struct<{
|
|
9137
|
-
|
|
9083
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
9084
|
+
readonly inboxID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
9138
9085
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
9139
9086
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
9140
9087
|
};
|
|
9141
|
-
sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
9142
|
-
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
9143
|
-
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
9144
|
-
};
|
|
9145
|
-
}>;
|
|
9146
|
-
}> & {
|
|
9147
|
-
type: "session.input.steered";
|
|
9148
|
-
durability: "durable";
|
|
9149
|
-
durable: {
|
|
9150
|
-
readonly version: number;
|
|
9151
|
-
readonly aggregate: string;
|
|
9152
|
-
};
|
|
9153
|
-
data: Schema.Struct<{
|
|
9154
|
-
inputID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
9155
|
-
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
9156
|
-
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
9157
|
-
};
|
|
9158
|
-
sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
9159
|
-
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
9160
|
-
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
9161
|
-
};
|
|
9162
|
-
}>;
|
|
9163
|
-
}, Schema.Struct<{
|
|
9164
|
-
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
9165
|
-
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
9166
|
-
};
|
|
9167
|
-
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
9168
|
-
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
9169
|
-
readonly type: Schema.Literal<"session.input.queued">;
|
|
9170
|
-
readonly durable: Schema.Struct<{
|
|
9171
|
-
readonly aggregateID: Schema.String;
|
|
9172
|
-
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
9173
|
-
readonly version: Schema.decodeTo<Schema.toType<Schema.brand<Schema.Int, "Event.Version">>, Schema.Literal<number>, never, never>;
|
|
9174
|
-
}>;
|
|
9175
|
-
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
9176
|
-
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
9177
|
-
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
9178
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
9179
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
9180
|
-
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
9181
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
9182
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
9183
|
-
}>, never, never>;
|
|
9184
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
9185
|
-
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
9186
|
-
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
9187
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
9188
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
9189
|
-
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
9190
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
9191
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
9192
|
-
}>, never, never>;
|
|
9193
|
-
}>>, never, never>;
|
|
9194
|
-
readonly data: Schema.Struct<{
|
|
9195
|
-
inputID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
9196
|
-
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
9197
|
-
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
9198
|
-
};
|
|
9199
|
-
sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
9088
|
+
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
9200
9089
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
9201
9090
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
9202
9091
|
};
|
|
9203
9092
|
}>;
|
|
9204
9093
|
}> & {
|
|
9205
|
-
type: "session.
|
|
9094
|
+
type: "session.inbox.delivery.changed";
|
|
9206
9095
|
durability: "durable";
|
|
9207
9096
|
durable: {
|
|
9208
9097
|
readonly version: number;
|
|
9209
9098
|
readonly aggregate: string;
|
|
9210
9099
|
};
|
|
9211
9100
|
data: Schema.Struct<{
|
|
9212
|
-
|
|
9101
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
9102
|
+
readonly inboxID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
9213
9103
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
9214
9104
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
9215
9105
|
};
|
|
9216
|
-
sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
9106
|
+
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
9217
9107
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
9218
9108
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
9219
9109
|
};
|
|
@@ -11014,64 +10904,6 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
11014
10904
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
11015
10905
|
};
|
|
11016
10906
|
}>;
|
|
11017
|
-
}, Schema.Struct<{
|
|
11018
|
-
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
11019
|
-
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
11020
|
-
};
|
|
11021
|
-
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
11022
|
-
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
11023
|
-
readonly type: Schema.Literal<"session.compaction.admitted">;
|
|
11024
|
-
readonly durable: Schema.Struct<{
|
|
11025
|
-
readonly aggregateID: Schema.String;
|
|
11026
|
-
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
11027
|
-
readonly version: Schema.decodeTo<Schema.toType<Schema.brand<Schema.Int, "Event.Version">>, Schema.Literal<number>, never, never>;
|
|
11028
|
-
}>;
|
|
11029
|
-
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
11030
|
-
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
11031
|
-
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
11032
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
11033
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
11034
|
-
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
11035
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
11036
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
11037
|
-
}>, never, never>;
|
|
11038
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
11039
|
-
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
11040
|
-
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
11041
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
11042
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
11043
|
-
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
11044
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
11045
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
11046
|
-
}>, never, never>;
|
|
11047
|
-
}>>, never, never>;
|
|
11048
|
-
readonly data: Schema.Struct<{
|
|
11049
|
-
readonly inputID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
11050
|
-
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
11051
|
-
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
11052
|
-
};
|
|
11053
|
-
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
11054
|
-
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
11055
|
-
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
11056
|
-
};
|
|
11057
|
-
}>;
|
|
11058
|
-
}> & {
|
|
11059
|
-
type: "session.compaction.admitted";
|
|
11060
|
-
durability: "durable";
|
|
11061
|
-
durable: {
|
|
11062
|
-
readonly version: number;
|
|
11063
|
-
readonly aggregate: string;
|
|
11064
|
-
};
|
|
11065
|
-
data: Schema.Struct<{
|
|
11066
|
-
readonly inputID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
11067
|
-
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
11068
|
-
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
11069
|
-
};
|
|
11070
|
-
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
11071
|
-
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
11072
|
-
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
11073
|
-
};
|
|
11074
|
-
}>;
|
|
11075
10907
|
}, Schema.Struct<{
|
|
11076
10908
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
11077
10909
|
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|