@ref0/git 0.9.0 → 0.11.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/queue.d.mts +5 -1
- package/dist/contracts/queue.mjs +1 -0
- package/dist/contracts/refs.mjs +3 -1
- package/dist/core/events/seen.mjs +5 -4
- package/dist/core/index-job.mjs +8 -6
- 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/queue/advance.mjs +8 -4
- package/dist/rest/commits.d.mts +253 -249
- package/dist/rest/files.d.mts +88 -88
- package/dist/rest/forks.d.mts +101 -101
- package/dist/rest/queue.d.mts +180 -180
- package/dist/rest/refs.d.mts +147 -147
- package/dist/rest/repos.d.mts +84 -84
- package/dist/rest/tags.d.mts +76 -76
- package/dist/rest/tokens.d.mts +144 -144
- package/dist/rest/topics.d.mts +112 -112
- package/dist/rest/trees.d.mts +77 -77
- package/dist/rest/work.d.mts +39 -39
- package/dist/sync/import.d.mts +12 -0
- package/dist/sync.d.mts +2 -1
- package/dist/sync.mjs +2 -1
- package/package.json +3 -3
package/dist/rest/files.d.mts
CHANGED
|
@@ -1,79 +1,29 @@
|
|
|
1
1
|
import { GitCallerMiddleware, GitRestServices } from "./caller.mjs";
|
|
2
2
|
import * as Schema from "effect/Schema";
|
|
3
3
|
import { HttpApiEndpoint, HttpApiGroup } from "effect/http-api";
|
|
4
|
-
declare const FilesApiGroup_base: HttpApiGroup.HttpApiGroup<"files", HttpApiEndpoint.HttpApiEndpoint<"
|
|
4
|
+
declare const FilesApiGroup_base: HttpApiGroup.HttpApiGroup<"files", HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/repos/:repo/-/files", Schema.toCodecStringTree<Schema.Struct<{
|
|
5
5
|
repo: Schema.String;
|
|
6
|
-
}>>,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
readonly after: Schema.optionalKey<Schema.String>;
|
|
20
|
-
readonly limit: Schema.optionalKey<Schema.Int>;
|
|
21
|
-
}>>;
|
|
22
|
-
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
23
|
-
readonly items: Schema.mutable<Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
24
|
-
readonly status: Schema.Literals<readonly ["A", "D", "M", "R", "T"]>;
|
|
25
|
-
readonly path: Schema.String;
|
|
26
|
-
readonly from: Schema.optionalKey<Schema.String>;
|
|
27
|
-
readonly similarity: Schema.optionalKey<Schema.Number>;
|
|
28
|
-
readonly old: Schema.optionalKey<Schema.Struct<{
|
|
29
|
-
readonly mode: Schema.String;
|
|
30
|
-
readonly oid: Schema.String;
|
|
31
|
-
}>>;
|
|
32
|
-
readonly new: Schema.optionalKey<Schema.Struct<{
|
|
33
|
-
readonly mode: Schema.String;
|
|
34
|
-
readonly oid: Schema.String;
|
|
35
|
-
}>>;
|
|
36
|
-
readonly pathBytes: Schema.optionalKey<Schema.Uint8ArrayFromBase64>;
|
|
37
|
-
readonly fromPathBytes: Schema.optionalKey<Schema.Uint8ArrayFromBase64>;
|
|
38
|
-
readonly lines: Schema.Union<readonly [Schema.Struct<{
|
|
39
|
-
readonly added: Schema.Int;
|
|
40
|
-
readonly deleted: Schema.Int;
|
|
41
|
-
}>, Schema.Literal<"binary">]>;
|
|
42
|
-
readonly patch: Schema.String;
|
|
43
|
-
}>, Schema.Struct<{
|
|
44
|
-
readonly status: Schema.Literals<readonly ["A", "D", "M", "R", "T"]>;
|
|
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
|
+
recursive: Schema.optionalKey<Schema.Boolean>;
|
|
16
|
+
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
17
|
+
readonly items: Schema.mutable<Schema.$Array<Schema.Struct<{
|
|
18
|
+
readonly name: Schema.String;
|
|
45
19
|
readonly path: Schema.String;
|
|
46
|
-
readonly
|
|
47
|
-
readonly
|
|
48
|
-
readonly
|
|
49
|
-
|
|
50
|
-
readonly oid: Schema.String;
|
|
51
|
-
}>>;
|
|
52
|
-
readonly new: Schema.optionalKey<Schema.Struct<{
|
|
53
|
-
readonly mode: Schema.String;
|
|
54
|
-
readonly oid: Schema.String;
|
|
55
|
-
}>>;
|
|
20
|
+
readonly mode: Schema.String;
|
|
21
|
+
readonly type: Schema.Literals<readonly ["blob", "tree", "commit"]>;
|
|
22
|
+
readonly oid: Schema.String;
|
|
23
|
+
readonly size: Schema.optionalKey<Schema.Int>;
|
|
56
24
|
readonly pathBytes: Schema.optionalKey<Schema.Uint8ArrayFromBase64>;
|
|
57
|
-
|
|
58
|
-
readonly lines: Schema.Union<readonly [Schema.Struct<{
|
|
59
|
-
readonly added: Schema.Int;
|
|
60
|
-
readonly deleted: Schema.Int;
|
|
61
|
-
}>, Schema.Literal<"binary">]>;
|
|
62
|
-
readonly hunks: Schema.$Array<Schema.Struct<{
|
|
63
|
-
readonly oldStart: Schema.Int;
|
|
64
|
-
readonly oldLines: Schema.Int;
|
|
65
|
-
readonly newStart: Schema.Int;
|
|
66
|
-
readonly newLines: Schema.Int;
|
|
67
|
-
readonly context: Schema.String;
|
|
68
|
-
readonly lines: Schema.$Array<Schema.Struct<{
|
|
69
|
-
readonly kind: Schema.Literals<readonly ["context", "add", "delete"]>;
|
|
70
|
-
readonly text: Schema.String;
|
|
71
|
-
readonly noNewline: Schema.optionalKey<Schema.Literal<true>>;
|
|
72
|
-
}>>;
|
|
73
|
-
}>>;
|
|
74
|
-
}>]>>>;
|
|
25
|
+
}>>>;
|
|
75
26
|
readonly next: Schema.optionalKey<Schema.String>;
|
|
76
|
-
readonly renamesSkipped: Schema.optionalKey<Schema.Literals<readonly ["rename-limit", "memory-limit"]>>;
|
|
77
27
|
}>>, Schema.toCodecJson<import("effect/http-api/HttpApiSchema").encodeToWithHeaders<Schema.Codec<{
|
|
78
28
|
readonly code: "ALREADY_EXISTS";
|
|
79
29
|
readonly message: string;
|
|
@@ -473,29 +423,79 @@ declare const FilesApiGroup_base: HttpApiGroup.HttpApiGroup<"files", HttpApiEndp
|
|
|
473
423
|
}>, {
|
|
474
424
|
"ref0-code": Schema.String;
|
|
475
425
|
'www-authenticate': Schema.String;
|
|
476
|
-
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
426
|
+
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"diff", "POST", "/repos/:repo/-/files/diff", Schema.toCodecStringTree<Schema.Struct<{
|
|
477
427
|
repo: Schema.String;
|
|
478
|
-
}>>, Schema.
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
428
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
429
|
+
readonly base: Schema.String;
|
|
430
|
+
readonly head: Schema.String;
|
|
431
|
+
readonly renames: Schema.optionalKey<Schema.Boolean>;
|
|
432
|
+
readonly paths: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
433
|
+
readonly format: Schema.optionalKey<Schema.Literals<readonly ["patch", "hunks"]>>;
|
|
434
|
+
readonly limits: Schema.optionalKey<Schema.Struct<{
|
|
435
|
+
readonly objects: Schema.optionalKey<Schema.Int>;
|
|
436
|
+
readonly bytes: Schema.optionalKey<Schema.Int>;
|
|
437
|
+
readonly entries: Schema.optionalKey<Schema.Int>;
|
|
438
|
+
readonly milliseconds: Schema.optionalKey<Schema.Int>;
|
|
439
|
+
}>>;
|
|
440
|
+
readonly page: Schema.optionalKey<Schema.Struct<{
|
|
441
|
+
readonly after: Schema.optionalKey<Schema.String>;
|
|
442
|
+
readonly limit: Schema.optionalKey<Schema.Int>;
|
|
443
|
+
}>>;
|
|
444
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
445
|
+
readonly items: Schema.mutable<Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
446
|
+
readonly status: Schema.Literals<readonly ["A", "D", "M", "R", "T"]>;
|
|
491
447
|
readonly path: Schema.String;
|
|
492
|
-
readonly
|
|
493
|
-
readonly
|
|
494
|
-
readonly
|
|
495
|
-
|
|
448
|
+
readonly from: Schema.optionalKey<Schema.String>;
|
|
449
|
+
readonly similarity: Schema.optionalKey<Schema.Number>;
|
|
450
|
+
readonly old: Schema.optionalKey<Schema.Struct<{
|
|
451
|
+
readonly mode: Schema.String;
|
|
452
|
+
readonly oid: Schema.String;
|
|
453
|
+
}>>;
|
|
454
|
+
readonly new: Schema.optionalKey<Schema.Struct<{
|
|
455
|
+
readonly mode: Schema.String;
|
|
456
|
+
readonly oid: Schema.String;
|
|
457
|
+
}>>;
|
|
496
458
|
readonly pathBytes: Schema.optionalKey<Schema.Uint8ArrayFromBase64>;
|
|
497
|
-
|
|
459
|
+
readonly fromPathBytes: Schema.optionalKey<Schema.Uint8ArrayFromBase64>;
|
|
460
|
+
readonly lines: Schema.Union<readonly [Schema.Struct<{
|
|
461
|
+
readonly added: Schema.Int;
|
|
462
|
+
readonly deleted: Schema.Int;
|
|
463
|
+
}>, Schema.Literal<"binary">]>;
|
|
464
|
+
readonly patch: Schema.String;
|
|
465
|
+
}>, Schema.Struct<{
|
|
466
|
+
readonly status: Schema.Literals<readonly ["A", "D", "M", "R", "T"]>;
|
|
467
|
+
readonly path: Schema.String;
|
|
468
|
+
readonly from: Schema.optionalKey<Schema.String>;
|
|
469
|
+
readonly similarity: Schema.optionalKey<Schema.Number>;
|
|
470
|
+
readonly old: Schema.optionalKey<Schema.Struct<{
|
|
471
|
+
readonly mode: Schema.String;
|
|
472
|
+
readonly oid: Schema.String;
|
|
473
|
+
}>>;
|
|
474
|
+
readonly new: Schema.optionalKey<Schema.Struct<{
|
|
475
|
+
readonly mode: Schema.String;
|
|
476
|
+
readonly oid: Schema.String;
|
|
477
|
+
}>>;
|
|
478
|
+
readonly pathBytes: Schema.optionalKey<Schema.Uint8ArrayFromBase64>;
|
|
479
|
+
readonly fromPathBytes: Schema.optionalKey<Schema.Uint8ArrayFromBase64>;
|
|
480
|
+
readonly lines: Schema.Union<readonly [Schema.Struct<{
|
|
481
|
+
readonly added: Schema.Int;
|
|
482
|
+
readonly deleted: Schema.Int;
|
|
483
|
+
}>, Schema.Literal<"binary">]>;
|
|
484
|
+
readonly hunks: Schema.$Array<Schema.Struct<{
|
|
485
|
+
readonly oldStart: Schema.Int;
|
|
486
|
+
readonly oldLines: Schema.Int;
|
|
487
|
+
readonly newStart: Schema.Int;
|
|
488
|
+
readonly newLines: Schema.Int;
|
|
489
|
+
readonly context: Schema.String;
|
|
490
|
+
readonly lines: Schema.$Array<Schema.Struct<{
|
|
491
|
+
readonly kind: Schema.Literals<readonly ["context", "add", "delete"]>;
|
|
492
|
+
readonly text: Schema.String;
|
|
493
|
+
readonly noNewline: Schema.optionalKey<Schema.Literal<true>>;
|
|
494
|
+
}>>;
|
|
495
|
+
}>>;
|
|
496
|
+
}>]>>>;
|
|
498
497
|
readonly next: Schema.optionalKey<Schema.String>;
|
|
498
|
+
readonly renamesSkipped: Schema.optionalKey<Schema.Literals<readonly ["rename-limit", "memory-limit"]>>;
|
|
499
499
|
}>>, Schema.toCodecJson<import("effect/http-api/HttpApiSchema").encodeToWithHeaders<Schema.Codec<{
|
|
500
500
|
readonly code: "ALREADY_EXISTS";
|
|
501
501
|
readonly message: string;
|
package/dist/rest/forks.d.mts
CHANGED
|
@@ -1,37 +1,14 @@
|
|
|
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<"fetch", "POST", "/repos/:repo/-/forks/fetch", Schema.toCodecStringTree<Schema.Struct<{
|
|
5
5
|
repo: Schema.String;
|
|
6
|
-
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
7
|
-
readonly
|
|
8
|
-
readonly
|
|
9
|
-
readonly
|
|
10
|
-
|
|
11
|
-
|
|
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
|
-
}>]>>;
|
|
6
|
+
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
7
|
+
readonly source: Schema.String;
|
|
8
|
+
readonly head: Schema.optionalKey<Schema.String>;
|
|
9
|
+
readonly tips: Schema.$Array<Schema.Struct<{
|
|
10
|
+
readonly name: Schema.String;
|
|
11
|
+
readonly oid: Schema.String;
|
|
35
12
|
}>>;
|
|
36
13
|
}>>, Schema.toCodecJson<HttpApiSchema.encodeToWithHeaders<Schema.Codec<{
|
|
37
14
|
readonly code: "ALREADY_EXISTS";
|
|
@@ -432,14 +409,34 @@ declare const ForksApiGroup_base: HttpApiGroup.HttpApiGroup<"forks", HttpApiEndp
|
|
|
432
409
|
}>, {
|
|
433
410
|
"ref0-code": Schema.String;
|
|
434
411
|
'www-authenticate': Schema.String;
|
|
435
|
-
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
412
|
+
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"get", "GET", "/repos/:repo/-/forks/:holder", Schema.toCodecStringTree<Schema.Struct<{
|
|
436
413
|
repo: Schema.String;
|
|
414
|
+
holder: Schema.String;
|
|
437
415
|
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
438
|
-
readonly
|
|
439
|
-
readonly
|
|
440
|
-
readonly
|
|
441
|
-
|
|
442
|
-
|
|
416
|
+
readonly name: Schema.String;
|
|
417
|
+
readonly defaultBranch: Schema.optionalKey<Schema.String>;
|
|
418
|
+
readonly public: Schema.Boolean;
|
|
419
|
+
readonly upstream: Schema.optionalKey<Schema.String>;
|
|
420
|
+
readonly stats: Schema.Struct<{
|
|
421
|
+
readonly repo: Schema.String;
|
|
422
|
+
readonly refs: Schema.Number;
|
|
423
|
+
readonly packs: Schema.optionalKey<Schema.Number>;
|
|
424
|
+
readonly packBytes: Schema.optionalKey<Schema.Number>;
|
|
425
|
+
readonly ownBytes: Schema.optionalKey<Schema.Number>;
|
|
426
|
+
readonly pushedAt: Schema.optionalKey<Schema.Number>;
|
|
427
|
+
readonly maintainedAt: Schema.optionalKey<Schema.Number>;
|
|
428
|
+
}>;
|
|
429
|
+
readonly work: Schema.optionalKey<Schema.Struct<{
|
|
430
|
+
readonly waiting: Schema.Number;
|
|
431
|
+
readonly oldestDue: Schema.optionalKey<Schema.Number>;
|
|
432
|
+
readonly failed: Schema.Number;
|
|
433
|
+
readonly oldestFailed: Schema.optionalKey<Schema.Number>;
|
|
434
|
+
readonly index: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
435
|
+
readonly state: Schema.Literal<"refused">;
|
|
436
|
+
readonly retryAt: Schema.Number;
|
|
437
|
+
}>, Schema.Struct<{
|
|
438
|
+
readonly state: Schema.Literal<"too-large">;
|
|
439
|
+
}>]>>;
|
|
443
440
|
}>>;
|
|
444
441
|
}>>, Schema.toCodecJson<HttpApiSchema.encodeToWithHeaders<Schema.Codec<{
|
|
445
442
|
readonly code: "ALREADY_EXISTS";
|
|
@@ -840,10 +837,11 @@ declare const ForksApiGroup_base: HttpApiGroup.HttpApiGroup<"forks", HttpApiEndp
|
|
|
840
837
|
}>, {
|
|
841
838
|
"ref0-code": Schema.String;
|
|
842
839
|
'www-authenticate': Schema.String;
|
|
843
|
-
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
840
|
+
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"sync", "POST", "/repos/:repo/-/forks/sync", Schema.toCodecStringTree<Schema.Struct<{
|
|
844
841
|
repo: Schema.String;
|
|
845
|
-
|
|
846
|
-
|
|
842
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
843
|
+
key: Schema.optionalKey<Schema.String>;
|
|
844
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
847
845
|
readonly name: Schema.String;
|
|
848
846
|
readonly defaultBranch: Schema.optionalKey<Schema.String>;
|
|
849
847
|
readonly public: Schema.Boolean;
|
|
@@ -1268,40 +1266,38 @@ declare const ForksApiGroup_base: HttpApiGroup.HttpApiGroup<"forks", HttpApiEndp
|
|
|
1268
1266
|
}>, {
|
|
1269
1267
|
"ref0-code": Schema.String;
|
|
1270
1268
|
'www-authenticate': Schema.String;
|
|
1271
|
-
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
1269
|
+
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"create", "POST", "/repos/:repo/-/forks", Schema.toCodecStringTree<Schema.Struct<{
|
|
1272
1270
|
repo: Schema.String;
|
|
1273
|
-
}>>, Schema.
|
|
1274
|
-
readonly
|
|
1275
|
-
readonly
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
}>>>;
|
|
1304
|
-
readonly next: Schema.optionalKey<Schema.String>;
|
|
1271
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
1272
|
+
readonly holder: Schema.String;
|
|
1273
|
+
readonly key: Schema.optionalKey<Schema.String>;
|
|
1274
|
+
readonly name: Schema.optionalKey<Schema.String>;
|
|
1275
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
1276
|
+
readonly name: Schema.String;
|
|
1277
|
+
readonly defaultBranch: Schema.optionalKey<Schema.String>;
|
|
1278
|
+
readonly public: Schema.Boolean;
|
|
1279
|
+
readonly upstream: Schema.optionalKey<Schema.String>;
|
|
1280
|
+
readonly stats: Schema.Struct<{
|
|
1281
|
+
readonly repo: Schema.String;
|
|
1282
|
+
readonly refs: Schema.Number;
|
|
1283
|
+
readonly packs: Schema.optionalKey<Schema.Number>;
|
|
1284
|
+
readonly packBytes: Schema.optionalKey<Schema.Number>;
|
|
1285
|
+
readonly ownBytes: Schema.optionalKey<Schema.Number>;
|
|
1286
|
+
readonly pushedAt: Schema.optionalKey<Schema.Number>;
|
|
1287
|
+
readonly maintainedAt: Schema.optionalKey<Schema.Number>;
|
|
1288
|
+
}>;
|
|
1289
|
+
readonly work: Schema.optionalKey<Schema.Struct<{
|
|
1290
|
+
readonly waiting: Schema.Number;
|
|
1291
|
+
readonly oldestDue: Schema.optionalKey<Schema.Number>;
|
|
1292
|
+
readonly failed: Schema.Number;
|
|
1293
|
+
readonly oldestFailed: Schema.optionalKey<Schema.Number>;
|
|
1294
|
+
readonly index: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
1295
|
+
readonly state: Schema.Literal<"refused">;
|
|
1296
|
+
readonly retryAt: Schema.Number;
|
|
1297
|
+
}>, Schema.Struct<{
|
|
1298
|
+
readonly state: Schema.Literal<"too-large">;
|
|
1299
|
+
}>]>>;
|
|
1300
|
+
}>>;
|
|
1305
1301
|
}>>, Schema.toCodecJson<HttpApiSchema.encodeToWithHeaders<Schema.Codec<{
|
|
1306
1302
|
readonly code: "ALREADY_EXISTS";
|
|
1307
1303
|
readonly message: string;
|
|
@@ -1701,36 +1697,40 @@ declare const ForksApiGroup_base: HttpApiGroup.HttpApiGroup<"forks", HttpApiEndp
|
|
|
1701
1697
|
}>, {
|
|
1702
1698
|
"ref0-code": Schema.String;
|
|
1703
1699
|
'www-authenticate': Schema.String;
|
|
1704
|
-
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
1700
|
+
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/repos/:repo/-/forks", Schema.toCodecStringTree<Schema.Struct<{
|
|
1705
1701
|
repo: Schema.String;
|
|
1706
|
-
}>>,
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
readonly
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
readonly
|
|
1715
|
-
readonly
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
readonly
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
readonly
|
|
1729
|
-
readonly
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1702
|
+
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
1703
|
+
readonly after: Schema.optionalKey<Schema.String>;
|
|
1704
|
+
readonly limit: Schema.optionalKey<Schema.Int>;
|
|
1705
|
+
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1706
|
+
readonly items: Schema.mutable<Schema.$Array<Schema.Struct<{
|
|
1707
|
+
readonly name: Schema.String;
|
|
1708
|
+
readonly defaultBranch: Schema.optionalKey<Schema.String>;
|
|
1709
|
+
readonly public: Schema.Boolean;
|
|
1710
|
+
readonly upstream: Schema.optionalKey<Schema.String>;
|
|
1711
|
+
readonly stats: Schema.Struct<{
|
|
1712
|
+
readonly repo: Schema.String;
|
|
1713
|
+
readonly refs: Schema.Number;
|
|
1714
|
+
readonly packs: Schema.optionalKey<Schema.Number>;
|
|
1715
|
+
readonly packBytes: Schema.optionalKey<Schema.Number>;
|
|
1716
|
+
readonly ownBytes: Schema.optionalKey<Schema.Number>;
|
|
1717
|
+
readonly pushedAt: Schema.optionalKey<Schema.Number>;
|
|
1718
|
+
readonly maintainedAt: Schema.optionalKey<Schema.Number>;
|
|
1719
|
+
}>;
|
|
1720
|
+
readonly work: Schema.optionalKey<Schema.Struct<{
|
|
1721
|
+
readonly waiting: Schema.Number;
|
|
1722
|
+
readonly oldestDue: Schema.optionalKey<Schema.Number>;
|
|
1723
|
+
readonly failed: Schema.Number;
|
|
1724
|
+
readonly oldestFailed: Schema.optionalKey<Schema.Number>;
|
|
1725
|
+
readonly index: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
1726
|
+
readonly state: Schema.Literal<"refused">;
|
|
1727
|
+
readonly retryAt: Schema.Number;
|
|
1728
|
+
}>, Schema.Struct<{
|
|
1729
|
+
readonly state: Schema.Literal<"too-large">;
|
|
1730
|
+
}>]>>;
|
|
1731
|
+
}>>;
|
|
1732
|
+
}>>>;
|
|
1733
|
+
readonly next: Schema.optionalKey<Schema.String>;
|
|
1734
1734
|
}>>, Schema.toCodecJson<HttpApiSchema.encodeToWithHeaders<Schema.Codec<{
|
|
1735
1735
|
readonly code: "ALREADY_EXISTS";
|
|
1736
1736
|
readonly message: string;
|