@ref0/git 0.9.0 → 0.10.0
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/contracts/commits.d.mts +14 -2
- package/dist/contracts/commits.mjs +22 -3
- package/dist/contracts/refs.mjs +3 -1
- package/dist/core/events/seen.mjs +5 -4
- package/dist/core/job-view.mjs +20 -0
- package/dist/core/ref-view.mjs +1 -25
- package/dist/core/work.mjs +47 -4
- package/dist/engine/walk.mjs +51 -13
- package/dist/index.d.mts +3 -3
- package/dist/index.mjs +3 -3
- package/dist/lfs/upload-most.mjs +1 -1
- package/dist/rest/commits.d.mts +90 -86
- package/dist/rest/forks.d.mts +72 -72
- package/dist/rest/refs.d.mts +142 -142
- package/dist/rest/repos.d.mts +41 -41
- package/dist/rest/topics.d.mts +104 -104
- package/dist/rest/trees.d.mts +61 -61
- package/package.json +3 -3
package/dist/rest/commits.d.mts
CHANGED
|
@@ -1,56 +1,43 @@
|
|
|
1
1
|
import { GitCallerMiddleware, GitRestServices } from "./caller.mjs";
|
|
2
2
|
import * as Schema from "effect/Schema";
|
|
3
3
|
import { HttpApiEndpoint, HttpApiGroup, HttpApiSchema } from "effect/http-api";
|
|
4
|
-
declare const CommitsApiGroup_base: HttpApiGroup.HttpApiGroup<"commits", HttpApiEndpoint.HttpApiEndpoint<"
|
|
4
|
+
declare const CommitsApiGroup_base: HttpApiGroup.HttpApiGroup<"commits", HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/repos/:repo/-/commits", Schema.toCodecStringTree<Schema.Struct<{
|
|
5
5
|
repo: Schema.String;
|
|
6
|
-
}>>,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
readonly
|
|
24
|
-
readonly
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
readonly
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
6
|
+
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
7
|
+
objects: Schema.optionalKey<Schema.Int>;
|
|
8
|
+
bytes: Schema.optionalKey<Schema.Int>;
|
|
9
|
+
entries: Schema.optionalKey<Schema.Int>;
|
|
10
|
+
milliseconds: Schema.optionalKey<Schema.Int>;
|
|
11
|
+
after: Schema.optionalKey<Schema.String>;
|
|
12
|
+
limit: Schema.optionalKey<Schema.Int>;
|
|
13
|
+
ref: Schema.String;
|
|
14
|
+
path: Schema.optionalKey<Schema.String>;
|
|
15
|
+
authors: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
16
|
+
committers: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
17
|
+
since: Schema.optionalKey<Schema.Number>;
|
|
18
|
+
until: Schema.optionalKey<Schema.Number>;
|
|
19
|
+
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
20
|
+
readonly items: Schema.mutable<Schema.$Array<Schema.Struct<{
|
|
21
|
+
readonly oid: Schema.String;
|
|
22
|
+
readonly tree: Schema.String;
|
|
23
|
+
readonly parents: Schema.$Array<Schema.String>;
|
|
24
|
+
readonly author: Schema.Struct<{
|
|
25
|
+
readonly name: Schema.String;
|
|
26
|
+
readonly email: Schema.String;
|
|
27
|
+
readonly at: Schema.Number;
|
|
28
|
+
readonly offset: Schema.Int;
|
|
29
|
+
}>;
|
|
30
|
+
readonly committer: Schema.Struct<{
|
|
31
|
+
readonly name: Schema.String;
|
|
32
|
+
readonly email: Schema.String;
|
|
33
|
+
readonly at: Schema.Number;
|
|
34
|
+
readonly offset: Schema.Int;
|
|
35
|
+
}>;
|
|
36
|
+
readonly subject: Schema.String;
|
|
37
|
+
readonly message: Schema.String;
|
|
38
|
+
readonly signature: Schema.optionalKey<Schema.String>;
|
|
34
39
|
}>>>;
|
|
35
|
-
|
|
36
|
-
readonly oid: Schema.String;
|
|
37
|
-
readonly tree: Schema.String;
|
|
38
|
-
readonly parents: Schema.$Array<Schema.String>;
|
|
39
|
-
readonly author: Schema.Struct<{
|
|
40
|
-
readonly name: Schema.String;
|
|
41
|
-
readonly email: Schema.String;
|
|
42
|
-
readonly at: Schema.Number;
|
|
43
|
-
readonly offset: Schema.Int;
|
|
44
|
-
}>;
|
|
45
|
-
readonly committer: Schema.Struct<{
|
|
46
|
-
readonly name: Schema.String;
|
|
47
|
-
readonly email: Schema.String;
|
|
48
|
-
readonly at: Schema.Number;
|
|
49
|
-
readonly offset: Schema.Int;
|
|
50
|
-
}>;
|
|
51
|
-
readonly subject: Schema.String;
|
|
52
|
-
readonly message: Schema.String;
|
|
53
|
-
readonly signature: Schema.optionalKey<Schema.String>;
|
|
40
|
+
readonly next: Schema.optionalKey<Schema.String>;
|
|
54
41
|
}>>, Schema.toCodecJson<HttpApiSchema.encodeToWithHeaders<Schema.Codec<{
|
|
55
42
|
readonly code: "ALREADY_EXISTS";
|
|
56
43
|
readonly message: string;
|
|
@@ -450,39 +437,33 @@ declare const CommitsApiGroup_base: HttpApiGroup.HttpApiGroup<"commits", HttpApi
|
|
|
450
437
|
}>, {
|
|
451
438
|
"ref0-code": Schema.String;
|
|
452
439
|
'www-authenticate': Schema.String;
|
|
453
|
-
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
440
|
+
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"get", "GET", "/repos/:repo/-/commits/:oid", Schema.toCodecStringTree<Schema.Struct<{
|
|
454
441
|
repo: Schema.String;
|
|
442
|
+
oid: Schema.String;
|
|
455
443
|
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
456
|
-
objects: Schema.optionalKey<Schema.Int>;
|
|
457
|
-
bytes: Schema.optionalKey<Schema.Int>;
|
|
458
|
-
entries: Schema.optionalKey<Schema.Int>;
|
|
459
|
-
milliseconds: Schema.optionalKey<Schema.Int>;
|
|
460
|
-
after: Schema.optionalKey<Schema.String>;
|
|
461
|
-
limit: Schema.optionalKey<Schema.Int>;
|
|
462
|
-
ref: Schema.String;
|
|
463
|
-
path: Schema.optionalKey<Schema.String>;
|
|
444
|
+
readonly objects: Schema.optionalKey<Schema.Int>;
|
|
445
|
+
readonly bytes: Schema.optionalKey<Schema.Int>;
|
|
446
|
+
readonly entries: Schema.optionalKey<Schema.Int>;
|
|
447
|
+
readonly milliseconds: Schema.optionalKey<Schema.Int>;
|
|
464
448
|
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
465
|
-
readonly
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
readonly
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
readonly
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
readonly signature: Schema.optionalKey<Schema.String>;
|
|
484
|
-
}>>>;
|
|
485
|
-
readonly next: Schema.optionalKey<Schema.String>;
|
|
449
|
+
readonly oid: Schema.String;
|
|
450
|
+
readonly tree: Schema.String;
|
|
451
|
+
readonly parents: Schema.$Array<Schema.String>;
|
|
452
|
+
readonly author: Schema.Struct<{
|
|
453
|
+
readonly name: Schema.String;
|
|
454
|
+
readonly email: Schema.String;
|
|
455
|
+
readonly at: Schema.Number;
|
|
456
|
+
readonly offset: Schema.Int;
|
|
457
|
+
}>;
|
|
458
|
+
readonly committer: Schema.Struct<{
|
|
459
|
+
readonly name: Schema.String;
|
|
460
|
+
readonly email: Schema.String;
|
|
461
|
+
readonly at: Schema.Number;
|
|
462
|
+
readonly offset: Schema.Int;
|
|
463
|
+
}>;
|
|
464
|
+
readonly subject: Schema.String;
|
|
465
|
+
readonly message: Schema.String;
|
|
466
|
+
readonly signature: Schema.optionalKey<Schema.String>;
|
|
486
467
|
}>>, Schema.toCodecJson<HttpApiSchema.encodeToWithHeaders<Schema.Codec<{
|
|
487
468
|
readonly code: "ALREADY_EXISTS";
|
|
488
469
|
readonly message: string;
|
|
@@ -882,15 +863,38 @@ declare const CommitsApiGroup_base: HttpApiGroup.HttpApiGroup<"commits", HttpApi
|
|
|
882
863
|
}>, {
|
|
883
864
|
"ref0-code": Schema.String;
|
|
884
865
|
'www-authenticate': Schema.String;
|
|
885
|
-
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
866
|
+
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"create", "POST", "/repos/:repo/-/commits", Schema.toCodecStringTree<Schema.Struct<{
|
|
886
867
|
repo: Schema.String;
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
readonly
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
868
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
869
|
+
readonly message: Schema.String;
|
|
870
|
+
readonly author: Schema.Struct<{
|
|
871
|
+
readonly name: Schema.String;
|
|
872
|
+
readonly email: Schema.String;
|
|
873
|
+
readonly at: Schema.Number;
|
|
874
|
+
readonly offset: Schema.Int;
|
|
875
|
+
}>;
|
|
876
|
+
readonly parents: Schema.$Array<Schema.String>;
|
|
877
|
+
readonly committer: Schema.optionalKey<Schema.Struct<{
|
|
878
|
+
readonly name: Schema.String;
|
|
879
|
+
readonly email: Schema.String;
|
|
880
|
+
readonly at: Schema.Number;
|
|
881
|
+
readonly offset: Schema.Int;
|
|
882
|
+
}>>;
|
|
883
|
+
readonly signature: Schema.optionalKey<Schema.String>;
|
|
884
|
+
readonly ref: Schema.optionalKey<Schema.Struct<{
|
|
885
|
+
readonly name: Schema.String;
|
|
886
|
+
readonly from: Schema.NullOr<Schema.String>;
|
|
887
|
+
}>>;
|
|
888
|
+
readonly key: Schema.optionalKey<Schema.String>;
|
|
889
|
+
readonly tree: Schema.optionalKey<Schema.String>;
|
|
890
|
+
readonly changes: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
891
|
+
readonly path: Schema.String;
|
|
892
|
+
readonly mode: Schema.optionalKey<Schema.String>;
|
|
893
|
+
readonly oid: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
894
|
+
readonly content: Schema.optionalKey<Schema.String>;
|
|
895
|
+
readonly contentBytes: Schema.optionalKey<Schema.Uint8ArrayFromBase64>;
|
|
896
|
+
}>>>;
|
|
897
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
894
898
|
readonly oid: Schema.String;
|
|
895
899
|
readonly tree: Schema.String;
|
|
896
900
|
readonly parents: Schema.$Array<Schema.String>;
|
package/dist/rest/forks.d.mts
CHANGED
|
@@ -1,38 +1,40 @@
|
|
|
1
1
|
import { GitCallerMiddleware, GitRestServices } from "./caller.mjs";
|
|
2
2
|
import * as Schema from "effect/Schema";
|
|
3
3
|
import { HttpApiEndpoint, HttpApiGroup, HttpApiSchema } from "effect/http-api";
|
|
4
|
-
declare const ForksApiGroup_base: HttpApiGroup.HttpApiGroup<"forks", HttpApiEndpoint.HttpApiEndpoint<"
|
|
4
|
+
declare const ForksApiGroup_base: HttpApiGroup.HttpApiGroup<"forks", HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/repos/:repo/-/forks", Schema.toCodecStringTree<Schema.Struct<{
|
|
5
5
|
repo: Schema.String;
|
|
6
|
-
}>>,
|
|
7
|
-
readonly
|
|
8
|
-
readonly
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
6
|
+
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
7
|
+
readonly after: Schema.optionalKey<Schema.String>;
|
|
8
|
+
readonly limit: Schema.optionalKey<Schema.Int>;
|
|
9
|
+
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
10
|
+
readonly items: Schema.mutable<Schema.$Array<Schema.Struct<{
|
|
11
|
+
readonly name: Schema.String;
|
|
12
|
+
readonly defaultBranch: Schema.optionalKey<Schema.String>;
|
|
13
|
+
readonly public: Schema.Boolean;
|
|
14
|
+
readonly upstream: Schema.optionalKey<Schema.String>;
|
|
15
|
+
readonly stats: Schema.Struct<{
|
|
16
|
+
readonly repo: Schema.String;
|
|
17
|
+
readonly refs: Schema.Number;
|
|
18
|
+
readonly packs: Schema.optionalKey<Schema.Number>;
|
|
19
|
+
readonly packBytes: Schema.optionalKey<Schema.Number>;
|
|
20
|
+
readonly ownBytes: Schema.optionalKey<Schema.Number>;
|
|
21
|
+
readonly pushedAt: Schema.optionalKey<Schema.Number>;
|
|
22
|
+
readonly maintainedAt: Schema.optionalKey<Schema.Number>;
|
|
23
|
+
}>;
|
|
24
|
+
readonly work: Schema.optionalKey<Schema.Struct<{
|
|
25
|
+
readonly waiting: Schema.Number;
|
|
26
|
+
readonly oldestDue: Schema.optionalKey<Schema.Number>;
|
|
27
|
+
readonly failed: Schema.Number;
|
|
28
|
+
readonly oldestFailed: Schema.optionalKey<Schema.Number>;
|
|
29
|
+
readonly index: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
30
|
+
readonly state: Schema.Literal<"refused">;
|
|
31
|
+
readonly retryAt: Schema.Number;
|
|
32
|
+
}>, Schema.Struct<{
|
|
33
|
+
readonly state: Schema.Literal<"too-large">;
|
|
34
|
+
}>]>>;
|
|
35
|
+
}>>;
|
|
36
|
+
}>>>;
|
|
37
|
+
readonly next: Schema.optionalKey<Schema.String>;
|
|
36
38
|
}>>, Schema.toCodecJson<HttpApiSchema.encodeToWithHeaders<Schema.Codec<{
|
|
37
39
|
readonly code: "ALREADY_EXISTS";
|
|
38
40
|
readonly message: string;
|
|
@@ -432,14 +434,34 @@ declare const ForksApiGroup_base: HttpApiGroup.HttpApiGroup<"forks", HttpApiEndp
|
|
|
432
434
|
}>, {
|
|
433
435
|
"ref0-code": Schema.String;
|
|
434
436
|
'www-authenticate': Schema.String;
|
|
435
|
-
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
437
|
+
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"get", "GET", "/repos/:repo/-/forks/:holder", Schema.toCodecStringTree<Schema.Struct<{
|
|
436
438
|
repo: Schema.String;
|
|
439
|
+
holder: Schema.String;
|
|
437
440
|
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
438
|
-
readonly
|
|
439
|
-
readonly
|
|
440
|
-
readonly
|
|
441
|
-
|
|
442
|
-
|
|
441
|
+
readonly name: Schema.String;
|
|
442
|
+
readonly defaultBranch: Schema.optionalKey<Schema.String>;
|
|
443
|
+
readonly public: Schema.Boolean;
|
|
444
|
+
readonly upstream: Schema.optionalKey<Schema.String>;
|
|
445
|
+
readonly stats: Schema.Struct<{
|
|
446
|
+
readonly repo: Schema.String;
|
|
447
|
+
readonly refs: Schema.Number;
|
|
448
|
+
readonly packs: Schema.optionalKey<Schema.Number>;
|
|
449
|
+
readonly packBytes: Schema.optionalKey<Schema.Number>;
|
|
450
|
+
readonly ownBytes: Schema.optionalKey<Schema.Number>;
|
|
451
|
+
readonly pushedAt: Schema.optionalKey<Schema.Number>;
|
|
452
|
+
readonly maintainedAt: Schema.optionalKey<Schema.Number>;
|
|
453
|
+
}>;
|
|
454
|
+
readonly work: Schema.optionalKey<Schema.Struct<{
|
|
455
|
+
readonly waiting: Schema.Number;
|
|
456
|
+
readonly oldestDue: Schema.optionalKey<Schema.Number>;
|
|
457
|
+
readonly failed: Schema.Number;
|
|
458
|
+
readonly oldestFailed: Schema.optionalKey<Schema.Number>;
|
|
459
|
+
readonly index: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
460
|
+
readonly state: Schema.Literal<"refused">;
|
|
461
|
+
readonly retryAt: Schema.Number;
|
|
462
|
+
}>, Schema.Struct<{
|
|
463
|
+
readonly state: Schema.Literal<"too-large">;
|
|
464
|
+
}>]>>;
|
|
443
465
|
}>>;
|
|
444
466
|
}>>, Schema.toCodecJson<HttpApiSchema.encodeToWithHeaders<Schema.Codec<{
|
|
445
467
|
readonly code: "ALREADY_EXISTS";
|
|
@@ -840,10 +862,13 @@ declare const ForksApiGroup_base: HttpApiGroup.HttpApiGroup<"forks", HttpApiEndp
|
|
|
840
862
|
}>, {
|
|
841
863
|
"ref0-code": Schema.String;
|
|
842
864
|
'www-authenticate': Schema.String;
|
|
843
|
-
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
865
|
+
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"create", "POST", "/repos/:repo/-/forks", Schema.toCodecStringTree<Schema.Struct<{
|
|
844
866
|
repo: Schema.String;
|
|
845
|
-
|
|
846
|
-
|
|
867
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
868
|
+
readonly holder: Schema.String;
|
|
869
|
+
readonly key: Schema.optionalKey<Schema.String>;
|
|
870
|
+
readonly name: Schema.optionalKey<Schema.String>;
|
|
871
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
847
872
|
readonly name: Schema.String;
|
|
848
873
|
readonly defaultBranch: Schema.optionalKey<Schema.String>;
|
|
849
874
|
readonly public: Schema.Boolean;
|
|
@@ -1268,40 +1293,15 @@ declare const ForksApiGroup_base: HttpApiGroup.HttpApiGroup<"forks", HttpApiEndp
|
|
|
1268
1293
|
}>, {
|
|
1269
1294
|
"ref0-code": Schema.String;
|
|
1270
1295
|
'www-authenticate': Schema.String;
|
|
1271
|
-
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
1296
|
+
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"fetch", "POST", "/repos/:repo/-/forks/fetch", Schema.toCodecStringTree<Schema.Struct<{
|
|
1272
1297
|
repo: Schema.String;
|
|
1273
|
-
}>>, Schema.
|
|
1274
|
-
readonly
|
|
1275
|
-
readonly
|
|
1276
|
-
|
|
1277
|
-
readonly items: Schema.mutable<Schema.$Array<Schema.Struct<{
|
|
1298
|
+
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1299
|
+
readonly source: Schema.String;
|
|
1300
|
+
readonly head: Schema.optionalKey<Schema.String>;
|
|
1301
|
+
readonly tips: Schema.$Array<Schema.Struct<{
|
|
1278
1302
|
readonly name: Schema.String;
|
|
1279
|
-
readonly
|
|
1280
|
-
|
|
1281
|
-
readonly upstream: Schema.optionalKey<Schema.String>;
|
|
1282
|
-
readonly stats: Schema.Struct<{
|
|
1283
|
-
readonly repo: Schema.String;
|
|
1284
|
-
readonly refs: Schema.Number;
|
|
1285
|
-
readonly packs: Schema.optionalKey<Schema.Number>;
|
|
1286
|
-
readonly packBytes: Schema.optionalKey<Schema.Number>;
|
|
1287
|
-
readonly ownBytes: Schema.optionalKey<Schema.Number>;
|
|
1288
|
-
readonly pushedAt: Schema.optionalKey<Schema.Number>;
|
|
1289
|
-
readonly maintainedAt: Schema.optionalKey<Schema.Number>;
|
|
1290
|
-
}>;
|
|
1291
|
-
readonly work: Schema.optionalKey<Schema.Struct<{
|
|
1292
|
-
readonly waiting: Schema.Number;
|
|
1293
|
-
readonly oldestDue: Schema.optionalKey<Schema.Number>;
|
|
1294
|
-
readonly failed: Schema.Number;
|
|
1295
|
-
readonly oldestFailed: Schema.optionalKey<Schema.Number>;
|
|
1296
|
-
readonly index: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
1297
|
-
readonly state: Schema.Literal<"refused">;
|
|
1298
|
-
readonly retryAt: Schema.Number;
|
|
1299
|
-
}>, Schema.Struct<{
|
|
1300
|
-
readonly state: Schema.Literal<"too-large">;
|
|
1301
|
-
}>]>>;
|
|
1302
|
-
}>>;
|
|
1303
|
-
}>>>;
|
|
1304
|
-
readonly next: Schema.optionalKey<Schema.String>;
|
|
1303
|
+
readonly oid: Schema.String;
|
|
1304
|
+
}>>;
|
|
1305
1305
|
}>>, Schema.toCodecJson<HttpApiSchema.encodeToWithHeaders<Schema.Codec<{
|
|
1306
1306
|
readonly code: "ALREADY_EXISTS";
|
|
1307
1307
|
readonly message: string;
|