@ref0/git 0.7.0 → 0.8.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 +0 -2
- package/dist/auth/authorize.mjs +31 -24
- package/dist/auth/bridge.mjs +8 -8
- package/dist/auth/fences.d.mts +0 -1
- package/dist/auth/fences.mjs +1 -1
- package/dist/auth/grants.d.mts +0 -1
- package/dist/auth/grants.mjs +2 -2
- package/dist/auth/host-function.d.mts +1 -7
- package/dist/auth/host-function.mjs +38 -38
- package/dist/auth/identify.d.mts +0 -1
- package/dist/auth/identify.mjs +1 -1
- package/dist/auth/policy.d.mts +7 -4
- package/dist/auth/policy.mjs +13 -10
- package/dist/auth/token-rows.mjs +2 -5
- package/dist/auth/tokens-layer.d.mts +0 -2
- package/dist/auth/tokens-public.d.mts +3 -3
- package/dist/auth/tokens-public.mjs +4 -2
- package/dist/auth/tokens.d.mts +6 -1
- package/dist/auth/tokens.mjs +7 -1
- package/dist/client/client.d.mts +22 -15
- package/dist/client/client.mjs +31 -27
- package/dist/client/git-http.mjs +22 -5
- package/dist/client/local.mjs +1 -1
- package/dist/client/namespace.d.mts +2 -0
- package/dist/client/push-upload.d.mts +1 -0
- package/dist/client/push-upload.mjs +169 -2
- package/dist/client/remote-helper.mjs +2 -4
- package/dist/client/remote.mjs +37 -15
- package/dist/client/run-remote-helper.mjs +4 -4
- package/dist/client/transport.mjs +26 -19
- package/dist/contracts/actors.d.mts +57 -28
- package/dist/contracts/actors.mjs +38 -2
- package/dist/contracts/authorize.d.mts +21 -15
- package/dist/contracts/callers.mjs +40 -0
- package/dist/contracts/client.d.mts +16 -9
- package/dist/contracts/events.d.mts +12 -10
- package/dist/contracts/events.mjs +8 -6
- package/dist/contracts/files.d.mts +42 -42
- package/dist/contracts/forks.d.mts +0 -24
- package/dist/contracts/git-hooks.d.mts +217 -0
- package/dist/contracts/git-hooks.mjs +3 -1
- package/dist/contracts/grants.d.mts +46 -27
- package/dist/contracts/lfs.d.mts +17 -4
- package/dist/contracts/merges.d.mts +7 -7
- package/dist/contracts/objects.d.mts +20 -4
- package/dist/contracts/opaque.mjs +19 -1
- package/dist/contracts/operations.d.mts +8 -1
- package/dist/contracts/operations.mjs +209 -0
- package/dist/contracts/queue.d.mts +3 -3
- package/dist/contracts/queue.mjs +5 -18
- package/dist/contracts/remote.d.mts +13 -4
- package/dist/contracts/remote.mjs +3 -3
- package/dist/contracts/repos.d.mts +11 -40
- package/dist/contracts/repos.mjs +11 -10
- package/dist/contracts/result.d.mts +28 -11
- package/dist/contracts/result.mjs +32 -2
- package/dist/contracts/rules.d.mts +706 -46
- package/dist/contracts/rules.mjs +81 -2
- package/dist/contracts/server.d.mts +5 -275
- package/dist/contracts/services.d.mts +0 -3
- package/dist/contracts/services.mjs +1 -3
- package/dist/contracts/signin.d.mts +2 -2
- package/dist/contracts/signin.mjs +4 -5
- package/dist/contracts/sync.d.mts +1 -4
- package/dist/contracts/tokens.d.mts +29 -17
- package/dist/contracts/tokens.mjs +14 -3
- package/dist/contracts/topics.d.mts +38 -11
- package/dist/contracts/topics.mjs +8 -2
- package/dist/core/access.d.mts +0 -2
- package/dist/core/access.mjs +15 -4
- package/dist/core/events/deliver.mjs +19 -1
- package/dist/core/forks.mjs +30 -11
- package/dist/core/hooks/groups.d.mts +0 -1
- package/dist/core/hooks/groups.mjs +8 -9
- package/dist/core/loose-tally.mjs +46 -0
- package/dist/core/objects/writing.mjs +1 -0
- package/dist/core/promise.mjs +1 -15
- package/dist/core/purge.mjs +14 -9
- package/dist/core/push.mjs +13 -6
- package/dist/core/ref-view.mjs +14 -6
- package/dist/core/repack.mjs +19 -14
- package/dist/core/repo-info.mjs +8 -6
- package/dist/core/repos.mjs +1 -0
- package/dist/core/rules/check.mjs +10 -10
- package/dist/core/rules/context.d.mts +3 -1
- package/dist/core/rules/context.mjs +16 -13
- package/dist/core/rules/fetch.mjs +17 -23
- package/dist/core/tokens.mjs +2 -1
- package/dist/effect.d.mts +2 -4
- package/dist/effect.mjs +2 -4
- package/dist/engine/commits.mjs +19 -47
- package/dist/engine/failures.d.mts +1 -2
- package/dist/engine/failures.mjs +1 -3
- package/dist/engine/merge-base-walk.mjs +57 -142
- package/dist/engine/merge-bases.mjs +5 -5
- package/dist/engine/merge.mjs +16 -14
- package/dist/extend.d.mts +1 -2
- package/dist/extend.mjs +1 -2
- package/dist/http/core-parts.mjs +1 -2
- package/dist/http/handler.mjs +11 -31
- package/dist/http/parts.d.mts +0 -1
- package/dist/index.d.mts +28 -21
- package/dist/index.mjs +5 -2
- package/dist/lfs/base.d.mts +6 -3
- package/dist/lfs/base.mjs +2 -1
- package/dist/lfs/layer.d.mts +4 -3
- package/dist/lfs/layer.mjs +23 -9
- package/dist/lfs/objects.mjs +90 -41
- package/dist/lfs/pointers.mjs +69 -18
- package/dist/lfs/purge.mjs +6 -2
- package/dist/lfs/rows.mjs +24 -7
- package/dist/lfs/service.d.mts +6 -3
- package/dist/lfs/service.mjs +8 -2
- package/dist/lfs/upkeep.mjs +44 -26
- package/dist/lfs/upload-most.mjs +41 -0
- package/dist/lfs/uploaded.mjs +59 -0
- package/dist/protocol/bytes/sha256-hasher.mjs +51 -0
- package/dist/protocol/bytes/text.mjs +6 -1
- package/dist/protocol/objects/fsck.mjs +6 -3
- package/dist/queue/advance.mjs +38 -8
- package/dist/queue/calls.mjs +4 -14
- package/dist/queue/lanes.mjs +1 -1
- package/dist/queue/rows.mjs +8 -0
- package/dist/queue/schedule.mjs +1 -1
- package/dist/queue/search.mjs +3 -4
- package/dist/rest/client-namespace.d.mts +2 -0
- package/dist/rest/client.d.mts +32 -8
- package/dist/rest/client.mjs +308 -382
- package/dist/rest/commits.d.mts +240 -240
- package/dist/rest/files.d.mts +18 -18
- package/dist/rest/forks.d.mts +45 -57
- package/dist/rest/handlers.mjs +2 -1
- package/dist/rest/listen.d.mts +8 -6
- package/dist/rest/listen.mjs +31 -75
- package/dist/rest/me.d.mts +2 -2
- package/dist/rest/merges.d.mts +7 -7
- package/dist/rest/refs.d.mts +139 -139
- package/dist/rest/repos.d.mts +54 -66
- package/dist/rest/tokens.d.mts +12 -12
- package/dist/rest/topics.d.mts +110 -110
- package/dist/rest/trees.d.mts +66 -66
- package/dist/rest/wire.d.mts +1 -1
- package/dist/rest.d.mts +1 -7
- package/dist/rest.mjs +1 -5
- package/dist/server/git-layer.d.mts +10 -2
- package/dist/server/git-layer.mjs +29 -10
- package/dist/server/joined.d.mts +1 -1
- package/dist/server/server.d.mts +0 -1
- package/dist/server/server.mjs +26 -45
- package/dist/signin/context.d.mts +0 -1
- package/dist/signin/context.mjs +5 -9
- package/dist/storage/clean-up.mjs +3 -1
- package/dist/storage/fsck.mjs +12 -2
- package/dist/storage/graph-rebuild.mjs +262 -0
- package/dist/storage/index-build.mjs +100 -12
- package/dist/storage/lfs-pointers.d.mts +5 -5
- package/dist/storage/lfs-pointers.mjs +37 -11
- package/dist/storage/loose.mjs +4 -1
- package/dist/storage/memory-budget.mjs +1 -1
- package/dist/storage/merge-fence.mjs +81 -19
- package/dist/storage/merge-most.mjs +1 -0
- package/dist/storage/merge-row.mjs +16 -4
- package/dist/storage/merge-stream.mjs +9 -6
- package/dist/storage/object-rows.mjs +17 -1
- package/dist/storage/pack-receive.mjs +10 -6
- package/dist/storage/packs.mjs +58 -27
- package/dist/storage/prune.mjs +68 -40
- package/dist/storage/ready.d.mts +1 -1
- package/dist/storage/ready.mjs +12 -3
- package/dist/storage/receive-state.mjs +1 -1
- package/dist/storage/repack-contained.mjs +22 -14
- package/dist/storage/repack.d.mts +1 -1
- package/dist/storage/repack.mjs +3 -2
- package/dist/storage/unpack.mjs +7 -0
- package/dist/store/call-count.d.mts +23 -3
- package/dist/store/call-count.mjs +36 -13
- package/dist/store/records.mjs +10 -4
- package/dist/store/repo-record.mjs +29 -12
- package/dist/store/scopes.mjs +6 -1
- package/dist/sync/import.mjs +14 -2
- package/dist/sync/layer.d.mts +5 -1
- package/dist/sync/layer.mjs +7 -2
- package/dist/sync/step.mjs +15 -15
- package/dist/topics/advance.mjs +7 -6
- package/dist/topics/members.mjs +38 -9
- package/package.json +3 -3
- package/dist/engine/merge-base-walk.d.mts +0 -3
- package/dist/server/routes.d.mts +0 -32
- package/dist/server/routes.mjs +0 -69
- package/dist/sync/bridge.d.mts +0 -6
- package/dist/sync/bridge.mjs +0 -29
package/dist/rest/commits.d.mts
CHANGED
|
@@ -1,56 +1,39 @@
|
|
|
1
1
|
import { GitCallerMiddleware, GitRestServices } from "./caller.mjs";
|
|
2
2
|
import * as Schema from "effect/Schema";
|
|
3
3
|
import { HttpApiEndpoint, HttpApiGroup, HttpApiSchema } from "effect/http-api";
|
|
4
|
-
declare const CommitsApiGroup_base: HttpApiGroup.HttpApiGroup<"commits", HttpApiEndpoint.HttpApiEndpoint<"
|
|
4
|
+
declare const CommitsApiGroup_base: HttpApiGroup.HttpApiGroup<"commits", HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/repos/:repo/-/commits", Schema.toCodecStringTree<Schema.Struct<{
|
|
5
5
|
repo: Schema.String;
|
|
6
|
-
}>>,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
readonly
|
|
18
|
-
readonly
|
|
19
|
-
readonly
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
readonly
|
|
33
|
-
readonly
|
|
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
|
+
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
16
|
+
readonly items: Schema.mutable<Schema.$Array<Schema.Struct<{
|
|
17
|
+
readonly oid: Schema.String;
|
|
18
|
+
readonly tree: Schema.String;
|
|
19
|
+
readonly parents: Schema.$Array<Schema.String>;
|
|
20
|
+
readonly author: Schema.Struct<{
|
|
21
|
+
readonly name: Schema.String;
|
|
22
|
+
readonly email: Schema.String;
|
|
23
|
+
readonly at: Schema.Number;
|
|
24
|
+
readonly offset: Schema.Int;
|
|
25
|
+
}>;
|
|
26
|
+
readonly committer: Schema.Struct<{
|
|
27
|
+
readonly name: Schema.String;
|
|
28
|
+
readonly email: Schema.String;
|
|
29
|
+
readonly at: Schema.Number;
|
|
30
|
+
readonly offset: Schema.Int;
|
|
31
|
+
}>;
|
|
32
|
+
readonly subject: Schema.String;
|
|
33
|
+
readonly message: Schema.String;
|
|
34
|
+
readonly signature: Schema.optionalKey<Schema.String>;
|
|
34
35
|
}>>>;
|
|
35
|
-
|
|
36
|
-
readonly oid: Schema.String;
|
|
37
|
-
readonly tree: Schema.String;
|
|
38
|
-
readonly parents: Schema.$Array<Schema.String>;
|
|
39
|
-
readonly author: Schema.Struct<{
|
|
40
|
-
readonly name: Schema.String;
|
|
41
|
-
readonly email: Schema.String;
|
|
42
|
-
readonly at: Schema.Number;
|
|
43
|
-
readonly offset: Schema.Int;
|
|
44
|
-
}>;
|
|
45
|
-
readonly committer: Schema.Struct<{
|
|
46
|
-
readonly name: Schema.String;
|
|
47
|
-
readonly email: Schema.String;
|
|
48
|
-
readonly at: Schema.Number;
|
|
49
|
-
readonly offset: Schema.Int;
|
|
50
|
-
}>;
|
|
51
|
-
readonly subject: Schema.String;
|
|
52
|
-
readonly message: Schema.String;
|
|
53
|
-
readonly signature: Schema.optionalKey<Schema.String>;
|
|
36
|
+
readonly next: Schema.optionalKey<Schema.String>;
|
|
54
37
|
}>>, Schema.toCodecJson<HttpApiSchema.encodeToWithHeaders<Schema.Codec<{
|
|
55
38
|
readonly code: "ALREADY_EXISTS";
|
|
56
39
|
readonly message: string;
|
|
@@ -450,18 +433,56 @@ declare const CommitsApiGroup_base: HttpApiGroup.HttpApiGroup<"commits", HttpApi
|
|
|
450
433
|
}>, {
|
|
451
434
|
"ref0-code": Schema.String;
|
|
452
435
|
'www-authenticate': Schema.String;
|
|
453
|
-
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
436
|
+
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"create", "POST", "/repos/:repo/-/commits", Schema.toCodecStringTree<Schema.Struct<{
|
|
454
437
|
repo: Schema.String;
|
|
455
438
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
456
|
-
readonly
|
|
457
|
-
readonly
|
|
458
|
-
readonly
|
|
459
|
-
readonly
|
|
460
|
-
readonly
|
|
461
|
-
readonly
|
|
439
|
+
readonly message: Schema.String;
|
|
440
|
+
readonly author: Schema.Struct<{
|
|
441
|
+
readonly name: Schema.String;
|
|
442
|
+
readonly email: Schema.String;
|
|
443
|
+
readonly at: Schema.Number;
|
|
444
|
+
readonly offset: Schema.Int;
|
|
445
|
+
}>;
|
|
446
|
+
readonly parents: Schema.$Array<Schema.String>;
|
|
447
|
+
readonly committer: Schema.optionalKey<Schema.Struct<{
|
|
448
|
+
readonly name: Schema.String;
|
|
449
|
+
readonly email: Schema.String;
|
|
450
|
+
readonly at: Schema.Number;
|
|
451
|
+
readonly offset: Schema.Int;
|
|
462
452
|
}>>;
|
|
453
|
+
readonly signature: Schema.optionalKey<Schema.String>;
|
|
454
|
+
readonly ref: Schema.optionalKey<Schema.Struct<{
|
|
455
|
+
readonly name: Schema.String;
|
|
456
|
+
readonly from: Schema.NullOr<Schema.String>;
|
|
457
|
+
}>>;
|
|
458
|
+
readonly key: Schema.optionalKey<Schema.String>;
|
|
459
|
+
readonly tree: Schema.optionalKey<Schema.String>;
|
|
460
|
+
readonly changes: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
461
|
+
readonly path: Schema.String;
|
|
462
|
+
readonly mode: Schema.optionalKey<Schema.String>;
|
|
463
|
+
readonly oid: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
464
|
+
readonly content: Schema.optionalKey<Schema.String>;
|
|
465
|
+
readonly contentBytes: Schema.optionalKey<Schema.Uint8ArrayFromBase64>;
|
|
466
|
+
}>>>;
|
|
463
467
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
464
|
-
readonly
|
|
468
|
+
readonly oid: Schema.String;
|
|
469
|
+
readonly tree: Schema.String;
|
|
470
|
+
readonly parents: Schema.$Array<Schema.String>;
|
|
471
|
+
readonly author: Schema.Struct<{
|
|
472
|
+
readonly name: Schema.String;
|
|
473
|
+
readonly email: Schema.String;
|
|
474
|
+
readonly at: Schema.Number;
|
|
475
|
+
readonly offset: Schema.Int;
|
|
476
|
+
}>;
|
|
477
|
+
readonly committer: Schema.Struct<{
|
|
478
|
+
readonly name: Schema.String;
|
|
479
|
+
readonly email: Schema.String;
|
|
480
|
+
readonly at: Schema.Number;
|
|
481
|
+
readonly offset: Schema.Int;
|
|
482
|
+
}>;
|
|
483
|
+
readonly subject: Schema.String;
|
|
484
|
+
readonly message: Schema.String;
|
|
485
|
+
readonly signature: Schema.optionalKey<Schema.String>;
|
|
465
486
|
}>>, Schema.toCodecJson<HttpApiSchema.encodeToWithHeaders<Schema.Codec<{
|
|
466
487
|
readonly code: "ALREADY_EXISTS";
|
|
467
488
|
readonly message: string;
|
|
@@ -861,41 +882,33 @@ declare const CommitsApiGroup_base: HttpApiGroup.HttpApiGroup<"commits", HttpApi
|
|
|
861
882
|
}>, {
|
|
862
883
|
"ref0-code": Schema.String;
|
|
863
884
|
'www-authenticate': Schema.String;
|
|
864
|
-
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
885
|
+
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"get", "GET", "/repos/:repo/-/commits/:oid", Schema.toCodecStringTree<Schema.Struct<{
|
|
865
886
|
repo: Schema.String;
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
readonly
|
|
869
|
-
readonly
|
|
870
|
-
readonly
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
readonly
|
|
877
|
-
readonly
|
|
878
|
-
readonly
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
readonly mode: Schema.String;
|
|
892
|
-
readonly oid: Schema.String;
|
|
893
|
-
}>>;
|
|
894
|
-
pathBytes: Schema.optionalKey<Schema.Uint8ArrayFromBase64>;
|
|
895
|
-
fromPathBytes: Schema.optionalKey<Schema.Uint8ArrayFromBase64>;
|
|
896
|
-
}>>>;
|
|
897
|
-
readonly next: Schema.optionalKey<Schema.String>;
|
|
898
|
-
readonly renamesSkipped: Schema.optionalKey<Schema.Literals<readonly ["rename-limit", "memory-limit"]>>;
|
|
887
|
+
oid: Schema.String;
|
|
888
|
+
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
889
|
+
readonly objects: Schema.optionalKey<Schema.Int>;
|
|
890
|
+
readonly bytes: Schema.optionalKey<Schema.Int>;
|
|
891
|
+
readonly entries: Schema.optionalKey<Schema.Int>;
|
|
892
|
+
readonly milliseconds: Schema.optionalKey<Schema.Int>;
|
|
893
|
+
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
894
|
+
readonly oid: Schema.String;
|
|
895
|
+
readonly tree: Schema.String;
|
|
896
|
+
readonly parents: Schema.$Array<Schema.String>;
|
|
897
|
+
readonly author: Schema.Struct<{
|
|
898
|
+
readonly name: Schema.String;
|
|
899
|
+
readonly email: Schema.String;
|
|
900
|
+
readonly at: Schema.Number;
|
|
901
|
+
readonly offset: Schema.Int;
|
|
902
|
+
}>;
|
|
903
|
+
readonly committer: Schema.Struct<{
|
|
904
|
+
readonly name: Schema.String;
|
|
905
|
+
readonly email: Schema.String;
|
|
906
|
+
readonly at: Schema.Number;
|
|
907
|
+
readonly offset: Schema.Int;
|
|
908
|
+
}>;
|
|
909
|
+
readonly subject: Schema.String;
|
|
910
|
+
readonly message: Schema.String;
|
|
911
|
+
readonly signature: Schema.optionalKey<Schema.String>;
|
|
899
912
|
}>>, Schema.toCodecJson<HttpApiSchema.encodeToWithHeaders<Schema.Codec<{
|
|
900
913
|
readonly code: "ALREADY_EXISTS";
|
|
901
914
|
readonly message: string;
|
|
@@ -1295,79 +1308,41 @@ declare const CommitsApiGroup_base: HttpApiGroup.HttpApiGroup<"commits", HttpApi
|
|
|
1295
1308
|
}>, {
|
|
1296
1309
|
"ref0-code": Schema.String;
|
|
1297
1310
|
'www-authenticate': Schema.String;
|
|
1298
|
-
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
1311
|
+
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"pick", "POST", "/repos/:repo/-/commits/pick", Schema.toCodecStringTree<Schema.Struct<{
|
|
1299
1312
|
repo: Schema.String;
|
|
1300
1313
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
1301
|
-
readonly
|
|
1302
|
-
readonly
|
|
1303
|
-
readonly
|
|
1304
|
-
|
|
1305
|
-
readonly
|
|
1306
|
-
readonly
|
|
1307
|
-
|
|
1308
|
-
readonly files: Schema.optionalKey<Schema.Struct<{
|
|
1309
|
-
readonly after: Schema.optionalKey<Schema.String>;
|
|
1310
|
-
readonly limit: Schema.optionalKey<Schema.Int>;
|
|
1314
|
+
readonly commit: Schema.String;
|
|
1315
|
+
readonly onto: Schema.String;
|
|
1316
|
+
readonly committer: Schema.optionalKey<Schema.Struct<{
|
|
1317
|
+
readonly name: Schema.String;
|
|
1318
|
+
readonly email: Schema.String;
|
|
1319
|
+
readonly at: Schema.Number;
|
|
1320
|
+
readonly offset: Schema.Int;
|
|
1311
1321
|
}>>;
|
|
1312
|
-
readonly
|
|
1313
|
-
readonly
|
|
1314
|
-
readonly
|
|
1315
|
-
readonly entries: Schema.optionalKey<Schema.Int>;
|
|
1316
|
-
readonly milliseconds: Schema.optionalKey<Schema.Int>;
|
|
1322
|
+
readonly ref: Schema.optionalKey<Schema.Struct<{
|
|
1323
|
+
readonly name: Schema.String;
|
|
1324
|
+
readonly from: Schema.NullOr<Schema.String>;
|
|
1317
1325
|
}>>;
|
|
1326
|
+
readonly key: Schema.optionalKey<Schema.String>;
|
|
1318
1327
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
1319
|
-
readonly
|
|
1320
|
-
readonly
|
|
1321
|
-
readonly
|
|
1322
|
-
readonly
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
readonly
|
|
1326
|
-
|
|
1327
|
-
readonly tree: Schema.String;
|
|
1328
|
-
readonly parents: Schema.$Array<Schema.String>;
|
|
1329
|
-
readonly author: Schema.Struct<{
|
|
1330
|
-
readonly name: Schema.String;
|
|
1331
|
-
readonly email: Schema.String;
|
|
1332
|
-
readonly at: Schema.Number;
|
|
1333
|
-
readonly offset: Schema.Int;
|
|
1334
|
-
}>;
|
|
1335
|
-
readonly committer: Schema.Struct<{
|
|
1336
|
-
readonly name: Schema.String;
|
|
1337
|
-
readonly email: Schema.String;
|
|
1338
|
-
readonly at: Schema.Number;
|
|
1339
|
-
readonly offset: Schema.Int;
|
|
1340
|
-
}>;
|
|
1341
|
-
readonly subject: Schema.String;
|
|
1342
|
-
readonly message: Schema.String;
|
|
1343
|
-
readonly signature: Schema.optionalKey<Schema.String>;
|
|
1344
|
-
}>>>;
|
|
1345
|
-
readonly next: Schema.optionalKey<Schema.String>;
|
|
1328
|
+
readonly oid: Schema.String;
|
|
1329
|
+
readonly tree: Schema.String;
|
|
1330
|
+
readonly parents: Schema.$Array<Schema.String>;
|
|
1331
|
+
readonly author: Schema.Struct<{
|
|
1332
|
+
readonly name: Schema.String;
|
|
1333
|
+
readonly email: Schema.String;
|
|
1334
|
+
readonly at: Schema.Number;
|
|
1335
|
+
readonly offset: Schema.Int;
|
|
1346
1336
|
}>;
|
|
1347
|
-
readonly
|
|
1348
|
-
readonly
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
readonly similarity: Schema.optionalKey<Schema.Number>;
|
|
1353
|
-
readonly old: Schema.optionalKey<Schema.Struct<{
|
|
1354
|
-
readonly mode: Schema.String;
|
|
1355
|
-
readonly oid: Schema.String;
|
|
1356
|
-
}>>;
|
|
1357
|
-
readonly new: Schema.optionalKey<Schema.Struct<{
|
|
1358
|
-
readonly mode: Schema.String;
|
|
1359
|
-
readonly oid: Schema.String;
|
|
1360
|
-
}>>;
|
|
1361
|
-
readonly pathBytes: Schema.optionalKey<Schema.Uint8ArrayFromBase64>;
|
|
1362
|
-
readonly fromPathBytes: Schema.optionalKey<Schema.Uint8ArrayFromBase64>;
|
|
1363
|
-
readonly lines: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
1364
|
-
readonly added: Schema.Int;
|
|
1365
|
-
readonly deleted: Schema.Int;
|
|
1366
|
-
}>, Schema.Literal<"binary">]>>;
|
|
1367
|
-
}>>>;
|
|
1368
|
-
readonly next: Schema.optionalKey<Schema.String>;
|
|
1369
|
-
readonly renamesSkipped: Schema.optionalKey<Schema.Literals<readonly ["rename-limit", "memory-limit"]>>;
|
|
1337
|
+
readonly committer: Schema.Struct<{
|
|
1338
|
+
readonly name: Schema.String;
|
|
1339
|
+
readonly email: Schema.String;
|
|
1340
|
+
readonly at: Schema.Number;
|
|
1341
|
+
readonly offset: Schema.Int;
|
|
1370
1342
|
}>;
|
|
1343
|
+
readonly subject: Schema.String;
|
|
1344
|
+
readonly message: Schema.String;
|
|
1345
|
+
readonly signature: Schema.optionalKey<Schema.String>;
|
|
1371
1346
|
}>>, Schema.toCodecJson<HttpApiSchema.encodeToWithHeaders<Schema.Codec<{
|
|
1372
1347
|
readonly code: "ALREADY_EXISTS";
|
|
1373
1348
|
readonly message: string;
|
|
@@ -2204,41 +2179,18 @@ declare const CommitsApiGroup_base: HttpApiGroup.HttpApiGroup<"commits", HttpApi
|
|
|
2204
2179
|
}>, {
|
|
2205
2180
|
"ref0-code": Schema.String;
|
|
2206
2181
|
'www-authenticate': Schema.String;
|
|
2207
|
-
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
2182
|
+
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"mergeBase", "POST", "/repos/:repo/-/commits/merge-base", Schema.toCodecStringTree<Schema.Struct<{
|
|
2208
2183
|
repo: Schema.String;
|
|
2209
2184
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
2210
|
-
readonly
|
|
2211
|
-
readonly
|
|
2212
|
-
|
|
2213
|
-
readonly
|
|
2214
|
-
readonly
|
|
2215
|
-
readonly
|
|
2216
|
-
readonly offset: Schema.Int;
|
|
2217
|
-
}>>;
|
|
2218
|
-
readonly ref: Schema.optionalKey<Schema.Struct<{
|
|
2219
|
-
readonly name: Schema.String;
|
|
2220
|
-
readonly from: Schema.NullOr<Schema.String>;
|
|
2185
|
+
readonly commits: Schema.$Array<Schema.String>;
|
|
2186
|
+
readonly limits: Schema.optionalKey<Schema.Struct<{
|
|
2187
|
+
readonly objects: Schema.optionalKey<Schema.Int>;
|
|
2188
|
+
readonly bytes: Schema.optionalKey<Schema.Int>;
|
|
2189
|
+
readonly entries: Schema.optionalKey<Schema.Int>;
|
|
2190
|
+
readonly milliseconds: Schema.optionalKey<Schema.Int>;
|
|
2221
2191
|
}>>;
|
|
2222
|
-
readonly key: Schema.optionalKey<Schema.String>;
|
|
2223
2192
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
2224
|
-
readonly
|
|
2225
|
-
readonly tree: Schema.String;
|
|
2226
|
-
readonly parents: Schema.$Array<Schema.String>;
|
|
2227
|
-
readonly author: Schema.Struct<{
|
|
2228
|
-
readonly name: Schema.String;
|
|
2229
|
-
readonly email: Schema.String;
|
|
2230
|
-
readonly at: Schema.Number;
|
|
2231
|
-
readonly offset: Schema.Int;
|
|
2232
|
-
}>;
|
|
2233
|
-
readonly committer: Schema.Struct<{
|
|
2234
|
-
readonly name: Schema.String;
|
|
2235
|
-
readonly email: Schema.String;
|
|
2236
|
-
readonly at: Schema.Number;
|
|
2237
|
-
readonly offset: Schema.Int;
|
|
2238
|
-
}>;
|
|
2239
|
-
readonly subject: Schema.String;
|
|
2240
|
-
readonly message: Schema.String;
|
|
2241
|
-
readonly signature: Schema.optionalKey<Schema.String>;
|
|
2193
|
+
readonly bases: Schema.$Array<Schema.String>;
|
|
2242
2194
|
}>>, Schema.toCodecJson<HttpApiSchema.encodeToWithHeaders<Schema.Codec<{
|
|
2243
2195
|
readonly code: "ALREADY_EXISTS";
|
|
2244
2196
|
readonly message: string;
|
|
@@ -2638,39 +2590,41 @@ declare const CommitsApiGroup_base: HttpApiGroup.HttpApiGroup<"commits", HttpApi
|
|
|
2638
2590
|
}>, {
|
|
2639
2591
|
"ref0-code": Schema.String;
|
|
2640
2592
|
'www-authenticate': Schema.String;
|
|
2641
|
-
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
2593
|
+
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"diff", "POST", "/repos/:repo/-/commits/diff", Schema.toCodecStringTree<Schema.Struct<{
|
|
2642
2594
|
repo: Schema.String;
|
|
2643
|
-
}>>, Schema.
|
|
2644
|
-
|
|
2645
|
-
|
|
2646
|
-
|
|
2647
|
-
|
|
2648
|
-
|
|
2649
|
-
|
|
2650
|
-
|
|
2651
|
-
|
|
2652
|
-
}
|
|
2595
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
2596
|
+
readonly base: Schema.String;
|
|
2597
|
+
readonly head: Schema.String;
|
|
2598
|
+
readonly renames: Schema.optionalKey<Schema.Boolean>;
|
|
2599
|
+
readonly limits: Schema.optionalKey<Schema.Struct<{
|
|
2600
|
+
readonly objects: Schema.optionalKey<Schema.Int>;
|
|
2601
|
+
readonly bytes: Schema.optionalKey<Schema.Int>;
|
|
2602
|
+
readonly entries: Schema.optionalKey<Schema.Int>;
|
|
2603
|
+
readonly milliseconds: Schema.optionalKey<Schema.Int>;
|
|
2604
|
+
}>>;
|
|
2605
|
+
readonly page: Schema.optionalKey<Schema.Struct<{
|
|
2606
|
+
readonly after: Schema.optionalKey<Schema.String>;
|
|
2607
|
+
readonly limit: Schema.optionalKey<Schema.Int>;
|
|
2608
|
+
}>>;
|
|
2609
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
2653
2610
|
readonly items: Schema.mutable<Schema.$Array<Schema.Struct<{
|
|
2654
|
-
|
|
2655
|
-
|
|
2656
|
-
|
|
2657
|
-
|
|
2658
|
-
|
|
2659
|
-
readonly
|
|
2660
|
-
readonly
|
|
2661
|
-
|
|
2662
|
-
|
|
2663
|
-
|
|
2664
|
-
readonly
|
|
2665
|
-
|
|
2666
|
-
|
|
2667
|
-
|
|
2668
|
-
}>;
|
|
2669
|
-
readonly subject: Schema.String;
|
|
2670
|
-
readonly message: Schema.String;
|
|
2671
|
-
readonly signature: Schema.optionalKey<Schema.String>;
|
|
2611
|
+
status: Schema.Literals<readonly ["A", "D", "M", "R", "T"]>;
|
|
2612
|
+
path: Schema.String;
|
|
2613
|
+
from: Schema.optionalKey<Schema.String>;
|
|
2614
|
+
similarity: Schema.optionalKey<Schema.Number>;
|
|
2615
|
+
old: Schema.optionalKey<Schema.Struct<{
|
|
2616
|
+
readonly mode: Schema.String;
|
|
2617
|
+
readonly oid: Schema.String;
|
|
2618
|
+
}>>;
|
|
2619
|
+
new: Schema.optionalKey<Schema.Struct<{
|
|
2620
|
+
readonly mode: Schema.String;
|
|
2621
|
+
readonly oid: Schema.String;
|
|
2622
|
+
}>>;
|
|
2623
|
+
pathBytes: Schema.optionalKey<Schema.Uint8ArrayFromBase64>;
|
|
2624
|
+
fromPathBytes: Schema.optionalKey<Schema.Uint8ArrayFromBase64>;
|
|
2672
2625
|
}>>>;
|
|
2673
2626
|
readonly next: Schema.optionalKey<Schema.String>;
|
|
2627
|
+
readonly renamesSkipped: Schema.optionalKey<Schema.Literals<readonly ["rename-limit", "memory-limit"]>>;
|
|
2674
2628
|
}>>, Schema.toCodecJson<HttpApiSchema.encodeToWithHeaders<Schema.Codec<{
|
|
2675
2629
|
readonly code: "ALREADY_EXISTS";
|
|
2676
2630
|
readonly message: string;
|
|
@@ -3070,33 +3024,79 @@ declare const CommitsApiGroup_base: HttpApiGroup.HttpApiGroup<"commits", HttpApi
|
|
|
3070
3024
|
}>, {
|
|
3071
3025
|
"ref0-code": Schema.String;
|
|
3072
3026
|
'www-authenticate': Schema.String;
|
|
3073
|
-
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
3027
|
+
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"compare", "POST", "/repos/:repo/-/commits/compare", Schema.toCodecStringTree<Schema.Struct<{
|
|
3074
3028
|
repo: Schema.String;
|
|
3075
|
-
|
|
3076
|
-
|
|
3077
|
-
readonly
|
|
3078
|
-
readonly
|
|
3079
|
-
readonly
|
|
3080
|
-
|
|
3081
|
-
|
|
3082
|
-
|
|
3083
|
-
readonly
|
|
3084
|
-
|
|
3085
|
-
|
|
3086
|
-
|
|
3087
|
-
|
|
3088
|
-
readonly
|
|
3089
|
-
readonly
|
|
3029
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
3030
|
+
readonly base: Schema.String;
|
|
3031
|
+
readonly head: Schema.String;
|
|
3032
|
+
readonly renames: Schema.optionalKey<Schema.Boolean>;
|
|
3033
|
+
readonly commits: Schema.optionalKey<Schema.Struct<{
|
|
3034
|
+
readonly after: Schema.optionalKey<Schema.String>;
|
|
3035
|
+
readonly limit: Schema.optionalKey<Schema.Int>;
|
|
3036
|
+
}>>;
|
|
3037
|
+
readonly files: Schema.optionalKey<Schema.Struct<{
|
|
3038
|
+
readonly after: Schema.optionalKey<Schema.String>;
|
|
3039
|
+
readonly limit: Schema.optionalKey<Schema.Int>;
|
|
3040
|
+
}>>;
|
|
3041
|
+
readonly limits: Schema.optionalKey<Schema.Struct<{
|
|
3042
|
+
readonly objects: Schema.optionalKey<Schema.Int>;
|
|
3043
|
+
readonly bytes: Schema.optionalKey<Schema.Int>;
|
|
3044
|
+
readonly entries: Schema.optionalKey<Schema.Int>;
|
|
3045
|
+
readonly milliseconds: Schema.optionalKey<Schema.Int>;
|
|
3046
|
+
}>>;
|
|
3047
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
3048
|
+
readonly base: Schema.String;
|
|
3049
|
+
readonly head: Schema.String;
|
|
3050
|
+
readonly mergeBase: Schema.optionalKey<Schema.String>;
|
|
3051
|
+
readonly ahead: Schema.Int;
|
|
3052
|
+
readonly behind: Schema.Int;
|
|
3053
|
+
readonly commits: Schema.Struct<{
|
|
3054
|
+
readonly items: Schema.mutable<Schema.$Array<Schema.Struct<{
|
|
3055
|
+
readonly oid: Schema.String;
|
|
3056
|
+
readonly tree: Schema.String;
|
|
3057
|
+
readonly parents: Schema.$Array<Schema.String>;
|
|
3058
|
+
readonly author: Schema.Struct<{
|
|
3059
|
+
readonly name: Schema.String;
|
|
3060
|
+
readonly email: Schema.String;
|
|
3061
|
+
readonly at: Schema.Number;
|
|
3062
|
+
readonly offset: Schema.Int;
|
|
3063
|
+
}>;
|
|
3064
|
+
readonly committer: Schema.Struct<{
|
|
3065
|
+
readonly name: Schema.String;
|
|
3066
|
+
readonly email: Schema.String;
|
|
3067
|
+
readonly at: Schema.Number;
|
|
3068
|
+
readonly offset: Schema.Int;
|
|
3069
|
+
}>;
|
|
3070
|
+
readonly subject: Schema.String;
|
|
3071
|
+
readonly message: Schema.String;
|
|
3072
|
+
readonly signature: Schema.optionalKey<Schema.String>;
|
|
3073
|
+
}>>>;
|
|
3074
|
+
readonly next: Schema.optionalKey<Schema.String>;
|
|
3090
3075
|
}>;
|
|
3091
|
-
readonly
|
|
3092
|
-
readonly
|
|
3093
|
-
|
|
3094
|
-
|
|
3095
|
-
|
|
3076
|
+
readonly files: Schema.Struct<{
|
|
3077
|
+
readonly items: Schema.mutable<Schema.$Array<Schema.Struct<{
|
|
3078
|
+
readonly status: Schema.Literals<readonly ["A", "D", "M", "R", "T"]>;
|
|
3079
|
+
readonly path: Schema.String;
|
|
3080
|
+
readonly from: Schema.optionalKey<Schema.String>;
|
|
3081
|
+
readonly similarity: Schema.optionalKey<Schema.Number>;
|
|
3082
|
+
readonly old: Schema.optionalKey<Schema.Struct<{
|
|
3083
|
+
readonly mode: Schema.String;
|
|
3084
|
+
readonly oid: Schema.String;
|
|
3085
|
+
}>>;
|
|
3086
|
+
readonly new: Schema.optionalKey<Schema.Struct<{
|
|
3087
|
+
readonly mode: Schema.String;
|
|
3088
|
+
readonly oid: Schema.String;
|
|
3089
|
+
}>>;
|
|
3090
|
+
readonly pathBytes: Schema.optionalKey<Schema.Uint8ArrayFromBase64>;
|
|
3091
|
+
readonly fromPathBytes: Schema.optionalKey<Schema.Uint8ArrayFromBase64>;
|
|
3092
|
+
readonly lines: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
3093
|
+
readonly added: Schema.Int;
|
|
3094
|
+
readonly deleted: Schema.Int;
|
|
3095
|
+
}>, Schema.Literal<"binary">]>>;
|
|
3096
|
+
}>>>;
|
|
3097
|
+
readonly next: Schema.optionalKey<Schema.String>;
|
|
3098
|
+
readonly renamesSkipped: Schema.optionalKey<Schema.Literals<readonly ["rename-limit", "memory-limit"]>>;
|
|
3096
3099
|
}>;
|
|
3097
|
-
readonly subject: Schema.String;
|
|
3098
|
-
readonly message: Schema.String;
|
|
3099
|
-
readonly signature: Schema.optionalKey<Schema.String>;
|
|
3100
3100
|
}>>, Schema.toCodecJson<HttpApiSchema.encodeToWithHeaders<Schema.Codec<{
|
|
3101
3101
|
readonly code: "ALREADY_EXISTS";
|
|
3102
3102
|
readonly message: string;
|
package/dist/rest/files.d.mts
CHANGED
|
@@ -4,11 +4,11 @@ import { HttpApiEndpoint, HttpApiGroup } from "effect/http-api";
|
|
|
4
4
|
declare const FilesApiGroup_base: HttpApiGroup.HttpApiGroup<"files", HttpApiEndpoint.HttpApiEndpoint<"diff", "POST", "/repos/:repo/-/files/diff", Schema.toCodecStringTree<Schema.Struct<{
|
|
5
5
|
repo: Schema.String;
|
|
6
6
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
7
|
-
readonly paths: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
8
|
-
readonly format: Schema.optionalKey<Schema.Literals<readonly ["patch", "hunks"]>>;
|
|
9
7
|
readonly base: Schema.String;
|
|
10
8
|
readonly head: Schema.String;
|
|
11
9
|
readonly renames: Schema.optionalKey<Schema.Boolean>;
|
|
10
|
+
readonly paths: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
11
|
+
readonly format: Schema.optionalKey<Schema.Literals<readonly ["patch", "hunks"]>>;
|
|
12
12
|
readonly limits: Schema.optionalKey<Schema.Struct<{
|
|
13
13
|
readonly objects: Schema.optionalKey<Schema.Int>;
|
|
14
14
|
readonly bytes: Schema.optionalKey<Schema.Int>;
|
|
@@ -21,7 +21,6 @@ declare const FilesApiGroup_base: HttpApiGroup.HttpApiGroup<"files", HttpApiEndp
|
|
|
21
21
|
}>>;
|
|
22
22
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
23
23
|
readonly items: Schema.mutable<Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
24
|
-
readonly patch: Schema.String;
|
|
25
24
|
readonly status: Schema.Literals<readonly ["A", "D", "M", "R", "T"]>;
|
|
26
25
|
readonly path: Schema.String;
|
|
27
26
|
readonly from: Schema.optionalKey<Schema.String>;
|
|
@@ -40,19 +39,8 @@ declare const FilesApiGroup_base: HttpApiGroup.HttpApiGroup<"files", HttpApiEndp
|
|
|
40
39
|
readonly added: Schema.Int;
|
|
41
40
|
readonly deleted: Schema.Int;
|
|
42
41
|
}>, Schema.Literal<"binary">]>;
|
|
42
|
+
readonly patch: Schema.String;
|
|
43
43
|
}>, Schema.Struct<{
|
|
44
|
-
readonly hunks: Schema.$Array<Schema.Struct<{
|
|
45
|
-
readonly oldStart: Schema.Int;
|
|
46
|
-
readonly oldLines: Schema.Int;
|
|
47
|
-
readonly newStart: Schema.Int;
|
|
48
|
-
readonly newLines: Schema.Int;
|
|
49
|
-
readonly context: Schema.String;
|
|
50
|
-
readonly lines: Schema.$Array<Schema.Struct<{
|
|
51
|
-
readonly kind: Schema.Literals<readonly ["context", "add", "delete"]>;
|
|
52
|
-
readonly text: Schema.String;
|
|
53
|
-
readonly noNewline: Schema.optionalKey<Schema.Literal<true>>;
|
|
54
|
-
}>>;
|
|
55
|
-
}>>;
|
|
56
44
|
readonly status: Schema.Literals<readonly ["A", "D", "M", "R", "T"]>;
|
|
57
45
|
readonly path: Schema.String;
|
|
58
46
|
readonly from: Schema.optionalKey<Schema.String>;
|
|
@@ -71,6 +59,18 @@ declare const FilesApiGroup_base: HttpApiGroup.HttpApiGroup<"files", HttpApiEndp
|
|
|
71
59
|
readonly added: Schema.Int;
|
|
72
60
|
readonly deleted: Schema.Int;
|
|
73
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
74
|
}>]>>>;
|
|
75
75
|
readonly next: Schema.optionalKey<Schema.String>;
|
|
76
76
|
readonly renamesSkipped: Schema.optionalKey<Schema.Literals<readonly ["rename-limit", "memory-limit"]>>;
|
|
@@ -476,15 +476,15 @@ declare const FilesApiGroup_base: HttpApiGroup.HttpApiGroup<"files", HttpApiEndp
|
|
|
476
476
|
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/repos/:repo/-/files", Schema.toCodecStringTree<Schema.Struct<{
|
|
477
477
|
repo: Schema.String;
|
|
478
478
|
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
479
|
-
ref: Schema.String;
|
|
480
|
-
path: Schema.optionalKey<Schema.String>;
|
|
481
|
-
recursive: Schema.optionalKey<Schema.Boolean>;
|
|
482
479
|
objects: Schema.optionalKey<Schema.Int>;
|
|
483
480
|
bytes: Schema.optionalKey<Schema.Int>;
|
|
484
481
|
entries: Schema.optionalKey<Schema.Int>;
|
|
485
482
|
milliseconds: Schema.optionalKey<Schema.Int>;
|
|
486
483
|
after: Schema.optionalKey<Schema.String>;
|
|
487
484
|
limit: Schema.optionalKey<Schema.Int>;
|
|
485
|
+
ref: Schema.String;
|
|
486
|
+
path: Schema.optionalKey<Schema.String>;
|
|
487
|
+
recursive: Schema.optionalKey<Schema.Boolean>;
|
|
488
488
|
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
489
489
|
readonly items: Schema.mutable<Schema.$Array<Schema.Struct<{
|
|
490
490
|
readonly name: Schema.String;
|