@ref0/git 0.11.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/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/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/calls.mjs +21 -1
- package/dist/rest/blobs.d.mts +15 -15
- package/dist/rest/commits.d.mts +191 -191
- package/dist/rest/files.d.mts +70 -70
- package/dist/rest/forks.d.mts +72 -72
- package/dist/rest/layer.mjs +8 -1
- package/dist/rest/queue.d.mts +212 -212
- package/dist/rest/refs.d.mts +148 -148
- package/dist/rest/repos.d.mts +47 -47
- package/dist/rest/tags.d.mts +76 -76
- package/dist/rest/tokens.d.mts +101 -101
- package/dist/rest/topics.d.mts +112 -112
- package/dist/rest/trees.d.mts +73 -73
- package/dist/rest/work.d.mts +39 -39
- 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.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/topics/advance.mjs +10 -3
- package/package.json +3 -3
package/dist/rest/queue.d.mts
CHANGED
|
@@ -1,24 +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
|
|
10
|
-
readonly
|
|
11
|
-
readonly
|
|
12
|
-
readonly state: Schema.Literals<readonly ["building", "checking", "closed"]>;
|
|
13
|
-
readonly ref: Schema.optionalKey<Schema.String>;
|
|
14
|
-
readonly commit: Schema.optionalKey<Schema.String>;
|
|
15
|
-
readonly report: Schema.optionalKey<Schema.Struct<{
|
|
16
|
-
readonly summary: Schema.optionalKey<Schema.String>;
|
|
17
|
-
readonly url: Schema.optionalKey<Schema.String>;
|
|
18
|
-
readonly meta: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
19
|
-
readonly verdict: Schema.Literals<readonly ["pass", "fail", "cancel"]>;
|
|
20
|
-
}>>;
|
|
21
|
-
readonly reason: Schema.optionalKey<Schema.Literals<readonly ["merged", "passed", "failed", "cancelled", "timeout", "superseded", "restarted"]>>;
|
|
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<{
|
|
9
|
+
readonly revision: Schema.Number;
|
|
10
|
+
readonly repeat: Schema.Boolean;
|
|
11
|
+
readonly entry: Schema.String;
|
|
22
12
|
}>>, Schema.toCodecJson<import("effect/http-api/HttpApiSchema").encodeToWithHeaders<Schema.Codec<{
|
|
23
13
|
readonly code: "ALREADY_EXISTS";
|
|
24
14
|
readonly message: string;
|
|
@@ -418,17 +408,15 @@ declare const QueueApiGroup_base: HttpApiGroup.HttpApiGroup<"queue", HttpApiEndp
|
|
|
418
408
|
}>, {
|
|
419
409
|
"ref0-code": Schema.String;
|
|
420
410
|
'www-authenticate': Schema.String;
|
|
421
|
-
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
422
|
-
|
|
423
|
-
}>>,
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
readonly
|
|
427
|
-
readonly verdict: Schema.Literals<readonly ["pass", "fail", "cancel"]>;
|
|
428
|
-
readonly key: Schema.optionalKey<Schema.String>;
|
|
429
|
-
readonly blame: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
430
|
-
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
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;
|
|
431
417
|
readonly repeat: Schema.Boolean;
|
|
418
|
+
readonly hold: Schema.String;
|
|
419
|
+
readonly entry: Schema.optionalKey<Schema.String>;
|
|
432
420
|
}>>, Schema.toCodecJson<import("effect/http-api/HttpApiSchema").encodeToWithHeaders<Schema.Codec<{
|
|
433
421
|
readonly code: "ALREADY_EXISTS";
|
|
434
422
|
readonly message: string;
|
|
@@ -828,14 +816,31 @@ declare const QueueApiGroup_base: HttpApiGroup.HttpApiGroup<"queue", HttpApiEndp
|
|
|
828
816
|
}>, {
|
|
829
817
|
"ref0-code": Schema.String;
|
|
830
818
|
'www-authenticate': Schema.String;
|
|
831
|
-
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
832
|
-
|
|
833
|
-
}>>,
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
readonly
|
|
819
|
+
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"candidates", "GET", "/repos/:repo/-/queue/candidates", Schema.toCodecStringTree<Schema.Struct<{
|
|
820
|
+
repo: Schema.String;
|
|
821
|
+
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
822
|
+
after: Schema.optionalKey<Schema.String>;
|
|
823
|
+
limit: Schema.optionalKey<Schema.Int>;
|
|
824
|
+
target: Schema.optionalKey<Schema.String>;
|
|
825
|
+
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
826
|
+
readonly items: Schema.mutable<Schema.$Array<Schema.Struct<{
|
|
827
|
+
readonly id: Schema.String;
|
|
828
|
+
readonly repo: Schema.String;
|
|
829
|
+
readonly target: Schema.String;
|
|
830
|
+
readonly base: Schema.NullOr<Schema.String>;
|
|
831
|
+
readonly entries: Schema.$Array<Schema.String>;
|
|
832
|
+
readonly state: Schema.Literals<readonly ["building", "checking", "closed"]>;
|
|
833
|
+
readonly ref: Schema.optionalKey<Schema.String>;
|
|
834
|
+
readonly commit: Schema.optionalKey<Schema.String>;
|
|
835
|
+
readonly report: Schema.optionalKey<Schema.Struct<{
|
|
836
|
+
readonly summary: Schema.optionalKey<Schema.String>;
|
|
837
|
+
readonly url: Schema.optionalKey<Schema.String>;
|
|
838
|
+
readonly meta: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
839
|
+
readonly verdict: Schema.Literals<readonly ["pass", "fail", "cancel"]>;
|
|
840
|
+
}>>;
|
|
841
|
+
readonly reason: Schema.optionalKey<Schema.Literals<readonly ["merged", "passed", "failed", "cancelled", "timeout", "superseded", "restarted"]>>;
|
|
842
|
+
}>>>;
|
|
843
|
+
readonly next: Schema.optionalKey<Schema.String>;
|
|
839
844
|
}>>, Schema.toCodecJson<import("effect/http-api/HttpApiSchema").encodeToWithHeaders<Schema.Codec<{
|
|
840
845
|
readonly code: "ALREADY_EXISTS";
|
|
841
846
|
readonly message: string;
|
|
@@ -1235,32 +1240,25 @@ declare const QueueApiGroup_base: HttpApiGroup.HttpApiGroup<"queue", HttpApiEndp
|
|
|
1235
1240
|
}>, {
|
|
1236
1241
|
"ref0-code": Schema.String;
|
|
1237
1242
|
'www-authenticate': Schema.String;
|
|
1238
|
-
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
1239
|
-
|
|
1240
|
-
}>>,
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
readonly
|
|
1246
|
-
readonly meta: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
1247
|
-
readonly id: Schema.String;
|
|
1248
|
-
readonly repo: Schema.String;
|
|
1249
|
-
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<{
|
|
1250
1251
|
readonly id: Schema.String;
|
|
1251
|
-
|
|
1252
|
-
|
|
1252
|
+
readonly repo: Schema.String;
|
|
1253
|
+
readonly reason: Schema.String;
|
|
1254
|
+
readonly entry: Schema.String;
|
|
1255
|
+
}>, Schema.Struct<{
|
|
1253
1256
|
readonly id: Schema.String;
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
readonly url: Schema.optionalKey<Schema.String>;
|
|
1260
|
-
readonly meta: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
1261
|
-
readonly verdict: Schema.Literals<readonly ["pass", "fail", "cancel"]>;
|
|
1262
|
-
}>>;
|
|
1263
|
-
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>;
|
|
1264
1262
|
}>>, Schema.toCodecJson<import("effect/http-api/HttpApiSchema").encodeToWithHeaders<Schema.Codec<{
|
|
1265
1263
|
readonly code: "ALREADY_EXISTS";
|
|
1266
1264
|
readonly message: string;
|
|
@@ -1660,14 +1658,39 @@ declare const QueueApiGroup_base: HttpApiGroup.HttpApiGroup<"queue", HttpApiEndp
|
|
|
1660
1658
|
}>, {
|
|
1661
1659
|
"ref0-code": Schema.String;
|
|
1662
1660
|
'www-authenticate': Schema.String;
|
|
1663
|
-
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
1664
|
-
|
|
1661
|
+
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/repos/:repo/-/queue/entries", Schema.toCodecStringTree<Schema.Struct<{
|
|
1662
|
+
repo: Schema.String;
|
|
1665
1663
|
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
1666
|
-
|
|
1664
|
+
after: Schema.optionalKey<Schema.String>;
|
|
1665
|
+
limit: Schema.optionalKey<Schema.Int>;
|
|
1666
|
+
target: Schema.optionalKey<Schema.String>;
|
|
1667
1667
|
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1668
|
-
readonly
|
|
1669
|
-
|
|
1670
|
-
|
|
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>>>;
|
|
1675
|
+
readonly id: Schema.String;
|
|
1676
|
+
readonly repo: Schema.String;
|
|
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>;
|
|
1671
1694
|
}>>, Schema.toCodecJson<import("effect/http-api/HttpApiSchema").encodeToWithHeaders<Schema.Codec<{
|
|
1672
1695
|
readonly code: "ALREADY_EXISTS";
|
|
1673
1696
|
readonly message: string;
|
|
@@ -2067,24 +2090,32 @@ declare const QueueApiGroup_base: HttpApiGroup.HttpApiGroup<"queue", HttpApiEndp
|
|
|
2067
2090
|
}>, {
|
|
2068
2091
|
"ref0-code": Schema.String;
|
|
2069
2092
|
'www-authenticate': Schema.String;
|
|
2070
|
-
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
2093
|
+
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"get", "GET", "/queue/entries/:entry", Schema.toCodecStringTree<Schema.Struct<{
|
|
2071
2094
|
entry: Schema.String;
|
|
2072
|
-
}>>, Schema.
|
|
2073
|
-
readonly
|
|
2074
|
-
readonly
|
|
2075
|
-
|
|
2076
|
-
readonly
|
|
2095
|
+
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
2096
|
+
readonly target: Schema.String;
|
|
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<{
|
|
2077
2105
|
readonly id: Schema.String;
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
readonly entry: Schema.String;
|
|
2081
|
-
}>, Schema.Struct<{
|
|
2106
|
+
}>;
|
|
2107
|
+
readonly subject: Schema.optionalKey<Schema.Struct<{
|
|
2082
2108
|
readonly id: Schema.String;
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
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>>;
|
|
2088
2119
|
}>>, Schema.toCodecJson<import("effect/http-api/HttpApiSchema").encodeToWithHeaders<Schema.Codec<{
|
|
2089
2120
|
readonly code: "ALREADY_EXISTS";
|
|
2090
2121
|
readonly message: string;
|
|
@@ -2484,15 +2515,13 @@ declare const QueueApiGroup_base: HttpApiGroup.HttpApiGroup<"queue", HttpApiEndp
|
|
|
2484
2515
|
}>, {
|
|
2485
2516
|
"ref0-code": Schema.String;
|
|
2486
2517
|
'www-authenticate': Schema.String;
|
|
2487
|
-
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
2518
|
+
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"holdsOfEntry", "GET", "/queue/entries/:entry/holds", Schema.toCodecStringTree<Schema.Struct<{
|
|
2488
2519
|
entry: Schema.String;
|
|
2489
|
-
}>>,
|
|
2490
|
-
readonly
|
|
2491
|
-
readonly
|
|
2492
|
-
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
2493
|
-
readonly
|
|
2494
|
-
readonly repeat: Schema.Boolean;
|
|
2495
|
-
readonly hold: Schema.Union<readonly [Schema.Struct<{
|
|
2520
|
+
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
2521
|
+
readonly after: Schema.optionalKey<Schema.String>;
|
|
2522
|
+
readonly limit: Schema.optionalKey<Schema.Int>;
|
|
2523
|
+
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
2524
|
+
readonly items: Schema.mutable<Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
2496
2525
|
readonly id: Schema.String;
|
|
2497
2526
|
readonly repo: Schema.String;
|
|
2498
2527
|
readonly reason: Schema.String;
|
|
@@ -2502,7 +2531,8 @@ declare const QueueApiGroup_base: HttpApiGroup.HttpApiGroup<"queue", HttpApiEndp
|
|
|
2502
2531
|
readonly repo: Schema.String;
|
|
2503
2532
|
readonly reason: Schema.String;
|
|
2504
2533
|
readonly target: Schema.String;
|
|
2505
|
-
}>]
|
|
2534
|
+
}>]>>>;
|
|
2535
|
+
readonly next: Schema.optionalKey<Schema.String>;
|
|
2506
2536
|
}>>, Schema.toCodecJson<import("effect/http-api/HttpApiSchema").encodeToWithHeaders<Schema.Codec<{
|
|
2507
2537
|
readonly code: "ALREADY_EXISTS";
|
|
2508
2538
|
readonly message: string;
|
|
@@ -2902,15 +2932,24 @@ declare const QueueApiGroup_base: HttpApiGroup.HttpApiGroup<"queue", HttpApiEndp
|
|
|
2902
2932
|
}>, {
|
|
2903
2933
|
"ref0-code": Schema.String;
|
|
2904
2934
|
'www-authenticate': Schema.String;
|
|
2905
|
-
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
2906
|
-
|
|
2907
|
-
}>>, Schema.
|
|
2908
|
-
|
|
2909
|
-
|
|
2910
|
-
readonly
|
|
2911
|
-
readonly
|
|
2912
|
-
readonly
|
|
2913
|
-
readonly
|
|
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"]>>;
|
|
2914
2953
|
}>>, Schema.toCodecJson<import("effect/http-api/HttpApiSchema").encodeToWithHeaders<Schema.Codec<{
|
|
2915
2954
|
readonly code: "ALREADY_EXISTS";
|
|
2916
2955
|
readonly message: string;
|
|
@@ -3310,31 +3349,46 @@ declare const QueueApiGroup_base: HttpApiGroup.HttpApiGroup<"queue", HttpApiEndp
|
|
|
3310
3349
|
}>, {
|
|
3311
3350
|
"ref0-code": Schema.String;
|
|
3312
3351
|
'www-authenticate': Schema.String;
|
|
3313
|
-
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
3352
|
+
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"add", "POST", "/repos/:repo/-/queue/entries", Schema.toCodecStringTree<Schema.Struct<{
|
|
3314
3353
|
repo: Schema.String;
|
|
3315
|
-
}>>, Schema.
|
|
3316
|
-
|
|
3317
|
-
|
|
3318
|
-
|
|
3319
|
-
|
|
3320
|
-
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<{
|
|
3366
|
+
readonly target: Schema.String;
|
|
3367
|
+
readonly source: Schema.String;
|
|
3368
|
+
readonly head: Schema.String;
|
|
3369
|
+
readonly key: Schema.String;
|
|
3370
|
+
readonly priority: Schema.optionalKey<Schema.Number>;
|
|
3371
|
+
readonly meta: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
3321
3372
|
readonly id: Schema.String;
|
|
3322
3373
|
readonly repo: Schema.String;
|
|
3323
|
-
readonly
|
|
3324
|
-
|
|
3325
|
-
|
|
3326
|
-
readonly
|
|
3327
|
-
|
|
3328
|
-
|
|
3374
|
+
readonly actor: Schema.Struct<{
|
|
3375
|
+
readonly id: Schema.String;
|
|
3376
|
+
}>;
|
|
3377
|
+
readonly subject: Schema.optionalKey<Schema.Struct<{
|
|
3378
|
+
readonly id: Schema.String;
|
|
3379
|
+
}>>;
|
|
3380
|
+
readonly state: Schema.Literals<readonly ["waiting", "checking", "held", "merged", "failed", "removed"]>;
|
|
3381
|
+
readonly lanes: Schema.$Array<Schema.String>;
|
|
3329
3382
|
readonly report: Schema.optionalKey<Schema.Struct<{
|
|
3330
3383
|
readonly summary: Schema.optionalKey<Schema.String>;
|
|
3331
3384
|
readonly url: Schema.optionalKey<Schema.String>;
|
|
3332
3385
|
readonly meta: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
3333
3386
|
readonly verdict: Schema.Literals<readonly ["pass", "fail", "cancel"]>;
|
|
3334
3387
|
}>>;
|
|
3335
|
-
readonly
|
|
3336
|
-
}
|
|
3337
|
-
readonly
|
|
3388
|
+
readonly pinned: Schema.optionalKey<Schema.Literal<true>>;
|
|
3389
|
+
}>;
|
|
3390
|
+
readonly ahead: Schema.Number;
|
|
3391
|
+
readonly replaced: Schema.optionalKey<Schema.String>;
|
|
3338
3392
|
}>>, Schema.toCodecJson<import("effect/http-api/HttpApiSchema").encodeToWithHeaders<Schema.Codec<{
|
|
3339
3393
|
readonly code: "ALREADY_EXISTS";
|
|
3340
3394
|
readonly message: string;
|
|
@@ -3734,39 +3788,16 @@ declare const QueueApiGroup_base: HttpApiGroup.HttpApiGroup<"queue", HttpApiEndp
|
|
|
3734
3788
|
}>, {
|
|
3735
3789
|
"ref0-code": Schema.String;
|
|
3736
3790
|
'www-authenticate': Schema.String;
|
|
3737
|
-
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
3791
|
+
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"restart", "POST", "/repos/:repo/-/queue/restart", Schema.toCodecStringTree<Schema.Struct<{
|
|
3738
3792
|
repo: Schema.String;
|
|
3739
|
-
}>>, Schema.
|
|
3740
|
-
|
|
3741
|
-
|
|
3742
|
-
|
|
3743
|
-
|
|
3744
|
-
readonly
|
|
3745
|
-
|
|
3746
|
-
|
|
3747
|
-
readonly head: Schema.String;
|
|
3748
|
-
readonly key: Schema.String;
|
|
3749
|
-
readonly priority: Schema.optionalKey<Schema.Number>;
|
|
3750
|
-
readonly meta: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
3751
|
-
readonly id: Schema.String;
|
|
3752
|
-
readonly repo: Schema.String;
|
|
3753
|
-
readonly actor: Schema.Struct<{
|
|
3754
|
-
readonly id: Schema.String;
|
|
3755
|
-
}>;
|
|
3756
|
-
readonly subject: Schema.optionalKey<Schema.Struct<{
|
|
3757
|
-
readonly id: Schema.String;
|
|
3758
|
-
}>>;
|
|
3759
|
-
readonly state: Schema.Literals<readonly ["waiting", "checking", "held", "merged", "failed", "removed"]>;
|
|
3760
|
-
readonly lanes: Schema.$Array<Schema.String>;
|
|
3761
|
-
readonly report: Schema.optionalKey<Schema.Struct<{
|
|
3762
|
-
readonly summary: Schema.optionalKey<Schema.String>;
|
|
3763
|
-
readonly url: Schema.optionalKey<Schema.String>;
|
|
3764
|
-
readonly meta: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
3765
|
-
readonly verdict: Schema.Literals<readonly ["pass", "fail", "cancel"]>;
|
|
3766
|
-
}>>;
|
|
3767
|
-
readonly pinned: Schema.optionalKey<Schema.Literal<true>>;
|
|
3768
|
-
}>>>;
|
|
3769
|
-
readonly next: Schema.optionalKey<Schema.String>;
|
|
3793
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
3794
|
+
key: Schema.optionalKey<Schema.String>;
|
|
3795
|
+
target: Schema.String;
|
|
3796
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
3797
|
+
readonly revision: Schema.Number;
|
|
3798
|
+
readonly repeat: Schema.Boolean;
|
|
3799
|
+
readonly target: Schema.String;
|
|
3800
|
+
readonly head: Schema.String;
|
|
3770
3801
|
}>>, Schema.toCodecJson<import("effect/http-api/HttpApiSchema").encodeToWithHeaders<Schema.Codec<{
|
|
3771
3802
|
readonly code: "ALREADY_EXISTS";
|
|
3772
3803
|
readonly message: string;
|
|
@@ -4166,46 +4197,26 @@ declare const QueueApiGroup_base: HttpApiGroup.HttpApiGroup<"queue", HttpApiEndp
|
|
|
4166
4197
|
}>, {
|
|
4167
4198
|
"ref0-code": Schema.String;
|
|
4168
4199
|
'www-authenticate': Schema.String;
|
|
4169
|
-
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
4200
|
+
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"holdTarget", "POST", "/repos/:repo/-/queue/holds", Schema.toCodecStringTree<Schema.Struct<{
|
|
4170
4201
|
repo: Schema.String;
|
|
4171
4202
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
4203
|
+
readonly key: Schema.optionalKey<Schema.String>;
|
|
4172
4204
|
readonly target: Schema.String;
|
|
4173
|
-
readonly
|
|
4174
|
-
readonly head: Schema.String;
|
|
4175
|
-
readonly key: Schema.String;
|
|
4176
|
-
readonly priority: Schema.optionalKey<Schema.Number>;
|
|
4177
|
-
readonly meta: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
4178
|
-
readonly jump: Schema.optionalKey<Schema.Boolean>;
|
|
4205
|
+
readonly reason: Schema.String;
|
|
4179
4206
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
4180
4207
|
readonly revision: Schema.Number;
|
|
4181
4208
|
readonly repeat: Schema.Boolean;
|
|
4182
|
-
readonly
|
|
4183
|
-
readonly target: Schema.String;
|
|
4184
|
-
readonly source: Schema.String;
|
|
4185
|
-
readonly head: Schema.String;
|
|
4186
|
-
readonly key: Schema.String;
|
|
4187
|
-
readonly priority: Schema.optionalKey<Schema.Number>;
|
|
4188
|
-
readonly meta: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
4209
|
+
readonly hold: Schema.Union<readonly [Schema.Struct<{
|
|
4189
4210
|
readonly id: Schema.String;
|
|
4190
4211
|
readonly repo: Schema.String;
|
|
4191
|
-
readonly
|
|
4192
|
-
|
|
4193
|
-
|
|
4194
|
-
readonly
|
|
4195
|
-
|
|
4196
|
-
|
|
4197
|
-
readonly
|
|
4198
|
-
|
|
4199
|
-
readonly report: Schema.optionalKey<Schema.Struct<{
|
|
4200
|
-
readonly summary: Schema.optionalKey<Schema.String>;
|
|
4201
|
-
readonly url: Schema.optionalKey<Schema.String>;
|
|
4202
|
-
readonly meta: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
4203
|
-
readonly verdict: Schema.Literals<readonly ["pass", "fail", "cancel"]>;
|
|
4204
|
-
}>>;
|
|
4205
|
-
readonly pinned: Schema.optionalKey<Schema.Literal<true>>;
|
|
4206
|
-
}>;
|
|
4207
|
-
readonly ahead: Schema.Number;
|
|
4208
|
-
readonly replaced: Schema.optionalKey<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
|
+
}>]>;
|
|
4209
4220
|
}>>, Schema.toCodecJson<import("effect/http-api/HttpApiSchema").encodeToWithHeaders<Schema.Codec<{
|
|
4210
4221
|
readonly code: "ALREADY_EXISTS";
|
|
4211
4222
|
readonly message: string;
|
|
@@ -4605,14 +4616,15 @@ declare const QueueApiGroup_base: HttpApiGroup.HttpApiGroup<"queue", HttpApiEndp
|
|
|
4605
4616
|
}>, {
|
|
4606
4617
|
"ref0-code": Schema.String;
|
|
4607
4618
|
'www-authenticate': Schema.String;
|
|
4608
|
-
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
4609
|
-
|
|
4610
|
-
}>>, Schema.
|
|
4611
|
-
|
|
4612
|
-
|
|
4613
|
-
|
|
4614
|
-
|
|
4615
|
-
readonly
|
|
4619
|
+
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"holdEntry", "POST", "/queue/entries/:entry/holds", Schema.toCodecStringTree<Schema.Struct<{
|
|
4620
|
+
entry: Schema.String;
|
|
4621
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
4622
|
+
readonly key: Schema.optionalKey<Schema.String>;
|
|
4623
|
+
readonly reason: Schema.String;
|
|
4624
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
4625
|
+
readonly revision: Schema.Number;
|
|
4626
|
+
readonly repeat: Schema.Boolean;
|
|
4627
|
+
readonly hold: Schema.Union<readonly [Schema.Struct<{
|
|
4616
4628
|
readonly id: Schema.String;
|
|
4617
4629
|
readonly repo: Schema.String;
|
|
4618
4630
|
readonly reason: Schema.String;
|
|
@@ -4622,8 +4634,7 @@ declare const QueueApiGroup_base: HttpApiGroup.HttpApiGroup<"queue", HttpApiEndp
|
|
|
4622
4634
|
readonly repo: Schema.String;
|
|
4623
4635
|
readonly reason: Schema.String;
|
|
4624
4636
|
readonly target: Schema.String;
|
|
4625
|
-
}>]
|
|
4626
|
-
readonly next: Schema.optionalKey<Schema.String>;
|
|
4637
|
+
}>]>;
|
|
4627
4638
|
}>>, Schema.toCodecJson<import("effect/http-api/HttpApiSchema").encodeToWithHeaders<Schema.Codec<{
|
|
4628
4639
|
readonly code: "ALREADY_EXISTS";
|
|
4629
4640
|
readonly message: string;
|
|
@@ -5023,26 +5034,14 @@ declare const QueueApiGroup_base: HttpApiGroup.HttpApiGroup<"queue", HttpApiEndp
|
|
|
5023
5034
|
}>, {
|
|
5024
5035
|
"ref0-code": Schema.String;
|
|
5025
5036
|
'www-authenticate': Schema.String;
|
|
5026
|
-
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
5027
|
-
|
|
5037
|
+
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"retry", "POST", "/queue/candidates/:candidate/retry", Schema.toCodecStringTree<Schema.Struct<{
|
|
5038
|
+
candidate: Schema.String;
|
|
5028
5039
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
5029
|
-
|
|
5030
|
-
readonly target: Schema.String;
|
|
5031
|
-
readonly reason: Schema.String;
|
|
5040
|
+
key: Schema.optionalKey<Schema.String>;
|
|
5032
5041
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
5033
5042
|
readonly revision: Schema.Number;
|
|
5034
5043
|
readonly repeat: Schema.Boolean;
|
|
5035
|
-
readonly
|
|
5036
|
-
readonly id: Schema.String;
|
|
5037
|
-
readonly repo: Schema.String;
|
|
5038
|
-
readonly reason: Schema.String;
|
|
5039
|
-
readonly entry: Schema.String;
|
|
5040
|
-
}>, Schema.Struct<{
|
|
5041
|
-
readonly id: Schema.String;
|
|
5042
|
-
readonly repo: Schema.String;
|
|
5043
|
-
readonly reason: Schema.String;
|
|
5044
|
-
readonly target: Schema.String;
|
|
5045
|
-
}>]>;
|
|
5044
|
+
readonly candidate: Schema.String;
|
|
5046
5045
|
}>>, Schema.toCodecJson<import("effect/http-api/HttpApiSchema").encodeToWithHeaders<Schema.Codec<{
|
|
5047
5046
|
readonly code: "ALREADY_EXISTS";
|
|
5048
5047
|
readonly message: string;
|
|
@@ -5442,16 +5441,17 @@ declare const QueueApiGroup_base: HttpApiGroup.HttpApiGroup<"queue", HttpApiEndp
|
|
|
5442
5441
|
}>, {
|
|
5443
5442
|
"ref0-code": Schema.String;
|
|
5444
5443
|
'www-authenticate': Schema.String;
|
|
5445
|
-
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
5446
|
-
|
|
5444
|
+
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"report", "POST", "/queue/candidates/:candidate/report", Schema.toCodecStringTree<Schema.Struct<{
|
|
5445
|
+
candidate: Schema.String;
|
|
5447
5446
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
5448
|
-
|
|
5449
|
-
|
|
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>>;
|
|
5450
5453
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
5451
|
-
readonly revision: Schema.Number;
|
|
5452
5454
|
readonly repeat: Schema.Boolean;
|
|
5453
|
-
readonly target: Schema.String;
|
|
5454
|
-
readonly head: 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;
|