@ref0/git 0.9.0 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/contracts/commits.d.mts +14 -2
- package/dist/contracts/commits.mjs +22 -3
- package/dist/contracts/refs.mjs +3 -1
- package/dist/core/events/seen.mjs +5 -4
- package/dist/core/job-view.mjs +20 -0
- package/dist/core/ref-view.mjs +1 -25
- package/dist/core/work.mjs +47 -4
- package/dist/engine/walk.mjs +51 -13
- package/dist/index.d.mts +3 -3
- package/dist/index.mjs +3 -3
- package/dist/lfs/upload-most.mjs +1 -1
- package/dist/rest/commits.d.mts +90 -86
- package/dist/rest/forks.d.mts +72 -72
- package/dist/rest/refs.d.mts +142 -142
- package/dist/rest/repos.d.mts +41 -41
- package/dist/rest/topics.d.mts +104 -104
- package/dist/rest/trees.d.mts +61 -61
- package/package.json +3 -3
package/dist/rest/topics.d.mts
CHANGED
|
@@ -1,16 +1,9 @@
|
|
|
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
|
-
|
|
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<{
|
|
4
|
+
declare const TopicsApiGroup_base: HttpApiGroup.HttpApiGroup<"topics", HttpApiEndpoint.HttpApiEndpoint<"remove", "DELETE", "/topics/:topic", Schema.toCodecStringTree<Schema.Struct<{
|
|
5
|
+
topic: Schema.String;
|
|
6
|
+
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
14
7
|
readonly id: Schema.String;
|
|
15
8
|
readonly key: Schema.String;
|
|
16
9
|
readonly state: Schema.Literals<readonly ["reserving", "checking", "publishing", "failed", "merged", "removed"]>;
|
|
@@ -451,50 +444,55 @@ declare const TopicsApiGroup_base: HttpApiGroup.HttpApiGroup<"topics", HttpApiEn
|
|
|
451
444
|
}>, {
|
|
452
445
|
"ref0-code": Schema.String;
|
|
453
446
|
'www-authenticate': Schema.String;
|
|
454
|
-
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
readonly
|
|
460
|
-
|
|
461
|
-
readonly repo: Schema.String;
|
|
462
|
-
readonly target: Schema.String;
|
|
463
|
-
readonly entry: Schema.String;
|
|
464
|
-
readonly key: Schema.String;
|
|
465
|
-
readonly source: Schema.String;
|
|
466
|
-
readonly head: Schema.String;
|
|
467
|
-
}>>;
|
|
468
|
-
readonly pending: Schema.$Array<Schema.Struct<{
|
|
469
|
-
readonly repo: Schema.String;
|
|
470
|
-
readonly target: Schema.String;
|
|
471
|
-
readonly source: Schema.String;
|
|
472
|
-
readonly head: Schema.String;
|
|
447
|
+
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/topics", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
448
|
+
after: Schema.optionalKey<Schema.String>;
|
|
449
|
+
limit: Schema.optionalKey<Schema.Int>;
|
|
450
|
+
state: Schema.optionalKey<Schema.Literals<readonly ["reserving", "checking", "publishing", "failed", "merged", "removed"]>>;
|
|
451
|
+
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
452
|
+
readonly items: Schema.mutable<Schema.$Array<Schema.Struct<{
|
|
453
|
+
readonly id: Schema.String;
|
|
473
454
|
readonly key: Schema.String;
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
readonly
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
readonly
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
455
|
+
readonly state: Schema.Literals<readonly ["reserving", "checking", "publishing", "failed", "merged", "removed"]>;
|
|
456
|
+
readonly entries: Schema.$Array<Schema.Struct<{
|
|
457
|
+
readonly repo: Schema.String;
|
|
458
|
+
readonly target: Schema.String;
|
|
459
|
+
readonly entry: Schema.String;
|
|
460
|
+
readonly key: Schema.String;
|
|
461
|
+
readonly source: Schema.String;
|
|
462
|
+
readonly head: Schema.String;
|
|
463
|
+
}>>;
|
|
464
|
+
readonly pending: Schema.$Array<Schema.Struct<{
|
|
465
|
+
readonly repo: Schema.String;
|
|
466
|
+
readonly target: Schema.String;
|
|
467
|
+
readonly source: Schema.String;
|
|
468
|
+
readonly head: Schema.String;
|
|
469
|
+
readonly key: Schema.String;
|
|
470
|
+
}>>;
|
|
471
|
+
readonly candidates: Schema.$Array<Schema.Struct<{
|
|
472
|
+
readonly repo: Schema.String;
|
|
473
|
+
readonly target: Schema.String;
|
|
474
|
+
readonly candidate: Schema.String;
|
|
475
|
+
readonly ref: Schema.String;
|
|
476
|
+
readonly commit: Schema.String;
|
|
477
|
+
}>>;
|
|
478
|
+
readonly waitingOn: Schema.optionalKey<Schema.Struct<{
|
|
479
|
+
readonly repo: Schema.String;
|
|
480
|
+
readonly target: Schema.String;
|
|
481
|
+
readonly topic: Schema.optionalKey<Schema.String>;
|
|
482
|
+
readonly hold: Schema.optionalKey<Schema.String>;
|
|
483
|
+
}>>;
|
|
484
|
+
readonly failure: Schema.optionalKey<Schema.Struct<{
|
|
485
|
+
readonly reason: Schema.Literals<readonly ["entry-failed", "reported", "cancelled", "refused", "host-error", "work-failed", "timeout", "report-timeout", "prepare-rejected"]>;
|
|
486
|
+
readonly repo: Schema.optionalKey<Schema.String>;
|
|
487
|
+
readonly entry: Schema.optionalKey<Schema.String>;
|
|
488
|
+
readonly candidate: Schema.optionalKey<Schema.String>;
|
|
489
|
+
readonly summary: Schema.optionalKey<Schema.String>;
|
|
490
|
+
readonly url: Schema.optionalKey<Schema.String>;
|
|
491
|
+
readonly error: Schema.optionalKey<Schema.String>;
|
|
492
|
+
readonly hint: Schema.String;
|
|
493
|
+
}>>;
|
|
494
|
+
}>>>;
|
|
495
|
+
readonly next: Schema.optionalKey<Schema.String>;
|
|
498
496
|
}>>, Schema.toCodecJson<import("effect/http-api/HttpApiSchema").encodeToWithHeaders<Schema.Codec<{
|
|
499
497
|
readonly code: "ALREADY_EXISTS";
|
|
500
498
|
readonly message: string;
|
|
@@ -894,55 +892,50 @@ declare const TopicsApiGroup_base: HttpApiGroup.HttpApiGroup<"topics", HttpApiEn
|
|
|
894
892
|
}>, {
|
|
895
893
|
"ref0-code": Schema.String;
|
|
896
894
|
'www-authenticate': Schema.String;
|
|
897
|
-
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
readonly
|
|
903
|
-
|
|
895
|
+
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"get", "GET", "/topics/:topic", Schema.toCodecStringTree<Schema.Struct<{
|
|
896
|
+
topic: Schema.String;
|
|
897
|
+
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
898
|
+
readonly id: Schema.String;
|
|
899
|
+
readonly key: Schema.String;
|
|
900
|
+
readonly state: Schema.Literals<readonly ["reserving", "checking", "publishing", "failed", "merged", "removed"]>;
|
|
901
|
+
readonly entries: Schema.$Array<Schema.Struct<{
|
|
902
|
+
readonly repo: Schema.String;
|
|
903
|
+
readonly target: Schema.String;
|
|
904
|
+
readonly entry: Schema.String;
|
|
904
905
|
readonly key: Schema.String;
|
|
905
|
-
readonly
|
|
906
|
-
readonly
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
readonly
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
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>;
|
|
906
|
+
readonly source: Schema.String;
|
|
907
|
+
readonly head: Schema.String;
|
|
908
|
+
}>>;
|
|
909
|
+
readonly pending: Schema.$Array<Schema.Struct<{
|
|
910
|
+
readonly repo: Schema.String;
|
|
911
|
+
readonly target: Schema.String;
|
|
912
|
+
readonly source: Schema.String;
|
|
913
|
+
readonly head: Schema.String;
|
|
914
|
+
readonly key: Schema.String;
|
|
915
|
+
}>>;
|
|
916
|
+
readonly candidates: Schema.$Array<Schema.Struct<{
|
|
917
|
+
readonly repo: Schema.String;
|
|
918
|
+
readonly target: Schema.String;
|
|
919
|
+
readonly candidate: Schema.String;
|
|
920
|
+
readonly ref: Schema.String;
|
|
921
|
+
readonly commit: Schema.String;
|
|
922
|
+
}>>;
|
|
923
|
+
readonly waitingOn: Schema.optionalKey<Schema.Struct<{
|
|
924
|
+
readonly repo: Schema.String;
|
|
925
|
+
readonly target: Schema.String;
|
|
926
|
+
readonly topic: Schema.optionalKey<Schema.String>;
|
|
927
|
+
readonly hold: Schema.optionalKey<Schema.String>;
|
|
928
|
+
}>>;
|
|
929
|
+
readonly failure: Schema.optionalKey<Schema.Struct<{
|
|
930
|
+
readonly reason: Schema.Literals<readonly ["entry-failed", "reported", "cancelled", "refused", "host-error", "work-failed", "timeout", "report-timeout", "prepare-rejected"]>;
|
|
931
|
+
readonly repo: Schema.optionalKey<Schema.String>;
|
|
932
|
+
readonly entry: Schema.optionalKey<Schema.String>;
|
|
933
|
+
readonly candidate: Schema.optionalKey<Schema.String>;
|
|
934
|
+
readonly summary: Schema.optionalKey<Schema.String>;
|
|
935
|
+
readonly url: Schema.optionalKey<Schema.String>;
|
|
936
|
+
readonly error: Schema.optionalKey<Schema.String>;
|
|
937
|
+
readonly hint: Schema.String;
|
|
938
|
+
}>>;
|
|
946
939
|
}>>, Schema.toCodecJson<import("effect/http-api/HttpApiSchema").encodeToWithHeaders<Schema.Codec<{
|
|
947
940
|
readonly code: "ALREADY_EXISTS";
|
|
948
941
|
readonly message: string;
|
|
@@ -1342,9 +1335,16 @@ declare const TopicsApiGroup_base: HttpApiGroup.HttpApiGroup<"topics", HttpApiEn
|
|
|
1342
1335
|
}>, {
|
|
1343
1336
|
"ref0-code": Schema.String;
|
|
1344
1337
|
'www-authenticate': Schema.String;
|
|
1345
|
-
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
1346
|
-
|
|
1347
|
-
|
|
1338
|
+
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"add", "POST", "/topics", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1339
|
+
readonly key: Schema.String;
|
|
1340
|
+
readonly entries: Schema.$Array<Schema.Struct<{
|
|
1341
|
+
readonly target: Schema.String;
|
|
1342
|
+
readonly source: Schema.String;
|
|
1343
|
+
readonly head: Schema.String;
|
|
1344
|
+
readonly key: Schema.String;
|
|
1345
|
+
readonly repo: Schema.String;
|
|
1346
|
+
}>>;
|
|
1347
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
1348
1348
|
readonly id: Schema.String;
|
|
1349
1349
|
readonly key: Schema.String;
|
|
1350
1350
|
readonly state: Schema.Literals<readonly ["reserving", "checking", "publishing", "failed", "merged", "removed"]>;
|
package/dist/rest/trees.d.mts
CHANGED
|
@@ -1,20 +1,28 @@
|
|
|
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 TreesApiGroup_base: HttpApiGroup.HttpApiGroup<"trees", HttpApiEndpoint.HttpApiEndpoint<"
|
|
4
|
+
declare const TreesApiGroup_base: HttpApiGroup.HttpApiGroup<"trees", HttpApiEndpoint.HttpApiEndpoint<"get", "GET", "/repos/:repo/-/trees/:oid", Schema.toCodecStringTree<Schema.Struct<{
|
|
5
5
|
repo: Schema.String;
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
oid: Schema.String;
|
|
7
|
+
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
8
|
+
objects: Schema.optionalKey<Schema.Int>;
|
|
9
|
+
bytes: Schema.optionalKey<Schema.Int>;
|
|
10
|
+
entries: Schema.optionalKey<Schema.Int>;
|
|
11
|
+
milliseconds: Schema.optionalKey<Schema.Int>;
|
|
12
|
+
after: Schema.optionalKey<Schema.String>;
|
|
13
|
+
limit: Schema.optionalKey<Schema.Int>;
|
|
14
|
+
recursive: Schema.optionalKey<Schema.Boolean>;
|
|
15
|
+
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
16
|
+
readonly items: Schema.mutable<Schema.$Array<Schema.Struct<{
|
|
17
|
+
readonly name: Schema.String;
|
|
10
18
|
readonly path: Schema.String;
|
|
11
|
-
readonly mode: Schema.
|
|
12
|
-
readonly
|
|
13
|
-
readonly
|
|
14
|
-
readonly
|
|
15
|
-
|
|
16
|
-
}
|
|
17
|
-
readonly
|
|
19
|
+
readonly mode: Schema.String;
|
|
20
|
+
readonly type: Schema.Literals<readonly ["blob", "tree", "commit"]>;
|
|
21
|
+
readonly oid: Schema.String;
|
|
22
|
+
readonly size: Schema.optionalKey<Schema.Int>;
|
|
23
|
+
readonly pathBytes: Schema.optionalKey<Schema.Uint8ArrayFromBase64>;
|
|
24
|
+
}>>>;
|
|
25
|
+
readonly next: Schema.optionalKey<Schema.String>;
|
|
18
26
|
}>>, Schema.toCodecJson<HttpApiSchema.encodeToWithHeaders<Schema.Codec<{
|
|
19
27
|
readonly code: "ALREADY_EXISTS";
|
|
20
28
|
readonly message: string;
|
|
@@ -414,41 +422,20 @@ declare const TreesApiGroup_base: HttpApiGroup.HttpApiGroup<"trees", HttpApiEndp
|
|
|
414
422
|
}>, {
|
|
415
423
|
"ref0-code": Schema.String;
|
|
416
424
|
'www-authenticate': Schema.String;
|
|
417
|
-
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
425
|
+
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"create", "POST", "/repos/:repo/-/trees", Schema.toCodecStringTree<Schema.Struct<{
|
|
418
426
|
repo: Schema.String;
|
|
419
427
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
420
|
-
readonly
|
|
421
|
-
readonly
|
|
422
|
-
readonly
|
|
423
|
-
|
|
424
|
-
readonly
|
|
425
|
-
readonly
|
|
426
|
-
readonly
|
|
427
|
-
readonly
|
|
428
|
-
}>>;
|
|
429
|
-
readonly page: Schema.optionalKey<Schema.Struct<{
|
|
430
|
-
readonly after: Schema.optionalKey<Schema.String>;
|
|
431
|
-
readonly limit: Schema.optionalKey<Schema.Int>;
|
|
428
|
+
readonly key: Schema.optionalKey<Schema.String>;
|
|
429
|
+
readonly base: Schema.optionalKey<Schema.String>;
|
|
430
|
+
readonly changes: Schema.$Array<Schema.Struct<{
|
|
431
|
+
readonly path: Schema.String;
|
|
432
|
+
readonly mode: Schema.optionalKey<Schema.String>;
|
|
433
|
+
readonly oid: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
434
|
+
readonly content: Schema.optionalKey<Schema.String>;
|
|
435
|
+
readonly contentBytes: Schema.optionalKey<Schema.Uint8ArrayFromBase64>;
|
|
432
436
|
}>>;
|
|
433
437
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
434
|
-
readonly
|
|
435
|
-
status: Schema.Literals<readonly ["A", "D", "M", "R", "T"]>;
|
|
436
|
-
path: Schema.String;
|
|
437
|
-
from: Schema.optionalKey<Schema.String>;
|
|
438
|
-
similarity: Schema.optionalKey<Schema.Number>;
|
|
439
|
-
old: Schema.optionalKey<Schema.Struct<{
|
|
440
|
-
readonly mode: Schema.String;
|
|
441
|
-
readonly oid: Schema.String;
|
|
442
|
-
}>>;
|
|
443
|
-
new: Schema.optionalKey<Schema.Struct<{
|
|
444
|
-
readonly mode: Schema.String;
|
|
445
|
-
readonly oid: Schema.String;
|
|
446
|
-
}>>;
|
|
447
|
-
pathBytes: Schema.optionalKey<Schema.Uint8ArrayFromBase64>;
|
|
448
|
-
fromPathBytes: Schema.optionalKey<Schema.Uint8ArrayFromBase64>;
|
|
449
|
-
}>>>;
|
|
450
|
-
readonly next: Schema.optionalKey<Schema.String>;
|
|
451
|
-
readonly renamesSkipped: Schema.optionalKey<Schema.Literals<readonly ["rename-limit", "memory-limit"]>>;
|
|
438
|
+
readonly oid: Schema.String;
|
|
452
439
|
}>>, Schema.toCodecJson<HttpApiSchema.encodeToWithHeaders<Schema.Codec<{
|
|
453
440
|
readonly code: "ALREADY_EXISTS";
|
|
454
441
|
readonly message: string;
|
|
@@ -848,28 +835,41 @@ declare const TreesApiGroup_base: HttpApiGroup.HttpApiGroup<"trees", HttpApiEndp
|
|
|
848
835
|
}>, {
|
|
849
836
|
"ref0-code": Schema.String;
|
|
850
837
|
'www-authenticate': Schema.String;
|
|
851
|
-
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
838
|
+
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"diff", "POST", "/repos/:repo/-/trees/diff", Schema.toCodecStringTree<Schema.Struct<{
|
|
852
839
|
repo: Schema.String;
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
}
|
|
840
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
841
|
+
readonly base: Schema.String;
|
|
842
|
+
readonly head: Schema.String;
|
|
843
|
+
readonly renames: Schema.optionalKey<Schema.Boolean>;
|
|
844
|
+
readonly limits: Schema.optionalKey<Schema.Struct<{
|
|
845
|
+
readonly objects: Schema.optionalKey<Schema.Int>;
|
|
846
|
+
readonly bytes: Schema.optionalKey<Schema.Int>;
|
|
847
|
+
readonly entries: Schema.optionalKey<Schema.Int>;
|
|
848
|
+
readonly milliseconds: Schema.optionalKey<Schema.Int>;
|
|
849
|
+
}>>;
|
|
850
|
+
readonly page: Schema.optionalKey<Schema.Struct<{
|
|
851
|
+
readonly after: Schema.optionalKey<Schema.String>;
|
|
852
|
+
readonly limit: Schema.optionalKey<Schema.Int>;
|
|
853
|
+
}>>;
|
|
854
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
863
855
|
readonly items: Schema.mutable<Schema.$Array<Schema.Struct<{
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
856
|
+
status: Schema.Literals<readonly ["A", "D", "M", "R", "T"]>;
|
|
857
|
+
path: Schema.String;
|
|
858
|
+
from: Schema.optionalKey<Schema.String>;
|
|
859
|
+
similarity: Schema.optionalKey<Schema.Number>;
|
|
860
|
+
old: Schema.optionalKey<Schema.Struct<{
|
|
861
|
+
readonly mode: Schema.String;
|
|
862
|
+
readonly oid: Schema.String;
|
|
863
|
+
}>>;
|
|
864
|
+
new: Schema.optionalKey<Schema.Struct<{
|
|
865
|
+
readonly mode: Schema.String;
|
|
866
|
+
readonly oid: Schema.String;
|
|
867
|
+
}>>;
|
|
868
|
+
pathBytes: Schema.optionalKey<Schema.Uint8ArrayFromBase64>;
|
|
869
|
+
fromPathBytes: Schema.optionalKey<Schema.Uint8ArrayFromBase64>;
|
|
871
870
|
}>>>;
|
|
872
871
|
readonly next: Schema.optionalKey<Schema.String>;
|
|
872
|
+
readonly renamesSkipped: Schema.optionalKey<Schema.Literals<readonly ["rename-limit", "memory-limit"]>>;
|
|
873
873
|
}>>, Schema.toCodecJson<HttpApiSchema.encodeToWithHeaders<Schema.Codec<{
|
|
874
874
|
readonly code: "ALREADY_EXISTS";
|
|
875
875
|
readonly message: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ref0/git",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.10.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Git hosting as a library: a server, a client and their merges",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -62,12 +62,12 @@
|
|
|
62
62
|
}
|
|
63
63
|
},
|
|
64
64
|
"dependencies": {
|
|
65
|
-
"@ref0/infra": "0.
|
|
65
|
+
"@ref0/infra": "0.10.0",
|
|
66
66
|
"pako": "2.1.0"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
69
|
"@effect/vitest": "4.1.7",
|
|
70
|
-
"@ref0/xdiff-wasm": "0.
|
|
70
|
+
"@ref0/xdiff-wasm": "0.10.0",
|
|
71
71
|
"effect": "4.1.7",
|
|
72
72
|
"vite-plus": "1.8.0",
|
|
73
73
|
"vitest": "5.1.1"
|