@opencode-ai/schema 0.0.0-next-17343 → 0.0.0-next-17352
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/event-manifest.d.ts
CHANGED
|
@@ -639,11 +639,9 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
639
639
|
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
640
640
|
}>, never, never>;
|
|
641
641
|
}>;
|
|
642
|
-
readonly projectID: Schema.
|
|
643
|
-
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
644
|
-
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Project.ID"> & {
|
|
642
|
+
readonly projectID: Schema.brand<Schema.String, "Project.ID"> & {
|
|
645
643
|
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
646
|
-
}
|
|
644
|
+
};
|
|
647
645
|
readonly subpath: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "RelativePath">>>, Schema.optionalKey<Schema.brand<Schema.String, "RelativePath">>, never, never>;
|
|
648
646
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
649
647
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -668,11 +666,9 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
668
666
|
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
669
667
|
}>, never, never>;
|
|
670
668
|
}>;
|
|
671
|
-
readonly projectID: Schema.
|
|
672
|
-
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
673
|
-
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Project.ID"> & {
|
|
669
|
+
readonly projectID: Schema.brand<Schema.String, "Project.ID"> & {
|
|
674
670
|
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
675
|
-
}
|
|
671
|
+
};
|
|
676
672
|
readonly subpath: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "RelativePath">>>, Schema.optionalKey<Schema.brand<Schema.String, "RelativePath">>, never, never>;
|
|
677
673
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
678
674
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -939,7 +935,7 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
939
935
|
};
|
|
940
936
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
941
937
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
942
|
-
readonly type: Schema.Literal<"session.
|
|
938
|
+
readonly type: Schema.Literal<"session.inbox.delivered">;
|
|
943
939
|
readonly durable: Schema.Struct<{
|
|
944
940
|
readonly aggregateID: Schema.String;
|
|
945
941
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -965,7 +961,7 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
965
961
|
}>, never, never>;
|
|
966
962
|
}>>, never, never>;
|
|
967
963
|
readonly data: Schema.Struct<{
|
|
968
|
-
|
|
964
|
+
inboxID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
969
965
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
970
966
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
971
967
|
};
|
|
@@ -975,14 +971,14 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
975
971
|
};
|
|
976
972
|
}>;
|
|
977
973
|
}> & {
|
|
978
|
-
type: "session.
|
|
974
|
+
type: "session.inbox.delivered";
|
|
979
975
|
durability: "durable";
|
|
980
976
|
durable: {
|
|
981
977
|
readonly version: number;
|
|
982
978
|
readonly aggregate: string;
|
|
983
979
|
};
|
|
984
980
|
data: Schema.Struct<{
|
|
985
|
-
|
|
981
|
+
inboxID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
986
982
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
987
983
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
988
984
|
};
|
|
@@ -997,7 +993,7 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
997
993
|
};
|
|
998
994
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
999
995
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
1000
|
-
readonly type: Schema.Literal<"session.
|
|
996
|
+
readonly type: Schema.Literal<"session.inbox.enqueued">;
|
|
1001
997
|
readonly durable: Schema.Struct<{
|
|
1002
998
|
readonly aggregateID: Schema.String;
|
|
1003
999
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -1023,9 +1019,9 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
1023
1019
|
}>, never, never>;
|
|
1024
1020
|
}>>, never, never>;
|
|
1025
1021
|
readonly data: Schema.Struct<{
|
|
1026
|
-
readonly
|
|
1022
|
+
readonly item: Schema.Union<readonly [Schema.Struct<{
|
|
1027
1023
|
readonly type: Schema.tag<"user">;
|
|
1028
|
-
readonly
|
|
1024
|
+
readonly payload: Schema.Struct<{
|
|
1029
1025
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
1030
1026
|
readonly text: Schema.String;
|
|
1031
1027
|
readonly files: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
@@ -1159,14 +1155,37 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
1159
1155
|
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
1160
1156
|
}>, Schema.Struct<{
|
|
1161
1157
|
readonly type: Schema.tag<"synthetic">;
|
|
1162
|
-
readonly
|
|
1158
|
+
readonly payload: Schema.Struct<{
|
|
1163
1159
|
readonly text: Schema.String;
|
|
1164
1160
|
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1165
1161
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
1166
1162
|
}>;
|
|
1167
1163
|
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
1164
|
+
}>, Schema.Struct<{
|
|
1165
|
+
readonly type: Schema.tag<"compaction">;
|
|
1166
|
+
readonly payload: Schema.Struct<{}>;
|
|
1167
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
1168
|
+
}>, Schema.Struct<{
|
|
1169
|
+
readonly type: Schema.tag<"move">;
|
|
1170
|
+
readonly payload: Schema.Struct<{
|
|
1171
|
+
readonly location: Schema.Struct<{
|
|
1172
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
1173
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
1174
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
1175
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
1176
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
1177
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
1178
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
1179
|
+
}>, never, never>;
|
|
1180
|
+
}>;
|
|
1181
|
+
readonly projectID: Schema.brand<Schema.String, "Project.ID"> & {
|
|
1182
|
+
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
1183
|
+
};
|
|
1184
|
+
readonly subpath: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "RelativePath">>>, Schema.optionalKey<Schema.brand<Schema.String, "RelativePath">>, never, never>;
|
|
1185
|
+
}>;
|
|
1186
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
1168
1187
|
}>]>;
|
|
1169
|
-
readonly
|
|
1188
|
+
readonly inboxID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
1170
1189
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1171
1190
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1172
1191
|
};
|
|
@@ -1176,16 +1195,16 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
1176
1195
|
};
|
|
1177
1196
|
}>;
|
|
1178
1197
|
}> & {
|
|
1179
|
-
type: "session.
|
|
1198
|
+
type: "session.inbox.enqueued";
|
|
1180
1199
|
durability: "durable";
|
|
1181
1200
|
durable: {
|
|
1182
1201
|
readonly version: number;
|
|
1183
1202
|
readonly aggregate: string;
|
|
1184
1203
|
};
|
|
1185
1204
|
data: Schema.Struct<{
|
|
1186
|
-
readonly
|
|
1205
|
+
readonly item: Schema.Union<readonly [Schema.Struct<{
|
|
1187
1206
|
readonly type: Schema.tag<"user">;
|
|
1188
|
-
readonly
|
|
1207
|
+
readonly payload: Schema.Struct<{
|
|
1189
1208
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
1190
1209
|
readonly text: Schema.String;
|
|
1191
1210
|
readonly files: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
@@ -1319,14 +1338,37 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
1319
1338
|
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
1320
1339
|
}>, Schema.Struct<{
|
|
1321
1340
|
readonly type: Schema.tag<"synthetic">;
|
|
1322
|
-
readonly
|
|
1341
|
+
readonly payload: Schema.Struct<{
|
|
1323
1342
|
readonly text: Schema.String;
|
|
1324
1343
|
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1325
1344
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
1326
1345
|
}>;
|
|
1327
1346
|
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
1347
|
+
}>, Schema.Struct<{
|
|
1348
|
+
readonly type: Schema.tag<"compaction">;
|
|
1349
|
+
readonly payload: Schema.Struct<{}>;
|
|
1350
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
1351
|
+
}>, Schema.Struct<{
|
|
1352
|
+
readonly type: Schema.tag<"move">;
|
|
1353
|
+
readonly payload: Schema.Struct<{
|
|
1354
|
+
readonly location: Schema.Struct<{
|
|
1355
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
1356
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
1357
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
1358
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
1359
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
1360
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
1361
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
1362
|
+
}>, never, never>;
|
|
1363
|
+
}>;
|
|
1364
|
+
readonly projectID: Schema.brand<Schema.String, "Project.ID"> & {
|
|
1365
|
+
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
1366
|
+
};
|
|
1367
|
+
readonly subpath: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "RelativePath">>>, Schema.optionalKey<Schema.brand<Schema.String, "RelativePath">>, never, never>;
|
|
1368
|
+
}>;
|
|
1369
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
1328
1370
|
}>]>;
|
|
1329
|
-
readonly
|
|
1371
|
+
readonly inboxID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
1330
1372
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1331
1373
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1332
1374
|
};
|
|
@@ -1341,65 +1383,7 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
1341
1383
|
};
|
|
1342
1384
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
1343
1385
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
1344
|
-
readonly type: Schema.Literal<"session.
|
|
1345
|
-
readonly durable: Schema.Struct<{
|
|
1346
|
-
readonly aggregateID: Schema.String;
|
|
1347
|
-
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
1348
|
-
readonly version: Schema.decodeTo<Schema.toType<Schema.brand<Schema.Int, "Event.Version">>, Schema.Literal<number>, never, never>;
|
|
1349
|
-
}>;
|
|
1350
|
-
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
1351
|
-
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
1352
|
-
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
1353
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
1354
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
1355
|
-
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
1356
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
1357
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
1358
|
-
}>, never, never>;
|
|
1359
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
1360
|
-
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
1361
|
-
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
1362
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
1363
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
1364
|
-
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
1365
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
1366
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
1367
|
-
}>, never, never>;
|
|
1368
|
-
}>>, never, never>;
|
|
1369
|
-
readonly data: Schema.Struct<{
|
|
1370
|
-
inputID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
1371
|
-
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1372
|
-
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1373
|
-
};
|
|
1374
|
-
sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
1375
|
-
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
1376
|
-
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
1377
|
-
};
|
|
1378
|
-
}>;
|
|
1379
|
-
}> & {
|
|
1380
|
-
type: "session.input.cancelled";
|
|
1381
|
-
durability: "durable";
|
|
1382
|
-
durable: {
|
|
1383
|
-
readonly version: number;
|
|
1384
|
-
readonly aggregate: string;
|
|
1385
|
-
};
|
|
1386
|
-
data: Schema.Struct<{
|
|
1387
|
-
inputID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
1388
|
-
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1389
|
-
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1390
|
-
};
|
|
1391
|
-
sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
1392
|
-
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
1393
|
-
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
1394
|
-
};
|
|
1395
|
-
}>;
|
|
1396
|
-
}, Schema.Struct<{
|
|
1397
|
-
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
1398
|
-
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
1399
|
-
};
|
|
1400
|
-
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
1401
|
-
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
1402
|
-
readonly type: Schema.Literal<"session.input.steered">;
|
|
1386
|
+
readonly type: Schema.Literal<"session.inbox.cancelled">;
|
|
1403
1387
|
readonly durable: Schema.Struct<{
|
|
1404
1388
|
readonly aggregateID: Schema.String;
|
|
1405
1389
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -1425,7 +1409,7 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
1425
1409
|
}>, never, never>;
|
|
1426
1410
|
}>>, never, never>;
|
|
1427
1411
|
readonly data: Schema.Struct<{
|
|
1428
|
-
|
|
1412
|
+
inboxID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
1429
1413
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1430
1414
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1431
1415
|
};
|
|
@@ -1435,14 +1419,14 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
1435
1419
|
};
|
|
1436
1420
|
}>;
|
|
1437
1421
|
}> & {
|
|
1438
|
-
type: "session.
|
|
1422
|
+
type: "session.inbox.cancelled";
|
|
1439
1423
|
durability: "durable";
|
|
1440
1424
|
durable: {
|
|
1441
1425
|
readonly version: number;
|
|
1442
1426
|
readonly aggregate: string;
|
|
1443
1427
|
};
|
|
1444
1428
|
data: Schema.Struct<{
|
|
1445
|
-
|
|
1429
|
+
inboxID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
1446
1430
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1447
1431
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1448
1432
|
};
|
|
@@ -1457,7 +1441,7 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
1457
1441
|
};
|
|
1458
1442
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
1459
1443
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
1460
|
-
readonly type: Schema.Literal<"session.
|
|
1444
|
+
readonly type: Schema.Literal<"session.inbox.delivery.changed">;
|
|
1461
1445
|
readonly durable: Schema.Struct<{
|
|
1462
1446
|
readonly aggregateID: Schema.String;
|
|
1463
1447
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -1483,28 +1467,30 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
1483
1467
|
}>, never, never>;
|
|
1484
1468
|
}>>, never, never>;
|
|
1485
1469
|
readonly data: Schema.Struct<{
|
|
1486
|
-
|
|
1470
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
1471
|
+
readonly inboxID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
1487
1472
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1488
1473
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1489
1474
|
};
|
|
1490
|
-
sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
1475
|
+
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
1491
1476
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
1492
1477
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
1493
1478
|
};
|
|
1494
1479
|
}>;
|
|
1495
1480
|
}> & {
|
|
1496
|
-
type: "session.
|
|
1481
|
+
type: "session.inbox.delivery.changed";
|
|
1497
1482
|
durability: "durable";
|
|
1498
1483
|
durable: {
|
|
1499
1484
|
readonly version: number;
|
|
1500
1485
|
readonly aggregate: string;
|
|
1501
1486
|
};
|
|
1502
1487
|
data: Schema.Struct<{
|
|
1503
|
-
|
|
1488
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
1489
|
+
readonly inboxID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
1504
1490
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1505
1491
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1506
1492
|
};
|
|
1507
|
-
sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
1493
|
+
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
1508
1494
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
1509
1495
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
1510
1496
|
};
|
|
@@ -3305,64 +3291,6 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
3305
3291
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
3306
3292
|
};
|
|
3307
3293
|
}>;
|
|
3308
|
-
}, Schema.Struct<{
|
|
3309
|
-
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
3310
|
-
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
3311
|
-
};
|
|
3312
|
-
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
3313
|
-
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
3314
|
-
readonly type: Schema.Literal<"session.compaction.admitted">;
|
|
3315
|
-
readonly durable: Schema.Struct<{
|
|
3316
|
-
readonly aggregateID: Schema.String;
|
|
3317
|
-
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
3318
|
-
readonly version: Schema.decodeTo<Schema.toType<Schema.brand<Schema.Int, "Event.Version">>, Schema.Literal<number>, never, never>;
|
|
3319
|
-
}>;
|
|
3320
|
-
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
3321
|
-
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
3322
|
-
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
3323
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
3324
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
3325
|
-
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
3326
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
3327
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
3328
|
-
}>, never, never>;
|
|
3329
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
3330
|
-
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
3331
|
-
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
3332
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
3333
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
3334
|
-
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
3335
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
3336
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
3337
|
-
}>, never, never>;
|
|
3338
|
-
}>>, never, never>;
|
|
3339
|
-
readonly data: Schema.Struct<{
|
|
3340
|
-
readonly inputID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
3341
|
-
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
3342
|
-
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
3343
|
-
};
|
|
3344
|
-
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
3345
|
-
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
3346
|
-
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
3347
|
-
};
|
|
3348
|
-
}>;
|
|
3349
|
-
}> & {
|
|
3350
|
-
type: "session.compaction.admitted";
|
|
3351
|
-
durability: "durable";
|
|
3352
|
-
durable: {
|
|
3353
|
-
readonly version: number;
|
|
3354
|
-
readonly aggregate: string;
|
|
3355
|
-
};
|
|
3356
|
-
data: Schema.Struct<{
|
|
3357
|
-
readonly inputID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
3358
|
-
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
3359
|
-
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
3360
|
-
};
|
|
3361
|
-
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
3362
|
-
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
3363
|
-
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
3364
|
-
};
|
|
3365
|
-
}>;
|
|
3366
3294
|
}, Schema.Struct<{
|
|
3367
3295
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
3368
3296
|
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -6257,11 +6185,9 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
6257
6185
|
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
6258
6186
|
}>, never, never>;
|
|
6259
6187
|
}>;
|
|
6260
|
-
readonly projectID: Schema.
|
|
6261
|
-
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
6262
|
-
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Project.ID"> & {
|
|
6188
|
+
readonly projectID: Schema.brand<Schema.String, "Project.ID"> & {
|
|
6263
6189
|
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
6264
|
-
}
|
|
6190
|
+
};
|
|
6265
6191
|
readonly subpath: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "RelativePath">>>, Schema.optionalKey<Schema.brand<Schema.String, "RelativePath">>, never, never>;
|
|
6266
6192
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
6267
6193
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -6286,11 +6212,9 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
6286
6212
|
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
6287
6213
|
}>, never, never>;
|
|
6288
6214
|
}>;
|
|
6289
|
-
readonly projectID: Schema.
|
|
6290
|
-
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
6291
|
-
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Project.ID"> & {
|
|
6215
|
+
readonly projectID: Schema.brand<Schema.String, "Project.ID"> & {
|
|
6292
6216
|
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
6293
|
-
}
|
|
6217
|
+
};
|
|
6294
6218
|
readonly subpath: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "RelativePath">>>, Schema.optionalKey<Schema.brand<Schema.String, "RelativePath">>, never, never>;
|
|
6295
6219
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
6296
6220
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -6557,7 +6481,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
6557
6481
|
};
|
|
6558
6482
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
6559
6483
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
6560
|
-
readonly type: Schema.Literal<"session.
|
|
6484
|
+
readonly type: Schema.Literal<"session.inbox.delivered">;
|
|
6561
6485
|
readonly durable: Schema.Struct<{
|
|
6562
6486
|
readonly aggregateID: Schema.String;
|
|
6563
6487
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -6583,7 +6507,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
6583
6507
|
}>, never, never>;
|
|
6584
6508
|
}>>, never, never>;
|
|
6585
6509
|
readonly data: Schema.Struct<{
|
|
6586
|
-
|
|
6510
|
+
inboxID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
6587
6511
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
6588
6512
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
6589
6513
|
};
|
|
@@ -6593,14 +6517,14 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
6593
6517
|
};
|
|
6594
6518
|
}>;
|
|
6595
6519
|
}> & {
|
|
6596
|
-
type: "session.
|
|
6520
|
+
type: "session.inbox.delivered";
|
|
6597
6521
|
durability: "durable";
|
|
6598
6522
|
durable: {
|
|
6599
6523
|
readonly version: number;
|
|
6600
6524
|
readonly aggregate: string;
|
|
6601
6525
|
};
|
|
6602
6526
|
data: Schema.Struct<{
|
|
6603
|
-
|
|
6527
|
+
inboxID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
6604
6528
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
6605
6529
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
6606
6530
|
};
|
|
@@ -6615,7 +6539,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
6615
6539
|
};
|
|
6616
6540
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
6617
6541
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
6618
|
-
readonly type: Schema.Literal<"session.
|
|
6542
|
+
readonly type: Schema.Literal<"session.inbox.enqueued">;
|
|
6619
6543
|
readonly durable: Schema.Struct<{
|
|
6620
6544
|
readonly aggregateID: Schema.String;
|
|
6621
6545
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -6641,9 +6565,9 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
6641
6565
|
}>, never, never>;
|
|
6642
6566
|
}>>, never, never>;
|
|
6643
6567
|
readonly data: Schema.Struct<{
|
|
6644
|
-
readonly
|
|
6568
|
+
readonly item: Schema.Union<readonly [Schema.Struct<{
|
|
6645
6569
|
readonly type: Schema.tag<"user">;
|
|
6646
|
-
readonly
|
|
6570
|
+
readonly payload: Schema.Struct<{
|
|
6647
6571
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
6648
6572
|
readonly text: Schema.String;
|
|
6649
6573
|
readonly files: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
@@ -6777,14 +6701,37 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
6777
6701
|
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
6778
6702
|
}>, Schema.Struct<{
|
|
6779
6703
|
readonly type: Schema.tag<"synthetic">;
|
|
6780
|
-
readonly
|
|
6704
|
+
readonly payload: Schema.Struct<{
|
|
6781
6705
|
readonly text: Schema.String;
|
|
6782
6706
|
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
6783
6707
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
6784
6708
|
}>;
|
|
6785
6709
|
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
6710
|
+
}>, Schema.Struct<{
|
|
6711
|
+
readonly type: Schema.tag<"compaction">;
|
|
6712
|
+
readonly payload: Schema.Struct<{}>;
|
|
6713
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
6714
|
+
}>, Schema.Struct<{
|
|
6715
|
+
readonly type: Schema.tag<"move">;
|
|
6716
|
+
readonly payload: Schema.Struct<{
|
|
6717
|
+
readonly location: Schema.Struct<{
|
|
6718
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
6719
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
6720
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
6721
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
6722
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
6723
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
6724
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
6725
|
+
}>, never, never>;
|
|
6726
|
+
}>;
|
|
6727
|
+
readonly projectID: Schema.brand<Schema.String, "Project.ID"> & {
|
|
6728
|
+
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
6729
|
+
};
|
|
6730
|
+
readonly subpath: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "RelativePath">>>, Schema.optionalKey<Schema.brand<Schema.String, "RelativePath">>, never, never>;
|
|
6731
|
+
}>;
|
|
6732
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
6786
6733
|
}>]>;
|
|
6787
|
-
readonly
|
|
6734
|
+
readonly inboxID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
6788
6735
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
6789
6736
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
6790
6737
|
};
|
|
@@ -6794,16 +6741,16 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
6794
6741
|
};
|
|
6795
6742
|
}>;
|
|
6796
6743
|
}> & {
|
|
6797
|
-
type: "session.
|
|
6744
|
+
type: "session.inbox.enqueued";
|
|
6798
6745
|
durability: "durable";
|
|
6799
6746
|
durable: {
|
|
6800
6747
|
readonly version: number;
|
|
6801
6748
|
readonly aggregate: string;
|
|
6802
6749
|
};
|
|
6803
6750
|
data: Schema.Struct<{
|
|
6804
|
-
readonly
|
|
6751
|
+
readonly item: Schema.Union<readonly [Schema.Struct<{
|
|
6805
6752
|
readonly type: Schema.tag<"user">;
|
|
6806
|
-
readonly
|
|
6753
|
+
readonly payload: Schema.Struct<{
|
|
6807
6754
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
6808
6755
|
readonly text: Schema.String;
|
|
6809
6756
|
readonly files: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
@@ -6937,14 +6884,37 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
6937
6884
|
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
6938
6885
|
}>, Schema.Struct<{
|
|
6939
6886
|
readonly type: Schema.tag<"synthetic">;
|
|
6940
|
-
readonly
|
|
6887
|
+
readonly payload: Schema.Struct<{
|
|
6941
6888
|
readonly text: Schema.String;
|
|
6942
6889
|
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
6943
6890
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
6944
6891
|
}>;
|
|
6945
6892
|
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
6893
|
+
}>, Schema.Struct<{
|
|
6894
|
+
readonly type: Schema.tag<"compaction">;
|
|
6895
|
+
readonly payload: Schema.Struct<{}>;
|
|
6896
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
6897
|
+
}>, Schema.Struct<{
|
|
6898
|
+
readonly type: Schema.tag<"move">;
|
|
6899
|
+
readonly payload: Schema.Struct<{
|
|
6900
|
+
readonly location: Schema.Struct<{
|
|
6901
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
6902
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
6903
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
6904
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
6905
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
6906
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
6907
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
6908
|
+
}>, never, never>;
|
|
6909
|
+
}>;
|
|
6910
|
+
readonly projectID: Schema.brand<Schema.String, "Project.ID"> & {
|
|
6911
|
+
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
6912
|
+
};
|
|
6913
|
+
readonly subpath: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "RelativePath">>>, Schema.optionalKey<Schema.brand<Schema.String, "RelativePath">>, never, never>;
|
|
6914
|
+
}>;
|
|
6915
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
6946
6916
|
}>]>;
|
|
6947
|
-
readonly
|
|
6917
|
+
readonly inboxID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
6948
6918
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
6949
6919
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
6950
6920
|
};
|
|
@@ -6959,65 +6929,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
6959
6929
|
};
|
|
6960
6930
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
6961
6931
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
6962
|
-
readonly type: Schema.Literal<"session.
|
|
6963
|
-
readonly durable: Schema.Struct<{
|
|
6964
|
-
readonly aggregateID: Schema.String;
|
|
6965
|
-
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
6966
|
-
readonly version: Schema.decodeTo<Schema.toType<Schema.brand<Schema.Int, "Event.Version">>, Schema.Literal<number>, never, never>;
|
|
6967
|
-
}>;
|
|
6968
|
-
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
6969
|
-
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
6970
|
-
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
6971
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
6972
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
6973
|
-
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
6974
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
6975
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
6976
|
-
}>, never, never>;
|
|
6977
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
6978
|
-
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
6979
|
-
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
6980
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
6981
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
6982
|
-
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
6983
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
6984
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
6985
|
-
}>, never, never>;
|
|
6986
|
-
}>>, never, never>;
|
|
6987
|
-
readonly data: Schema.Struct<{
|
|
6988
|
-
inputID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
6989
|
-
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
6990
|
-
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
6991
|
-
};
|
|
6992
|
-
sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
6993
|
-
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
6994
|
-
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
6995
|
-
};
|
|
6996
|
-
}>;
|
|
6997
|
-
}> & {
|
|
6998
|
-
type: "session.input.cancelled";
|
|
6999
|
-
durability: "durable";
|
|
7000
|
-
durable: {
|
|
7001
|
-
readonly version: number;
|
|
7002
|
-
readonly aggregate: string;
|
|
7003
|
-
};
|
|
7004
|
-
data: Schema.Struct<{
|
|
7005
|
-
inputID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
7006
|
-
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7007
|
-
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7008
|
-
};
|
|
7009
|
-
sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
7010
|
-
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
7011
|
-
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
7012
|
-
};
|
|
7013
|
-
}>;
|
|
7014
|
-
}, Schema.Struct<{
|
|
7015
|
-
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
7016
|
-
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
7017
|
-
};
|
|
7018
|
-
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
7019
|
-
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
7020
|
-
readonly type: Schema.Literal<"session.input.steered">;
|
|
6932
|
+
readonly type: Schema.Literal<"session.inbox.cancelled">;
|
|
7021
6933
|
readonly durable: Schema.Struct<{
|
|
7022
6934
|
readonly aggregateID: Schema.String;
|
|
7023
6935
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -7043,7 +6955,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
7043
6955
|
}>, never, never>;
|
|
7044
6956
|
}>>, never, never>;
|
|
7045
6957
|
readonly data: Schema.Struct<{
|
|
7046
|
-
|
|
6958
|
+
inboxID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
7047
6959
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7048
6960
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7049
6961
|
};
|
|
@@ -7053,14 +6965,14 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
7053
6965
|
};
|
|
7054
6966
|
}>;
|
|
7055
6967
|
}> & {
|
|
7056
|
-
type: "session.
|
|
6968
|
+
type: "session.inbox.cancelled";
|
|
7057
6969
|
durability: "durable";
|
|
7058
6970
|
durable: {
|
|
7059
6971
|
readonly version: number;
|
|
7060
6972
|
readonly aggregate: string;
|
|
7061
6973
|
};
|
|
7062
6974
|
data: Schema.Struct<{
|
|
7063
|
-
|
|
6975
|
+
inboxID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
7064
6976
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7065
6977
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7066
6978
|
};
|
|
@@ -7075,7 +6987,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
7075
6987
|
};
|
|
7076
6988
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
7077
6989
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
7078
|
-
readonly type: Schema.Literal<"session.
|
|
6990
|
+
readonly type: Schema.Literal<"session.inbox.delivery.changed">;
|
|
7079
6991
|
readonly durable: Schema.Struct<{
|
|
7080
6992
|
readonly aggregateID: Schema.String;
|
|
7081
6993
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -7101,28 +7013,30 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
7101
7013
|
}>, never, never>;
|
|
7102
7014
|
}>>, never, never>;
|
|
7103
7015
|
readonly data: Schema.Struct<{
|
|
7104
|
-
|
|
7016
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
7017
|
+
readonly inboxID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
7105
7018
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7106
7019
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7107
7020
|
};
|
|
7108
|
-
sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
7021
|
+
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
7109
7022
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
7110
7023
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
7111
7024
|
};
|
|
7112
7025
|
}>;
|
|
7113
7026
|
}> & {
|
|
7114
|
-
type: "session.
|
|
7027
|
+
type: "session.inbox.delivery.changed";
|
|
7115
7028
|
durability: "durable";
|
|
7116
7029
|
durable: {
|
|
7117
7030
|
readonly version: number;
|
|
7118
7031
|
readonly aggregate: string;
|
|
7119
7032
|
};
|
|
7120
7033
|
data: Schema.Struct<{
|
|
7121
|
-
|
|
7034
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
7035
|
+
readonly inboxID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
7122
7036
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7123
7037
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7124
7038
|
};
|
|
7125
|
-
sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
7039
|
+
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
7126
7040
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
7127
7041
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
7128
7042
|
};
|
|
@@ -8923,64 +8837,6 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
8923
8837
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
8924
8838
|
};
|
|
8925
8839
|
}>;
|
|
8926
|
-
}, Schema.Struct<{
|
|
8927
|
-
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
8928
|
-
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
8929
|
-
};
|
|
8930
|
-
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
8931
|
-
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
8932
|
-
readonly type: Schema.Literal<"session.compaction.admitted">;
|
|
8933
|
-
readonly durable: Schema.Struct<{
|
|
8934
|
-
readonly aggregateID: Schema.String;
|
|
8935
|
-
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
8936
|
-
readonly version: Schema.decodeTo<Schema.toType<Schema.brand<Schema.Int, "Event.Version">>, Schema.Literal<number>, never, never>;
|
|
8937
|
-
}>;
|
|
8938
|
-
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
8939
|
-
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
8940
|
-
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
8941
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
8942
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
8943
|
-
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
8944
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
8945
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
8946
|
-
}>, never, never>;
|
|
8947
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
8948
|
-
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
8949
|
-
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
8950
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
8951
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
8952
|
-
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
8953
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
8954
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
8955
|
-
}>, never, never>;
|
|
8956
|
-
}>>, never, never>;
|
|
8957
|
-
readonly data: Schema.Struct<{
|
|
8958
|
-
readonly inputID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
8959
|
-
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
8960
|
-
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
8961
|
-
};
|
|
8962
|
-
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
8963
|
-
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
8964
|
-
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
8965
|
-
};
|
|
8966
|
-
}>;
|
|
8967
|
-
}> & {
|
|
8968
|
-
type: "session.compaction.admitted";
|
|
8969
|
-
durability: "durable";
|
|
8970
|
-
durable: {
|
|
8971
|
-
readonly version: number;
|
|
8972
|
-
readonly aggregate: string;
|
|
8973
|
-
};
|
|
8974
|
-
data: Schema.Struct<{
|
|
8975
|
-
readonly inputID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
8976
|
-
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
8977
|
-
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
8978
|
-
};
|
|
8979
|
-
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
8980
|
-
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
8981
|
-
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
8982
|
-
};
|
|
8983
|
-
}>;
|
|
8984
8840
|
}, Schema.Struct<{
|
|
8985
8841
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
8986
8842
|
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|