@opencode-ai/schema 0.0.0-next-14723 → 0.0.0-next-14730
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 +8 -8
- package/dist/catalog.d.ts +8 -8
- package/dist/command.d.ts +8 -8
- package/dist/durable-event-manifest.d.ts +412 -412
- package/dist/event-log.d.ts +46 -0
- package/dist/event-log.js +44 -0
- package/dist/event-manifest.d.ts +1224 -852
- package/dist/event-manifest.js +2 -2
- package/dist/event.d.ts +16 -6
- package/dist/event.js +9 -1
- package/dist/filesystem-watcher.d.ts +8 -8
- package/dist/filesystem.d.ts +8 -8
- package/dist/form.d.ts +1339 -0
- package/dist/form.js +105 -0
- package/dist/ide-event.d.ts +8 -8
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/installation-event.d.ts +16 -16
- package/dist/integration.d.ts +16 -16
- package/dist/lsp-event.d.ts +8 -8
- package/dist/mcp-event.d.ts +24 -24
- package/dist/models-dev.d.ts +8 -8
- package/dist/permission.d.ts +16 -16
- package/dist/plugin.d.ts +8 -8
- package/dist/project-directories.d.ts +8 -8
- package/dist/project.d.ts +8 -8
- package/dist/pty.d.ts +32 -32
- package/dist/reference.d.ts +8 -8
- package/dist/server-event.d.ts +16 -16
- package/dist/session-compaction-event.d.ts +8 -8
- package/dist/session-event.d.ts +680 -680
- package/dist/session-status-event.d.ts +16 -16
- package/dist/session-todo.d.ts +8 -8
- package/dist/shell.d.ts +24 -24
- package/dist/skill.d.ts +8 -8
- package/dist/tui-event.d.ts +32 -32
- package/dist/v1/legacy-event.d.ts +8 -8
- package/dist/v1/permission.d.ts +16 -16
- package/dist/v1/question.d.ts +24 -24
- package/dist/v1/session.d.ts +92 -92
- package/dist/vcs-event.d.ts +8 -8
- package/dist/workspace-event.d.ts +24 -24
- package/dist/worktree-event.d.ts +16 -16
- package/package.json +1 -1
- package/dist/question.d.ts +0 -516
- package/dist/question.js +0 -64
|
@@ -34,12 +34,12 @@ export declare const Status: Schema.Struct<{
|
|
|
34
34
|
readonly type: Schema.Literal<"session.status">;
|
|
35
35
|
readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
36
36
|
readonly aggregateID: Schema.String;
|
|
37
|
-
readonly seq: Schema.Int
|
|
38
|
-
readonly version: Schema.Int
|
|
37
|
+
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
38
|
+
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
39
39
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
40
40
|
readonly aggregateID: Schema.String;
|
|
41
|
-
readonly seq: Schema.Int
|
|
42
|
-
readonly version: Schema.Int
|
|
41
|
+
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
42
|
+
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
43
43
|
}>>, never, never>;
|
|
44
44
|
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
45
45
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
@@ -137,12 +137,12 @@ export declare const Idle: Schema.Struct<{
|
|
|
137
137
|
readonly type: Schema.Literal<"session.idle">;
|
|
138
138
|
readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
139
139
|
readonly aggregateID: Schema.String;
|
|
140
|
-
readonly seq: Schema.Int
|
|
141
|
-
readonly version: Schema.Int
|
|
140
|
+
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
141
|
+
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
142
142
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
143
143
|
readonly aggregateID: Schema.String;
|
|
144
|
-
readonly seq: Schema.Int
|
|
145
|
-
readonly version: Schema.Int
|
|
144
|
+
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
145
|
+
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
146
146
|
}>>, never, never>;
|
|
147
147
|
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
148
148
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
@@ -190,12 +190,12 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
190
190
|
readonly type: Schema.Literal<"session.status">;
|
|
191
191
|
readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
192
192
|
readonly aggregateID: Schema.String;
|
|
193
|
-
readonly seq: Schema.Int
|
|
194
|
-
readonly version: Schema.Int
|
|
193
|
+
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
194
|
+
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
195
195
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
196
196
|
readonly aggregateID: Schema.String;
|
|
197
|
-
readonly seq: Schema.Int
|
|
198
|
-
readonly version: Schema.Int
|
|
197
|
+
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
198
|
+
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
199
199
|
}>>, never, never>;
|
|
200
200
|
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
201
201
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
@@ -292,12 +292,12 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
292
292
|
readonly type: Schema.Literal<"session.idle">;
|
|
293
293
|
readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
294
294
|
readonly aggregateID: Schema.String;
|
|
295
|
-
readonly seq: Schema.Int
|
|
296
|
-
readonly version: Schema.Int
|
|
295
|
+
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
296
|
+
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
297
297
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
298
298
|
readonly aggregateID: Schema.String;
|
|
299
|
-
readonly seq: Schema.Int
|
|
300
|
-
readonly version: Schema.Int
|
|
299
|
+
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
300
|
+
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
301
301
|
}>>, never, never>;
|
|
302
302
|
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
303
303
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
package/dist/session-todo.d.ts
CHANGED
|
@@ -16,12 +16,12 @@ export declare const Event: {
|
|
|
16
16
|
readonly type: Schema.Literal<"todo.updated">;
|
|
17
17
|
readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
18
18
|
readonly aggregateID: Schema.String;
|
|
19
|
-
readonly seq: Schema.Int
|
|
20
|
-
readonly version: Schema.Int
|
|
19
|
+
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
20
|
+
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
21
21
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
22
22
|
readonly aggregateID: Schema.String;
|
|
23
|
-
readonly seq: Schema.Int
|
|
24
|
-
readonly version: Schema.Int
|
|
23
|
+
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
24
|
+
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
25
25
|
}>>, never, never>;
|
|
26
26
|
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
27
27
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
@@ -79,12 +79,12 @@ export declare const Event: {
|
|
|
79
79
|
readonly type: Schema.Literal<"todo.updated">;
|
|
80
80
|
readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
81
81
|
readonly aggregateID: Schema.String;
|
|
82
|
-
readonly seq: Schema.Int
|
|
83
|
-
readonly version: Schema.Int
|
|
82
|
+
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
83
|
+
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
84
84
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
85
85
|
readonly aggregateID: Schema.String;
|
|
86
|
-
readonly seq: Schema.Int
|
|
87
|
-
readonly version: Schema.Int
|
|
86
|
+
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
87
|
+
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
88
88
|
}>>, never, never>;
|
|
89
89
|
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
90
90
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
package/dist/shell.d.ts
CHANGED
|
@@ -44,12 +44,12 @@ export declare const Event: {
|
|
|
44
44
|
readonly type: Schema.Literal<"shell.created">;
|
|
45
45
|
readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
46
46
|
readonly aggregateID: Schema.String;
|
|
47
|
-
readonly seq: Schema.Int
|
|
48
|
-
readonly version: Schema.Int
|
|
47
|
+
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
48
|
+
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
49
49
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
50
50
|
readonly aggregateID: Schema.String;
|
|
51
|
-
readonly seq: Schema.Int
|
|
52
|
-
readonly version: Schema.Int
|
|
51
|
+
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
52
|
+
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
53
53
|
}>>, never, never>;
|
|
54
54
|
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
55
55
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
@@ -125,12 +125,12 @@ export declare const Event: {
|
|
|
125
125
|
readonly type: Schema.Literal<"shell.exited">;
|
|
126
126
|
readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
127
127
|
readonly aggregateID: Schema.String;
|
|
128
|
-
readonly seq: Schema.Int
|
|
129
|
-
readonly version: Schema.Int
|
|
128
|
+
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
129
|
+
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
130
130
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
131
131
|
readonly aggregateID: Schema.String;
|
|
132
|
-
readonly seq: Schema.Int
|
|
133
|
-
readonly version: Schema.Int
|
|
132
|
+
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
133
|
+
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
134
134
|
}>>, never, never>;
|
|
135
135
|
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
136
136
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
@@ -182,12 +182,12 @@ export declare const Event: {
|
|
|
182
182
|
readonly type: Schema.Literal<"shell.deleted">;
|
|
183
183
|
readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
184
184
|
readonly aggregateID: Schema.String;
|
|
185
|
-
readonly seq: Schema.Int
|
|
186
|
-
readonly version: Schema.Int
|
|
185
|
+
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
186
|
+
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
187
187
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
188
188
|
readonly aggregateID: Schema.String;
|
|
189
|
-
readonly seq: Schema.Int
|
|
190
|
-
readonly version: Schema.Int
|
|
189
|
+
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
190
|
+
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
191
191
|
}>>, never, never>;
|
|
192
192
|
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
193
193
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
@@ -235,12 +235,12 @@ export declare const Event: {
|
|
|
235
235
|
readonly type: Schema.Literal<"shell.created">;
|
|
236
236
|
readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
237
237
|
readonly aggregateID: Schema.String;
|
|
238
|
-
readonly seq: Schema.Int
|
|
239
|
-
readonly version: Schema.Int
|
|
238
|
+
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
239
|
+
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
240
240
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
241
241
|
readonly aggregateID: Schema.String;
|
|
242
|
-
readonly seq: Schema.Int
|
|
243
|
-
readonly version: Schema.Int
|
|
242
|
+
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
243
|
+
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
244
244
|
}>>, never, never>;
|
|
245
245
|
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
246
246
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
@@ -315,12 +315,12 @@ export declare const Event: {
|
|
|
315
315
|
readonly type: Schema.Literal<"shell.exited">;
|
|
316
316
|
readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
317
317
|
readonly aggregateID: Schema.String;
|
|
318
|
-
readonly seq: Schema.Int
|
|
319
|
-
readonly version: Schema.Int
|
|
318
|
+
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
319
|
+
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
320
320
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
321
321
|
readonly aggregateID: Schema.String;
|
|
322
|
-
readonly seq: Schema.Int
|
|
323
|
-
readonly version: Schema.Int
|
|
322
|
+
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
323
|
+
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
324
324
|
}>>, never, never>;
|
|
325
325
|
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
326
326
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
@@ -371,12 +371,12 @@ export declare const Event: {
|
|
|
371
371
|
readonly type: Schema.Literal<"shell.deleted">;
|
|
372
372
|
readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
373
373
|
readonly aggregateID: Schema.String;
|
|
374
|
-
readonly seq: Schema.Int
|
|
375
|
-
readonly version: Schema.Int
|
|
374
|
+
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
375
|
+
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
376
376
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
377
377
|
readonly aggregateID: Schema.String;
|
|
378
|
-
readonly seq: Schema.Int
|
|
379
|
-
readonly version: Schema.Int
|
|
378
|
+
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
379
|
+
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
380
380
|
}>>, never, never>;
|
|
381
381
|
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
382
382
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
package/dist/skill.d.ts
CHANGED
|
@@ -31,12 +31,12 @@ export declare const Event: {
|
|
|
31
31
|
readonly type: Schema.Literal<"skill.updated">;
|
|
32
32
|
readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
33
33
|
readonly aggregateID: Schema.String;
|
|
34
|
-
readonly seq: Schema.Int
|
|
35
|
-
readonly version: Schema.Int
|
|
34
|
+
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
35
|
+
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
36
36
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
37
37
|
readonly aggregateID: Schema.String;
|
|
38
|
-
readonly seq: Schema.Int
|
|
39
|
-
readonly version: Schema.Int
|
|
38
|
+
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
39
|
+
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
40
40
|
}>>, never, never>;
|
|
41
41
|
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
42
42
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
@@ -74,12 +74,12 @@ export declare const Event: {
|
|
|
74
74
|
readonly type: Schema.Literal<"skill.updated">;
|
|
75
75
|
readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
76
76
|
readonly aggregateID: Schema.String;
|
|
77
|
-
readonly seq: Schema.Int
|
|
78
|
-
readonly version: Schema.Int
|
|
77
|
+
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
78
|
+
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
79
79
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
80
80
|
readonly aggregateID: Schema.String;
|
|
81
|
-
readonly seq: Schema.Int
|
|
82
|
-
readonly version: Schema.Int
|
|
81
|
+
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
82
|
+
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
83
83
|
}>>, never, never>;
|
|
84
84
|
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
85
85
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
package/dist/tui-event.d.ts
CHANGED
|
@@ -8,12 +8,12 @@ export declare const PromptAppend: Schema.Struct<{
|
|
|
8
8
|
readonly type: Schema.Literal<"tui.prompt.append">;
|
|
9
9
|
readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
10
10
|
readonly aggregateID: Schema.String;
|
|
11
|
-
readonly seq: Schema.Int
|
|
12
|
-
readonly version: Schema.Int
|
|
11
|
+
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
12
|
+
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
13
13
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
14
14
|
readonly aggregateID: Schema.String;
|
|
15
|
-
readonly seq: Schema.Int
|
|
16
|
-
readonly version: Schema.Int
|
|
15
|
+
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
16
|
+
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
17
17
|
}>>, never, never>;
|
|
18
18
|
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
19
19
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
@@ -55,12 +55,12 @@ export declare const CommandExecute: Schema.Struct<{
|
|
|
55
55
|
readonly type: Schema.Literal<"tui.command.execute">;
|
|
56
56
|
readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
57
57
|
readonly aggregateID: Schema.String;
|
|
58
|
-
readonly seq: Schema.Int
|
|
59
|
-
readonly version: Schema.Int
|
|
58
|
+
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
59
|
+
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
60
60
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
61
61
|
readonly aggregateID: Schema.String;
|
|
62
|
-
readonly seq: Schema.Int
|
|
63
|
-
readonly version: Schema.Int
|
|
62
|
+
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
63
|
+
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
64
64
|
}>>, never, never>;
|
|
65
65
|
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
66
66
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
@@ -102,12 +102,12 @@ export declare const ToastShow: Schema.Struct<{
|
|
|
102
102
|
readonly type: Schema.Literal<"tui.toast.show">;
|
|
103
103
|
readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
104
104
|
readonly aggregateID: Schema.String;
|
|
105
|
-
readonly seq: Schema.Int
|
|
106
|
-
readonly version: Schema.Int
|
|
105
|
+
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
106
|
+
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
107
107
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
108
108
|
readonly aggregateID: Schema.String;
|
|
109
|
-
readonly seq: Schema.Int
|
|
110
|
-
readonly version: Schema.Int
|
|
109
|
+
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
110
|
+
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
111
111
|
}>>, never, never>;
|
|
112
112
|
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
113
113
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
@@ -155,12 +155,12 @@ export declare const SessionSelect: Schema.Struct<{
|
|
|
155
155
|
readonly type: Schema.Literal<"tui.session.select">;
|
|
156
156
|
readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
157
157
|
readonly aggregateID: Schema.String;
|
|
158
|
-
readonly seq: Schema.Int
|
|
159
|
-
readonly version: Schema.Int
|
|
158
|
+
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
159
|
+
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
160
160
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
161
161
|
readonly aggregateID: Schema.String;
|
|
162
|
-
readonly seq: Schema.Int
|
|
163
|
-
readonly version: Schema.Int
|
|
162
|
+
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
163
|
+
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
164
164
|
}>>, never, never>;
|
|
165
165
|
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
166
166
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
@@ -202,12 +202,12 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
202
202
|
readonly type: Schema.Literal<"tui.prompt.append">;
|
|
203
203
|
readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
204
204
|
readonly aggregateID: Schema.String;
|
|
205
|
-
readonly seq: Schema.Int
|
|
206
|
-
readonly version: Schema.Int
|
|
205
|
+
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
206
|
+
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
207
207
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
208
208
|
readonly aggregateID: Schema.String;
|
|
209
|
-
readonly seq: Schema.Int
|
|
210
|
-
readonly version: Schema.Int
|
|
209
|
+
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
210
|
+
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
211
211
|
}>>, never, never>;
|
|
212
212
|
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
213
213
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
@@ -248,12 +248,12 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
248
248
|
readonly type: Schema.Literal<"tui.command.execute">;
|
|
249
249
|
readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
250
250
|
readonly aggregateID: Schema.String;
|
|
251
|
-
readonly seq: Schema.Int
|
|
252
|
-
readonly version: Schema.Int
|
|
251
|
+
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
252
|
+
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
253
253
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
254
254
|
readonly aggregateID: Schema.String;
|
|
255
|
-
readonly seq: Schema.Int
|
|
256
|
-
readonly version: Schema.Int
|
|
255
|
+
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
256
|
+
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
257
257
|
}>>, never, never>;
|
|
258
258
|
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
259
259
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
@@ -294,12 +294,12 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
294
294
|
readonly type: Schema.Literal<"tui.toast.show">;
|
|
295
295
|
readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
296
296
|
readonly aggregateID: Schema.String;
|
|
297
|
-
readonly seq: Schema.Int
|
|
298
|
-
readonly version: Schema.Int
|
|
297
|
+
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
298
|
+
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
299
299
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
300
300
|
readonly aggregateID: Schema.String;
|
|
301
|
-
readonly seq: Schema.Int
|
|
302
|
-
readonly version: Schema.Int
|
|
301
|
+
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
302
|
+
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
303
303
|
}>>, never, never>;
|
|
304
304
|
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
305
305
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
@@ -346,12 +346,12 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
346
346
|
readonly type: Schema.Literal<"tui.session.select">;
|
|
347
347
|
readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
348
348
|
readonly aggregateID: Schema.String;
|
|
349
|
-
readonly seq: Schema.Int
|
|
350
|
-
readonly version: Schema.Int
|
|
349
|
+
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
350
|
+
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
351
351
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
352
352
|
readonly aggregateID: Schema.String;
|
|
353
|
-
readonly seq: Schema.Int
|
|
354
|
-
readonly version: Schema.Int
|
|
353
|
+
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
354
|
+
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
355
355
|
}>>, never, never>;
|
|
356
356
|
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
357
357
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
@@ -8,12 +8,12 @@ export declare const CommandExecuted: Schema.Struct<{
|
|
|
8
8
|
readonly type: Schema.Literal<"command.executed">;
|
|
9
9
|
readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
10
10
|
readonly aggregateID: Schema.String;
|
|
11
|
-
readonly seq: Schema.Int
|
|
12
|
-
readonly version: Schema.Int
|
|
11
|
+
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
12
|
+
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
13
13
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
14
14
|
readonly aggregateID: Schema.String;
|
|
15
|
-
readonly seq: Schema.Int
|
|
16
|
-
readonly version: Schema.Int
|
|
15
|
+
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
16
|
+
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
17
17
|
}>>, never, never>;
|
|
18
18
|
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
19
19
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
@@ -71,12 +71,12 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
71
71
|
readonly type: Schema.Literal<"command.executed">;
|
|
72
72
|
readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
73
73
|
readonly aggregateID: Schema.String;
|
|
74
|
-
readonly seq: Schema.Int
|
|
75
|
-
readonly version: Schema.Int
|
|
74
|
+
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
75
|
+
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
76
76
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
77
77
|
readonly aggregateID: Schema.String;
|
|
78
|
-
readonly seq: Schema.Int
|
|
79
|
-
readonly version: Schema.Int
|
|
78
|
+
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
79
|
+
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
80
80
|
}>>, never, never>;
|
|
81
81
|
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
82
82
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
package/dist/v1/permission.d.ts
CHANGED
|
@@ -90,12 +90,12 @@ export declare const Event: {
|
|
|
90
90
|
readonly type: Schema.Literal<"permission.asked">;
|
|
91
91
|
readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
92
92
|
readonly aggregateID: Schema.String;
|
|
93
|
-
readonly seq: Schema.Int
|
|
94
|
-
readonly version: Schema.Int
|
|
93
|
+
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
94
|
+
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
95
95
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
96
96
|
readonly aggregateID: Schema.String;
|
|
97
|
-
readonly seq: Schema.Int
|
|
98
|
-
readonly version: Schema.Int
|
|
97
|
+
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
98
|
+
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
99
99
|
}>>, never, never>;
|
|
100
100
|
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
101
101
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
@@ -165,12 +165,12 @@ export declare const Event: {
|
|
|
165
165
|
readonly type: Schema.Literal<"permission.replied">;
|
|
166
166
|
readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
167
167
|
readonly aggregateID: Schema.String;
|
|
168
|
-
readonly seq: Schema.Int
|
|
169
|
-
readonly version: Schema.Int
|
|
168
|
+
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
169
|
+
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
170
170
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
171
171
|
readonly aggregateID: Schema.String;
|
|
172
|
-
readonly seq: Schema.Int
|
|
173
|
-
readonly version: Schema.Int
|
|
172
|
+
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
173
|
+
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
174
174
|
}>>, never, never>;
|
|
175
175
|
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
176
176
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
@@ -226,12 +226,12 @@ export declare const Event: {
|
|
|
226
226
|
readonly type: Schema.Literal<"permission.asked">;
|
|
227
227
|
readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
228
228
|
readonly aggregateID: Schema.String;
|
|
229
|
-
readonly seq: Schema.Int
|
|
230
|
-
readonly version: Schema.Int
|
|
229
|
+
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
230
|
+
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
231
231
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
232
232
|
readonly aggregateID: Schema.String;
|
|
233
|
-
readonly seq: Schema.Int
|
|
234
|
-
readonly version: Schema.Int
|
|
233
|
+
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
234
|
+
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
235
235
|
}>>, never, never>;
|
|
236
236
|
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
237
237
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
@@ -300,12 +300,12 @@ export declare const Event: {
|
|
|
300
300
|
readonly type: Schema.Literal<"permission.replied">;
|
|
301
301
|
readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
302
302
|
readonly aggregateID: Schema.String;
|
|
303
|
-
readonly seq: Schema.Int
|
|
304
|
-
readonly version: Schema.Int
|
|
303
|
+
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
304
|
+
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
305
305
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
306
306
|
readonly aggregateID: Schema.String;
|
|
307
|
-
readonly seq: Schema.Int
|
|
308
|
-
readonly version: Schema.Int
|
|
307
|
+
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
308
|
+
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
309
309
|
}>>, never, never>;
|
|
310
310
|
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
311
311
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
package/dist/v1/question.d.ts
CHANGED
|
@@ -89,12 +89,12 @@ export declare const Event: {
|
|
|
89
89
|
readonly type: Schema.Literal<"question.asked">;
|
|
90
90
|
readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
91
91
|
readonly aggregateID: Schema.String;
|
|
92
|
-
readonly seq: Schema.Int
|
|
93
|
-
readonly version: Schema.Int
|
|
92
|
+
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
93
|
+
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
94
94
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
95
95
|
readonly aggregateID: Schema.String;
|
|
96
|
-
readonly seq: Schema.Int
|
|
97
|
-
readonly version: Schema.Int
|
|
96
|
+
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
97
|
+
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
98
98
|
}>>, never, never>;
|
|
99
99
|
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
100
100
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
@@ -180,12 +180,12 @@ export declare const Event: {
|
|
|
180
180
|
readonly type: Schema.Literal<"question.replied">;
|
|
181
181
|
readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
182
182
|
readonly aggregateID: Schema.String;
|
|
183
|
-
readonly seq: Schema.Int
|
|
184
|
-
readonly version: Schema.Int
|
|
183
|
+
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
184
|
+
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
185
185
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
186
186
|
readonly aggregateID: Schema.String;
|
|
187
|
-
readonly seq: Schema.Int
|
|
188
|
-
readonly version: Schema.Int
|
|
187
|
+
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
188
|
+
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
189
189
|
}>>, never, never>;
|
|
190
190
|
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
191
191
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
@@ -241,12 +241,12 @@ export declare const Event: {
|
|
|
241
241
|
readonly type: Schema.Literal<"question.rejected">;
|
|
242
242
|
readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
243
243
|
readonly aggregateID: Schema.String;
|
|
244
|
-
readonly seq: Schema.Int
|
|
245
|
-
readonly version: Schema.Int
|
|
244
|
+
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
245
|
+
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
246
246
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
247
247
|
readonly aggregateID: Schema.String;
|
|
248
|
-
readonly seq: Schema.Int
|
|
249
|
-
readonly version: Schema.Int
|
|
248
|
+
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
249
|
+
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
250
250
|
}>>, never, never>;
|
|
251
251
|
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
252
252
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
@@ -300,12 +300,12 @@ export declare const Event: {
|
|
|
300
300
|
readonly type: Schema.Literal<"question.asked">;
|
|
301
301
|
readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
302
302
|
readonly aggregateID: Schema.String;
|
|
303
|
-
readonly seq: Schema.Int
|
|
304
|
-
readonly version: Schema.Int
|
|
303
|
+
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
304
|
+
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
305
305
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
306
306
|
readonly aggregateID: Schema.String;
|
|
307
|
-
readonly seq: Schema.Int
|
|
308
|
-
readonly version: Schema.Int
|
|
307
|
+
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
308
|
+
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
309
309
|
}>>, never, never>;
|
|
310
310
|
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
311
311
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
@@ -390,12 +390,12 @@ export declare const Event: {
|
|
|
390
390
|
readonly type: Schema.Literal<"question.replied">;
|
|
391
391
|
readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
392
392
|
readonly aggregateID: Schema.String;
|
|
393
|
-
readonly seq: Schema.Int
|
|
394
|
-
readonly version: Schema.Int
|
|
393
|
+
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
394
|
+
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
395
395
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
396
396
|
readonly aggregateID: Schema.String;
|
|
397
|
-
readonly seq: Schema.Int
|
|
398
|
-
readonly version: Schema.Int
|
|
397
|
+
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
398
|
+
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
399
399
|
}>>, never, never>;
|
|
400
400
|
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
401
401
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
@@ -450,12 +450,12 @@ export declare const Event: {
|
|
|
450
450
|
readonly type: Schema.Literal<"question.rejected">;
|
|
451
451
|
readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
452
452
|
readonly aggregateID: Schema.String;
|
|
453
|
-
readonly seq: Schema.Int
|
|
454
|
-
readonly version: Schema.Int
|
|
453
|
+
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
454
|
+
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
455
455
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
456
456
|
readonly aggregateID: Schema.String;
|
|
457
|
-
readonly seq: Schema.Int
|
|
458
|
-
readonly version: Schema.Int
|
|
457
|
+
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
458
|
+
readonly version: Schema.brand<Schema.Int, "Event.Version">;
|
|
459
459
|
}>>, never, never>;
|
|
460
460
|
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
461
461
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|