@ref0/git 0.8.0 → 0.9.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/calls-spent.d.mts +2 -12
- package/dist/contracts/calls-spent.mjs +4 -5
- package/dist/contracts/events.d.mts +70 -4
- package/dist/contracts/events.mjs +27 -3
- package/dist/contracts/git.d.mts +13 -3
- package/dist/contracts/objects.d.mts +18 -0
- package/dist/contracts/queue.d.mts +3 -2
- package/dist/contracts/queue.mjs +4 -2
- package/dist/core/ancestry.mjs +5 -4
- package/dist/core/index-job.mjs +23 -1
- package/dist/core/index-lost.d.mts +11 -0
- package/dist/core/index-lost.mjs +55 -0
- package/dist/core/objects/commit-writes.mjs +1 -1
- package/dist/core/objects/commits.mjs +10 -9
- package/dist/core/objects/merges.mjs +1 -1
- package/dist/core/objects/reading.mjs +28 -13
- package/dist/core/objects/trees.mjs +1 -1
- package/dist/core/parts.d.mts +7 -0
- package/dist/core/publish.mjs +9 -5
- package/dist/core/purge.mjs +16 -3
- package/dist/core/push.mjs +27 -11
- package/dist/core/repack.mjs +36 -14
- package/dist/core/view.d.mts +10 -1
- package/dist/core/view.mjs +15 -6
- package/dist/effect.d.mts +2 -3
- package/dist/effect.mjs +2 -3
- package/dist/engine/commits.mjs +4 -3
- package/dist/engine/merge-bases.mjs +5 -3
- package/dist/engine/merge.mjs +4 -3
- package/dist/engine/parts.d.mts +1 -0
- package/dist/engine/parts.mjs +1 -1
- package/dist/engine/walk.mjs +15 -11
- package/dist/http/core-parts.mjs +17 -8
- package/dist/index.d.mts +2 -2
- package/dist/lfs/objects.mjs +7 -4
- package/dist/lfs/upkeep.mjs +6 -5
- package/dist/lfs/upload-most.mjs +7 -1
- package/dist/protocol/bytes/streams.mjs +84 -2
- package/dist/protocol/diff/read.d.mts +1 -0
- package/dist/protocol/diff/read.mjs +5 -2
- package/dist/protocol/objects/commit.d.mts +7 -0
- package/dist/protocol/objects/commit.mjs +5 -1
- package/dist/queue/advance.mjs +39 -10
- package/dist/queue/host.d.mts +4 -0
- package/dist/queue/layer.mjs +4 -2
- package/dist/queue/limits.mjs +18 -2
- package/dist/queue/rows.mjs +2 -1
- package/dist/queue/trim.mjs +2 -2
- package/dist/rest/commits.d.mts +238 -238
- package/dist/rest/forks.d.mts +71 -71
- package/dist/rest/refs.d.mts +143 -143
- package/dist/rest/repos.d.mts +81 -81
- package/dist/rest/topics.d.mts +112 -112
- package/dist/rest/trees.d.mts +77 -77
- package/dist/rest/wire.d.mts +19 -1
- package/dist/rest/work.d.mts +39 -39
- package/dist/server/joined.d.mts +11 -5
- package/dist/server/joined.mjs +3 -2
- package/dist/server/registry.mjs +11 -5
- package/dist/server/server.mjs +16 -4
- package/dist/storage/index-bitmaps.mjs +16 -10
- package/dist/storage/index-build.mjs +61 -13
- package/dist/storage/index-graph.d.mts +1 -0
- package/dist/storage/index-graph.mjs +29 -5
- package/dist/storage/index-layers.d.mts +1 -0
- package/dist/storage/index-layers.mjs +5 -2
- package/dist/storage/index-reach.mjs +7 -5
- package/dist/storage/index-remap.mjs +5 -5
- package/dist/storage/index-visible.mjs +16 -5
- package/dist/storage/links.mjs +3 -3
- package/dist/storage/pack-order.d.mts +1 -0
- package/dist/storage/pack-order.mjs +18 -1
- package/dist/storage/prune-walk.mjs +5 -2
- package/dist/storage/prune.mjs +107 -37
- package/dist/storage/receive-bounds.mjs +3 -2
- package/dist/storage/visible.mjs +3 -2
- package/dist/storage/walk.d.mts +1 -0
- package/dist/storage/walk.mjs +9 -5
- package/dist/storage/wants.mjs +17 -11
- package/dist/store/call-count.d.mts +8 -0
- package/dist/store/call-count.mjs +15 -7
- package/dist/store/errors.d.mts +7 -1
- package/dist/store/errors.mjs +7 -1
- package/dist/store/job-try.mjs +3 -1
- package/dist/store/records.mjs +17 -2
- package/dist/store/repo-record.mjs +9 -2
- package/dist/store/scopes.mjs +10 -2
- package/dist/sync/bound.d.mts +1 -1
- package/dist/sync/import.mjs +1 -1
- package/dist/sync/layer.mjs +4 -7
- package/dist/sync/mirror.mjs +1 -1
- package/dist/topics/advance.mjs +4 -4
- package/dist/topics/layer.mjs +1 -1
- package/package.json +3 -3
package/dist/rest/repos.d.mts
CHANGED
|
@@ -1,11 +1,38 @@
|
|
|
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 ReposApiGroup_base: HttpApiGroup.HttpApiGroup<"repos", HttpApiEndpoint.HttpApiEndpoint<"
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
declare const ReposApiGroup_base: HttpApiGroup.HttpApiGroup<"repos", HttpApiEndpoint.HttpApiEndpoint<"create", "POST", "/repos", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
5
|
+
readonly key: Schema.optionalKey<Schema.String>;
|
|
6
|
+
readonly name: Schema.String;
|
|
7
|
+
readonly defaultBranch: Schema.optionalKey<Schema.String>;
|
|
8
|
+
readonly public: Schema.optionalKey<Schema.Boolean>;
|
|
9
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
10
|
+
readonly name: Schema.String;
|
|
11
|
+
readonly defaultBranch: Schema.optionalKey<Schema.String>;
|
|
12
|
+
readonly public: Schema.Boolean;
|
|
13
|
+
readonly upstream: Schema.optionalKey<Schema.String>;
|
|
14
|
+
readonly stats: Schema.Struct<{
|
|
15
|
+
readonly repo: Schema.String;
|
|
16
|
+
readonly refs: Schema.Number;
|
|
17
|
+
readonly packs: Schema.optionalKey<Schema.Number>;
|
|
18
|
+
readonly packBytes: Schema.optionalKey<Schema.Number>;
|
|
19
|
+
readonly ownBytes: Schema.optionalKey<Schema.Number>;
|
|
20
|
+
readonly pushedAt: Schema.optionalKey<Schema.Number>;
|
|
21
|
+
readonly maintainedAt: Schema.optionalKey<Schema.Number>;
|
|
22
|
+
}>;
|
|
23
|
+
readonly work: Schema.optionalKey<Schema.Struct<{
|
|
24
|
+
readonly waiting: Schema.Number;
|
|
25
|
+
readonly oldestDue: Schema.optionalKey<Schema.Number>;
|
|
26
|
+
readonly failed: Schema.Number;
|
|
27
|
+
readonly oldestFailed: Schema.optionalKey<Schema.Number>;
|
|
28
|
+
readonly index: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
29
|
+
readonly state: Schema.Literal<"refused">;
|
|
30
|
+
readonly retryAt: Schema.Number;
|
|
31
|
+
}>, Schema.Struct<{
|
|
32
|
+
readonly state: Schema.Literal<"too-large">;
|
|
33
|
+
}>]>>;
|
|
34
|
+
}>>;
|
|
35
|
+
}>>, Schema.toCodecJson<HttpApiSchema.encodeToWithHeaders<Schema.Codec<{
|
|
9
36
|
readonly code: "ALREADY_EXISTS";
|
|
10
37
|
readonly message: string;
|
|
11
38
|
readonly hint?: string;
|
|
@@ -404,37 +431,18 @@ declare const ReposApiGroup_base: HttpApiGroup.HttpApiGroup<"repos", HttpApiEndp
|
|
|
404
431
|
}>, {
|
|
405
432
|
"ref0-code": Schema.String;
|
|
406
433
|
'www-authenticate': Schema.String;
|
|
407
|
-
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
readonly
|
|
418
|
-
|
|
419
|
-
readonly refs: Schema.Number;
|
|
420
|
-
readonly packs: Schema.optionalKey<Schema.Number>;
|
|
421
|
-
readonly packBytes: Schema.optionalKey<Schema.Number>;
|
|
422
|
-
readonly ownBytes: Schema.optionalKey<Schema.Number>;
|
|
423
|
-
readonly pushedAt: Schema.optionalKey<Schema.Number>;
|
|
424
|
-
readonly maintainedAt: Schema.optionalKey<Schema.Number>;
|
|
425
|
-
}>;
|
|
426
|
-
readonly work: Schema.optionalKey<Schema.Struct<{
|
|
427
|
-
readonly waiting: Schema.Number;
|
|
428
|
-
readonly oldestDue: Schema.optionalKey<Schema.Number>;
|
|
429
|
-
readonly failed: Schema.Number;
|
|
430
|
-
readonly oldestFailed: Schema.optionalKey<Schema.Number>;
|
|
431
|
-
readonly index: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
432
|
-
readonly state: Schema.Literal<"refused">;
|
|
433
|
-
readonly retryAt: Schema.Number;
|
|
434
|
-
}>, Schema.Struct<{
|
|
435
|
-
readonly state: Schema.Literal<"too-large">;
|
|
436
|
-
}>]>>;
|
|
437
|
-
}>>;
|
|
434
|
+
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/repos", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
435
|
+
after: Schema.optionalKey<Schema.String>;
|
|
436
|
+
limit: Schema.optionalKey<Schema.Int>;
|
|
437
|
+
prefix: Schema.optionalKey<Schema.String>;
|
|
438
|
+
order: Schema.optionalKey<Schema.Literals<readonly ["name", "nameDescending", "oldest", "newest"]>>;
|
|
439
|
+
past: Schema.optionalKey<Schema.String>;
|
|
440
|
+
perOwner: Schema.optionalKey<Schema.Literal<true>>;
|
|
441
|
+
sameBudget: Schema.optionalKey<Schema.Literal<true>>;
|
|
442
|
+
readBudget: Schema.optionalKey<Schema.Int>;
|
|
443
|
+
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
444
|
+
readonly items: Schema.mutable<Schema.$Array<Schema.String>>;
|
|
445
|
+
readonly next: Schema.optionalKey<Schema.String>;
|
|
438
446
|
}>>, Schema.toCodecJson<HttpApiSchema.encodeToWithHeaders<Schema.Codec<{
|
|
439
447
|
readonly code: "ALREADY_EXISTS";
|
|
440
448
|
readonly message: string;
|
|
@@ -834,35 +842,11 @@ declare const ReposApiGroup_base: HttpApiGroup.HttpApiGroup<"repos", HttpApiEndp
|
|
|
834
842
|
}>, {
|
|
835
843
|
"ref0-code": Schema.String;
|
|
836
844
|
'www-authenticate': Schema.String;
|
|
837
|
-
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
845
|
+
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"delete", "DELETE", "/repos/:repo/-/repo", Schema.toCodecStringTree<Schema.Struct<{
|
|
838
846
|
repo: Schema.String;
|
|
839
|
-
}>>,
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
readonly public: Schema.Boolean;
|
|
843
|
-
readonly upstream: Schema.optionalKey<Schema.String>;
|
|
844
|
-
readonly stats: Schema.Struct<{
|
|
845
|
-
readonly repo: Schema.String;
|
|
846
|
-
readonly refs: Schema.Number;
|
|
847
|
-
readonly packs: Schema.optionalKey<Schema.Number>;
|
|
848
|
-
readonly packBytes: Schema.optionalKey<Schema.Number>;
|
|
849
|
-
readonly ownBytes: Schema.optionalKey<Schema.Number>;
|
|
850
|
-
readonly pushedAt: Schema.optionalKey<Schema.Number>;
|
|
851
|
-
readonly maintainedAt: Schema.optionalKey<Schema.Number>;
|
|
852
|
-
}>;
|
|
853
|
-
readonly work: Schema.optionalKey<Schema.Struct<{
|
|
854
|
-
readonly waiting: Schema.Number;
|
|
855
|
-
readonly oldestDue: Schema.optionalKey<Schema.Number>;
|
|
856
|
-
readonly failed: Schema.Number;
|
|
857
|
-
readonly oldestFailed: Schema.optionalKey<Schema.Number>;
|
|
858
|
-
readonly index: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
859
|
-
readonly state: Schema.Literal<"refused">;
|
|
860
|
-
readonly retryAt: Schema.Number;
|
|
861
|
-
}>, Schema.Struct<{
|
|
862
|
-
readonly state: Schema.Literal<"too-large">;
|
|
863
|
-
}>]>>;
|
|
864
|
-
}>>;
|
|
865
|
-
}>>, Schema.toCodecJson<HttpApiSchema.encodeToWithHeaders<Schema.Codec<{
|
|
847
|
+
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
848
|
+
key: Schema.optionalKey<Schema.String>;
|
|
849
|
+
}>>, never, never, Schema.toCodecJson<Schema.$Record<Schema.String, Schema.Never>>, Schema.toCodecJson<HttpApiSchema.encodeToWithHeaders<Schema.Codec<{
|
|
866
850
|
readonly code: "ALREADY_EXISTS";
|
|
867
851
|
readonly message: string;
|
|
868
852
|
readonly hint?: string;
|
|
@@ -1261,12 +1245,9 @@ declare const ReposApiGroup_base: HttpApiGroup.HttpApiGroup<"repos", HttpApiEndp
|
|
|
1261
1245
|
}>, {
|
|
1262
1246
|
"ref0-code": Schema.String;
|
|
1263
1247
|
'www-authenticate': Schema.String;
|
|
1264
|
-
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
1248
|
+
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"get", "GET", "/repos/:repo/-/repo", Schema.toCodecStringTree<Schema.Struct<{
|
|
1265
1249
|
repo: Schema.String;
|
|
1266
|
-
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
1267
|
-
readonly key: Schema.optionalKey<Schema.String>;
|
|
1268
|
-
readonly to: Schema.String;
|
|
1269
|
-
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
1250
|
+
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1270
1251
|
readonly name: Schema.String;
|
|
1271
1252
|
readonly defaultBranch: Schema.optionalKey<Schema.String>;
|
|
1272
1253
|
readonly public: Schema.Boolean;
|
|
@@ -2122,18 +2103,37 @@ declare const ReposApiGroup_base: HttpApiGroup.HttpApiGroup<"repos", HttpApiEndp
|
|
|
2122
2103
|
}>, {
|
|
2123
2104
|
"ref0-code": Schema.String;
|
|
2124
2105
|
'www-authenticate': Schema.String;
|
|
2125
|
-
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
readonly
|
|
2136
|
-
|
|
2106
|
+
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"rename", "POST", "/repos/:repo/-/repo/rename", Schema.toCodecStringTree<Schema.Struct<{
|
|
2107
|
+
repo: Schema.String;
|
|
2108
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
2109
|
+
readonly key: Schema.optionalKey<Schema.String>;
|
|
2110
|
+
readonly to: Schema.String;
|
|
2111
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
2112
|
+
readonly name: Schema.String;
|
|
2113
|
+
readonly defaultBranch: Schema.optionalKey<Schema.String>;
|
|
2114
|
+
readonly public: Schema.Boolean;
|
|
2115
|
+
readonly upstream: Schema.optionalKey<Schema.String>;
|
|
2116
|
+
readonly stats: Schema.Struct<{
|
|
2117
|
+
readonly repo: Schema.String;
|
|
2118
|
+
readonly refs: Schema.Number;
|
|
2119
|
+
readonly packs: Schema.optionalKey<Schema.Number>;
|
|
2120
|
+
readonly packBytes: Schema.optionalKey<Schema.Number>;
|
|
2121
|
+
readonly ownBytes: Schema.optionalKey<Schema.Number>;
|
|
2122
|
+
readonly pushedAt: Schema.optionalKey<Schema.Number>;
|
|
2123
|
+
readonly maintainedAt: Schema.optionalKey<Schema.Number>;
|
|
2124
|
+
}>;
|
|
2125
|
+
readonly work: Schema.optionalKey<Schema.Struct<{
|
|
2126
|
+
readonly waiting: Schema.Number;
|
|
2127
|
+
readonly oldestDue: Schema.optionalKey<Schema.Number>;
|
|
2128
|
+
readonly failed: Schema.Number;
|
|
2129
|
+
readonly oldestFailed: Schema.optionalKey<Schema.Number>;
|
|
2130
|
+
readonly index: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
2131
|
+
readonly state: Schema.Literal<"refused">;
|
|
2132
|
+
readonly retryAt: Schema.Number;
|
|
2133
|
+
}>, Schema.Struct<{
|
|
2134
|
+
readonly state: Schema.Literal<"too-large">;
|
|
2135
|
+
}>]>>;
|
|
2136
|
+
}>>;
|
|
2137
2137
|
}>>, Schema.toCodecJson<HttpApiSchema.encodeToWithHeaders<Schema.Codec<{
|
|
2138
2138
|
readonly code: "ALREADY_EXISTS";
|
|
2139
2139
|
readonly message: string;
|
package/dist/rest/topics.d.mts
CHANGED
|
@@ -1,9 +1,16 @@
|
|
|
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 TopicsApiGroup_base: HttpApiGroup.HttpApiGroup<"topics", HttpApiEndpoint.HttpApiEndpoint<"
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const TopicsApiGroup_base: HttpApiGroup.HttpApiGroup<"topics", HttpApiEndpoint.HttpApiEndpoint<"add", "POST", "/topics", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
5
|
+
readonly key: Schema.String;
|
|
6
|
+
readonly entries: Schema.$Array<Schema.Struct<{
|
|
7
|
+
readonly target: Schema.String;
|
|
8
|
+
readonly source: Schema.String;
|
|
9
|
+
readonly head: Schema.String;
|
|
10
|
+
readonly key: Schema.String;
|
|
11
|
+
readonly repo: Schema.String;
|
|
12
|
+
}>>;
|
|
13
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
7
14
|
readonly id: Schema.String;
|
|
8
15
|
readonly key: Schema.String;
|
|
9
16
|
readonly state: Schema.Literals<readonly ["reserving", "checking", "publishing", "failed", "merged", "removed"]>;
|
|
@@ -444,7 +451,7 @@ declare const TopicsApiGroup_base: HttpApiGroup.HttpApiGroup<"topics", HttpApiEn
|
|
|
444
451
|
}>, {
|
|
445
452
|
"ref0-code": Schema.String;
|
|
446
453
|
'www-authenticate': Schema.String;
|
|
447
|
-
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
454
|
+
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"get", "GET", "/topics/:topic", Schema.toCodecStringTree<Schema.Struct<{
|
|
448
455
|
topic: Schema.String;
|
|
449
456
|
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
450
457
|
readonly id: Schema.String;
|
|
@@ -887,57 +894,55 @@ declare const TopicsApiGroup_base: HttpApiGroup.HttpApiGroup<"topics", HttpApiEn
|
|
|
887
894
|
}>, {
|
|
888
895
|
"ref0-code": Schema.String;
|
|
889
896
|
'www-authenticate': Schema.String;
|
|
890
|
-
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
readonly
|
|
897
|
-
readonly repo: Schema.String;
|
|
898
|
-
}>>;
|
|
899
|
-
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
900
|
-
readonly id: Schema.String;
|
|
901
|
-
readonly key: Schema.String;
|
|
902
|
-
readonly state: Schema.Literals<readonly ["reserving", "checking", "publishing", "failed", "merged", "removed"]>;
|
|
903
|
-
readonly entries: Schema.$Array<Schema.Struct<{
|
|
904
|
-
readonly repo: Schema.String;
|
|
905
|
-
readonly target: Schema.String;
|
|
906
|
-
readonly entry: Schema.String;
|
|
907
|
-
readonly key: Schema.String;
|
|
908
|
-
readonly source: Schema.String;
|
|
909
|
-
readonly head: Schema.String;
|
|
910
|
-
}>>;
|
|
911
|
-
readonly pending: Schema.$Array<Schema.Struct<{
|
|
912
|
-
readonly repo: Schema.String;
|
|
913
|
-
readonly target: Schema.String;
|
|
914
|
-
readonly source: Schema.String;
|
|
915
|
-
readonly head: Schema.String;
|
|
897
|
+
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/topics", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
898
|
+
after: Schema.optionalKey<Schema.String>;
|
|
899
|
+
limit: Schema.optionalKey<Schema.Int>;
|
|
900
|
+
state: Schema.optionalKey<Schema.Literals<readonly ["reserving", "checking", "publishing", "failed", "merged", "removed"]>>;
|
|
901
|
+
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
902
|
+
readonly items: Schema.mutable<Schema.$Array<Schema.Struct<{
|
|
903
|
+
readonly id: Schema.String;
|
|
916
904
|
readonly key: Schema.String;
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
readonly
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
readonly
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
905
|
+
readonly state: Schema.Literals<readonly ["reserving", "checking", "publishing", "failed", "merged", "removed"]>;
|
|
906
|
+
readonly entries: Schema.$Array<Schema.Struct<{
|
|
907
|
+
readonly repo: Schema.String;
|
|
908
|
+
readonly target: Schema.String;
|
|
909
|
+
readonly entry: Schema.String;
|
|
910
|
+
readonly key: Schema.String;
|
|
911
|
+
readonly source: Schema.String;
|
|
912
|
+
readonly head: Schema.String;
|
|
913
|
+
}>>;
|
|
914
|
+
readonly pending: Schema.$Array<Schema.Struct<{
|
|
915
|
+
readonly repo: Schema.String;
|
|
916
|
+
readonly target: Schema.String;
|
|
917
|
+
readonly source: Schema.String;
|
|
918
|
+
readonly head: Schema.String;
|
|
919
|
+
readonly key: Schema.String;
|
|
920
|
+
}>>;
|
|
921
|
+
readonly candidates: Schema.$Array<Schema.Struct<{
|
|
922
|
+
readonly repo: Schema.String;
|
|
923
|
+
readonly target: Schema.String;
|
|
924
|
+
readonly candidate: Schema.String;
|
|
925
|
+
readonly ref: Schema.String;
|
|
926
|
+
readonly commit: Schema.String;
|
|
927
|
+
}>>;
|
|
928
|
+
readonly waitingOn: Schema.optionalKey<Schema.Struct<{
|
|
929
|
+
readonly repo: Schema.String;
|
|
930
|
+
readonly target: Schema.String;
|
|
931
|
+
readonly topic: Schema.optionalKey<Schema.String>;
|
|
932
|
+
readonly hold: Schema.optionalKey<Schema.String>;
|
|
933
|
+
}>>;
|
|
934
|
+
readonly failure: Schema.optionalKey<Schema.Struct<{
|
|
935
|
+
readonly reason: Schema.Literals<readonly ["entry-failed", "reported", "cancelled", "refused", "host-error", "work-failed", "timeout", "report-timeout", "prepare-rejected"]>;
|
|
936
|
+
readonly repo: Schema.optionalKey<Schema.String>;
|
|
937
|
+
readonly entry: Schema.optionalKey<Schema.String>;
|
|
938
|
+
readonly candidate: Schema.optionalKey<Schema.String>;
|
|
939
|
+
readonly summary: Schema.optionalKey<Schema.String>;
|
|
940
|
+
readonly url: Schema.optionalKey<Schema.String>;
|
|
941
|
+
readonly error: Schema.optionalKey<Schema.String>;
|
|
942
|
+
readonly hint: Schema.String;
|
|
943
|
+
}>>;
|
|
944
|
+
}>>>;
|
|
945
|
+
readonly next: Schema.optionalKey<Schema.String>;
|
|
941
946
|
}>>, Schema.toCodecJson<import("effect/http-api/HttpApiSchema").encodeToWithHeaders<Schema.Codec<{
|
|
942
947
|
readonly code: "ALREADY_EXISTS";
|
|
943
948
|
readonly message: string;
|
|
@@ -1337,16 +1342,50 @@ declare const TopicsApiGroup_base: HttpApiGroup.HttpApiGroup<"topics", HttpApiEn
|
|
|
1337
1342
|
}>, {
|
|
1338
1343
|
"ref0-code": Schema.String;
|
|
1339
1344
|
'www-authenticate': Schema.String;
|
|
1340
|
-
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
1345
|
+
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"remove", "DELETE", "/topics/:topic", Schema.toCodecStringTree<Schema.Struct<{
|
|
1341
1346
|
topic: Schema.String;
|
|
1342
|
-
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
1343
|
-
readonly
|
|
1344
|
-
readonly
|
|
1345
|
-
readonly
|
|
1346
|
-
readonly
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1347
|
+
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1348
|
+
readonly id: Schema.String;
|
|
1349
|
+
readonly key: Schema.String;
|
|
1350
|
+
readonly state: Schema.Literals<readonly ["reserving", "checking", "publishing", "failed", "merged", "removed"]>;
|
|
1351
|
+
readonly entries: Schema.$Array<Schema.Struct<{
|
|
1352
|
+
readonly repo: Schema.String;
|
|
1353
|
+
readonly target: Schema.String;
|
|
1354
|
+
readonly entry: Schema.String;
|
|
1355
|
+
readonly key: Schema.String;
|
|
1356
|
+
readonly source: Schema.String;
|
|
1357
|
+
readonly head: Schema.String;
|
|
1358
|
+
}>>;
|
|
1359
|
+
readonly pending: Schema.$Array<Schema.Struct<{
|
|
1360
|
+
readonly repo: Schema.String;
|
|
1361
|
+
readonly target: Schema.String;
|
|
1362
|
+
readonly source: Schema.String;
|
|
1363
|
+
readonly head: Schema.String;
|
|
1364
|
+
readonly key: Schema.String;
|
|
1365
|
+
}>>;
|
|
1366
|
+
readonly candidates: Schema.$Array<Schema.Struct<{
|
|
1367
|
+
readonly repo: Schema.String;
|
|
1368
|
+
readonly target: Schema.String;
|
|
1369
|
+
readonly candidate: Schema.String;
|
|
1370
|
+
readonly ref: Schema.String;
|
|
1371
|
+
readonly commit: Schema.String;
|
|
1372
|
+
}>>;
|
|
1373
|
+
readonly waitingOn: Schema.optionalKey<Schema.Struct<{
|
|
1374
|
+
readonly repo: Schema.String;
|
|
1375
|
+
readonly target: Schema.String;
|
|
1376
|
+
readonly topic: Schema.optionalKey<Schema.String>;
|
|
1377
|
+
readonly hold: Schema.optionalKey<Schema.String>;
|
|
1378
|
+
}>>;
|
|
1379
|
+
readonly failure: Schema.optionalKey<Schema.Struct<{
|
|
1380
|
+
readonly reason: Schema.Literals<readonly ["entry-failed", "reported", "cancelled", "refused", "host-error", "work-failed", "timeout", "report-timeout", "prepare-rejected"]>;
|
|
1381
|
+
readonly repo: Schema.optionalKey<Schema.String>;
|
|
1382
|
+
readonly entry: Schema.optionalKey<Schema.String>;
|
|
1383
|
+
readonly candidate: Schema.optionalKey<Schema.String>;
|
|
1384
|
+
readonly summary: Schema.optionalKey<Schema.String>;
|
|
1385
|
+
readonly url: Schema.optionalKey<Schema.String>;
|
|
1386
|
+
readonly error: Schema.optionalKey<Schema.String>;
|
|
1387
|
+
readonly hint: Schema.String;
|
|
1388
|
+
}>>;
|
|
1350
1389
|
}>>, Schema.toCodecJson<import("effect/http-api/HttpApiSchema").encodeToWithHeaders<Schema.Codec<{
|
|
1351
1390
|
readonly code: "ALREADY_EXISTS";
|
|
1352
1391
|
readonly message: string;
|
|
@@ -1746,55 +1785,16 @@ declare const TopicsApiGroup_base: HttpApiGroup.HttpApiGroup<"topics", HttpApiEn
|
|
|
1746
1785
|
}>, {
|
|
1747
1786
|
"ref0-code": Schema.String;
|
|
1748
1787
|
'www-authenticate': Schema.String;
|
|
1749
|
-
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
readonly
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
readonly repo: Schema.String;
|
|
1760
|
-
readonly target: Schema.String;
|
|
1761
|
-
readonly entry: Schema.String;
|
|
1762
|
-
readonly key: Schema.String;
|
|
1763
|
-
readonly source: Schema.String;
|
|
1764
|
-
readonly head: Schema.String;
|
|
1765
|
-
}>>;
|
|
1766
|
-
readonly pending: Schema.$Array<Schema.Struct<{
|
|
1767
|
-
readonly repo: Schema.String;
|
|
1768
|
-
readonly target: Schema.String;
|
|
1769
|
-
readonly source: Schema.String;
|
|
1770
|
-
readonly head: Schema.String;
|
|
1771
|
-
readonly key: Schema.String;
|
|
1772
|
-
}>>;
|
|
1773
|
-
readonly candidates: Schema.$Array<Schema.Struct<{
|
|
1774
|
-
readonly repo: Schema.String;
|
|
1775
|
-
readonly target: Schema.String;
|
|
1776
|
-
readonly candidate: Schema.String;
|
|
1777
|
-
readonly ref: Schema.String;
|
|
1778
|
-
readonly commit: Schema.String;
|
|
1779
|
-
}>>;
|
|
1780
|
-
readonly waitingOn: Schema.optionalKey<Schema.Struct<{
|
|
1781
|
-
readonly repo: Schema.String;
|
|
1782
|
-
readonly target: Schema.String;
|
|
1783
|
-
readonly topic: Schema.optionalKey<Schema.String>;
|
|
1784
|
-
readonly hold: Schema.optionalKey<Schema.String>;
|
|
1785
|
-
}>>;
|
|
1786
|
-
readonly failure: Schema.optionalKey<Schema.Struct<{
|
|
1787
|
-
readonly reason: Schema.Literals<readonly ["entry-failed", "reported", "cancelled", "refused", "host-error", "work-failed", "timeout", "report-timeout", "prepare-rejected"]>;
|
|
1788
|
-
readonly repo: Schema.optionalKey<Schema.String>;
|
|
1789
|
-
readonly entry: Schema.optionalKey<Schema.String>;
|
|
1790
|
-
readonly candidate: Schema.optionalKey<Schema.String>;
|
|
1791
|
-
readonly summary: Schema.optionalKey<Schema.String>;
|
|
1792
|
-
readonly url: Schema.optionalKey<Schema.String>;
|
|
1793
|
-
readonly error: Schema.optionalKey<Schema.String>;
|
|
1794
|
-
readonly hint: Schema.String;
|
|
1795
|
-
}>>;
|
|
1796
|
-
}>>>;
|
|
1797
|
-
readonly next: Schema.optionalKey<Schema.String>;
|
|
1788
|
+
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"report", "POST", "/topics/:topic/report", Schema.toCodecStringTree<Schema.Struct<{
|
|
1789
|
+
topic: Schema.String;
|
|
1790
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
1791
|
+
readonly summary: Schema.optionalKey<Schema.String>;
|
|
1792
|
+
readonly url: Schema.optionalKey<Schema.String>;
|
|
1793
|
+
readonly meta: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
1794
|
+
readonly verdict: Schema.Literals<readonly ["pass", "fail", "cancel"]>;
|
|
1795
|
+
readonly candidates: Schema.$Array<Schema.String>;
|
|
1796
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
1797
|
+
readonly repeat: Schema.Boolean;
|
|
1798
1798
|
}>>, Schema.toCodecJson<import("effect/http-api/HttpApiSchema").encodeToWithHeaders<Schema.Codec<{
|
|
1799
1799
|
readonly code: "ALREADY_EXISTS";
|
|
1800
1800
|
readonly message: string;
|