@opencode-ai/schema 0.0.0-next-14798 → 0.0.0-next-14801
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent.d.ts +6 -28
- package/dist/agent.js +2 -2
- package/dist/catalog.d.ts +6 -28
- package/dist/catalog.js +2 -2
- package/dist/command.d.ts +6 -28
- package/dist/command.js +2 -2
- package/dist/durable-event-manifest.d.ts +254 -8301
- package/dist/durable-event-manifest.js +2 -5
- package/dist/event-manifest.d.ts +994 -2747
- package/dist/event-manifest.js +2 -2
- package/dist/event.d.ts +65 -19
- package/dist/event.js +24 -5
- package/dist/filesystem-watcher.d.ts +6 -28
- package/dist/filesystem-watcher.js +2 -2
- package/dist/filesystem.d.ts +6 -28
- package/dist/filesystem.js +2 -2
- package/dist/form.d.ts +18 -84
- package/dist/form.js +4 -4
- package/dist/ide-event.d.ts +6 -28
- package/dist/ide-event.js +1 -1
- package/dist/installation-event.d.ts +12 -56
- package/dist/installation-event.js +2 -2
- package/dist/integration.d.ts +12 -56
- package/dist/integration.js +3 -3
- package/dist/lsp-event.d.ts +6 -28
- package/dist/lsp-event.js +1 -1
- package/dist/mcp-event.d.ts +18 -84
- package/dist/mcp-event.js +3 -3
- package/dist/models-dev.d.ts +6 -28
- package/dist/models-dev.js +2 -2
- package/dist/permission.d.ts +12 -56
- package/dist/permission.js +3 -3
- package/dist/plugin.d.ts +6 -28
- package/dist/plugin.js +2 -2
- package/dist/project-directories.d.ts +6 -28
- package/dist/project-directories.js +2 -2
- package/dist/project.d.ts +6 -28
- package/dist/project.js +2 -2
- package/dist/pty.d.ts +24 -112
- package/dist/pty.js +5 -5
- package/dist/question.d.ts +18 -84
- package/dist/question.js +4 -4
- package/dist/reference.d.ts +6 -28
- package/dist/reference.js +2 -2
- package/dist/server-event.d.ts +12 -56
- package/dist/server-event.js +2 -2
- package/dist/session-compaction-event.d.ts +6 -28
- package/dist/session-compaction-event.js +1 -1
- package/dist/session-event.d.ts +1900 -2530
- package/dist/session-event.js +37 -37
- package/dist/session-status-event.d.ts +12 -56
- package/dist/session-status-event.js +2 -2
- package/dist/session-todo.d.ts +6 -28
- package/dist/session-todo.js +2 -2
- package/dist/shell.d.ts +18 -84
- package/dist/shell.js +4 -4
- package/dist/skill.d.ts +6 -28
- package/dist/skill.js +2 -2
- package/dist/tui-event.d.ts +24 -112
- package/dist/tui-event.js +4 -4
- package/dist/v1/legacy-event.d.ts +6 -28
- package/dist/v1/legacy-event.js +2 -2
- package/dist/v1/permission.d.ts +12 -56
- package/dist/v1/permission.js +3 -3
- package/dist/v1/question.d.ts +18 -84
- package/dist/v1/question.js +4 -4
- package/dist/v1/session.d.ts +139 -280
- package/dist/v1/session.js +11 -11
- package/dist/vcs-event.d.ts +6 -28
- package/dist/vcs-event.js +1 -1
- package/dist/workspace-event.d.ts +18 -84
- package/dist/workspace-event.js +3 -3
- package/dist/worktree-event.d.ts +12 -56
- package/dist/worktree-event.js +2 -2
- package/package.json +1 -1
package/dist/v1/session.d.ts
CHANGED
|
@@ -2253,15 +2253,6 @@ export declare const PartDelta: Schema.Struct<{
|
|
|
2253
2253
|
};
|
|
2254
2254
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
2255
2255
|
readonly type: Schema.Literal<"message.part.delta">;
|
|
2256
|
-
readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
2257
|
-
readonly aggregateID: Schema.String;
|
|
2258
|
-
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
2259
|
-
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
2260
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
2261
|
-
readonly aggregateID: Schema.String;
|
|
2262
|
-
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
2263
|
-
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
2264
|
-
}>>, never, never>;
|
|
2265
2256
|
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
2266
2257
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
2267
2258
|
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
@@ -2296,6 +2287,9 @@ export declare const PartDelta: Schema.Struct<{
|
|
|
2296
2287
|
readonly delta: Schema.String;
|
|
2297
2288
|
}>;
|
|
2298
2289
|
}> & {
|
|
2290
|
+
type: "message.part.delta";
|
|
2291
|
+
durability: "ephemeral";
|
|
2292
|
+
durable: undefined;
|
|
2299
2293
|
data: Schema.Struct<{
|
|
2300
2294
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
2301
2295
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -2310,11 +2304,6 @@ export declare const PartDelta: Schema.Struct<{
|
|
|
2310
2304
|
readonly field: Schema.String;
|
|
2311
2305
|
readonly delta: Schema.String;
|
|
2312
2306
|
}>;
|
|
2313
|
-
durable?: {
|
|
2314
|
-
readonly version: number;
|
|
2315
|
-
readonly aggregate: string;
|
|
2316
|
-
} | undefined;
|
|
2317
|
-
type: "message.part.delta";
|
|
2318
2307
|
};
|
|
2319
2308
|
export declare const Diff: Schema.Struct<{
|
|
2320
2309
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
@@ -2322,15 +2311,6 @@ export declare const Diff: Schema.Struct<{
|
|
|
2322
2311
|
};
|
|
2323
2312
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
2324
2313
|
readonly type: Schema.Literal<"session.diff">;
|
|
2325
|
-
readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
2326
|
-
readonly aggregateID: Schema.String;
|
|
2327
|
-
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
2328
|
-
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
2329
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
2330
|
-
readonly aggregateID: Schema.String;
|
|
2331
|
-
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
2332
|
-
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
2333
|
-
}>>, never, never>;
|
|
2334
2314
|
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
2335
2315
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
2336
2316
|
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
@@ -2364,6 +2344,9 @@ export declare const Diff: Schema.Struct<{
|
|
|
2364
2344
|
}>>;
|
|
2365
2345
|
}>;
|
|
2366
2346
|
}> & {
|
|
2347
|
+
type: "session.diff";
|
|
2348
|
+
durability: "ephemeral";
|
|
2349
|
+
durable: undefined;
|
|
2367
2350
|
data: Schema.Struct<{
|
|
2368
2351
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
2369
2352
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -2377,11 +2360,6 @@ export declare const Diff: Schema.Struct<{
|
|
|
2377
2360
|
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["added", "deleted", "modified"]>>>, Schema.optionalKey<Schema.Literals<readonly ["added", "deleted", "modified"]>>, never, never>;
|
|
2378
2361
|
}>>;
|
|
2379
2362
|
}>;
|
|
2380
|
-
durable?: {
|
|
2381
|
-
readonly version: number;
|
|
2382
|
-
readonly aggregate: string;
|
|
2383
|
-
} | undefined;
|
|
2384
|
-
type: "session.diff";
|
|
2385
2363
|
};
|
|
2386
2364
|
export declare const Error: Schema.Struct<{
|
|
2387
2365
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
@@ -2389,15 +2367,6 @@ export declare const Error: Schema.Struct<{
|
|
|
2389
2367
|
};
|
|
2390
2368
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
2391
2369
|
readonly type: Schema.Literal<"session.error">;
|
|
2392
|
-
readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
2393
|
-
readonly aggregateID: Schema.String;
|
|
2394
|
-
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
2395
|
-
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
2396
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
2397
|
-
readonly aggregateID: Schema.String;
|
|
2398
|
-
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
2399
|
-
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
2400
|
-
}>>, never, never>;
|
|
2401
2370
|
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
2402
2371
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
2403
2372
|
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
@@ -2472,6 +2441,9 @@ export declare const Error: Schema.Struct<{
|
|
|
2472
2441
|
}>]>>;
|
|
2473
2442
|
}>;
|
|
2474
2443
|
}> & {
|
|
2444
|
+
type: "session.error";
|
|
2445
|
+
durability: "ephemeral";
|
|
2446
|
+
durable: undefined;
|
|
2475
2447
|
data: Schema.Struct<{
|
|
2476
2448
|
readonly sessionID: Schema.optional<Schema.brand<Schema.String, "SessionID"> & {
|
|
2477
2449
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -2526,11 +2498,6 @@ export declare const Error: Schema.Struct<{
|
|
|
2526
2498
|
}>;
|
|
2527
2499
|
}>]>>;
|
|
2528
2500
|
}>;
|
|
2529
|
-
durable?: {
|
|
2530
|
-
readonly version: number;
|
|
2531
|
-
readonly aggregate: string;
|
|
2532
|
-
} | undefined;
|
|
2533
|
-
type: "session.error";
|
|
2534
2501
|
};
|
|
2535
2502
|
export declare const Event: {
|
|
2536
2503
|
PartDelta: Schema.Struct<{
|
|
@@ -2539,15 +2506,6 @@ export declare const Event: {
|
|
|
2539
2506
|
};
|
|
2540
2507
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
2541
2508
|
readonly type: Schema.Literal<"message.part.delta">;
|
|
2542
|
-
readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
2543
|
-
readonly aggregateID: Schema.String;
|
|
2544
|
-
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
2545
|
-
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
2546
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
2547
|
-
readonly aggregateID: Schema.String;
|
|
2548
|
-
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
2549
|
-
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
2550
|
-
}>>, never, never>;
|
|
2551
2509
|
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
2552
2510
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
2553
2511
|
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
@@ -2582,6 +2540,9 @@ export declare const Event: {
|
|
|
2582
2540
|
readonly delta: Schema.String;
|
|
2583
2541
|
}>;
|
|
2584
2542
|
}> & {
|
|
2543
|
+
type: "message.part.delta";
|
|
2544
|
+
durability: "ephemeral";
|
|
2545
|
+
durable: undefined;
|
|
2585
2546
|
data: Schema.Struct<{
|
|
2586
2547
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
2587
2548
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -2596,11 +2557,6 @@ export declare const Event: {
|
|
|
2596
2557
|
readonly field: Schema.String;
|
|
2597
2558
|
readonly delta: Schema.String;
|
|
2598
2559
|
}>;
|
|
2599
|
-
durable?: {
|
|
2600
|
-
readonly version: number;
|
|
2601
|
-
readonly aggregate: string;
|
|
2602
|
-
} | undefined;
|
|
2603
|
-
type: "message.part.delta";
|
|
2604
2560
|
};
|
|
2605
2561
|
Diff: Schema.Struct<{
|
|
2606
2562
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
@@ -2608,15 +2564,6 @@ export declare const Event: {
|
|
|
2608
2564
|
};
|
|
2609
2565
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
2610
2566
|
readonly type: Schema.Literal<"session.diff">;
|
|
2611
|
-
readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
2612
|
-
readonly aggregateID: Schema.String;
|
|
2613
|
-
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
2614
|
-
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
2615
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
2616
|
-
readonly aggregateID: Schema.String;
|
|
2617
|
-
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
2618
|
-
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
2619
|
-
}>>, never, never>;
|
|
2620
2567
|
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
2621
2568
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
2622
2569
|
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
@@ -2650,6 +2597,9 @@ export declare const Event: {
|
|
|
2650
2597
|
}>>;
|
|
2651
2598
|
}>;
|
|
2652
2599
|
}> & {
|
|
2600
|
+
type: "session.diff";
|
|
2601
|
+
durability: "ephemeral";
|
|
2602
|
+
durable: undefined;
|
|
2653
2603
|
data: Schema.Struct<{
|
|
2654
2604
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
2655
2605
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -2663,11 +2613,6 @@ export declare const Event: {
|
|
|
2663
2613
|
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["added", "deleted", "modified"]>>>, Schema.optionalKey<Schema.Literals<readonly ["added", "deleted", "modified"]>>, never, never>;
|
|
2664
2614
|
}>>;
|
|
2665
2615
|
}>;
|
|
2666
|
-
durable?: {
|
|
2667
|
-
readonly version: number;
|
|
2668
|
-
readonly aggregate: string;
|
|
2669
|
-
} | undefined;
|
|
2670
|
-
type: "session.diff";
|
|
2671
2616
|
};
|
|
2672
2617
|
Error: Schema.Struct<{
|
|
2673
2618
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
@@ -2675,15 +2620,6 @@ export declare const Event: {
|
|
|
2675
2620
|
};
|
|
2676
2621
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
2677
2622
|
readonly type: Schema.Literal<"session.error">;
|
|
2678
|
-
readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
2679
|
-
readonly aggregateID: Schema.String;
|
|
2680
|
-
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
2681
|
-
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
2682
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
2683
|
-
readonly aggregateID: Schema.String;
|
|
2684
|
-
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
2685
|
-
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
2686
|
-
}>>, never, never>;
|
|
2687
2623
|
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
2688
2624
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
2689
2625
|
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
@@ -2758,6 +2694,9 @@ export declare const Event: {
|
|
|
2758
2694
|
}>]>>;
|
|
2759
2695
|
}>;
|
|
2760
2696
|
}> & {
|
|
2697
|
+
type: "session.error";
|
|
2698
|
+
durability: "ephemeral";
|
|
2699
|
+
durable: undefined;
|
|
2761
2700
|
data: Schema.Struct<{
|
|
2762
2701
|
readonly sessionID: Schema.optional<Schema.brand<Schema.String, "SessionID"> & {
|
|
2763
2702
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -2812,11 +2751,6 @@ export declare const Event: {
|
|
|
2812
2751
|
}>;
|
|
2813
2752
|
}>]>>;
|
|
2814
2753
|
}>;
|
|
2815
|
-
durable?: {
|
|
2816
|
-
readonly version: number;
|
|
2817
|
-
readonly aggregate: string;
|
|
2818
|
-
} | undefined;
|
|
2819
|
-
type: "session.error";
|
|
2820
2754
|
};
|
|
2821
2755
|
Definitions: readonly [Schema.Struct<{
|
|
2822
2756
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
@@ -2824,15 +2758,11 @@ export declare const Event: {
|
|
|
2824
2758
|
};
|
|
2825
2759
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
2826
2760
|
readonly type: Schema.Literal<"session.created">;
|
|
2827
|
-
readonly durable: Schema.
|
|
2761
|
+
readonly durable: Schema.Struct<{
|
|
2828
2762
|
readonly aggregateID: Schema.String;
|
|
2829
2763
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
2830
2764
|
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
2831
|
-
}
|
|
2832
|
-
readonly aggregateID: Schema.String;
|
|
2833
|
-
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
2834
|
-
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
2835
|
-
}>>, never, never>;
|
|
2765
|
+
}>;
|
|
2836
2766
|
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
2837
2767
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
2838
2768
|
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
@@ -3018,6 +2948,12 @@ export declare const Event: {
|
|
|
3018
2948
|
}>;
|
|
3019
2949
|
}>;
|
|
3020
2950
|
}> & {
|
|
2951
|
+
type: "session.created";
|
|
2952
|
+
durability: "durable";
|
|
2953
|
+
durable: {
|
|
2954
|
+
readonly version: number;
|
|
2955
|
+
readonly aggregate: string;
|
|
2956
|
+
};
|
|
3021
2957
|
data: Schema.Struct<{
|
|
3022
2958
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
3023
2959
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -3183,26 +3119,17 @@ export declare const Event: {
|
|
|
3183
3119
|
}>>, never, never>;
|
|
3184
3120
|
}>;
|
|
3185
3121
|
}>;
|
|
3186
|
-
durable?: {
|
|
3187
|
-
readonly version: number;
|
|
3188
|
-
readonly aggregate: string;
|
|
3189
|
-
} | undefined;
|
|
3190
|
-
type: "session.created";
|
|
3191
3122
|
}, Schema.Struct<{
|
|
3192
3123
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
3193
3124
|
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
3194
3125
|
};
|
|
3195
3126
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
3196
3127
|
readonly type: Schema.Literal<"session.updated">;
|
|
3197
|
-
readonly durable: Schema.
|
|
3198
|
-
readonly aggregateID: Schema.String;
|
|
3199
|
-
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
3200
|
-
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
3201
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
3128
|
+
readonly durable: Schema.Struct<{
|
|
3202
3129
|
readonly aggregateID: Schema.String;
|
|
3203
3130
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
3204
3131
|
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
3205
|
-
}
|
|
3132
|
+
}>;
|
|
3206
3133
|
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
3207
3134
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
3208
3135
|
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
@@ -3388,6 +3315,12 @@ export declare const Event: {
|
|
|
3388
3315
|
}>;
|
|
3389
3316
|
}>;
|
|
3390
3317
|
}> & {
|
|
3318
|
+
type: "session.updated";
|
|
3319
|
+
durability: "durable";
|
|
3320
|
+
durable: {
|
|
3321
|
+
readonly version: number;
|
|
3322
|
+
readonly aggregate: string;
|
|
3323
|
+
};
|
|
3391
3324
|
data: Schema.Struct<{
|
|
3392
3325
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
3393
3326
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -3553,26 +3486,17 @@ export declare const Event: {
|
|
|
3553
3486
|
}>>, never, never>;
|
|
3554
3487
|
}>;
|
|
3555
3488
|
}>;
|
|
3556
|
-
durable?: {
|
|
3557
|
-
readonly version: number;
|
|
3558
|
-
readonly aggregate: string;
|
|
3559
|
-
} | undefined;
|
|
3560
|
-
type: "session.updated";
|
|
3561
3489
|
}, Schema.Struct<{
|
|
3562
3490
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
3563
3491
|
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
3564
3492
|
};
|
|
3565
3493
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
3566
3494
|
readonly type: Schema.Literal<"session.deleted">;
|
|
3567
|
-
readonly durable: Schema.
|
|
3495
|
+
readonly durable: Schema.Struct<{
|
|
3568
3496
|
readonly aggregateID: Schema.String;
|
|
3569
3497
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
3570
3498
|
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
3571
|
-
}
|
|
3572
|
-
readonly aggregateID: Schema.String;
|
|
3573
|
-
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
3574
|
-
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
3575
|
-
}>>, never, never>;
|
|
3499
|
+
}>;
|
|
3576
3500
|
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
3577
3501
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
3578
3502
|
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
@@ -3758,6 +3682,12 @@ export declare const Event: {
|
|
|
3758
3682
|
}>;
|
|
3759
3683
|
}>;
|
|
3760
3684
|
}> & {
|
|
3685
|
+
type: "session.deleted";
|
|
3686
|
+
durability: "durable";
|
|
3687
|
+
durable: {
|
|
3688
|
+
readonly version: number;
|
|
3689
|
+
readonly aggregate: string;
|
|
3690
|
+
};
|
|
3761
3691
|
data: Schema.Struct<{
|
|
3762
3692
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
3763
3693
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -3923,26 +3853,17 @@ export declare const Event: {
|
|
|
3923
3853
|
}>>, never, never>;
|
|
3924
3854
|
}>;
|
|
3925
3855
|
}>;
|
|
3926
|
-
durable?: {
|
|
3927
|
-
readonly version: number;
|
|
3928
|
-
readonly aggregate: string;
|
|
3929
|
-
} | undefined;
|
|
3930
|
-
type: "session.deleted";
|
|
3931
3856
|
}, Schema.Struct<{
|
|
3932
3857
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
3933
3858
|
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
3934
3859
|
};
|
|
3935
3860
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
3936
3861
|
readonly type: Schema.Literal<"message.updated">;
|
|
3937
|
-
readonly durable: Schema.
|
|
3938
|
-
readonly aggregateID: Schema.String;
|
|
3939
|
-
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
3940
|
-
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
3941
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
3862
|
+
readonly durable: Schema.Struct<{
|
|
3942
3863
|
readonly aggregateID: Schema.String;
|
|
3943
3864
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
3944
3865
|
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
3945
|
-
}
|
|
3866
|
+
}>;
|
|
3946
3867
|
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
3947
3868
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
3948
3869
|
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
@@ -4113,6 +4034,12 @@ export declare const Event: {
|
|
|
4113
4034
|
}>]>;
|
|
4114
4035
|
}>;
|
|
4115
4036
|
}> & {
|
|
4037
|
+
type: "message.updated";
|
|
4038
|
+
durability: "durable";
|
|
4039
|
+
durable: {
|
|
4040
|
+
readonly version: number;
|
|
4041
|
+
readonly aggregate: string;
|
|
4042
|
+
};
|
|
4116
4043
|
data: Schema.Struct<{
|
|
4117
4044
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
4118
4045
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -4263,26 +4190,17 @@ export declare const Event: {
|
|
|
4263
4190
|
};
|
|
4264
4191
|
}>]>;
|
|
4265
4192
|
}>;
|
|
4266
|
-
durable?: {
|
|
4267
|
-
readonly version: number;
|
|
4268
|
-
readonly aggregate: string;
|
|
4269
|
-
} | undefined;
|
|
4270
|
-
type: "message.updated";
|
|
4271
4193
|
}, Schema.Struct<{
|
|
4272
4194
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
4273
4195
|
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
4274
4196
|
};
|
|
4275
4197
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
4276
4198
|
readonly type: Schema.Literal<"message.removed">;
|
|
4277
|
-
readonly durable: Schema.
|
|
4199
|
+
readonly durable: Schema.Struct<{
|
|
4278
4200
|
readonly aggregateID: Schema.String;
|
|
4279
4201
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
4280
4202
|
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
4281
|
-
}
|
|
4282
|
-
readonly aggregateID: Schema.String;
|
|
4283
|
-
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
4284
|
-
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
4285
|
-
}>>, never, never>;
|
|
4203
|
+
}>;
|
|
4286
4204
|
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
4287
4205
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
4288
4206
|
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
@@ -4312,6 +4230,12 @@ export declare const Event: {
|
|
|
4312
4230
|
};
|
|
4313
4231
|
}>;
|
|
4314
4232
|
}> & {
|
|
4233
|
+
type: "message.removed";
|
|
4234
|
+
durability: "durable";
|
|
4235
|
+
durable: {
|
|
4236
|
+
readonly version: number;
|
|
4237
|
+
readonly aggregate: string;
|
|
4238
|
+
};
|
|
4315
4239
|
data: Schema.Struct<{
|
|
4316
4240
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
4317
4241
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -4321,26 +4245,17 @@ export declare const Event: {
|
|
|
4321
4245
|
ascending: (id?: string) => string & import("effect/Brand").Brand<"MessageID">;
|
|
4322
4246
|
};
|
|
4323
4247
|
}>;
|
|
4324
|
-
durable?: {
|
|
4325
|
-
readonly version: number;
|
|
4326
|
-
readonly aggregate: string;
|
|
4327
|
-
} | undefined;
|
|
4328
|
-
type: "message.removed";
|
|
4329
4248
|
}, Schema.Struct<{
|
|
4330
4249
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
4331
4250
|
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
4332
4251
|
};
|
|
4333
4252
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
4334
4253
|
readonly type: Schema.Literal<"message.part.updated">;
|
|
4335
|
-
readonly durable: Schema.
|
|
4336
|
-
readonly aggregateID: Schema.String;
|
|
4337
|
-
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
4338
|
-
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
4339
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
4254
|
+
readonly durable: Schema.Struct<{
|
|
4340
4255
|
readonly aggregateID: Schema.String;
|
|
4341
4256
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
4342
4257
|
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
4343
|
-
}
|
|
4258
|
+
}>;
|
|
4344
4259
|
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
4345
4260
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
4346
4261
|
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
@@ -4721,6 +4636,12 @@ export declare const Event: {
|
|
|
4721
4636
|
readonly time: Schema.Finite;
|
|
4722
4637
|
}>;
|
|
4723
4638
|
}> & {
|
|
4639
|
+
type: "message.part.updated";
|
|
4640
|
+
durability: "durable";
|
|
4641
|
+
durable: {
|
|
4642
|
+
readonly version: number;
|
|
4643
|
+
readonly aggregate: string;
|
|
4644
|
+
};
|
|
4724
4645
|
data: Schema.Struct<{
|
|
4725
4646
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
4726
4647
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -5081,26 +5002,17 @@ export declare const Event: {
|
|
|
5081
5002
|
}>]>;
|
|
5082
5003
|
readonly time: Schema.Finite;
|
|
5083
5004
|
}>;
|
|
5084
|
-
durable?: {
|
|
5085
|
-
readonly version: number;
|
|
5086
|
-
readonly aggregate: string;
|
|
5087
|
-
} | undefined;
|
|
5088
|
-
type: "message.part.updated";
|
|
5089
5005
|
}, Schema.Struct<{
|
|
5090
5006
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
5091
5007
|
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
5092
5008
|
};
|
|
5093
5009
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
5094
5010
|
readonly type: Schema.Literal<"message.part.removed">;
|
|
5095
|
-
readonly durable: Schema.
|
|
5096
|
-
readonly aggregateID: Schema.String;
|
|
5097
|
-
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
5098
|
-
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
5099
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
5011
|
+
readonly durable: Schema.Struct<{
|
|
5100
5012
|
readonly aggregateID: Schema.String;
|
|
5101
5013
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
5102
5014
|
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
5103
|
-
}
|
|
5015
|
+
}>;
|
|
5104
5016
|
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
5105
5017
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
5106
5018
|
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
@@ -5133,6 +5045,12 @@ export declare const Event: {
|
|
|
5133
5045
|
};
|
|
5134
5046
|
}>;
|
|
5135
5047
|
}> & {
|
|
5048
|
+
type: "message.part.removed";
|
|
5049
|
+
durability: "durable";
|
|
5050
|
+
durable: {
|
|
5051
|
+
readonly version: number;
|
|
5052
|
+
readonly aggregate: string;
|
|
5053
|
+
};
|
|
5136
5054
|
data: Schema.Struct<{
|
|
5137
5055
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
5138
5056
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -5145,26 +5063,12 @@ export declare const Event: {
|
|
|
5145
5063
|
ascending: (id?: string) => string & import("effect/Brand").Brand<"PartID">;
|
|
5146
5064
|
};
|
|
5147
5065
|
}>;
|
|
5148
|
-
durable?: {
|
|
5149
|
-
readonly version: number;
|
|
5150
|
-
readonly aggregate: string;
|
|
5151
|
-
} | undefined;
|
|
5152
|
-
type: "message.part.removed";
|
|
5153
5066
|
}, Schema.Struct<{
|
|
5154
5067
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
5155
5068
|
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
5156
5069
|
};
|
|
5157
5070
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
5158
5071
|
readonly type: Schema.Literal<"message.part.delta">;
|
|
5159
|
-
readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
5160
|
-
readonly aggregateID: Schema.String;
|
|
5161
|
-
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
5162
|
-
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
5163
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
5164
|
-
readonly aggregateID: Schema.String;
|
|
5165
|
-
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
5166
|
-
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
5167
|
-
}>>, never, never>;
|
|
5168
5072
|
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
5169
5073
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
5170
5074
|
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
@@ -5199,6 +5103,9 @@ export declare const Event: {
|
|
|
5199
5103
|
readonly delta: Schema.String;
|
|
5200
5104
|
}>;
|
|
5201
5105
|
}> & {
|
|
5106
|
+
type: "message.part.delta";
|
|
5107
|
+
durability: "ephemeral";
|
|
5108
|
+
durable: undefined;
|
|
5202
5109
|
data: Schema.Struct<{
|
|
5203
5110
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
5204
5111
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -5213,26 +5120,12 @@ export declare const Event: {
|
|
|
5213
5120
|
readonly field: Schema.String;
|
|
5214
5121
|
readonly delta: Schema.String;
|
|
5215
5122
|
}>;
|
|
5216
|
-
durable?: {
|
|
5217
|
-
readonly version: number;
|
|
5218
|
-
readonly aggregate: string;
|
|
5219
|
-
} | undefined;
|
|
5220
|
-
type: "message.part.delta";
|
|
5221
5123
|
}, Schema.Struct<{
|
|
5222
5124
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
5223
5125
|
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
5224
5126
|
};
|
|
5225
5127
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
5226
5128
|
readonly type: Schema.Literal<"session.diff">;
|
|
5227
|
-
readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
5228
|
-
readonly aggregateID: Schema.String;
|
|
5229
|
-
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
5230
|
-
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
5231
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
5232
|
-
readonly aggregateID: Schema.String;
|
|
5233
|
-
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
5234
|
-
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
5235
|
-
}>>, never, never>;
|
|
5236
5129
|
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
5237
5130
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
5238
5131
|
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
@@ -5266,6 +5159,9 @@ export declare const Event: {
|
|
|
5266
5159
|
}>>;
|
|
5267
5160
|
}>;
|
|
5268
5161
|
}> & {
|
|
5162
|
+
type: "session.diff";
|
|
5163
|
+
durability: "ephemeral";
|
|
5164
|
+
durable: undefined;
|
|
5269
5165
|
data: Schema.Struct<{
|
|
5270
5166
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
5271
5167
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -5279,26 +5175,12 @@ export declare const Event: {
|
|
|
5279
5175
|
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["added", "deleted", "modified"]>>>, Schema.optionalKey<Schema.Literals<readonly ["added", "deleted", "modified"]>>, never, never>;
|
|
5280
5176
|
}>>;
|
|
5281
5177
|
}>;
|
|
5282
|
-
durable?: {
|
|
5283
|
-
readonly version: number;
|
|
5284
|
-
readonly aggregate: string;
|
|
5285
|
-
} | undefined;
|
|
5286
|
-
type: "session.diff";
|
|
5287
5178
|
}, Schema.Struct<{
|
|
5288
5179
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
5289
5180
|
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
5290
5181
|
};
|
|
5291
5182
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
5292
5183
|
readonly type: Schema.Literal<"session.error">;
|
|
5293
|
-
readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
5294
|
-
readonly aggregateID: Schema.String;
|
|
5295
|
-
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
5296
|
-
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
5297
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
5298
|
-
readonly aggregateID: Schema.String;
|
|
5299
|
-
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
5300
|
-
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
5301
|
-
}>>, never, never>;
|
|
5302
5184
|
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
5303
5185
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
5304
5186
|
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
@@ -5373,6 +5255,9 @@ export declare const Event: {
|
|
|
5373
5255
|
}>]>>;
|
|
5374
5256
|
}>;
|
|
5375
5257
|
}> & {
|
|
5258
|
+
type: "session.error";
|
|
5259
|
+
durability: "ephemeral";
|
|
5260
|
+
durable: undefined;
|
|
5376
5261
|
data: Schema.Struct<{
|
|
5377
5262
|
readonly sessionID: Schema.optional<Schema.brand<Schema.String, "SessionID"> & {
|
|
5378
5263
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -5427,11 +5312,6 @@ export declare const Event: {
|
|
|
5427
5312
|
}>;
|
|
5428
5313
|
}>]>>;
|
|
5429
5314
|
}>;
|
|
5430
|
-
durable?: {
|
|
5431
|
-
readonly version: number;
|
|
5432
|
-
readonly aggregate: string;
|
|
5433
|
-
} | undefined;
|
|
5434
|
-
type: "session.error";
|
|
5435
5315
|
}];
|
|
5436
5316
|
Created: Schema.Struct<{
|
|
5437
5317
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
@@ -5439,15 +5319,11 @@ export declare const Event: {
|
|
|
5439
5319
|
};
|
|
5440
5320
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
5441
5321
|
readonly type: Schema.Literal<"session.created">;
|
|
5442
|
-
readonly durable: Schema.
|
|
5322
|
+
readonly durable: Schema.Struct<{
|
|
5443
5323
|
readonly aggregateID: Schema.String;
|
|
5444
5324
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
5445
5325
|
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
5446
|
-
}
|
|
5447
|
-
readonly aggregateID: Schema.String;
|
|
5448
|
-
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
5449
|
-
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
5450
|
-
}>>, never, never>;
|
|
5326
|
+
}>;
|
|
5451
5327
|
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
5452
5328
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
5453
5329
|
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
@@ -5633,6 +5509,12 @@ export declare const Event: {
|
|
|
5633
5509
|
}>;
|
|
5634
5510
|
}>;
|
|
5635
5511
|
}> & {
|
|
5512
|
+
type: "session.created";
|
|
5513
|
+
durability: "durable";
|
|
5514
|
+
durable: {
|
|
5515
|
+
readonly version: number;
|
|
5516
|
+
readonly aggregate: string;
|
|
5517
|
+
};
|
|
5636
5518
|
data: Schema.Struct<{
|
|
5637
5519
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
5638
5520
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -5798,11 +5680,6 @@ export declare const Event: {
|
|
|
5798
5680
|
}>>, never, never>;
|
|
5799
5681
|
}>;
|
|
5800
5682
|
}>;
|
|
5801
|
-
durable?: {
|
|
5802
|
-
readonly version: number;
|
|
5803
|
-
readonly aggregate: string;
|
|
5804
|
-
} | undefined;
|
|
5805
|
-
type: "session.created";
|
|
5806
5683
|
};
|
|
5807
5684
|
Updated: Schema.Struct<{
|
|
5808
5685
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
@@ -5810,15 +5687,11 @@ export declare const Event: {
|
|
|
5810
5687
|
};
|
|
5811
5688
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
5812
5689
|
readonly type: Schema.Literal<"session.updated">;
|
|
5813
|
-
readonly durable: Schema.
|
|
5814
|
-
readonly aggregateID: Schema.String;
|
|
5815
|
-
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
5816
|
-
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
5817
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
5690
|
+
readonly durable: Schema.Struct<{
|
|
5818
5691
|
readonly aggregateID: Schema.String;
|
|
5819
5692
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
5820
5693
|
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
5821
|
-
}
|
|
5694
|
+
}>;
|
|
5822
5695
|
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
5823
5696
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
5824
5697
|
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
@@ -6004,6 +5877,12 @@ export declare const Event: {
|
|
|
6004
5877
|
}>;
|
|
6005
5878
|
}>;
|
|
6006
5879
|
}> & {
|
|
5880
|
+
type: "session.updated";
|
|
5881
|
+
durability: "durable";
|
|
5882
|
+
durable: {
|
|
5883
|
+
readonly version: number;
|
|
5884
|
+
readonly aggregate: string;
|
|
5885
|
+
};
|
|
6007
5886
|
data: Schema.Struct<{
|
|
6008
5887
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
6009
5888
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -6169,11 +6048,6 @@ export declare const Event: {
|
|
|
6169
6048
|
}>>, never, never>;
|
|
6170
6049
|
}>;
|
|
6171
6050
|
}>;
|
|
6172
|
-
durable?: {
|
|
6173
|
-
readonly version: number;
|
|
6174
|
-
readonly aggregate: string;
|
|
6175
|
-
} | undefined;
|
|
6176
|
-
type: "session.updated";
|
|
6177
6051
|
};
|
|
6178
6052
|
Deleted: Schema.Struct<{
|
|
6179
6053
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
@@ -6181,15 +6055,11 @@ export declare const Event: {
|
|
|
6181
6055
|
};
|
|
6182
6056
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
6183
6057
|
readonly type: Schema.Literal<"session.deleted">;
|
|
6184
|
-
readonly durable: Schema.
|
|
6185
|
-
readonly aggregateID: Schema.String;
|
|
6186
|
-
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
6187
|
-
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
6188
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
6058
|
+
readonly durable: Schema.Struct<{
|
|
6189
6059
|
readonly aggregateID: Schema.String;
|
|
6190
6060
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
6191
6061
|
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
6192
|
-
}
|
|
6062
|
+
}>;
|
|
6193
6063
|
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
6194
6064
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
6195
6065
|
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
@@ -6375,6 +6245,12 @@ export declare const Event: {
|
|
|
6375
6245
|
}>;
|
|
6376
6246
|
}>;
|
|
6377
6247
|
}> & {
|
|
6248
|
+
type: "session.deleted";
|
|
6249
|
+
durability: "durable";
|
|
6250
|
+
durable: {
|
|
6251
|
+
readonly version: number;
|
|
6252
|
+
readonly aggregate: string;
|
|
6253
|
+
};
|
|
6378
6254
|
data: Schema.Struct<{
|
|
6379
6255
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
6380
6256
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -6540,11 +6416,6 @@ export declare const Event: {
|
|
|
6540
6416
|
}>>, never, never>;
|
|
6541
6417
|
}>;
|
|
6542
6418
|
}>;
|
|
6543
|
-
durable?: {
|
|
6544
|
-
readonly version: number;
|
|
6545
|
-
readonly aggregate: string;
|
|
6546
|
-
} | undefined;
|
|
6547
|
-
type: "session.deleted";
|
|
6548
6419
|
};
|
|
6549
6420
|
MessageUpdated: Schema.Struct<{
|
|
6550
6421
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
@@ -6552,15 +6423,11 @@ export declare const Event: {
|
|
|
6552
6423
|
};
|
|
6553
6424
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
6554
6425
|
readonly type: Schema.Literal<"message.updated">;
|
|
6555
|
-
readonly durable: Schema.
|
|
6426
|
+
readonly durable: Schema.Struct<{
|
|
6556
6427
|
readonly aggregateID: Schema.String;
|
|
6557
6428
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
6558
6429
|
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
6559
|
-
}
|
|
6560
|
-
readonly aggregateID: Schema.String;
|
|
6561
|
-
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
6562
|
-
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
6563
|
-
}>>, never, never>;
|
|
6430
|
+
}>;
|
|
6564
6431
|
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
6565
6432
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
6566
6433
|
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
@@ -6731,6 +6598,12 @@ export declare const Event: {
|
|
|
6731
6598
|
}>]>;
|
|
6732
6599
|
}>;
|
|
6733
6600
|
}> & {
|
|
6601
|
+
type: "message.updated";
|
|
6602
|
+
durability: "durable";
|
|
6603
|
+
durable: {
|
|
6604
|
+
readonly version: number;
|
|
6605
|
+
readonly aggregate: string;
|
|
6606
|
+
};
|
|
6734
6607
|
data: Schema.Struct<{
|
|
6735
6608
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
6736
6609
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -6881,11 +6754,6 @@ export declare const Event: {
|
|
|
6881
6754
|
};
|
|
6882
6755
|
}>]>;
|
|
6883
6756
|
}>;
|
|
6884
|
-
durable?: {
|
|
6885
|
-
readonly version: number;
|
|
6886
|
-
readonly aggregate: string;
|
|
6887
|
-
} | undefined;
|
|
6888
|
-
type: "message.updated";
|
|
6889
6757
|
};
|
|
6890
6758
|
MessageRemoved: Schema.Struct<{
|
|
6891
6759
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
@@ -6893,15 +6761,11 @@ export declare const Event: {
|
|
|
6893
6761
|
};
|
|
6894
6762
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
6895
6763
|
readonly type: Schema.Literal<"message.removed">;
|
|
6896
|
-
readonly durable: Schema.
|
|
6897
|
-
readonly aggregateID: Schema.String;
|
|
6898
|
-
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
6899
|
-
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
6900
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
6764
|
+
readonly durable: Schema.Struct<{
|
|
6901
6765
|
readonly aggregateID: Schema.String;
|
|
6902
6766
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
6903
6767
|
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
6904
|
-
}
|
|
6768
|
+
}>;
|
|
6905
6769
|
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
6906
6770
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
6907
6771
|
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
@@ -6931,6 +6795,12 @@ export declare const Event: {
|
|
|
6931
6795
|
};
|
|
6932
6796
|
}>;
|
|
6933
6797
|
}> & {
|
|
6798
|
+
type: "message.removed";
|
|
6799
|
+
durability: "durable";
|
|
6800
|
+
durable: {
|
|
6801
|
+
readonly version: number;
|
|
6802
|
+
readonly aggregate: string;
|
|
6803
|
+
};
|
|
6934
6804
|
data: Schema.Struct<{
|
|
6935
6805
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
6936
6806
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -6940,11 +6810,6 @@ export declare const Event: {
|
|
|
6940
6810
|
ascending: (id?: string) => string & import("effect/Brand").Brand<"MessageID">;
|
|
6941
6811
|
};
|
|
6942
6812
|
}>;
|
|
6943
|
-
durable?: {
|
|
6944
|
-
readonly version: number;
|
|
6945
|
-
readonly aggregate: string;
|
|
6946
|
-
} | undefined;
|
|
6947
|
-
type: "message.removed";
|
|
6948
6813
|
};
|
|
6949
6814
|
PartUpdated: Schema.Struct<{
|
|
6950
6815
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
@@ -6952,15 +6817,11 @@ export declare const Event: {
|
|
|
6952
6817
|
};
|
|
6953
6818
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
6954
6819
|
readonly type: Schema.Literal<"message.part.updated">;
|
|
6955
|
-
readonly durable: Schema.
|
|
6820
|
+
readonly durable: Schema.Struct<{
|
|
6956
6821
|
readonly aggregateID: Schema.String;
|
|
6957
6822
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
6958
6823
|
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
6959
|
-
}
|
|
6960
|
-
readonly aggregateID: Schema.String;
|
|
6961
|
-
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
6962
|
-
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
6963
|
-
}>>, never, never>;
|
|
6824
|
+
}>;
|
|
6964
6825
|
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
6965
6826
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
6966
6827
|
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
@@ -7341,6 +7202,12 @@ export declare const Event: {
|
|
|
7341
7202
|
readonly time: Schema.Finite;
|
|
7342
7203
|
}>;
|
|
7343
7204
|
}> & {
|
|
7205
|
+
type: "message.part.updated";
|
|
7206
|
+
durability: "durable";
|
|
7207
|
+
durable: {
|
|
7208
|
+
readonly version: number;
|
|
7209
|
+
readonly aggregate: string;
|
|
7210
|
+
};
|
|
7344
7211
|
data: Schema.Struct<{
|
|
7345
7212
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
7346
7213
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -7701,11 +7568,6 @@ export declare const Event: {
|
|
|
7701
7568
|
}>]>;
|
|
7702
7569
|
readonly time: Schema.Finite;
|
|
7703
7570
|
}>;
|
|
7704
|
-
durable?: {
|
|
7705
|
-
readonly version: number;
|
|
7706
|
-
readonly aggregate: string;
|
|
7707
|
-
} | undefined;
|
|
7708
|
-
type: "message.part.updated";
|
|
7709
7571
|
};
|
|
7710
7572
|
PartRemoved: Schema.Struct<{
|
|
7711
7573
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
@@ -7713,15 +7575,11 @@ export declare const Event: {
|
|
|
7713
7575
|
};
|
|
7714
7576
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
7715
7577
|
readonly type: Schema.Literal<"message.part.removed">;
|
|
7716
|
-
readonly durable: Schema.
|
|
7717
|
-
readonly aggregateID: Schema.String;
|
|
7718
|
-
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
7719
|
-
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
7720
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
7578
|
+
readonly durable: Schema.Struct<{
|
|
7721
7579
|
readonly aggregateID: Schema.String;
|
|
7722
7580
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
7723
7581
|
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
7724
|
-
}
|
|
7582
|
+
}>;
|
|
7725
7583
|
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
7726
7584
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
7727
7585
|
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
@@ -7754,6 +7612,12 @@ export declare const Event: {
|
|
|
7754
7612
|
};
|
|
7755
7613
|
}>;
|
|
7756
7614
|
}> & {
|
|
7615
|
+
type: "message.part.removed";
|
|
7616
|
+
durability: "durable";
|
|
7617
|
+
durable: {
|
|
7618
|
+
readonly version: number;
|
|
7619
|
+
readonly aggregate: string;
|
|
7620
|
+
};
|
|
7757
7621
|
data: Schema.Struct<{
|
|
7758
7622
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
7759
7623
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -7766,10 +7630,5 @@ export declare const Event: {
|
|
|
7766
7630
|
ascending: (id?: string) => string & import("effect/Brand").Brand<"PartID">;
|
|
7767
7631
|
};
|
|
7768
7632
|
}>;
|
|
7769
|
-
durable?: {
|
|
7770
|
-
readonly version: number;
|
|
7771
|
-
readonly aggregate: string;
|
|
7772
|
-
} | undefined;
|
|
7773
|
-
type: "message.part.removed";
|
|
7774
7633
|
};
|
|
7775
7634
|
};
|