@opencode-ai/schema 0.0.0-dev-18252 → 0.0.0-dev-18257
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/event-manifest.d.ts
CHANGED
|
@@ -1235,6 +1235,7 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
1235
1235
|
readonly skills: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
1236
1236
|
readonly id: Schema.brand<Schema.String, "Skill.ID">;
|
|
1237
1237
|
readonly name: Schema.brand<Schema.String, "Skill.Name">;
|
|
1238
|
+
readonly text: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1238
1239
|
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
1239
1240
|
readonly start: Schema.Finite;
|
|
1240
1241
|
readonly end: Schema.Finite;
|
|
@@ -1247,6 +1248,7 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
1247
1248
|
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
1248
1249
|
readonly id: Schema.brand<Schema.String, "Skill.ID">;
|
|
1249
1250
|
readonly name: Schema.brand<Schema.String, "Skill.Name">;
|
|
1251
|
+
readonly text: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1250
1252
|
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
1251
1253
|
readonly start: Schema.Finite;
|
|
1252
1254
|
readonly end: Schema.Finite;
|
|
@@ -1416,6 +1418,7 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
1416
1418
|
readonly skills: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
1417
1419
|
readonly id: Schema.brand<Schema.String, "Skill.ID">;
|
|
1418
1420
|
readonly name: Schema.brand<Schema.String, "Skill.Name">;
|
|
1421
|
+
readonly text: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1419
1422
|
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
1420
1423
|
readonly start: Schema.Finite;
|
|
1421
1424
|
readonly end: Schema.Finite;
|
|
@@ -1428,6 +1431,7 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
1428
1431
|
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
1429
1432
|
readonly id: Schema.brand<Schema.String, "Skill.ID">;
|
|
1430
1433
|
readonly name: Schema.brand<Schema.String, "Skill.Name">;
|
|
1434
|
+
readonly text: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1431
1435
|
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
1432
1436
|
readonly start: Schema.Finite;
|
|
1433
1437
|
readonly end: Schema.Finite;
|
|
@@ -6997,6 +7001,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
6997
7001
|
readonly skills: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
6998
7002
|
readonly id: Schema.brand<Schema.String, "Skill.ID">;
|
|
6999
7003
|
readonly name: Schema.brand<Schema.String, "Skill.Name">;
|
|
7004
|
+
readonly text: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
7000
7005
|
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
7001
7006
|
readonly start: Schema.Finite;
|
|
7002
7007
|
readonly end: Schema.Finite;
|
|
@@ -7009,6 +7014,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
7009
7014
|
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
7010
7015
|
readonly id: Schema.brand<Schema.String, "Skill.ID">;
|
|
7011
7016
|
readonly name: Schema.brand<Schema.String, "Skill.Name">;
|
|
7017
|
+
readonly text: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
7012
7018
|
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
7013
7019
|
readonly start: Schema.Finite;
|
|
7014
7020
|
readonly end: Schema.Finite;
|
|
@@ -7178,6 +7184,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
7178
7184
|
readonly skills: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
7179
7185
|
readonly id: Schema.brand<Schema.String, "Skill.ID">;
|
|
7180
7186
|
readonly name: Schema.brand<Schema.String, "Skill.Name">;
|
|
7187
|
+
readonly text: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
7181
7188
|
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
7182
7189
|
readonly start: Schema.Finite;
|
|
7183
7190
|
readonly end: Schema.Finite;
|
|
@@ -7190,6 +7197,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
7190
7197
|
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
7191
7198
|
readonly id: Schema.brand<Schema.String, "Skill.ID">;
|
|
7192
7199
|
readonly name: Schema.brand<Schema.String, "Skill.Name">;
|
|
7200
|
+
readonly text: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
7193
7201
|
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
7194
7202
|
readonly start: Schema.Finite;
|
|
7195
7203
|
readonly end: Schema.Finite;
|
package/dist/prompt.d.ts
CHANGED
|
@@ -75,6 +75,7 @@ export interface SkillAttachment extends Schema.Schema.Type<typeof SkillAttachme
|
|
|
75
75
|
export declare const SkillAttachment: Schema.Struct<{
|
|
76
76
|
readonly id: Schema.brand<Schema.String, "Skill.ID">;
|
|
77
77
|
readonly name: Schema.brand<Schema.String, "Skill.Name">;
|
|
78
|
+
readonly text: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
78
79
|
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
79
80
|
readonly start: Schema.Finite;
|
|
80
81
|
readonly end: Schema.Finite;
|
|
@@ -192,6 +193,7 @@ export declare const Prompt: Schema.Struct<{
|
|
|
192
193
|
readonly skills: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
193
194
|
readonly id: Schema.brand<Schema.String, "Skill.ID">;
|
|
194
195
|
readonly name: Schema.brand<Schema.String, "Skill.Name">;
|
|
196
|
+
readonly text: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
195
197
|
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
196
198
|
readonly start: Schema.Finite;
|
|
197
199
|
readonly end: Schema.Finite;
|
|
@@ -204,6 +206,7 @@ export declare const Prompt: Schema.Struct<{
|
|
|
204
206
|
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
205
207
|
readonly id: Schema.brand<Schema.String, "Skill.ID">;
|
|
206
208
|
readonly name: Schema.brand<Schema.String, "Skill.Name">;
|
|
209
|
+
readonly text: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
207
210
|
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
208
211
|
readonly start: Schema.Finite;
|
|
209
212
|
readonly end: Schema.Finite;
|
|
@@ -228,6 +231,7 @@ export declare const Prompt: Schema.Struct<{
|
|
|
228
231
|
readonly skills?: readonly {
|
|
229
232
|
readonly id: string & import("effect/Brand").Brand<"Skill.ID">;
|
|
230
233
|
readonly name: string & import("effect/Brand").Brand<"Skill.Name">;
|
|
234
|
+
readonly text?: string | undefined;
|
|
231
235
|
readonly mention?: {
|
|
232
236
|
readonly start: number;
|
|
233
237
|
readonly end: number;
|
|
@@ -265,6 +269,7 @@ export declare const Prompt: Schema.Struct<{
|
|
|
265
269
|
readonly skills?: readonly {
|
|
266
270
|
readonly id: string & import("effect/Brand").Brand<"Skill.ID">;
|
|
267
271
|
readonly name: string & import("effect/Brand").Brand<"Skill.Name">;
|
|
272
|
+
readonly text?: string | undefined;
|
|
268
273
|
readonly mention?: {
|
|
269
274
|
readonly start: number;
|
|
270
275
|
readonly end: number;
|
package/dist/prompt.js
CHANGED
|
@@ -40,6 +40,7 @@ export const AgentAttachment = Schema.Struct({
|
|
|
40
40
|
export const SkillAttachment = Schema.Struct({
|
|
41
41
|
id: Skill.ID,
|
|
42
42
|
name: Skill.Name,
|
|
43
|
+
text: Schema.String.pipe(optional),
|
|
43
44
|
mention: PromptMention.pipe(optional),
|
|
44
45
|
}).annotate({ identifier: "Prompt.SkillAttachment" });
|
|
45
46
|
export const Prompt = Schema.Struct({
|
package/dist/session-event.d.ts
CHANGED
|
@@ -1140,6 +1140,7 @@ export declare const InboxEnqueued: Schema.Struct<{
|
|
|
1140
1140
|
readonly skills: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
1141
1141
|
readonly id: Schema.brand<Schema.String, "Skill.ID">;
|
|
1142
1142
|
readonly name: Schema.brand<Schema.String, "Skill.Name">;
|
|
1143
|
+
readonly text: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1143
1144
|
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
1144
1145
|
readonly start: Schema.Finite;
|
|
1145
1146
|
readonly end: Schema.Finite;
|
|
@@ -1152,6 +1153,7 @@ export declare const InboxEnqueued: Schema.Struct<{
|
|
|
1152
1153
|
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
1153
1154
|
readonly id: Schema.brand<Schema.String, "Skill.ID">;
|
|
1154
1155
|
readonly name: Schema.brand<Schema.String, "Skill.Name">;
|
|
1156
|
+
readonly text: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1155
1157
|
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
1156
1158
|
readonly start: Schema.Finite;
|
|
1157
1159
|
readonly end: Schema.Finite;
|
|
@@ -1321,6 +1323,7 @@ export declare const InboxEnqueued: Schema.Struct<{
|
|
|
1321
1323
|
readonly skills: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
1322
1324
|
readonly id: Schema.brand<Schema.String, "Skill.ID">;
|
|
1323
1325
|
readonly name: Schema.brand<Schema.String, "Skill.Name">;
|
|
1326
|
+
readonly text: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1324
1327
|
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
1325
1328
|
readonly start: Schema.Finite;
|
|
1326
1329
|
readonly end: Schema.Finite;
|
|
@@ -1333,6 +1336,7 @@ export declare const InboxEnqueued: Schema.Struct<{
|
|
|
1333
1336
|
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
1334
1337
|
readonly id: Schema.brand<Schema.String, "Skill.ID">;
|
|
1335
1338
|
readonly name: Schema.brand<Schema.String, "Skill.Name">;
|
|
1339
|
+
readonly text: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1336
1340
|
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
1337
1341
|
readonly start: Schema.Finite;
|
|
1338
1342
|
readonly end: Schema.Finite;
|
|
@@ -4890,6 +4894,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
4890
4894
|
readonly skills: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
4891
4895
|
readonly id: Schema.brand<Schema.String, "Skill.ID">;
|
|
4892
4896
|
readonly name: Schema.brand<Schema.String, "Skill.Name">;
|
|
4897
|
+
readonly text: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
4893
4898
|
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
4894
4899
|
readonly start: Schema.Finite;
|
|
4895
4900
|
readonly end: Schema.Finite;
|
|
@@ -4902,6 +4907,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
4902
4907
|
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
4903
4908
|
readonly id: Schema.brand<Schema.String, "Skill.ID">;
|
|
4904
4909
|
readonly name: Schema.brand<Schema.String, "Skill.Name">;
|
|
4910
|
+
readonly text: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
4905
4911
|
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
4906
4912
|
readonly start: Schema.Finite;
|
|
4907
4913
|
readonly end: Schema.Finite;
|
|
@@ -5071,6 +5077,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
5071
5077
|
readonly skills: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
5072
5078
|
readonly id: Schema.brand<Schema.String, "Skill.ID">;
|
|
5073
5079
|
readonly name: Schema.brand<Schema.String, "Skill.Name">;
|
|
5080
|
+
readonly text: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
5074
5081
|
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
5075
5082
|
readonly start: Schema.Finite;
|
|
5076
5083
|
readonly end: Schema.Finite;
|
|
@@ -5083,6 +5090,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
5083
5090
|
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
5084
5091
|
readonly id: Schema.brand<Schema.String, "Skill.ID">;
|
|
5085
5092
|
readonly name: Schema.brand<Schema.String, "Skill.Name">;
|
|
5093
|
+
readonly text: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
5086
5094
|
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
5087
5095
|
readonly start: Schema.Finite;
|
|
5088
5096
|
readonly end: Schema.Finite;
|
|
@@ -8479,6 +8487,7 @@ export declare const DurableDefinitions: readonly [...((Schema.Struct<{
|
|
|
8479
8487
|
readonly skills: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
8480
8488
|
readonly id: Schema.brand<Schema.String, "Skill.ID">;
|
|
8481
8489
|
readonly name: Schema.brand<Schema.String, "Skill.Name">;
|
|
8490
|
+
readonly text: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
8482
8491
|
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
8483
8492
|
readonly start: Schema.Finite;
|
|
8484
8493
|
readonly end: Schema.Finite;
|
|
@@ -8491,6 +8500,7 @@ export declare const DurableDefinitions: readonly [...((Schema.Struct<{
|
|
|
8491
8500
|
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
8492
8501
|
readonly id: Schema.brand<Schema.String, "Skill.ID">;
|
|
8493
8502
|
readonly name: Schema.brand<Schema.String, "Skill.Name">;
|
|
8503
|
+
readonly text: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
8494
8504
|
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
8495
8505
|
readonly start: Schema.Finite;
|
|
8496
8506
|
readonly end: Schema.Finite;
|
|
@@ -8660,6 +8670,7 @@ export declare const DurableDefinitions: readonly [...((Schema.Struct<{
|
|
|
8660
8670
|
readonly skills: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
8661
8671
|
readonly id: Schema.brand<Schema.String, "Skill.ID">;
|
|
8662
8672
|
readonly name: Schema.brand<Schema.String, "Skill.Name">;
|
|
8673
|
+
readonly text: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
8663
8674
|
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
8664
8675
|
readonly start: Schema.Finite;
|
|
8665
8676
|
readonly end: Schema.Finite;
|
|
@@ -8672,6 +8683,7 @@ export declare const DurableDefinitions: readonly [...((Schema.Struct<{
|
|
|
8672
8683
|
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
8673
8684
|
readonly id: Schema.brand<Schema.String, "Skill.ID">;
|
|
8674
8685
|
readonly name: Schema.brand<Schema.String, "Skill.Name">;
|
|
8686
|
+
readonly text: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
8675
8687
|
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
8676
8688
|
readonly start: Schema.Finite;
|
|
8677
8689
|
readonly end: Schema.Finite;
|
|
@@ -12211,6 +12223,7 @@ export declare const Durable: Schema.Union<readonly [...((Schema.Struct<{
|
|
|
12211
12223
|
readonly skills: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
12212
12224
|
readonly id: Schema.brand<Schema.String, "Skill.ID">;
|
|
12213
12225
|
readonly name: Schema.brand<Schema.String, "Skill.Name">;
|
|
12226
|
+
readonly text: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
12214
12227
|
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
12215
12228
|
readonly start: Schema.Finite;
|
|
12216
12229
|
readonly end: Schema.Finite;
|
|
@@ -12223,6 +12236,7 @@ export declare const Durable: Schema.Union<readonly [...((Schema.Struct<{
|
|
|
12223
12236
|
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
12224
12237
|
readonly id: Schema.brand<Schema.String, "Skill.ID">;
|
|
12225
12238
|
readonly name: Schema.brand<Schema.String, "Skill.Name">;
|
|
12239
|
+
readonly text: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
12226
12240
|
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
12227
12241
|
readonly start: Schema.Finite;
|
|
12228
12242
|
readonly end: Schema.Finite;
|
|
@@ -12392,6 +12406,7 @@ export declare const Durable: Schema.Union<readonly [...((Schema.Struct<{
|
|
|
12392
12406
|
readonly skills: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
12393
12407
|
readonly id: Schema.brand<Schema.String, "Skill.ID">;
|
|
12394
12408
|
readonly name: Schema.brand<Schema.String, "Skill.Name">;
|
|
12409
|
+
readonly text: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
12395
12410
|
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
12396
12411
|
readonly start: Schema.Finite;
|
|
12397
12412
|
readonly end: Schema.Finite;
|
|
@@ -12404,6 +12419,7 @@ export declare const Durable: Schema.Union<readonly [...((Schema.Struct<{
|
|
|
12404
12419
|
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
12405
12420
|
readonly id: Schema.brand<Schema.String, "Skill.ID">;
|
|
12406
12421
|
readonly name: Schema.brand<Schema.String, "Skill.Name">;
|
|
12422
|
+
readonly text: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
12407
12423
|
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
12408
12424
|
readonly start: Schema.Finite;
|
|
12409
12425
|
readonly end: Schema.Finite;
|
|
@@ -15617,6 +15633,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Union<re
|
|
|
15617
15633
|
readonly skills: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
15618
15634
|
readonly id: Schema.brand<Schema.String, "Skill.ID">;
|
|
15619
15635
|
readonly name: Schema.brand<Schema.String, "Skill.Name">;
|
|
15636
|
+
readonly text: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
15620
15637
|
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
15621
15638
|
readonly start: Schema.Finite;
|
|
15622
15639
|
readonly end: Schema.Finite;
|
|
@@ -15629,6 +15646,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Union<re
|
|
|
15629
15646
|
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
15630
15647
|
readonly id: Schema.brand<Schema.String, "Skill.ID">;
|
|
15631
15648
|
readonly name: Schema.brand<Schema.String, "Skill.Name">;
|
|
15649
|
+
readonly text: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
15632
15650
|
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
15633
15651
|
readonly start: Schema.Finite;
|
|
15634
15652
|
readonly end: Schema.Finite;
|
|
@@ -15798,6 +15816,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Union<re
|
|
|
15798
15816
|
readonly skills: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
15799
15817
|
readonly id: Schema.brand<Schema.String, "Skill.ID">;
|
|
15800
15818
|
readonly name: Schema.brand<Schema.String, "Skill.Name">;
|
|
15819
|
+
readonly text: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
15801
15820
|
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
15802
15821
|
readonly start: Schema.Finite;
|
|
15803
15822
|
readonly end: Schema.Finite;
|
|
@@ -15810,6 +15829,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Union<re
|
|
|
15810
15829
|
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
15811
15830
|
readonly id: Schema.brand<Schema.String, "Skill.ID">;
|
|
15812
15831
|
readonly name: Schema.brand<Schema.String, "Skill.Name">;
|
|
15832
|
+
readonly text: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
15813
15833
|
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
15814
15834
|
readonly start: Schema.Finite;
|
|
15815
15835
|
readonly end: Schema.Finite;
|
package/dist/session-inbox.d.ts
CHANGED
|
@@ -110,6 +110,7 @@ export declare const UserPayload: Schema.Struct<{
|
|
|
110
110
|
readonly skills: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
111
111
|
readonly id: Schema.brand<Schema.String, "Skill.ID">;
|
|
112
112
|
readonly name: Schema.brand<Schema.String, "Skill.Name">;
|
|
113
|
+
readonly text: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
113
114
|
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
114
115
|
readonly start: Schema.Finite;
|
|
115
116
|
readonly end: Schema.Finite;
|
|
@@ -122,6 +123,7 @@ export declare const UserPayload: Schema.Struct<{
|
|
|
122
123
|
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
123
124
|
readonly id: Schema.brand<Schema.String, "Skill.ID">;
|
|
124
125
|
readonly name: Schema.brand<Schema.String, "Skill.Name">;
|
|
126
|
+
readonly text: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
125
127
|
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
126
128
|
readonly start: Schema.Finite;
|
|
127
129
|
readonly end: Schema.Finite;
|
|
@@ -269,6 +271,7 @@ export declare const Item: Schema.Union<readonly [Schema.Struct<{
|
|
|
269
271
|
readonly skills: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
270
272
|
readonly id: Schema.brand<Schema.String, "Skill.ID">;
|
|
271
273
|
readonly name: Schema.brand<Schema.String, "Skill.Name">;
|
|
274
|
+
readonly text: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
272
275
|
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
273
276
|
readonly start: Schema.Finite;
|
|
274
277
|
readonly end: Schema.Finite;
|
|
@@ -281,6 +284,7 @@ export declare const Item: Schema.Union<readonly [Schema.Struct<{
|
|
|
281
284
|
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
282
285
|
readonly id: Schema.brand<Schema.String, "Skill.ID">;
|
|
283
286
|
readonly name: Schema.brand<Schema.String, "Skill.Name">;
|
|
287
|
+
readonly text: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
284
288
|
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
285
289
|
readonly start: Schema.Finite;
|
|
286
290
|
readonly end: Schema.Finite;
|
|
@@ -436,6 +440,7 @@ export declare const User: Schema.Struct<{
|
|
|
436
440
|
readonly skills: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
437
441
|
readonly id: Schema.brand<Schema.String, "Skill.ID">;
|
|
438
442
|
readonly name: Schema.brand<Schema.String, "Skill.Name">;
|
|
443
|
+
readonly text: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
439
444
|
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
440
445
|
readonly start: Schema.Finite;
|
|
441
446
|
readonly end: Schema.Finite;
|
|
@@ -448,6 +453,7 @@ export declare const User: Schema.Struct<{
|
|
|
448
453
|
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
449
454
|
readonly id: Schema.brand<Schema.String, "Skill.ID">;
|
|
450
455
|
readonly name: Schema.brand<Schema.String, "Skill.Name">;
|
|
456
|
+
readonly text: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
451
457
|
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
452
458
|
readonly start: Schema.Finite;
|
|
453
459
|
readonly end: Schema.Finite;
|
|
@@ -645,6 +651,7 @@ export declare const Info: Schema.Union<readonly [Schema.Struct<{
|
|
|
645
651
|
readonly skills: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
646
652
|
readonly id: Schema.brand<Schema.String, "Skill.ID">;
|
|
647
653
|
readonly name: Schema.brand<Schema.String, "Skill.Name">;
|
|
654
|
+
readonly text: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
648
655
|
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
649
656
|
readonly start: Schema.Finite;
|
|
650
657
|
readonly end: Schema.Finite;
|
|
@@ -657,6 +664,7 @@ export declare const Info: Schema.Union<readonly [Schema.Struct<{
|
|
|
657
664
|
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
658
665
|
readonly id: Schema.brand<Schema.String, "Skill.ID">;
|
|
659
666
|
readonly name: Schema.brand<Schema.String, "Skill.Name">;
|
|
667
|
+
readonly text: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
660
668
|
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
661
669
|
readonly start: Schema.Finite;
|
|
662
670
|
readonly end: Schema.Finite;
|
|
@@ -275,6 +275,7 @@ export declare const User: Schema.Struct<{
|
|
|
275
275
|
readonly skills: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
276
276
|
readonly id: Schema.brand<Schema.String, "Skill.ID">;
|
|
277
277
|
readonly name: Schema.brand<Schema.String, "Skill.Name">;
|
|
278
|
+
readonly text: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
278
279
|
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
279
280
|
readonly start: Schema.Finite;
|
|
280
281
|
readonly end: Schema.Finite;
|
|
@@ -287,6 +288,7 @@ export declare const User: Schema.Struct<{
|
|
|
287
288
|
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
288
289
|
readonly id: Schema.brand<Schema.String, "Skill.ID">;
|
|
289
290
|
readonly name: Schema.brand<Schema.String, "Skill.Name">;
|
|
291
|
+
readonly text: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
290
292
|
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
291
293
|
readonly start: Schema.Finite;
|
|
292
294
|
readonly end: Schema.Finite;
|
|
@@ -1193,6 +1195,7 @@ export declare const Info: Schema.Union<readonly [Schema.Struct<{
|
|
|
1193
1195
|
readonly skills: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
1194
1196
|
readonly id: Schema.brand<Schema.String, "Skill.ID">;
|
|
1195
1197
|
readonly name: Schema.brand<Schema.String, "Skill.Name">;
|
|
1198
|
+
readonly text: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1196
1199
|
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
1197
1200
|
readonly start: Schema.Finite;
|
|
1198
1201
|
readonly end: Schema.Finite;
|
|
@@ -1205,6 +1208,7 @@ export declare const Info: Schema.Union<readonly [Schema.Struct<{
|
|
|
1205
1208
|
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
1206
1209
|
readonly id: Schema.brand<Schema.String, "Skill.ID">;
|
|
1207
1210
|
readonly name: Schema.brand<Schema.String, "Skill.Name">;
|
|
1211
|
+
readonly text: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1208
1212
|
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
1209
1213
|
readonly start: Schema.Finite;
|
|
1210
1214
|
readonly end: Schema.Finite;
|
|
@@ -431,6 +431,7 @@ export declare const Data: Schema.Struct<{
|
|
|
431
431
|
readonly skills: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
432
432
|
readonly id: Schema.brand<Schema.String, "Skill.ID">;
|
|
433
433
|
readonly name: Schema.brand<Schema.String, "Skill.Name">;
|
|
434
|
+
readonly text: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
434
435
|
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
435
436
|
readonly start: Schema.Finite;
|
|
436
437
|
readonly end: Schema.Finite;
|
|
@@ -443,6 +444,7 @@ export declare const Data: Schema.Struct<{
|
|
|
443
444
|
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
444
445
|
readonly id: Schema.brand<Schema.String, "Skill.ID">;
|
|
445
446
|
readonly name: Schema.brand<Schema.String, "Skill.Name">;
|
|
447
|
+
readonly text: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
446
448
|
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
447
449
|
readonly start: Schema.Finite;
|
|
448
450
|
readonly end: Schema.Finite;
|