@ref0/git 0.10.0 → 0.12.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/access/private-refs.mjs +5 -4
- package/dist/contracts/forks.d.mts +3 -2
- package/dist/contracts/git.d.mts +23 -5
- package/dist/contracts/queue.d.mts +5 -1
- package/dist/contracts/queue.mjs +1 -0
- package/dist/contracts/result.d.mts +7 -5
- package/dist/contracts/result.mjs +7 -5
- package/dist/contracts/sync.d.mts +11 -0
- package/dist/core/access.d.mts +1 -0
- package/dist/core/access.mjs +10 -11
- package/dist/core/asked.mjs +30 -0
- package/dist/core/events/deliver.d.mts +1 -0
- package/dist/core/events/deliver.mjs +5 -1
- package/dist/core/forks.mjs +39 -13
- package/dist/core/imports.mjs +9 -4
- package/dist/core/index-job.mjs +8 -6
- package/dist/core/objects/reading.mjs +17 -9
- package/dist/core/parts.d.mts +2 -1
- package/dist/core/push.mjs +11 -8
- package/dist/core/refs.mjs +6 -3
- package/dist/core/registered-rows.d.mts +1 -0
- package/dist/core/registered-rows.mjs +7 -5
- package/dist/core/repack.mjs +5 -3
- package/dist/core/saved-caller-views.d.mts +18 -0
- package/dist/core/saved-caller-views.mjs +17 -4
- package/dist/core/saved-callers-public.d.mts +3 -3
- package/dist/core/saved-callers-public.mjs +3 -2
- package/dist/core/saved-callers.d.mts +7 -0
- package/dist/extend.d.mts +2 -1
- package/dist/extend.mjs +2 -1
- package/dist/http/push-uploads.mjs +6 -3
- package/dist/lfs/locks.mjs +14 -9
- package/dist/lfs/objects.mjs +27 -20
- package/dist/queue/advance.mjs +8 -4
- package/dist/queue/calls.mjs +21 -1
- package/dist/rest/blobs.d.mts +15 -15
- package/dist/rest/commits.d.mts +80 -80
- package/dist/rest/files.d.mts +103 -103
- package/dist/rest/forks.d.mts +39 -39
- package/dist/rest/layer.mjs +8 -1
- package/dist/rest/queue.d.mts +170 -170
- package/dist/rest/refs.d.mts +128 -128
- package/dist/rest/tokens.d.mts +187 -187
- package/dist/rest/trees.d.mts +41 -41
- package/dist/server/git-namespace.d.mts +3 -3
- package/dist/server/server.mjs +6 -4
- package/dist/storage/memory-budget.mjs +128 -6
- package/dist/storage/merge-cut.mjs +5 -4
- package/dist/storage/pack-reads.mjs +239 -27
- package/dist/storage/prune-seen.mjs +11 -6
- package/dist/storage/prune-walk.mjs +168 -68
- package/dist/storage/quarantine.mjs +2 -0
- package/dist/store/repo-record.d.mts +25 -0
- package/dist/store/repo-record.mjs +55 -1
- package/dist/sync/github.mjs +10 -1
- package/dist/sync/import.d.mts +12 -0
- package/dist/sync/import.mjs +3 -2
- package/dist/sync/mirror.mjs +24 -17
- package/dist/sync/said.mjs +204 -0
- package/dist/sync/step.mjs +8 -8
- package/dist/sync/tries.mjs +34 -18
- package/dist/sync.d.mts +2 -1
- package/dist/sync.mjs +2 -1
- package/dist/topics/advance.mjs +10 -3
- package/package.json +3 -3
package/dist/rest/queue.d.mts
CHANGED
|
@@ -1,46 +1,14 @@
|
|
|
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 QueueApiGroup_base: HttpApiGroup.HttpApiGroup<"queue", HttpApiEndpoint.HttpApiEndpoint<"
|
|
5
|
-
|
|
6
|
-
}>>,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
readonly head: Schema.String;
|
|
10
|
-
readonly key: Schema.String;
|
|
11
|
-
readonly priority: Schema.optionalKey<Schema.Number>;
|
|
12
|
-
readonly meta: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
13
|
-
readonly jump: Schema.optionalKey<Schema.Boolean>;
|
|
14
|
-
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
4
|
+
declare const QueueApiGroup_base: HttpApiGroup.HttpApiGroup<"queue", HttpApiEndpoint.HttpApiEndpoint<"remove", "DELETE", "/queue/entries/:entry", Schema.toCodecStringTree<Schema.Struct<{
|
|
5
|
+
entry: Schema.String;
|
|
6
|
+
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
7
|
+
key: Schema.optionalKey<Schema.String>;
|
|
8
|
+
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
15
9
|
readonly revision: Schema.Number;
|
|
16
10
|
readonly repeat: Schema.Boolean;
|
|
17
|
-
readonly entry: Schema.
|
|
18
|
-
readonly target: Schema.String;
|
|
19
|
-
readonly source: Schema.String;
|
|
20
|
-
readonly head: Schema.String;
|
|
21
|
-
readonly key: Schema.String;
|
|
22
|
-
readonly priority: Schema.optionalKey<Schema.Number>;
|
|
23
|
-
readonly meta: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
24
|
-
readonly id: Schema.String;
|
|
25
|
-
readonly repo: Schema.String;
|
|
26
|
-
readonly actor: Schema.Struct<{
|
|
27
|
-
readonly id: Schema.String;
|
|
28
|
-
}>;
|
|
29
|
-
readonly subject: Schema.optionalKey<Schema.Struct<{
|
|
30
|
-
readonly id: Schema.String;
|
|
31
|
-
}>>;
|
|
32
|
-
readonly state: Schema.Literals<readonly ["waiting", "checking", "held", "merged", "failed", "removed"]>;
|
|
33
|
-
readonly lanes: Schema.$Array<Schema.String>;
|
|
34
|
-
readonly report: Schema.optionalKey<Schema.Struct<{
|
|
35
|
-
readonly summary: Schema.optionalKey<Schema.String>;
|
|
36
|
-
readonly url: Schema.optionalKey<Schema.String>;
|
|
37
|
-
readonly meta: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
38
|
-
readonly verdict: Schema.Literals<readonly ["pass", "fail", "cancel"]>;
|
|
39
|
-
}>>;
|
|
40
|
-
readonly pinned: Schema.optionalKey<Schema.Literal<true>>;
|
|
41
|
-
}>;
|
|
42
|
-
readonly ahead: Schema.Number;
|
|
43
|
-
readonly replaced: Schema.optionalKey<Schema.String>;
|
|
11
|
+
readonly entry: Schema.String;
|
|
44
12
|
}>>, Schema.toCodecJson<import("effect/http-api/HttpApiSchema").encodeToWithHeaders<Schema.Codec<{
|
|
45
13
|
readonly code: "ALREADY_EXISTS";
|
|
46
14
|
readonly message: string;
|
|
@@ -440,24 +408,15 @@ declare const QueueApiGroup_base: HttpApiGroup.HttpApiGroup<"queue", HttpApiEndp
|
|
|
440
408
|
}>, {
|
|
441
409
|
"ref0-code": Schema.String;
|
|
442
410
|
'www-authenticate': Schema.String;
|
|
443
|
-
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
444
|
-
|
|
445
|
-
}>>,
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
readonly
|
|
449
|
-
readonly
|
|
450
|
-
readonly
|
|
451
|
-
readonly
|
|
452
|
-
readonly ref: Schema.optionalKey<Schema.String>;
|
|
453
|
-
readonly commit: Schema.optionalKey<Schema.String>;
|
|
454
|
-
readonly report: Schema.optionalKey<Schema.Struct<{
|
|
455
|
-
readonly summary: Schema.optionalKey<Schema.String>;
|
|
456
|
-
readonly url: Schema.optionalKey<Schema.String>;
|
|
457
|
-
readonly meta: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
458
|
-
readonly verdict: Schema.Literals<readonly ["pass", "fail", "cancel"]>;
|
|
459
|
-
}>>;
|
|
460
|
-
readonly reason: Schema.optionalKey<Schema.Literals<readonly ["merged", "passed", "failed", "cancelled", "timeout", "superseded", "restarted"]>>;
|
|
411
|
+
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"release", "DELETE", "/queue/holds/:hold", Schema.toCodecStringTree<Schema.Struct<{
|
|
412
|
+
hold: Schema.String;
|
|
413
|
+
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
414
|
+
key: Schema.optionalKey<Schema.String>;
|
|
415
|
+
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
416
|
+
readonly revision: Schema.Number;
|
|
417
|
+
readonly repeat: Schema.Boolean;
|
|
418
|
+
readonly hold: Schema.String;
|
|
419
|
+
readonly entry: Schema.optionalKey<Schema.String>;
|
|
461
420
|
}>>, Schema.toCodecJson<import("effect/http-api/HttpApiSchema").encodeToWithHeaders<Schema.Codec<{
|
|
462
421
|
readonly code: "ALREADY_EXISTS";
|
|
463
422
|
readonly message: string;
|
|
@@ -1281,32 +1240,25 @@ declare const QueueApiGroup_base: HttpApiGroup.HttpApiGroup<"queue", HttpApiEndp
|
|
|
1281
1240
|
}>, {
|
|
1282
1241
|
"ref0-code": Schema.String;
|
|
1283
1242
|
'www-authenticate': Schema.String;
|
|
1284
|
-
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
1285
|
-
|
|
1286
|
-
}>>,
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
readonly
|
|
1292
|
-
readonly meta: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
1293
|
-
readonly id: Schema.String;
|
|
1294
|
-
readonly repo: Schema.String;
|
|
1295
|
-
readonly actor: Schema.Struct<{
|
|
1243
|
+
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"holdsOfTarget", "GET", "/repos/:repo/-/queue/holds", Schema.toCodecStringTree<Schema.Struct<{
|
|
1244
|
+
repo: Schema.String;
|
|
1245
|
+
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
1246
|
+
after: Schema.optionalKey<Schema.String>;
|
|
1247
|
+
limit: Schema.optionalKey<Schema.Int>;
|
|
1248
|
+
target: Schema.optionalKey<Schema.String>;
|
|
1249
|
+
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1250
|
+
readonly items: Schema.mutable<Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
1296
1251
|
readonly id: Schema.String;
|
|
1297
|
-
|
|
1298
|
-
|
|
1252
|
+
readonly repo: Schema.String;
|
|
1253
|
+
readonly reason: Schema.String;
|
|
1254
|
+
readonly entry: Schema.String;
|
|
1255
|
+
}>, Schema.Struct<{
|
|
1299
1256
|
readonly id: Schema.String;
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
readonly url: Schema.optionalKey<Schema.String>;
|
|
1306
|
-
readonly meta: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
1307
|
-
readonly verdict: Schema.Literals<readonly ["pass", "fail", "cancel"]>;
|
|
1308
|
-
}>>;
|
|
1309
|
-
readonly pinned: Schema.optionalKey<Schema.Literal<true>>;
|
|
1257
|
+
readonly repo: Schema.String;
|
|
1258
|
+
readonly reason: Schema.String;
|
|
1259
|
+
readonly target: Schema.String;
|
|
1260
|
+
}>]>>>;
|
|
1261
|
+
readonly next: Schema.optionalKey<Schema.String>;
|
|
1310
1262
|
}>>, Schema.toCodecJson<import("effect/http-api/HttpApiSchema").encodeToWithHeaders<Schema.Codec<{
|
|
1311
1263
|
readonly code: "ALREADY_EXISTS";
|
|
1312
1264
|
readonly message: string;
|
|
@@ -1706,25 +1658,39 @@ declare const QueueApiGroup_base: HttpApiGroup.HttpApiGroup<"queue", HttpApiEndp
|
|
|
1706
1658
|
}>, {
|
|
1707
1659
|
"ref0-code": Schema.String;
|
|
1708
1660
|
'www-authenticate': Schema.String;
|
|
1709
|
-
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
1710
|
-
|
|
1711
|
-
}>>,
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
readonly
|
|
1717
|
-
|
|
1718
|
-
readonly
|
|
1719
|
-
readonly
|
|
1720
|
-
readonly
|
|
1721
|
-
readonly
|
|
1722
|
-
|
|
1661
|
+
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/repos/:repo/-/queue/entries", Schema.toCodecStringTree<Schema.Struct<{
|
|
1662
|
+
repo: Schema.String;
|
|
1663
|
+
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
1664
|
+
after: Schema.optionalKey<Schema.String>;
|
|
1665
|
+
limit: Schema.optionalKey<Schema.Int>;
|
|
1666
|
+
target: Schema.optionalKey<Schema.String>;
|
|
1667
|
+
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1668
|
+
readonly items: Schema.mutable<Schema.$Array<Schema.Struct<{
|
|
1669
|
+
readonly target: Schema.String;
|
|
1670
|
+
readonly source: Schema.String;
|
|
1671
|
+
readonly head: Schema.String;
|
|
1672
|
+
readonly key: Schema.String;
|
|
1673
|
+
readonly priority: Schema.optionalKey<Schema.Number>;
|
|
1674
|
+
readonly meta: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
1723
1675
|
readonly id: Schema.String;
|
|
1724
1676
|
readonly repo: Schema.String;
|
|
1725
|
-
readonly
|
|
1726
|
-
|
|
1727
|
-
|
|
1677
|
+
readonly actor: Schema.Struct<{
|
|
1678
|
+
readonly id: Schema.String;
|
|
1679
|
+
}>;
|
|
1680
|
+
readonly subject: Schema.optionalKey<Schema.Struct<{
|
|
1681
|
+
readonly id: Schema.String;
|
|
1682
|
+
}>>;
|
|
1683
|
+
readonly state: Schema.Literals<readonly ["waiting", "checking", "held", "merged", "failed", "removed"]>;
|
|
1684
|
+
readonly lanes: Schema.$Array<Schema.String>;
|
|
1685
|
+
readonly report: Schema.optionalKey<Schema.Struct<{
|
|
1686
|
+
readonly summary: Schema.optionalKey<Schema.String>;
|
|
1687
|
+
readonly url: Schema.optionalKey<Schema.String>;
|
|
1688
|
+
readonly meta: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
1689
|
+
readonly verdict: Schema.Literals<readonly ["pass", "fail", "cancel"]>;
|
|
1690
|
+
}>>;
|
|
1691
|
+
readonly pinned: Schema.optionalKey<Schema.Literal<true>>;
|
|
1692
|
+
}>>>;
|
|
1693
|
+
readonly next: Schema.optionalKey<Schema.String>;
|
|
1728
1694
|
}>>, Schema.toCodecJson<import("effect/http-api/HttpApiSchema").encodeToWithHeaders<Schema.Codec<{
|
|
1729
1695
|
readonly code: "ALREADY_EXISTS";
|
|
1730
1696
|
readonly message: string;
|
|
@@ -2124,26 +2090,32 @@ declare const QueueApiGroup_base: HttpApiGroup.HttpApiGroup<"queue", HttpApiEndp
|
|
|
2124
2090
|
}>, {
|
|
2125
2091
|
"ref0-code": Schema.String;
|
|
2126
2092
|
'www-authenticate': Schema.String;
|
|
2127
|
-
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
2128
|
-
|
|
2129
|
-
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
2130
|
-
readonly key: Schema.optionalKey<Schema.String>;
|
|
2093
|
+
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"get", "GET", "/queue/entries/:entry", Schema.toCodecStringTree<Schema.Struct<{
|
|
2094
|
+
entry: Schema.String;
|
|
2095
|
+
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
2131
2096
|
readonly target: Schema.String;
|
|
2132
|
-
readonly
|
|
2133
|
-
|
|
2134
|
-
readonly
|
|
2135
|
-
readonly
|
|
2136
|
-
readonly
|
|
2097
|
+
readonly source: Schema.String;
|
|
2098
|
+
readonly head: Schema.String;
|
|
2099
|
+
readonly key: Schema.String;
|
|
2100
|
+
readonly priority: Schema.optionalKey<Schema.Number>;
|
|
2101
|
+
readonly meta: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
2102
|
+
readonly id: Schema.String;
|
|
2103
|
+
readonly repo: Schema.String;
|
|
2104
|
+
readonly actor: Schema.Struct<{
|
|
2137
2105
|
readonly id: Schema.String;
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
readonly entry: Schema.String;
|
|
2141
|
-
}>, Schema.Struct<{
|
|
2106
|
+
}>;
|
|
2107
|
+
readonly subject: Schema.optionalKey<Schema.Struct<{
|
|
2142
2108
|
readonly id: Schema.String;
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
|
|
2109
|
+
}>>;
|
|
2110
|
+
readonly state: Schema.Literals<readonly ["waiting", "checking", "held", "merged", "failed", "removed"]>;
|
|
2111
|
+
readonly lanes: Schema.$Array<Schema.String>;
|
|
2112
|
+
readonly report: Schema.optionalKey<Schema.Struct<{
|
|
2113
|
+
readonly summary: Schema.optionalKey<Schema.String>;
|
|
2114
|
+
readonly url: Schema.optionalKey<Schema.String>;
|
|
2115
|
+
readonly meta: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
2116
|
+
readonly verdict: Schema.Literals<readonly ["pass", "fail", "cancel"]>;
|
|
2117
|
+
}>>;
|
|
2118
|
+
readonly pinned: Schema.optionalKey<Schema.Literal<true>>;
|
|
2147
2119
|
}>>, Schema.toCodecJson<import("effect/http-api/HttpApiSchema").encodeToWithHeaders<Schema.Codec<{
|
|
2148
2120
|
readonly code: "ALREADY_EXISTS";
|
|
2149
2121
|
readonly message: string;
|
|
@@ -2960,25 +2932,24 @@ declare const QueueApiGroup_base: HttpApiGroup.HttpApiGroup<"queue", HttpApiEndp
|
|
|
2960
2932
|
}>, {
|
|
2961
2933
|
"ref0-code": Schema.String;
|
|
2962
2934
|
'www-authenticate': Schema.String;
|
|
2963
|
-
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
2964
|
-
|
|
2965
|
-
}>>, Schema.
|
|
2966
|
-
|
|
2967
|
-
|
|
2968
|
-
target: Schema.
|
|
2969
|
-
|
|
2970
|
-
readonly
|
|
2971
|
-
|
|
2972
|
-
|
|
2973
|
-
|
|
2974
|
-
|
|
2975
|
-
|
|
2976
|
-
readonly
|
|
2977
|
-
readonly
|
|
2978
|
-
readonly
|
|
2979
|
-
|
|
2980
|
-
|
|
2981
|
-
readonly next: Schema.optionalKey<Schema.String>;
|
|
2935
|
+
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"candidate", "GET", "/queue/candidates/:candidate", Schema.toCodecStringTree<Schema.Struct<{
|
|
2936
|
+
candidate: Schema.String;
|
|
2937
|
+
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
2938
|
+
readonly id: Schema.String;
|
|
2939
|
+
readonly repo: Schema.String;
|
|
2940
|
+
readonly target: Schema.String;
|
|
2941
|
+
readonly base: Schema.NullOr<Schema.String>;
|
|
2942
|
+
readonly entries: Schema.$Array<Schema.String>;
|
|
2943
|
+
readonly state: Schema.Literals<readonly ["building", "checking", "closed"]>;
|
|
2944
|
+
readonly ref: Schema.optionalKey<Schema.String>;
|
|
2945
|
+
readonly commit: Schema.optionalKey<Schema.String>;
|
|
2946
|
+
readonly report: Schema.optionalKey<Schema.Struct<{
|
|
2947
|
+
readonly summary: Schema.optionalKey<Schema.String>;
|
|
2948
|
+
readonly url: Schema.optionalKey<Schema.String>;
|
|
2949
|
+
readonly meta: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
2950
|
+
readonly verdict: Schema.Literals<readonly ["pass", "fail", "cancel"]>;
|
|
2951
|
+
}>>;
|
|
2952
|
+
readonly reason: Schema.optionalKey<Schema.Literals<readonly ["merged", "passed", "failed", "cancelled", "timeout", "superseded", "restarted"]>>;
|
|
2982
2953
|
}>>, Schema.toCodecJson<import("effect/http-api/HttpApiSchema").encodeToWithHeaders<Schema.Codec<{
|
|
2983
2954
|
readonly code: "ALREADY_EXISTS";
|
|
2984
2955
|
readonly message: string;
|
|
@@ -3378,14 +3349,20 @@ declare const QueueApiGroup_base: HttpApiGroup.HttpApiGroup<"queue", HttpApiEndp
|
|
|
3378
3349
|
}>, {
|
|
3379
3350
|
"ref0-code": Schema.String;
|
|
3380
3351
|
'www-authenticate': Schema.String;
|
|
3381
|
-
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
3352
|
+
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"add", "POST", "/repos/:repo/-/queue/entries", Schema.toCodecStringTree<Schema.Struct<{
|
|
3382
3353
|
repo: Schema.String;
|
|
3383
|
-
}>>, Schema.
|
|
3384
|
-
|
|
3385
|
-
|
|
3386
|
-
|
|
3387
|
-
|
|
3388
|
-
readonly
|
|
3354
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
3355
|
+
readonly target: Schema.String;
|
|
3356
|
+
readonly source: Schema.String;
|
|
3357
|
+
readonly head: Schema.String;
|
|
3358
|
+
readonly key: Schema.String;
|
|
3359
|
+
readonly priority: Schema.optionalKey<Schema.Number>;
|
|
3360
|
+
readonly meta: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
3361
|
+
readonly jump: Schema.optionalKey<Schema.Boolean>;
|
|
3362
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
3363
|
+
readonly revision: Schema.Number;
|
|
3364
|
+
readonly repeat: Schema.Boolean;
|
|
3365
|
+
readonly entry: Schema.Struct<{
|
|
3389
3366
|
readonly target: Schema.String;
|
|
3390
3367
|
readonly source: Schema.String;
|
|
3391
3368
|
readonly head: Schema.String;
|
|
@@ -3409,8 +3386,9 @@ declare const QueueApiGroup_base: HttpApiGroup.HttpApiGroup<"queue", HttpApiEndp
|
|
|
3409
3386
|
readonly verdict: Schema.Literals<readonly ["pass", "fail", "cancel"]>;
|
|
3410
3387
|
}>>;
|
|
3411
3388
|
readonly pinned: Schema.optionalKey<Schema.Literal<true>>;
|
|
3412
|
-
}
|
|
3413
|
-
readonly
|
|
3389
|
+
}>;
|
|
3390
|
+
readonly ahead: Schema.Number;
|
|
3391
|
+
readonly replaced: Schema.optionalKey<Schema.String>;
|
|
3414
3392
|
}>>, Schema.toCodecJson<import("effect/http-api/HttpApiSchema").encodeToWithHeaders<Schema.Codec<{
|
|
3415
3393
|
readonly code: "ALREADY_EXISTS";
|
|
3416
3394
|
readonly message: string;
|
|
@@ -3810,15 +3788,16 @@ declare const QueueApiGroup_base: HttpApiGroup.HttpApiGroup<"queue", HttpApiEndp
|
|
|
3810
3788
|
}>, {
|
|
3811
3789
|
"ref0-code": Schema.String;
|
|
3812
3790
|
'www-authenticate': Schema.String;
|
|
3813
|
-
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
3814
|
-
|
|
3815
|
-
}>>, Schema.
|
|
3791
|
+
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"restart", "POST", "/repos/:repo/-/queue/restart", Schema.toCodecStringTree<Schema.Struct<{
|
|
3792
|
+
repo: Schema.String;
|
|
3793
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
3816
3794
|
key: Schema.optionalKey<Schema.String>;
|
|
3817
|
-
|
|
3795
|
+
target: Schema.String;
|
|
3796
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
3818
3797
|
readonly revision: Schema.Number;
|
|
3819
3798
|
readonly repeat: Schema.Boolean;
|
|
3820
|
-
readonly
|
|
3821
|
-
readonly
|
|
3799
|
+
readonly target: Schema.String;
|
|
3800
|
+
readonly head: Schema.String;
|
|
3822
3801
|
}>>, Schema.toCodecJson<import("effect/http-api/HttpApiSchema").encodeToWithHeaders<Schema.Codec<{
|
|
3823
3802
|
readonly code: "ALREADY_EXISTS";
|
|
3824
3803
|
readonly message: string;
|
|
@@ -4218,14 +4197,26 @@ declare const QueueApiGroup_base: HttpApiGroup.HttpApiGroup<"queue", HttpApiEndp
|
|
|
4218
4197
|
}>, {
|
|
4219
4198
|
"ref0-code": Schema.String;
|
|
4220
4199
|
'www-authenticate': Schema.String;
|
|
4221
|
-
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
4222
|
-
|
|
4223
|
-
}>>, Schema.
|
|
4224
|
-
key: Schema.optionalKey<Schema.String>;
|
|
4225
|
-
|
|
4200
|
+
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"holdTarget", "POST", "/repos/:repo/-/queue/holds", Schema.toCodecStringTree<Schema.Struct<{
|
|
4201
|
+
repo: Schema.String;
|
|
4202
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
4203
|
+
readonly key: Schema.optionalKey<Schema.String>;
|
|
4204
|
+
readonly target: Schema.String;
|
|
4205
|
+
readonly reason: Schema.String;
|
|
4206
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
4226
4207
|
readonly revision: Schema.Number;
|
|
4227
4208
|
readonly repeat: Schema.Boolean;
|
|
4228
|
-
readonly
|
|
4209
|
+
readonly hold: Schema.Union<readonly [Schema.Struct<{
|
|
4210
|
+
readonly id: Schema.String;
|
|
4211
|
+
readonly repo: Schema.String;
|
|
4212
|
+
readonly reason: Schema.String;
|
|
4213
|
+
readonly entry: Schema.String;
|
|
4214
|
+
}>, Schema.Struct<{
|
|
4215
|
+
readonly id: Schema.String;
|
|
4216
|
+
readonly repo: Schema.String;
|
|
4217
|
+
readonly reason: Schema.String;
|
|
4218
|
+
readonly target: Schema.String;
|
|
4219
|
+
}>]>;
|
|
4229
4220
|
}>>, Schema.toCodecJson<import("effect/http-api/HttpApiSchema").encodeToWithHeaders<Schema.Codec<{
|
|
4230
4221
|
readonly code: "ALREADY_EXISTS";
|
|
4231
4222
|
readonly message: string;
|
|
@@ -4625,17 +4616,25 @@ declare const QueueApiGroup_base: HttpApiGroup.HttpApiGroup<"queue", HttpApiEndp
|
|
|
4625
4616
|
}>, {
|
|
4626
4617
|
"ref0-code": Schema.String;
|
|
4627
4618
|
'www-authenticate': Schema.String;
|
|
4628
|
-
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
4629
|
-
|
|
4619
|
+
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"holdEntry", "POST", "/queue/entries/:entry/holds", Schema.toCodecStringTree<Schema.Struct<{
|
|
4620
|
+
entry: Schema.String;
|
|
4630
4621
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
4631
|
-
readonly summary: Schema.optionalKey<Schema.String>;
|
|
4632
|
-
readonly url: Schema.optionalKey<Schema.String>;
|
|
4633
|
-
readonly meta: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
4634
|
-
readonly verdict: Schema.Literals<readonly ["pass", "fail", "cancel"]>;
|
|
4635
4622
|
readonly key: Schema.optionalKey<Schema.String>;
|
|
4636
|
-
readonly
|
|
4623
|
+
readonly reason: Schema.String;
|
|
4637
4624
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
4625
|
+
readonly revision: Schema.Number;
|
|
4638
4626
|
readonly repeat: Schema.Boolean;
|
|
4627
|
+
readonly hold: Schema.Union<readonly [Schema.Struct<{
|
|
4628
|
+
readonly id: Schema.String;
|
|
4629
|
+
readonly repo: Schema.String;
|
|
4630
|
+
readonly reason: Schema.String;
|
|
4631
|
+
readonly entry: Schema.String;
|
|
4632
|
+
}>, Schema.Struct<{
|
|
4633
|
+
readonly id: Schema.String;
|
|
4634
|
+
readonly repo: Schema.String;
|
|
4635
|
+
readonly reason: Schema.String;
|
|
4636
|
+
readonly target: Schema.String;
|
|
4637
|
+
}>]>;
|
|
4639
4638
|
}>>, Schema.toCodecJson<import("effect/http-api/HttpApiSchema").encodeToWithHeaders<Schema.Codec<{
|
|
4640
4639
|
readonly code: "ALREADY_EXISTS";
|
|
4641
4640
|
readonly message: string;
|
|
@@ -5035,16 +5034,14 @@ declare const QueueApiGroup_base: HttpApiGroup.HttpApiGroup<"queue", HttpApiEndp
|
|
|
5035
5034
|
}>, {
|
|
5036
5035
|
"ref0-code": Schema.String;
|
|
5037
5036
|
'www-authenticate': Schema.String;
|
|
5038
|
-
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
5039
|
-
|
|
5037
|
+
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"retry", "POST", "/queue/candidates/:candidate/retry", Schema.toCodecStringTree<Schema.Struct<{
|
|
5038
|
+
candidate: Schema.String;
|
|
5040
5039
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
5041
5040
|
key: Schema.optionalKey<Schema.String>;
|
|
5042
|
-
target: Schema.String;
|
|
5043
5041
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
5044
5042
|
readonly revision: Schema.Number;
|
|
5045
5043
|
readonly repeat: Schema.Boolean;
|
|
5046
|
-
readonly
|
|
5047
|
-
readonly head: Schema.String;
|
|
5044
|
+
readonly candidate: Schema.String;
|
|
5048
5045
|
}>>, Schema.toCodecJson<import("effect/http-api/HttpApiSchema").encodeToWithHeaders<Schema.Codec<{
|
|
5049
5046
|
readonly code: "ALREADY_EXISTS";
|
|
5050
5047
|
readonly message: string;
|
|
@@ -5444,14 +5441,17 @@ declare const QueueApiGroup_base: HttpApiGroup.HttpApiGroup<"queue", HttpApiEndp
|
|
|
5444
5441
|
}>, {
|
|
5445
5442
|
"ref0-code": Schema.String;
|
|
5446
5443
|
'www-authenticate': Schema.String;
|
|
5447
|
-
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
5444
|
+
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"report", "POST", "/queue/candidates/:candidate/report", Schema.toCodecStringTree<Schema.Struct<{
|
|
5448
5445
|
candidate: Schema.String;
|
|
5449
5446
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
5450
|
-
|
|
5447
|
+
readonly summary: Schema.optionalKey<Schema.String>;
|
|
5448
|
+
readonly url: Schema.optionalKey<Schema.String>;
|
|
5449
|
+
readonly meta: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
5450
|
+
readonly verdict: Schema.Literals<readonly ["pass", "fail", "cancel"]>;
|
|
5451
|
+
readonly key: Schema.optionalKey<Schema.String>;
|
|
5452
|
+
readonly blame: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
5451
5453
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
5452
|
-
readonly revision: Schema.Number;
|
|
5453
5454
|
readonly repeat: Schema.Boolean;
|
|
5454
|
-
readonly candidate: Schema.String;
|
|
5455
5455
|
}>>, Schema.toCodecJson<import("effect/http-api/HttpApiSchema").encodeToWithHeaders<Schema.Codec<{
|
|
5456
5456
|
readonly code: "ALREADY_EXISTS";
|
|
5457
5457
|
readonly message: string;
|