@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/commits.d.mts
CHANGED
|
@@ -1,39 +1,56 @@
|
|
|
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<"create", "POST", "/repos/:repo/-/commits", Schema.toCodecStringTree<Schema.Struct<{
|
|
5
5
|
repo: Schema.String;
|
|
6
|
-
}>>, Schema.
|
|
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
|
|
34
|
-
readonly signature: Schema.optionalKey<Schema.String>;
|
|
6
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
7
|
+
readonly message: Schema.String;
|
|
8
|
+
readonly author: Schema.Struct<{
|
|
9
|
+
readonly name: Schema.String;
|
|
10
|
+
readonly email: Schema.String;
|
|
11
|
+
readonly at: Schema.Number;
|
|
12
|
+
readonly offset: Schema.Int;
|
|
13
|
+
}>;
|
|
14
|
+
readonly parents: Schema.$Array<Schema.String>;
|
|
15
|
+
readonly committer: Schema.optionalKey<Schema.Struct<{
|
|
16
|
+
readonly name: Schema.String;
|
|
17
|
+
readonly email: Schema.String;
|
|
18
|
+
readonly at: Schema.Number;
|
|
19
|
+
readonly offset: Schema.Int;
|
|
20
|
+
}>>;
|
|
21
|
+
readonly signature: Schema.optionalKey<Schema.String>;
|
|
22
|
+
readonly ref: Schema.optionalKey<Schema.Struct<{
|
|
23
|
+
readonly name: Schema.String;
|
|
24
|
+
readonly from: Schema.NullOr<Schema.String>;
|
|
25
|
+
}>>;
|
|
26
|
+
readonly key: Schema.optionalKey<Schema.String>;
|
|
27
|
+
readonly tree: Schema.optionalKey<Schema.String>;
|
|
28
|
+
readonly changes: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
29
|
+
readonly path: Schema.String;
|
|
30
|
+
readonly mode: Schema.optionalKey<Schema.String>;
|
|
31
|
+
readonly oid: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
32
|
+
readonly content: Schema.optionalKey<Schema.String>;
|
|
33
|
+
readonly contentBytes: Schema.optionalKey<Schema.Uint8ArrayFromBase64>;
|
|
35
34
|
}>>>;
|
|
36
|
-
|
|
35
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
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>;
|
|
37
54
|
}>>, Schema.toCodecJson<HttpApiSchema.encodeToWithHeaders<Schema.Codec<{
|
|
38
55
|
readonly code: "ALREADY_EXISTS";
|
|
39
56
|
readonly message: string;
|
|
@@ -433,56 +450,39 @@ declare const CommitsApiGroup_base: HttpApiGroup.HttpApiGroup<"commits", HttpApi
|
|
|
433
450
|
}>, {
|
|
434
451
|
"ref0-code": Schema.String;
|
|
435
452
|
'www-authenticate': Schema.String;
|
|
436
|
-
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
453
|
+
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/repos/:repo/-/commits", Schema.toCodecStringTree<Schema.Struct<{
|
|
437
454
|
repo: Schema.String;
|
|
438
|
-
}>>,
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
readonly
|
|
450
|
-
readonly
|
|
451
|
-
readonly
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
readonly
|
|
465
|
-
readonly
|
|
455
|
+
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
456
|
+
objects: Schema.optionalKey<Schema.Int>;
|
|
457
|
+
bytes: Schema.optionalKey<Schema.Int>;
|
|
458
|
+
entries: Schema.optionalKey<Schema.Int>;
|
|
459
|
+
milliseconds: Schema.optionalKey<Schema.Int>;
|
|
460
|
+
after: Schema.optionalKey<Schema.String>;
|
|
461
|
+
limit: Schema.optionalKey<Schema.Int>;
|
|
462
|
+
ref: Schema.String;
|
|
463
|
+
path: Schema.optionalKey<Schema.String>;
|
|
464
|
+
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
465
|
+
readonly items: Schema.mutable<Schema.$Array<Schema.Struct<{
|
|
466
|
+
readonly oid: Schema.String;
|
|
467
|
+
readonly tree: Schema.String;
|
|
468
|
+
readonly parents: Schema.$Array<Schema.String>;
|
|
469
|
+
readonly author: Schema.Struct<{
|
|
470
|
+
readonly name: Schema.String;
|
|
471
|
+
readonly email: Schema.String;
|
|
472
|
+
readonly at: Schema.Number;
|
|
473
|
+
readonly offset: Schema.Int;
|
|
474
|
+
}>;
|
|
475
|
+
readonly committer: Schema.Struct<{
|
|
476
|
+
readonly name: Schema.String;
|
|
477
|
+
readonly email: Schema.String;
|
|
478
|
+
readonly at: Schema.Number;
|
|
479
|
+
readonly offset: Schema.Int;
|
|
480
|
+
}>;
|
|
481
|
+
readonly subject: Schema.String;
|
|
482
|
+
readonly message: Schema.String;
|
|
483
|
+
readonly signature: Schema.optionalKey<Schema.String>;
|
|
466
484
|
}>>>;
|
|
467
|
-
|
|
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>;
|
|
485
|
+
readonly next: Schema.optionalKey<Schema.String>;
|
|
486
486
|
}>>, Schema.toCodecJson<HttpApiSchema.encodeToWithHeaders<Schema.Codec<{
|
|
487
487
|
readonly code: "ALREADY_EXISTS";
|
|
488
488
|
readonly message: string;
|
|
@@ -1308,41 +1308,79 @@ declare const CommitsApiGroup_base: HttpApiGroup.HttpApiGroup<"commits", HttpApi
|
|
|
1308
1308
|
}>, {
|
|
1309
1309
|
"ref0-code": Schema.String;
|
|
1310
1310
|
'www-authenticate': Schema.String;
|
|
1311
|
-
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
1311
|
+
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"compare", "POST", "/repos/:repo/-/commits/compare", Schema.toCodecStringTree<Schema.Struct<{
|
|
1312
1312
|
repo: Schema.String;
|
|
1313
1313
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
1314
|
-
readonly
|
|
1315
|
-
readonly
|
|
1316
|
-
readonly
|
|
1317
|
-
|
|
1318
|
-
readonly
|
|
1319
|
-
readonly
|
|
1320
|
-
readonly offset: Schema.Int;
|
|
1314
|
+
readonly base: Schema.String;
|
|
1315
|
+
readonly head: Schema.String;
|
|
1316
|
+
readonly renames: Schema.optionalKey<Schema.Boolean>;
|
|
1317
|
+
readonly commits: Schema.optionalKey<Schema.Struct<{
|
|
1318
|
+
readonly after: Schema.optionalKey<Schema.String>;
|
|
1319
|
+
readonly limit: Schema.optionalKey<Schema.Int>;
|
|
1321
1320
|
}>>;
|
|
1322
|
-
readonly
|
|
1323
|
-
readonly
|
|
1324
|
-
readonly
|
|
1321
|
+
readonly files: Schema.optionalKey<Schema.Struct<{
|
|
1322
|
+
readonly after: Schema.optionalKey<Schema.String>;
|
|
1323
|
+
readonly limit: Schema.optionalKey<Schema.Int>;
|
|
1324
|
+
}>>;
|
|
1325
|
+
readonly limits: Schema.optionalKey<Schema.Struct<{
|
|
1326
|
+
readonly objects: Schema.optionalKey<Schema.Int>;
|
|
1327
|
+
readonly bytes: Schema.optionalKey<Schema.Int>;
|
|
1328
|
+
readonly entries: Schema.optionalKey<Schema.Int>;
|
|
1329
|
+
readonly milliseconds: Schema.optionalKey<Schema.Int>;
|
|
1325
1330
|
}>>;
|
|
1326
|
-
readonly key: Schema.optionalKey<Schema.String>;
|
|
1327
1331
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
1328
|
-
readonly
|
|
1329
|
-
readonly
|
|
1330
|
-
readonly
|
|
1331
|
-
readonly
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
readonly
|
|
1335
|
-
|
|
1332
|
+
readonly base: Schema.String;
|
|
1333
|
+
readonly head: Schema.String;
|
|
1334
|
+
readonly mergeBase: Schema.optionalKey<Schema.String>;
|
|
1335
|
+
readonly ahead: Schema.Int;
|
|
1336
|
+
readonly behind: Schema.Int;
|
|
1337
|
+
readonly commits: Schema.Struct<{
|
|
1338
|
+
readonly items: Schema.mutable<Schema.$Array<Schema.Struct<{
|
|
1339
|
+
readonly oid: Schema.String;
|
|
1340
|
+
readonly tree: Schema.String;
|
|
1341
|
+
readonly parents: Schema.$Array<Schema.String>;
|
|
1342
|
+
readonly author: Schema.Struct<{
|
|
1343
|
+
readonly name: Schema.String;
|
|
1344
|
+
readonly email: Schema.String;
|
|
1345
|
+
readonly at: Schema.Number;
|
|
1346
|
+
readonly offset: Schema.Int;
|
|
1347
|
+
}>;
|
|
1348
|
+
readonly committer: Schema.Struct<{
|
|
1349
|
+
readonly name: Schema.String;
|
|
1350
|
+
readonly email: Schema.String;
|
|
1351
|
+
readonly at: Schema.Number;
|
|
1352
|
+
readonly offset: Schema.Int;
|
|
1353
|
+
}>;
|
|
1354
|
+
readonly subject: Schema.String;
|
|
1355
|
+
readonly message: Schema.String;
|
|
1356
|
+
readonly signature: Schema.optionalKey<Schema.String>;
|
|
1357
|
+
}>>>;
|
|
1358
|
+
readonly next: Schema.optionalKey<Schema.String>;
|
|
1336
1359
|
}>;
|
|
1337
|
-
readonly
|
|
1338
|
-
readonly
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1360
|
+
readonly files: Schema.Struct<{
|
|
1361
|
+
readonly items: Schema.mutable<Schema.$Array<Schema.Struct<{
|
|
1362
|
+
readonly status: Schema.Literals<readonly ["A", "D", "M", "R", "T"]>;
|
|
1363
|
+
readonly path: Schema.String;
|
|
1364
|
+
readonly from: Schema.optionalKey<Schema.String>;
|
|
1365
|
+
readonly similarity: Schema.optionalKey<Schema.Number>;
|
|
1366
|
+
readonly old: Schema.optionalKey<Schema.Struct<{
|
|
1367
|
+
readonly mode: Schema.String;
|
|
1368
|
+
readonly oid: Schema.String;
|
|
1369
|
+
}>>;
|
|
1370
|
+
readonly new: Schema.optionalKey<Schema.Struct<{
|
|
1371
|
+
readonly mode: Schema.String;
|
|
1372
|
+
readonly oid: Schema.String;
|
|
1373
|
+
}>>;
|
|
1374
|
+
readonly pathBytes: Schema.optionalKey<Schema.Uint8ArrayFromBase64>;
|
|
1375
|
+
readonly fromPathBytes: Schema.optionalKey<Schema.Uint8ArrayFromBase64>;
|
|
1376
|
+
readonly lines: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
1377
|
+
readonly added: Schema.Int;
|
|
1378
|
+
readonly deleted: Schema.Int;
|
|
1379
|
+
}>, Schema.Literal<"binary">]>>;
|
|
1380
|
+
}>>>;
|
|
1381
|
+
readonly next: Schema.optionalKey<Schema.String>;
|
|
1382
|
+
readonly renamesSkipped: Schema.optionalKey<Schema.Literals<readonly ["rename-limit", "memory-limit"]>>;
|
|
1342
1383
|
}>;
|
|
1343
|
-
readonly subject: Schema.String;
|
|
1344
|
-
readonly message: Schema.String;
|
|
1345
|
-
readonly signature: Schema.optionalKey<Schema.String>;
|
|
1346
1384
|
}>>, Schema.toCodecJson<HttpApiSchema.encodeToWithHeaders<Schema.Codec<{
|
|
1347
1385
|
readonly code: "ALREADY_EXISTS";
|
|
1348
1386
|
readonly message: string;
|
|
@@ -1742,44 +1780,41 @@ declare const CommitsApiGroup_base: HttpApiGroup.HttpApiGroup<"commits", HttpApi
|
|
|
1742
1780
|
}>, {
|
|
1743
1781
|
"ref0-code": Schema.String;
|
|
1744
1782
|
'www-authenticate': Schema.String;
|
|
1745
|
-
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
1783
|
+
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"diff", "POST", "/repos/:repo/-/commits/diff", Schema.toCodecStringTree<Schema.Struct<{
|
|
1746
1784
|
repo: Schema.String;
|
|
1747
1785
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
1748
|
-
readonly
|
|
1749
|
-
readonly
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
readonly
|
|
1753
|
-
readonly
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
readonly
|
|
1758
|
-
readonly
|
|
1759
|
-
readonly
|
|
1760
|
-
readonly at: Schema.Number;
|
|
1761
|
-
readonly offset: Schema.Int;
|
|
1786
|
+
readonly base: Schema.String;
|
|
1787
|
+
readonly head: Schema.String;
|
|
1788
|
+
readonly renames: Schema.optionalKey<Schema.Boolean>;
|
|
1789
|
+
readonly limits: Schema.optionalKey<Schema.Struct<{
|
|
1790
|
+
readonly objects: Schema.optionalKey<Schema.Int>;
|
|
1791
|
+
readonly bytes: Schema.optionalKey<Schema.Int>;
|
|
1792
|
+
readonly entries: Schema.optionalKey<Schema.Int>;
|
|
1793
|
+
readonly milliseconds: Schema.optionalKey<Schema.Int>;
|
|
1794
|
+
}>>;
|
|
1795
|
+
readonly page: Schema.optionalKey<Schema.Struct<{
|
|
1796
|
+
readonly after: Schema.optionalKey<Schema.String>;
|
|
1797
|
+
readonly limit: Schema.optionalKey<Schema.Int>;
|
|
1762
1798
|
}>>;
|
|
1763
|
-
readonly key: Schema.optionalKey<Schema.String>;
|
|
1764
1799
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
1765
|
-
readonly
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
readonly
|
|
1782
|
-
readonly
|
|
1800
|
+
readonly items: Schema.mutable<Schema.$Array<Schema.Struct<{
|
|
1801
|
+
status: Schema.Literals<readonly ["A", "D", "M", "R", "T"]>;
|
|
1802
|
+
path: Schema.String;
|
|
1803
|
+
from: Schema.optionalKey<Schema.String>;
|
|
1804
|
+
similarity: Schema.optionalKey<Schema.Number>;
|
|
1805
|
+
old: Schema.optionalKey<Schema.Struct<{
|
|
1806
|
+
readonly mode: Schema.String;
|
|
1807
|
+
readonly oid: Schema.String;
|
|
1808
|
+
}>>;
|
|
1809
|
+
new: Schema.optionalKey<Schema.Struct<{
|
|
1810
|
+
readonly mode: Schema.String;
|
|
1811
|
+
readonly oid: Schema.String;
|
|
1812
|
+
}>>;
|
|
1813
|
+
pathBytes: Schema.optionalKey<Schema.Uint8ArrayFromBase64>;
|
|
1814
|
+
fromPathBytes: Schema.optionalKey<Schema.Uint8ArrayFromBase64>;
|
|
1815
|
+
}>>>;
|
|
1816
|
+
readonly next: Schema.optionalKey<Schema.String>;
|
|
1817
|
+
readonly renamesSkipped: Schema.optionalKey<Schema.Literals<readonly ["rename-limit", "memory-limit"]>>;
|
|
1783
1818
|
}>>, Schema.toCodecJson<HttpApiSchema.encodeToWithHeaders<Schema.Codec<{
|
|
1784
1819
|
readonly code: "ALREADY_EXISTS";
|
|
1785
1820
|
readonly message: string;
|
|
@@ -2590,41 +2625,41 @@ declare const CommitsApiGroup_base: HttpApiGroup.HttpApiGroup<"commits", HttpApi
|
|
|
2590
2625
|
}>, {
|
|
2591
2626
|
"ref0-code": Schema.String;
|
|
2592
2627
|
'www-authenticate': Schema.String;
|
|
2593
|
-
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
2628
|
+
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"pick", "POST", "/repos/:repo/-/commits/pick", Schema.toCodecStringTree<Schema.Struct<{
|
|
2594
2629
|
repo: Schema.String;
|
|
2595
2630
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
2596
|
-
readonly
|
|
2597
|
-
readonly
|
|
2598
|
-
readonly
|
|
2599
|
-
|
|
2600
|
-
readonly
|
|
2601
|
-
readonly
|
|
2602
|
-
readonly
|
|
2603
|
-
readonly milliseconds: Schema.optionalKey<Schema.Int>;
|
|
2631
|
+
readonly commit: Schema.String;
|
|
2632
|
+
readonly onto: Schema.String;
|
|
2633
|
+
readonly committer: Schema.optionalKey<Schema.Struct<{
|
|
2634
|
+
readonly name: Schema.String;
|
|
2635
|
+
readonly email: Schema.String;
|
|
2636
|
+
readonly at: Schema.Number;
|
|
2637
|
+
readonly offset: Schema.Int;
|
|
2604
2638
|
}>>;
|
|
2605
|
-
readonly
|
|
2606
|
-
readonly
|
|
2607
|
-
readonly
|
|
2639
|
+
readonly ref: Schema.optionalKey<Schema.Struct<{
|
|
2640
|
+
readonly name: Schema.String;
|
|
2641
|
+
readonly from: Schema.NullOr<Schema.String>;
|
|
2608
2642
|
}>>;
|
|
2643
|
+
readonly key: Schema.optionalKey<Schema.String>;
|
|
2609
2644
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
2610
|
-
readonly
|
|
2611
|
-
|
|
2612
|
-
|
|
2613
|
-
|
|
2614
|
-
|
|
2615
|
-
|
|
2616
|
-
|
|
2617
|
-
|
|
2618
|
-
|
|
2619
|
-
|
|
2620
|
-
|
|
2621
|
-
|
|
2622
|
-
|
|
2623
|
-
|
|
2624
|
-
|
|
2625
|
-
|
|
2626
|
-
readonly
|
|
2627
|
-
readonly
|
|
2645
|
+
readonly oid: Schema.String;
|
|
2646
|
+
readonly tree: Schema.String;
|
|
2647
|
+
readonly parents: Schema.$Array<Schema.String>;
|
|
2648
|
+
readonly author: Schema.Struct<{
|
|
2649
|
+
readonly name: Schema.String;
|
|
2650
|
+
readonly email: Schema.String;
|
|
2651
|
+
readonly at: Schema.Number;
|
|
2652
|
+
readonly offset: Schema.Int;
|
|
2653
|
+
}>;
|
|
2654
|
+
readonly committer: Schema.Struct<{
|
|
2655
|
+
readonly name: Schema.String;
|
|
2656
|
+
readonly email: Schema.String;
|
|
2657
|
+
readonly at: Schema.Number;
|
|
2658
|
+
readonly offset: Schema.Int;
|
|
2659
|
+
}>;
|
|
2660
|
+
readonly subject: Schema.String;
|
|
2661
|
+
readonly message: Schema.String;
|
|
2662
|
+
readonly signature: Schema.optionalKey<Schema.String>;
|
|
2628
2663
|
}>>, Schema.toCodecJson<HttpApiSchema.encodeToWithHeaders<Schema.Codec<{
|
|
2629
2664
|
readonly code: "ALREADY_EXISTS";
|
|
2630
2665
|
readonly message: string;
|
|
@@ -3024,79 +3059,44 @@ declare const CommitsApiGroup_base: HttpApiGroup.HttpApiGroup<"commits", HttpApi
|
|
|
3024
3059
|
}>, {
|
|
3025
3060
|
"ref0-code": Schema.String;
|
|
3026
3061
|
'www-authenticate': Schema.String;
|
|
3027
|
-
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
3062
|
+
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"revert", "POST", "/repos/:repo/-/commits/revert", Schema.toCodecStringTree<Schema.Struct<{
|
|
3028
3063
|
repo: Schema.String;
|
|
3029
3064
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
3030
|
-
readonly
|
|
3031
|
-
readonly
|
|
3032
|
-
|
|
3033
|
-
|
|
3034
|
-
readonly
|
|
3035
|
-
readonly
|
|
3036
|
-
}
|
|
3037
|
-
readonly
|
|
3038
|
-
|
|
3039
|
-
|
|
3040
|
-
|
|
3041
|
-
|
|
3042
|
-
readonly
|
|
3043
|
-
readonly
|
|
3044
|
-
readonly entries: Schema.optionalKey<Schema.Int>;
|
|
3045
|
-
readonly milliseconds: Schema.optionalKey<Schema.Int>;
|
|
3065
|
+
readonly message: Schema.String;
|
|
3066
|
+
readonly author: Schema.Struct<{
|
|
3067
|
+
readonly name: Schema.String;
|
|
3068
|
+
readonly email: Schema.String;
|
|
3069
|
+
readonly at: Schema.Number;
|
|
3070
|
+
readonly offset: Schema.Int;
|
|
3071
|
+
}>;
|
|
3072
|
+
readonly commit: Schema.String;
|
|
3073
|
+
readonly onto: Schema.String;
|
|
3074
|
+
readonly committer: Schema.optionalKey<Schema.Struct<{
|
|
3075
|
+
readonly name: Schema.String;
|
|
3076
|
+
readonly email: Schema.String;
|
|
3077
|
+
readonly at: Schema.Number;
|
|
3078
|
+
readonly offset: Schema.Int;
|
|
3046
3079
|
}>>;
|
|
3080
|
+
readonly key: Schema.optionalKey<Schema.String>;
|
|
3047
3081
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
3048
|
-
readonly
|
|
3049
|
-
readonly
|
|
3050
|
-
readonly
|
|
3051
|
-
readonly
|
|
3052
|
-
|
|
3053
|
-
|
|
3054
|
-
readonly
|
|
3055
|
-
|
|
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>;
|
|
3082
|
+
readonly oid: Schema.String;
|
|
3083
|
+
readonly tree: Schema.String;
|
|
3084
|
+
readonly parents: Schema.$Array<Schema.String>;
|
|
3085
|
+
readonly author: Schema.Struct<{
|
|
3086
|
+
readonly name: Schema.String;
|
|
3087
|
+
readonly email: Schema.String;
|
|
3088
|
+
readonly at: Schema.Number;
|
|
3089
|
+
readonly offset: Schema.Int;
|
|
3075
3090
|
}>;
|
|
3076
|
-
readonly
|
|
3077
|
-
readonly
|
|
3078
|
-
|
|
3079
|
-
|
|
3080
|
-
|
|
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"]>>;
|
|
3091
|
+
readonly committer: Schema.Struct<{
|
|
3092
|
+
readonly name: Schema.String;
|
|
3093
|
+
readonly email: Schema.String;
|
|
3094
|
+
readonly at: Schema.Number;
|
|
3095
|
+
readonly offset: Schema.Int;
|
|
3099
3096
|
}>;
|
|
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;
|