@opencode-ai/protocol 0.0.0-next-17335 → 0.0.0-next-17346
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/groups/event.d.ts +180 -348
- package/dist/groups/session.d.ts +150 -212
- package/dist/groups/session.js +35 -32
- package/package.json +2 -2
package/dist/groups/session.d.ts
CHANGED
|
@@ -2687,6 +2687,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
2687
2687
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
2688
2688
|
};
|
|
2689
2689
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
2690
|
+
readonly delivery: Schema.optional<Schema.Literals<readonly ["steer", "queue"]>>;
|
|
2690
2691
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
2691
2692
|
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
2692
2693
|
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
@@ -2807,7 +2808,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
2807
2808
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
2808
2809
|
readonly data: Schema.Struct<{
|
|
2809
2810
|
readonly type: Schema.tag<"user">;
|
|
2810
|
-
readonly
|
|
2811
|
+
readonly payload: Schema.Struct<{
|
|
2811
2812
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
2812
2813
|
readonly text: Schema.String;
|
|
2813
2814
|
readonly files: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
@@ -3085,7 +3086,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
3085
3086
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
3086
3087
|
readonly data: Schema.Struct<{
|
|
3087
3088
|
readonly type: Schema.tag<"user">;
|
|
3088
|
-
readonly
|
|
3089
|
+
readonly payload: Schema.Struct<{
|
|
3089
3090
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
3090
3091
|
readonly text: Schema.String;
|
|
3091
3092
|
readonly files: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
@@ -3257,7 +3258,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
3257
3258
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
3258
3259
|
readonly data: Schema.Struct<{
|
|
3259
3260
|
readonly type: Schema.tag<"synthetic">;
|
|
3260
|
-
readonly
|
|
3261
|
+
readonly payload: Schema.Struct<{
|
|
3261
3262
|
readonly text: Schema.String;
|
|
3262
3263
|
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
3263
3264
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
@@ -3293,9 +3294,12 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
3293
3294
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
3294
3295
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
3295
3296
|
}>;
|
|
3297
|
+
readonly delivery: Schema.optional<Schema.Literals<readonly ["steer", "queue"]>>;
|
|
3296
3298
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
3297
3299
|
readonly data: Schema.Struct<{
|
|
3298
3300
|
readonly type: Schema.tag<"compaction">;
|
|
3301
|
+
readonly payload: Schema.Struct<{}>;
|
|
3302
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
3299
3303
|
readonly id: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
3300
3304
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
3301
3305
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
@@ -3929,7 +3933,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
3929
3933
|
}>;
|
|
3930
3934
|
readonly type: Schema.tag<"compaction">;
|
|
3931
3935
|
}>]>]>>;
|
|
3932
|
-
}>>, Schema.toCodecJson<typeof UnknownError | typeof SessionNotFoundError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"session.
|
|
3936
|
+
}>>, Schema.toCodecJson<typeof UnknownError | typeof SessionNotFoundError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"session.inbox.list", "GET", "/api/session/:sessionID/inbox", Schema.toCodecStringTree<Schema.Struct<{
|
|
3933
3937
|
sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
3934
3938
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
3935
3939
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -3937,7 +3941,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
3937
3941
|
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
3938
3942
|
readonly data: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
3939
3943
|
readonly type: Schema.tag<"user">;
|
|
3940
|
-
readonly
|
|
3944
|
+
readonly payload: Schema.Struct<{
|
|
3941
3945
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
3942
3946
|
readonly text: Schema.String;
|
|
3943
3947
|
readonly files: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
@@ -4080,7 +4084,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
4080
4084
|
readonly timeCreated: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
4081
4085
|
}>, Schema.Struct<{
|
|
4082
4086
|
readonly type: Schema.tag<"synthetic">;
|
|
4083
|
-
readonly
|
|
4087
|
+
readonly payload: Schema.Struct<{
|
|
4084
4088
|
readonly text: Schema.String;
|
|
4085
4089
|
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
4086
4090
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
@@ -4097,6 +4101,36 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
4097
4101
|
readonly timeCreated: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
4098
4102
|
}>, Schema.Struct<{
|
|
4099
4103
|
readonly type: Schema.tag<"compaction">;
|
|
4104
|
+
readonly payload: Schema.Struct<{}>;
|
|
4105
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
4106
|
+
readonly id: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
4107
|
+
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
4108
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
4109
|
+
};
|
|
4110
|
+
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
4111
|
+
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
4112
|
+
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
4113
|
+
};
|
|
4114
|
+
readonly timeCreated: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
4115
|
+
}>, Schema.Struct<{
|
|
4116
|
+
readonly type: Schema.tag<"move">;
|
|
4117
|
+
readonly payload: Schema.Struct<{
|
|
4118
|
+
readonly location: Schema.Struct<{
|
|
4119
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
4120
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
4121
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
4122
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
4123
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
4124
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
4125
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
4126
|
+
}>, never, never>;
|
|
4127
|
+
}>;
|
|
4128
|
+
readonly projectID: Schema.brand<Schema.String, "Project.ID"> & {
|
|
4129
|
+
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
4130
|
+
};
|
|
4131
|
+
readonly subpath: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "RelativePath">>>, Schema.optionalKey<Schema.brand<Schema.String, "RelativePath">>, never, never>;
|
|
4132
|
+
}>;
|
|
4133
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
4100
4134
|
readonly id: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
4101
4135
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
4102
4136
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
@@ -4107,30 +4141,30 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
4107
4141
|
};
|
|
4108
4142
|
readonly timeCreated: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
4109
4143
|
}>]>>;
|
|
4110
|
-
}>>, Schema.toCodecJson<typeof SessionNotFoundError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"session.
|
|
4144
|
+
}>>, Schema.toCodecJson<typeof SessionNotFoundError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"session.inbox.cancel", "DELETE", "/api/session/:sessionID/inbox/:inboxID", Schema.toCodecStringTree<Schema.Struct<{
|
|
4111
4145
|
sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
4112
4146
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
4113
4147
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
4114
4148
|
};
|
|
4115
|
-
|
|
4149
|
+
inboxID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
4116
4150
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
4117
4151
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
4118
4152
|
};
|
|
4119
|
-
}>>, never, never, never, Schema.toCodecJson<HttpApiSchema.NoContent>, Schema.toCodecJson<typeof ConflictError | typeof SessionNotFoundError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"session.
|
|
4153
|
+
}>>, never, never, never, Schema.toCodecJson<HttpApiSchema.NoContent>, Schema.toCodecJson<typeof ConflictError | typeof SessionNotFoundError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"session.inbox.steer", "POST", "/api/session/:sessionID/inbox/:inboxID/steer", Schema.toCodecStringTree<Schema.Struct<{
|
|
4120
4154
|
sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
4121
4155
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
4122
4156
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
4123
4157
|
};
|
|
4124
|
-
|
|
4158
|
+
inboxID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
4125
4159
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
4126
4160
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
4127
4161
|
};
|
|
4128
|
-
}>>, never, never, never, Schema.toCodecJson<HttpApiSchema.NoContent>, Schema.toCodecJson<typeof ConflictError | typeof SessionNotFoundError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"session.
|
|
4162
|
+
}>>, never, never, never, Schema.toCodecJson<HttpApiSchema.NoContent>, Schema.toCodecJson<typeof ConflictError | typeof SessionNotFoundError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"session.inbox.queue", "POST", "/api/session/:sessionID/inbox/:inboxID/queue", Schema.toCodecStringTree<Schema.Struct<{
|
|
4129
4163
|
sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
4130
4164
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
4131
4165
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
4132
4166
|
};
|
|
4133
|
-
|
|
4167
|
+
inboxID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
4134
4168
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
4135
4169
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
4136
4170
|
};
|
|
@@ -4649,11 +4683,9 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
4649
4683
|
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
4650
4684
|
}>, never, never>;
|
|
4651
4685
|
}>;
|
|
4652
|
-
readonly projectID: Schema.
|
|
4653
|
-
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
4654
|
-
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Project.ID"> & {
|
|
4686
|
+
readonly projectID: Schema.brand<Schema.String, "Project.ID"> & {
|
|
4655
4687
|
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
4656
|
-
}
|
|
4688
|
+
};
|
|
4657
4689
|
readonly subpath: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "RelativePath">>>, Schema.optionalKey<Schema.brand<Schema.String, "RelativePath">>, never, never>;
|
|
4658
4690
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
4659
4691
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -4678,11 +4710,9 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
4678
4710
|
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
4679
4711
|
}>, never, never>;
|
|
4680
4712
|
}>;
|
|
4681
|
-
readonly projectID: Schema.
|
|
4682
|
-
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
4683
|
-
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Project.ID"> & {
|
|
4713
|
+
readonly projectID: Schema.brand<Schema.String, "Project.ID"> & {
|
|
4684
4714
|
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
4685
|
-
}
|
|
4715
|
+
};
|
|
4686
4716
|
readonly subpath: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "RelativePath">>>, Schema.optionalKey<Schema.brand<Schema.String, "RelativePath">>, never, never>;
|
|
4687
4717
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
4688
4718
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -4883,7 +4913,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
4883
4913
|
};
|
|
4884
4914
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
4885
4915
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
4886
|
-
readonly type: Schema.Literal<"session.
|
|
4916
|
+
readonly type: Schema.Literal<"session.inbox.delivered">;
|
|
4887
4917
|
readonly durable: Schema.Struct<{
|
|
4888
4918
|
readonly aggregateID: Schema.String;
|
|
4889
4919
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -4909,7 +4939,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
4909
4939
|
}>, never, never>;
|
|
4910
4940
|
}>>, never, never>;
|
|
4911
4941
|
readonly data: Schema.Struct<{
|
|
4912
|
-
|
|
4942
|
+
inboxID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
4913
4943
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
4914
4944
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
4915
4945
|
};
|
|
@@ -4919,14 +4949,14 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
4919
4949
|
};
|
|
4920
4950
|
}>;
|
|
4921
4951
|
}> & {
|
|
4922
|
-
type: "session.
|
|
4952
|
+
type: "session.inbox.delivered";
|
|
4923
4953
|
durability: "durable";
|
|
4924
4954
|
durable: {
|
|
4925
4955
|
readonly version: number;
|
|
4926
4956
|
readonly aggregate: string;
|
|
4927
4957
|
};
|
|
4928
4958
|
data: Schema.Struct<{
|
|
4929
|
-
|
|
4959
|
+
inboxID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
4930
4960
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
4931
4961
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
4932
4962
|
};
|
|
@@ -4941,7 +4971,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
4941
4971
|
};
|
|
4942
4972
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
4943
4973
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
4944
|
-
readonly type: Schema.Literal<"session.
|
|
4974
|
+
readonly type: Schema.Literal<"session.inbox.enqueued">;
|
|
4945
4975
|
readonly durable: Schema.Struct<{
|
|
4946
4976
|
readonly aggregateID: Schema.String;
|
|
4947
4977
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -4967,9 +4997,9 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
4967
4997
|
}>, never, never>;
|
|
4968
4998
|
}>>, never, never>;
|
|
4969
4999
|
readonly data: Schema.Struct<{
|
|
4970
|
-
readonly
|
|
5000
|
+
readonly item: Schema.Union<readonly [Schema.Struct<{
|
|
4971
5001
|
readonly type: Schema.tag<"user">;
|
|
4972
|
-
readonly
|
|
5002
|
+
readonly payload: Schema.Struct<{
|
|
4973
5003
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
4974
5004
|
readonly text: Schema.String;
|
|
4975
5005
|
readonly files: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
@@ -5103,14 +5133,37 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
5103
5133
|
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
5104
5134
|
}>, Schema.Struct<{
|
|
5105
5135
|
readonly type: Schema.tag<"synthetic">;
|
|
5106
|
-
readonly
|
|
5136
|
+
readonly payload: Schema.Struct<{
|
|
5107
5137
|
readonly text: Schema.String;
|
|
5108
5138
|
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
5109
5139
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
5110
5140
|
}>;
|
|
5111
5141
|
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
5142
|
+
}>, Schema.Struct<{
|
|
5143
|
+
readonly type: Schema.tag<"compaction">;
|
|
5144
|
+
readonly payload: Schema.Struct<{}>;
|
|
5145
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
5146
|
+
}>, Schema.Struct<{
|
|
5147
|
+
readonly type: Schema.tag<"move">;
|
|
5148
|
+
readonly payload: Schema.Struct<{
|
|
5149
|
+
readonly location: Schema.Struct<{
|
|
5150
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
5151
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
5152
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
5153
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
5154
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
5155
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
5156
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
5157
|
+
}>, never, never>;
|
|
5158
|
+
}>;
|
|
5159
|
+
readonly projectID: Schema.brand<Schema.String, "Project.ID"> & {
|
|
5160
|
+
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
5161
|
+
};
|
|
5162
|
+
readonly subpath: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "RelativePath">>>, Schema.optionalKey<Schema.brand<Schema.String, "RelativePath">>, never, never>;
|
|
5163
|
+
}>;
|
|
5164
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
5112
5165
|
}>]>;
|
|
5113
|
-
readonly
|
|
5166
|
+
readonly inboxID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
5114
5167
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
5115
5168
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
5116
5169
|
};
|
|
@@ -5120,16 +5173,16 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
5120
5173
|
};
|
|
5121
5174
|
}>;
|
|
5122
5175
|
}> & {
|
|
5123
|
-
type: "session.
|
|
5176
|
+
type: "session.inbox.enqueued";
|
|
5124
5177
|
durability: "durable";
|
|
5125
5178
|
durable: {
|
|
5126
5179
|
readonly version: number;
|
|
5127
5180
|
readonly aggregate: string;
|
|
5128
5181
|
};
|
|
5129
5182
|
data: Schema.Struct<{
|
|
5130
|
-
readonly
|
|
5183
|
+
readonly item: Schema.Union<readonly [Schema.Struct<{
|
|
5131
5184
|
readonly type: Schema.tag<"user">;
|
|
5132
|
-
readonly
|
|
5185
|
+
readonly payload: Schema.Struct<{
|
|
5133
5186
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
5134
5187
|
readonly text: Schema.String;
|
|
5135
5188
|
readonly files: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
@@ -5263,14 +5316,37 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
5263
5316
|
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
5264
5317
|
}>, Schema.Struct<{
|
|
5265
5318
|
readonly type: Schema.tag<"synthetic">;
|
|
5266
|
-
readonly
|
|
5319
|
+
readonly payload: Schema.Struct<{
|
|
5267
5320
|
readonly text: Schema.String;
|
|
5268
5321
|
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
5269
5322
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
5270
5323
|
}>;
|
|
5271
5324
|
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
5325
|
+
}>, Schema.Struct<{
|
|
5326
|
+
readonly type: Schema.tag<"compaction">;
|
|
5327
|
+
readonly payload: Schema.Struct<{}>;
|
|
5328
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
5329
|
+
}>, Schema.Struct<{
|
|
5330
|
+
readonly type: Schema.tag<"move">;
|
|
5331
|
+
readonly payload: Schema.Struct<{
|
|
5332
|
+
readonly location: Schema.Struct<{
|
|
5333
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
5334
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
5335
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
5336
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
5337
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
5338
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
5339
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
5340
|
+
}>, never, never>;
|
|
5341
|
+
}>;
|
|
5342
|
+
readonly projectID: Schema.brand<Schema.String, "Project.ID"> & {
|
|
5343
|
+
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
5344
|
+
};
|
|
5345
|
+
readonly subpath: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "RelativePath">>>, Schema.optionalKey<Schema.brand<Schema.String, "RelativePath">>, never, never>;
|
|
5346
|
+
}>;
|
|
5347
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
5272
5348
|
}>]>;
|
|
5273
|
-
readonly
|
|
5349
|
+
readonly inboxID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
5274
5350
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
5275
5351
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
5276
5352
|
};
|
|
@@ -5285,7 +5361,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
5285
5361
|
};
|
|
5286
5362
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
5287
5363
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
5288
|
-
readonly type: Schema.Literal<"session.
|
|
5364
|
+
readonly type: Schema.Literal<"session.inbox.cancelled">;
|
|
5289
5365
|
readonly durable: Schema.Struct<{
|
|
5290
5366
|
readonly aggregateID: Schema.String;
|
|
5291
5367
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -5311,7 +5387,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
5311
5387
|
}>, never, never>;
|
|
5312
5388
|
}>>, never, never>;
|
|
5313
5389
|
readonly data: Schema.Struct<{
|
|
5314
|
-
|
|
5390
|
+
inboxID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
5315
5391
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
5316
5392
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
5317
5393
|
};
|
|
@@ -5321,14 +5397,14 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
5321
5397
|
};
|
|
5322
5398
|
}>;
|
|
5323
5399
|
}> & {
|
|
5324
|
-
type: "session.
|
|
5400
|
+
type: "session.inbox.cancelled";
|
|
5325
5401
|
durability: "durable";
|
|
5326
5402
|
durable: {
|
|
5327
5403
|
readonly version: number;
|
|
5328
5404
|
readonly aggregate: string;
|
|
5329
5405
|
};
|
|
5330
5406
|
data: Schema.Struct<{
|
|
5331
|
-
|
|
5407
|
+
inboxID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
5332
5408
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
5333
5409
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
5334
5410
|
};
|
|
@@ -5343,7 +5419,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
5343
5419
|
};
|
|
5344
5420
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
5345
5421
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
5346
|
-
readonly type: Schema.Literal<"session.
|
|
5422
|
+
readonly type: Schema.Literal<"session.inbox.delivery.changed">;
|
|
5347
5423
|
readonly durable: Schema.Struct<{
|
|
5348
5424
|
readonly aggregateID: Schema.String;
|
|
5349
5425
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -5369,86 +5445,30 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
5369
5445
|
}>, never, never>;
|
|
5370
5446
|
}>>, never, never>;
|
|
5371
5447
|
readonly data: Schema.Struct<{
|
|
5372
|
-
|
|
5373
|
-
|
|
5374
|
-
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
5375
|
-
};
|
|
5376
|
-
sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
5377
|
-
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
5378
|
-
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
5379
|
-
};
|
|
5380
|
-
}>;
|
|
5381
|
-
}> & {
|
|
5382
|
-
type: "session.input.steered";
|
|
5383
|
-
durability: "durable";
|
|
5384
|
-
durable: {
|
|
5385
|
-
readonly version: number;
|
|
5386
|
-
readonly aggregate: string;
|
|
5387
|
-
};
|
|
5388
|
-
data: Schema.Struct<{
|
|
5389
|
-
inputID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
5390
|
-
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
5391
|
-
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
5392
|
-
};
|
|
5393
|
-
sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
5394
|
-
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
5395
|
-
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
5396
|
-
};
|
|
5397
|
-
}>;
|
|
5398
|
-
}) | (Schema.Struct<{
|
|
5399
|
-
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
5400
|
-
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
5401
|
-
};
|
|
5402
|
-
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
5403
|
-
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
5404
|
-
readonly type: Schema.Literal<"session.input.queued">;
|
|
5405
|
-
readonly durable: Schema.Struct<{
|
|
5406
|
-
readonly aggregateID: Schema.String;
|
|
5407
|
-
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
5408
|
-
readonly version: Schema.decodeTo<Schema.toType<Schema.brand<Schema.Int, "Event.Version">>, Schema.Literal<number>, never, never>;
|
|
5409
|
-
}>;
|
|
5410
|
-
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
5411
|
-
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
5412
|
-
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
5413
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
5414
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
5415
|
-
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
5416
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
5417
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
5418
|
-
}>, never, never>;
|
|
5419
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
5420
|
-
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
5421
|
-
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
5422
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
5423
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
5424
|
-
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
5425
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
5426
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
5427
|
-
}>, never, never>;
|
|
5428
|
-
}>>, never, never>;
|
|
5429
|
-
readonly data: Schema.Struct<{
|
|
5430
|
-
inputID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
5448
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
5449
|
+
readonly inboxID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
5431
5450
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
5432
5451
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
5433
5452
|
};
|
|
5434
|
-
sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
5453
|
+
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
5435
5454
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
5436
5455
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
5437
5456
|
};
|
|
5438
5457
|
}>;
|
|
5439
5458
|
}> & {
|
|
5440
|
-
type: "session.
|
|
5459
|
+
type: "session.inbox.delivery.changed";
|
|
5441
5460
|
durability: "durable";
|
|
5442
5461
|
durable: {
|
|
5443
5462
|
readonly version: number;
|
|
5444
5463
|
readonly aggregate: string;
|
|
5445
5464
|
};
|
|
5446
5465
|
data: Schema.Struct<{
|
|
5447
|
-
|
|
5466
|
+
readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
|
|
5467
|
+
readonly inboxID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
5448
5468
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
5449
5469
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
5450
5470
|
};
|
|
5451
|
-
sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
5471
|
+
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
5452
5472
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
5453
5473
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
5454
5474
|
};
|
|
@@ -7033,64 +7053,6 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
7033
7053
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
7034
7054
|
};
|
|
7035
7055
|
}>;
|
|
7036
|
-
}) | (Schema.Struct<{
|
|
7037
|
-
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
7038
|
-
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
7039
|
-
};
|
|
7040
|
-
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
7041
|
-
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
7042
|
-
readonly type: Schema.Literal<"session.compaction.admitted">;
|
|
7043
|
-
readonly durable: Schema.Struct<{
|
|
7044
|
-
readonly aggregateID: Schema.String;
|
|
7045
|
-
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
7046
|
-
readonly version: Schema.decodeTo<Schema.toType<Schema.brand<Schema.Int, "Event.Version">>, Schema.Literal<number>, never, never>;
|
|
7047
|
-
}>;
|
|
7048
|
-
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
7049
|
-
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
7050
|
-
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
7051
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
7052
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
7053
|
-
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
7054
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
7055
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
7056
|
-
}>, never, never>;
|
|
7057
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
7058
|
-
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
7059
|
-
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
7060
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
7061
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
7062
|
-
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
7063
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
7064
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
7065
|
-
}>, never, never>;
|
|
7066
|
-
}>>, never, never>;
|
|
7067
|
-
readonly data: Schema.Struct<{
|
|
7068
|
-
readonly inputID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
7069
|
-
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7070
|
-
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7071
|
-
};
|
|
7072
|
-
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
7073
|
-
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
7074
|
-
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
7075
|
-
};
|
|
7076
|
-
}>;
|
|
7077
|
-
}> & {
|
|
7078
|
-
type: "session.compaction.admitted";
|
|
7079
|
-
durability: "durable";
|
|
7080
|
-
durable: {
|
|
7081
|
-
readonly version: number;
|
|
7082
|
-
readonly aggregate: string;
|
|
7083
|
-
};
|
|
7084
|
-
data: Schema.Struct<{
|
|
7085
|
-
readonly inputID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
7086
|
-
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7087
|
-
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7088
|
-
};
|
|
7089
|
-
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
7090
|
-
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
7091
|
-
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
7092
|
-
};
|
|
7093
|
-
}>;
|
|
7094
7056
|
}) | (Schema.Struct<{
|
|
7095
7057
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
7096
7058
|
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -7664,7 +7626,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
7664
7626
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7665
7627
|
};
|
|
7666
7628
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7667
|
-
readonly projectID
|
|
7629
|
+
readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
|
|
7668
7630
|
readonly subpath?: (string & import("effect/Brand").Brand<"RelativePath">) | undefined;
|
|
7669
7631
|
};
|
|
7670
7632
|
readonly durable: {
|
|
@@ -7783,7 +7745,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
7783
7745
|
} | {
|
|
7784
7746
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
7785
7747
|
readonly data: {
|
|
7786
|
-
readonly
|
|
7748
|
+
readonly inboxID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7787
7749
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7788
7750
|
};
|
|
7789
7751
|
readonly durable: {
|
|
@@ -7791,7 +7753,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
7791
7753
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
7792
7754
|
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
7793
7755
|
};
|
|
7794
|
-
readonly type: "session.
|
|
7756
|
+
readonly type: "session.inbox.delivered";
|
|
7795
7757
|
readonly created: import("effect/DateTime").Utc;
|
|
7796
7758
|
readonly location?: {
|
|
7797
7759
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
@@ -7803,9 +7765,9 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
7803
7765
|
} | {
|
|
7804
7766
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
7805
7767
|
readonly data: {
|
|
7806
|
-
readonly
|
|
7768
|
+
readonly item: {
|
|
7807
7769
|
readonly type: "user";
|
|
7808
|
-
readonly
|
|
7770
|
+
readonly payload: {
|
|
7809
7771
|
readonly text: string;
|
|
7810
7772
|
readonly metadata?: {
|
|
7811
7773
|
readonly [x: string]: unknown;
|
|
@@ -7849,7 +7811,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
7849
7811
|
readonly delivery: "steer" | "queue";
|
|
7850
7812
|
} | {
|
|
7851
7813
|
readonly type: "synthetic";
|
|
7852
|
-
readonly
|
|
7814
|
+
readonly payload: {
|
|
7853
7815
|
readonly text: string;
|
|
7854
7816
|
readonly metadata?: {
|
|
7855
7817
|
readonly [x: string]: unknown;
|
|
@@ -7857,8 +7819,23 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
7857
7819
|
readonly description?: string | undefined;
|
|
7858
7820
|
};
|
|
7859
7821
|
readonly delivery: "steer" | "queue";
|
|
7822
|
+
} | {
|
|
7823
|
+
readonly type: "compaction";
|
|
7824
|
+
readonly payload: {};
|
|
7825
|
+
readonly delivery: "steer" | "queue";
|
|
7826
|
+
} | {
|
|
7827
|
+
readonly type: "move";
|
|
7828
|
+
readonly payload: {
|
|
7829
|
+
readonly location: {
|
|
7830
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7831
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7832
|
+
};
|
|
7833
|
+
readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
|
|
7834
|
+
readonly subpath?: (string & import("effect/Brand").Brand<"RelativePath">) | undefined;
|
|
7835
|
+
};
|
|
7836
|
+
readonly delivery: "steer" | "queue";
|
|
7860
7837
|
};
|
|
7861
|
-
readonly
|
|
7838
|
+
readonly inboxID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7862
7839
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7863
7840
|
};
|
|
7864
7841
|
readonly durable: {
|
|
@@ -7866,7 +7843,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
7866
7843
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
7867
7844
|
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
7868
7845
|
};
|
|
7869
|
-
readonly type: "session.
|
|
7846
|
+
readonly type: "session.inbox.enqueued";
|
|
7870
7847
|
readonly created: import("effect/DateTime").Utc;
|
|
7871
7848
|
readonly location?: {
|
|
7872
7849
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
@@ -7878,7 +7855,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
7878
7855
|
} | {
|
|
7879
7856
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
7880
7857
|
readonly data: {
|
|
7881
|
-
readonly
|
|
7858
|
+
readonly inboxID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7882
7859
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7883
7860
|
};
|
|
7884
7861
|
readonly durable: {
|
|
@@ -7886,7 +7863,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
7886
7863
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
7887
7864
|
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
7888
7865
|
};
|
|
7889
|
-
readonly type: "session.
|
|
7866
|
+
readonly type: "session.inbox.cancelled";
|
|
7890
7867
|
readonly created: import("effect/DateTime").Utc;
|
|
7891
7868
|
readonly location?: {
|
|
7892
7869
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
@@ -7898,7 +7875,8 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
7898
7875
|
} | {
|
|
7899
7876
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
7900
7877
|
readonly data: {
|
|
7901
|
-
readonly
|
|
7878
|
+
readonly delivery: "steer" | "queue";
|
|
7879
|
+
readonly inboxID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7902
7880
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7903
7881
|
};
|
|
7904
7882
|
readonly durable: {
|
|
@@ -7906,27 +7884,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
7906
7884
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
7907
7885
|
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
7908
7886
|
};
|
|
7909
|
-
readonly type: "session.
|
|
7910
|
-
readonly created: import("effect/DateTime").Utc;
|
|
7911
|
-
readonly location?: {
|
|
7912
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7913
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7914
|
-
} | undefined;
|
|
7915
|
-
readonly metadata?: {
|
|
7916
|
-
readonly [x: string]: unknown;
|
|
7917
|
-
} | undefined;
|
|
7918
|
-
} | {
|
|
7919
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
7920
|
-
readonly data: {
|
|
7921
|
-
readonly inputID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7922
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7923
|
-
};
|
|
7924
|
-
readonly durable: {
|
|
7925
|
-
readonly aggregateID: string;
|
|
7926
|
-
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
7927
|
-
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
7928
|
-
};
|
|
7929
|
-
readonly type: "session.input.queued";
|
|
7887
|
+
readonly type: "session.inbox.delivery.changed";
|
|
7930
7888
|
readonly created: import("effect/DateTime").Utc;
|
|
7931
7889
|
readonly location?: {
|
|
7932
7890
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
@@ -8550,26 +8508,6 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
8550
8508
|
readonly metadata?: {
|
|
8551
8509
|
readonly [x: string]: unknown;
|
|
8552
8510
|
} | undefined;
|
|
8553
|
-
} | {
|
|
8554
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
8555
|
-
readonly data: {
|
|
8556
|
-
readonly inputID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
8557
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
8558
|
-
};
|
|
8559
|
-
readonly durable: {
|
|
8560
|
-
readonly aggregateID: string;
|
|
8561
|
-
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
8562
|
-
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
8563
|
-
};
|
|
8564
|
-
readonly type: "session.compaction.admitted";
|
|
8565
|
-
readonly created: import("effect/DateTime").Utc;
|
|
8566
|
-
readonly location?: {
|
|
8567
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8568
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8569
|
-
} | undefined;
|
|
8570
|
-
readonly metadata?: {
|
|
8571
|
-
readonly [x: string]: unknown;
|
|
8572
|
-
} | undefined;
|
|
8573
8511
|
} | {
|
|
8574
8512
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
8575
8513
|
readonly data: {
|