@knpkv/codecommit-web 0.14.0 → 0.15.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/client/assets/index-Ds8Muxxv.css +1 -0
- package/dist/client/assets/index-eLkbewLN.js +90 -0
- package/dist/client/assets/pr-review-workspace-CgczAXj_.js +22 -0
- package/dist/client/index.html +2 -2
- package/dist/pull-request-coordinates.d.ts +22 -0
- package/dist/pull-request-coordinates.d.ts.map +1 -0
- package/dist/pull-request-coordinates.js +88 -0
- package/dist/pull-request-coordinates.js.map +1 -0
- package/dist/server/Api.d.ts +188 -102
- package/dist/server/Api.d.ts.map +1 -1
- package/dist/server/Api.js +37 -7
- package/dist/server/Api.js.map +1 -1
- package/dist/server/Server.d.ts.map +1 -1
- package/dist/server/Server.js +6 -1
- package/dist/server/Server.js.map +1 -1
- package/dist/server/handlers/prs-live.d.ts +17 -3
- package/dist/server/handlers/prs-live.d.ts.map +1 -1
- package/dist/server/handlers/prs-live.js +104 -22
- package/dist/server/handlers/prs-live.js.map +1 -1
- package/dist/server/handlers/sandbox-live.d.ts.map +1 -1
- package/dist/server/handlers/sandbox-live.js +1 -0
- package/dist/server/handlers/sandbox-live.js.map +1 -1
- package/dist/server/handlers/subscriptions-live.d.ts +2 -2
- package/dist/server/handlers/subscriptions-live.d.ts.map +1 -1
- package/dist/server/handlers/subscriptions-live.js +25 -4
- package/dist/server/handlers/subscriptions-live.js.map +1 -1
- package/dist/server/review/PullRequestReview.d.ts +1 -0
- package/dist/server/review/PullRequestReview.d.ts.map +1 -1
- package/package.json +6 -5
- package/dist/client/assets/index-DQUoxciG.js +0 -90
- package/dist/client/assets/index-NJaNHeOS.css +0 -1
- package/dist/client/assets/pr-review-workspace-C0TVEp1y.js +0 -22
package/dist/server/Api.d.ts
CHANGED
|
@@ -215,7 +215,7 @@ export declare const RelayExplainResult: Schema.Struct<{
|
|
|
215
215
|
readonly verdict: Schema.String;
|
|
216
216
|
readonly explanation: Schema.String;
|
|
217
217
|
}>;
|
|
218
|
-
/** One
|
|
218
|
+
/** One Relay result bound to the exact diff that was reviewed within a durable pull-request thread. */
|
|
219
219
|
export declare const PullRequestRelayReviewResponse: Schema.Struct<{
|
|
220
220
|
readonly pullRequestId: Schema.brand<Schema.String, "PullRequestId">;
|
|
221
221
|
readonly revisionId: Schema.String;
|
|
@@ -260,7 +260,8 @@ export declare const PullRequestRelayReviewResponse: Schema.Struct<{
|
|
|
260
260
|
export type PullRequestRelayReviewResponse = typeof PullRequestRelayReviewResponse.Type;
|
|
261
261
|
export declare const RelayReviewMessage: Schema.String;
|
|
262
262
|
export declare const RelayReviewConversationTurn: Schema.Struct<{
|
|
263
|
-
readonly
|
|
263
|
+
readonly id: Schema.optional<Schema.String>;
|
|
264
|
+
readonly findingId: Schema.Union<readonly [Schema.String, Schema.Literal<"PR">]>;
|
|
264
265
|
readonly role: Schema.Literals<readonly ["user", "assistant"]>;
|
|
265
266
|
readonly message: Schema.String;
|
|
266
267
|
}>;
|
|
@@ -344,7 +345,8 @@ export declare const RelayReviewStreamRequest: Schema.Struct<{
|
|
|
344
345
|
export type RelayReviewStreamRequest = typeof RelayReviewStreamRequest.Type;
|
|
345
346
|
export declare const MAXIMUM_RELAY_REVIEW_TURNS = 40;
|
|
346
347
|
export declare const RelayReviewConversationTurns: Schema.$Array<Schema.Struct<{
|
|
347
|
-
readonly
|
|
348
|
+
readonly id: Schema.optional<Schema.String>;
|
|
349
|
+
readonly findingId: Schema.Union<readonly [Schema.String, Schema.Literal<"PR">]>;
|
|
348
350
|
readonly role: Schema.Literals<readonly ["user", "assistant"]>;
|
|
349
351
|
readonly message: Schema.String;
|
|
350
352
|
}>>;
|
|
@@ -387,11 +389,12 @@ export declare const RelayReviewContinueStreamRequest: Schema.Struct<{
|
|
|
387
389
|
readonly explanation: Schema.optional<Schema.String>;
|
|
388
390
|
}>;
|
|
389
391
|
readonly turns: Schema.$Array<Schema.Struct<{
|
|
390
|
-
readonly
|
|
392
|
+
readonly id: Schema.optional<Schema.String>;
|
|
393
|
+
readonly findingId: Schema.Union<readonly [Schema.String, Schema.Literal<"PR">]>;
|
|
391
394
|
readonly role: Schema.Literals<readonly ["user", "assistant"]>;
|
|
392
395
|
readonly message: Schema.String;
|
|
393
396
|
}>>;
|
|
394
|
-
readonly findingId: Schema.String
|
|
397
|
+
readonly findingId: Schema.Union<readonly [Schema.String, Schema.Literal<"PR">]>;
|
|
395
398
|
readonly message: Schema.String;
|
|
396
399
|
}>;
|
|
397
400
|
export type RelayReviewContinueStreamRequest = typeof RelayReviewContinueStreamRequest.Type;
|
|
@@ -402,6 +405,8 @@ export declare const NotificationResponse: Schema.Struct<{
|
|
|
402
405
|
readonly type: Schema.String;
|
|
403
406
|
readonly title: Schema.String;
|
|
404
407
|
readonly profile: Schema.String;
|
|
408
|
+
readonly repositoryName: Schema.String;
|
|
409
|
+
readonly accountRegion: Schema.String;
|
|
405
410
|
readonly message: Schema.String;
|
|
406
411
|
readonly createdAt: Schema.String;
|
|
407
412
|
readonly read: Schema.Number;
|
|
@@ -437,7 +442,10 @@ declare const PrsGroup_base: HttpApiGroup.HttpApiGroup<"prs", HttpApiEndpoint.Ht
|
|
|
437
442
|
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"diff", "GET", "/api/prs/:awsAccountId/:prId/diff", Schema.toCodecStringTree<Schema.Struct<{
|
|
438
443
|
readonly awsAccountId: Schema.String;
|
|
439
444
|
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
440
|
-
}>>,
|
|
445
|
+
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
446
|
+
readonly repositoryName: Schema.String;
|
|
447
|
+
readonly region: Schema.brand<Schema.String, "AwsRegion">;
|
|
448
|
+
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
441
449
|
readonly pullRequestId: Schema.brand<Schema.String, "PullRequestId">;
|
|
442
450
|
readonly revisionId: Schema.String;
|
|
443
451
|
readonly baseCommit: Schema.String;
|
|
@@ -455,6 +463,8 @@ declare const PrsGroup_base: HttpApiGroup.HttpApiGroup<"prs", HttpApiEndpoint.Ht
|
|
|
455
463
|
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
456
464
|
readonly fileIndex: Schema.NumberFromString;
|
|
457
465
|
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
466
|
+
readonly repositoryName: Schema.String;
|
|
467
|
+
readonly region: Schema.brand<Schema.String, "AwsRegion">;
|
|
458
468
|
readonly revisionId: Schema.String;
|
|
459
469
|
readonly baseCommit: Schema.String;
|
|
460
470
|
readonly headCommit: Schema.String;
|
|
@@ -471,7 +481,10 @@ declare const PrsGroup_base: HttpApiGroup.HttpApiGroup<"prs", HttpApiEndpoint.Ht
|
|
|
471
481
|
readonly awsAccountId: Schema.String;
|
|
472
482
|
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
473
483
|
readonly findingId: Schema.String;
|
|
474
|
-
}>>,
|
|
484
|
+
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
485
|
+
readonly repositoryName: Schema.String;
|
|
486
|
+
readonly region: Schema.brand<Schema.String, "AwsRegion">;
|
|
487
|
+
}>>, Schema.toCodecJson<Schema.Struct<{
|
|
475
488
|
readonly revisionId: Schema.String;
|
|
476
489
|
readonly baseCommit: Schema.String;
|
|
477
490
|
readonly headCommit: Schema.String;
|
|
@@ -503,13 +516,19 @@ declare const PrsGroup_base: HttpApiGroup.HttpApiGroup<"prs", HttpApiEndpoint.Ht
|
|
|
503
516
|
}>>, Schema.toCodecJson<typeof ApiError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"refresh", "POST", "/api/prs/refresh", never, never, never, never, Schema.toCodecJson<Schema.String>, never, never, never> | HttpApiEndpoint.HttpApiEndpoint<"refreshSingle", "POST", "/api/prs/:awsAccountId/:prId/refresh", Schema.toCodecStringTree<Schema.Struct<{
|
|
504
517
|
readonly awsAccountId: Schema.String;
|
|
505
518
|
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
506
|
-
}>>,
|
|
519
|
+
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
520
|
+
readonly repositoryName: Schema.optional<Schema.String>;
|
|
521
|
+
readonly region: Schema.optional<Schema.brand<Schema.String, "AwsRegion">>;
|
|
522
|
+
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
507
523
|
readonly revisionId: Schema.String;
|
|
508
524
|
readonly headCommit: Schema.String;
|
|
509
525
|
}>>, Schema.toCodecJson<typeof ApiError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"relayReview", "POST", "/api/prs/:awsAccountId/:prId/relay-review", Schema.toCodecStringTree<Schema.Struct<{
|
|
510
526
|
readonly awsAccountId: Schema.String;
|
|
511
527
|
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
512
|
-
}>>,
|
|
528
|
+
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
529
|
+
readonly repositoryName: Schema.String;
|
|
530
|
+
readonly region: Schema.brand<Schema.String, "AwsRegion">;
|
|
531
|
+
}>>, Schema.toCodecJson<Schema.Struct<{
|
|
513
532
|
readonly revisionId: Schema.String;
|
|
514
533
|
readonly baseCommit: Schema.String;
|
|
515
534
|
readonly headCommit: Schema.String;
|
|
@@ -565,7 +584,10 @@ declare const PrsGroup_base: HttpApiGroup.HttpApiGroup<"prs", HttpApiEndpoint.Ht
|
|
|
565
584
|
}>>, Schema.toCodecJson<typeof ApiError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"relayReviewContinueStream", "POST", "/api/prs/:awsAccountId/:prId/relay-review/continue", Schema.toCodecStringTree<Schema.Struct<{
|
|
566
585
|
readonly awsAccountId: Schema.String;
|
|
567
586
|
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
568
|
-
}>>,
|
|
587
|
+
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
588
|
+
readonly repositoryName: Schema.String;
|
|
589
|
+
readonly region: Schema.brand<Schema.String, "AwsRegion">;
|
|
590
|
+
}>>, Schema.toCodecJson<Schema.Struct<{
|
|
569
591
|
readonly revisionId: Schema.String;
|
|
570
592
|
readonly baseCommit: Schema.String;
|
|
571
593
|
readonly headCommit: Schema.String;
|
|
@@ -604,16 +626,20 @@ declare const PrsGroup_base: HttpApiGroup.HttpApiGroup<"prs", HttpApiEndpoint.Ht
|
|
|
604
626
|
readonly explanation: Schema.optional<Schema.String>;
|
|
605
627
|
}>;
|
|
606
628
|
readonly turns: Schema.$Array<Schema.Struct<{
|
|
607
|
-
readonly
|
|
629
|
+
readonly id: Schema.optional<Schema.String>;
|
|
630
|
+
readonly findingId: Schema.Union<readonly [Schema.String, Schema.Literal<"PR">]>;
|
|
608
631
|
readonly role: Schema.Literals<readonly ["user", "assistant"]>;
|
|
609
632
|
readonly message: Schema.String;
|
|
610
633
|
}>>;
|
|
611
|
-
readonly findingId: Schema.String
|
|
634
|
+
readonly findingId: Schema.Union<readonly [Schema.String, Schema.Literal<"PR">]>;
|
|
612
635
|
readonly message: Schema.String;
|
|
613
636
|
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"relayReviewStream", "POST", "/api/prs/:awsAccountId/:prId/relay-review/stream", Schema.toCodecStringTree<Schema.Struct<{
|
|
614
637
|
readonly awsAccountId: Schema.String;
|
|
615
638
|
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
616
|
-
}>>,
|
|
639
|
+
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
640
|
+
readonly repositoryName: Schema.String;
|
|
641
|
+
readonly region: Schema.brand<Schema.String, "AwsRegion">;
|
|
642
|
+
}>>, Schema.toCodecJson<Schema.Struct<{
|
|
617
643
|
readonly revisionId: Schema.String;
|
|
618
644
|
readonly baseCommit: Schema.String;
|
|
619
645
|
readonly headCommit: Schema.String;
|
|
@@ -801,15 +827,27 @@ export declare class ConfigGroup extends ConfigGroup_base {
|
|
|
801
827
|
declare const AccountsGroup_base: HttpApiGroup.HttpApiGroup<"accounts", HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/api/accounts/", never, never, never, never, Schema.toCodecJson<Schema.Chunk<typeof Account>>, never, never, never>, false>;
|
|
802
828
|
export declare class AccountsGroup extends AccountsGroup_base {
|
|
803
829
|
}
|
|
830
|
+
export declare const SubscriptionPayload: Schema.Struct<{
|
|
831
|
+
readonly awsAccountId: Schema.String;
|
|
832
|
+
readonly pullRequestId: Schema.brand<Schema.String, "PullRequestId">;
|
|
833
|
+
readonly repositoryName: Schema.optional<Schema.Trim>;
|
|
834
|
+
readonly region: Schema.optional<Schema.Trim>;
|
|
835
|
+
}>;
|
|
804
836
|
declare const SubscriptionsGroup_base: HttpApiGroup.HttpApiGroup<"subscriptions", HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/api/subscriptions/", never, never, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
|
|
805
837
|
readonly awsAccountId: Schema.String;
|
|
806
838
|
readonly pullRequestId: Schema.String;
|
|
839
|
+
readonly repositoryName: Schema.NullOr<Schema.String>;
|
|
840
|
+
readonly accountRegion: Schema.NullOr<Schema.String>;
|
|
807
841
|
}>>>, never, never, never> | HttpApiEndpoint.HttpApiEndpoint<"subscribe", "POST", "/api/subscriptions/subscribe", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
808
842
|
readonly awsAccountId: Schema.String;
|
|
809
843
|
readonly pullRequestId: Schema.brand<Schema.String, "PullRequestId">;
|
|
844
|
+
readonly repositoryName: Schema.optional<Schema.Trim>;
|
|
845
|
+
readonly region: Schema.optional<Schema.Trim>;
|
|
810
846
|
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"unsubscribe", "POST", "/api/subscriptions/unsubscribe", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
811
847
|
readonly awsAccountId: Schema.String;
|
|
812
848
|
readonly pullRequestId: Schema.brand<Schema.String, "PullRequestId">;
|
|
849
|
+
readonly repositoryName: Schema.optional<Schema.Trim>;
|
|
850
|
+
readonly region: Schema.optional<Schema.Trim>;
|
|
813
851
|
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, never, never>, false>;
|
|
814
852
|
export declare class SubscriptionsGroup extends SubscriptionsGroup_base {
|
|
815
853
|
}
|
|
@@ -828,6 +866,8 @@ declare const NotificationsGroup_base: HttpApiGroup.HttpApiGroup<"notifications"
|
|
|
828
866
|
readonly type: Schema.String;
|
|
829
867
|
readonly title: Schema.String;
|
|
830
868
|
readonly profile: Schema.String;
|
|
869
|
+
readonly repositoryName: Schema.String;
|
|
870
|
+
readonly accountRegion: Schema.String;
|
|
831
871
|
readonly message: Schema.String;
|
|
832
872
|
readonly createdAt: Schema.String;
|
|
833
873
|
readonly read: Schema.Number;
|
|
@@ -846,6 +886,7 @@ export declare const SandboxResponse: Schema.Struct<{
|
|
|
846
886
|
readonly id: Schema.String;
|
|
847
887
|
readonly pullRequestId: Schema.String;
|
|
848
888
|
readonly awsAccountId: Schema.String;
|
|
889
|
+
readonly region: Schema.NullOr<Schema.String>;
|
|
849
890
|
readonly repositoryName: Schema.String;
|
|
850
891
|
readonly sourceBranch: Schema.String;
|
|
851
892
|
readonly containerId: Schema.NullOr<Schema.String>;
|
|
@@ -871,6 +912,7 @@ declare const SandboxGroup_base: HttpApiGroup.HttpApiGroup<"sandbox", HttpApiEnd
|
|
|
871
912
|
readonly id: Schema.String;
|
|
872
913
|
readonly pullRequestId: Schema.String;
|
|
873
914
|
readonly awsAccountId: Schema.String;
|
|
915
|
+
readonly region: Schema.NullOr<Schema.String>;
|
|
874
916
|
readonly repositoryName: Schema.String;
|
|
875
917
|
readonly sourceBranch: Schema.String;
|
|
876
918
|
readonly containerId: Schema.NullOr<Schema.String>;
|
|
@@ -893,6 +935,7 @@ declare const SandboxGroup_base: HttpApiGroup.HttpApiGroup<"sandbox", HttpApiEnd
|
|
|
893
935
|
readonly id: Schema.String;
|
|
894
936
|
readonly pullRequestId: Schema.String;
|
|
895
937
|
readonly awsAccountId: Schema.String;
|
|
938
|
+
readonly region: Schema.NullOr<Schema.String>;
|
|
896
939
|
readonly repositoryName: Schema.String;
|
|
897
940
|
readonly sourceBranch: Schema.String;
|
|
898
941
|
readonly containerId: Schema.NullOr<Schema.String>;
|
|
@@ -907,6 +950,7 @@ declare const SandboxGroup_base: HttpApiGroup.HttpApiGroup<"sandbox", HttpApiEnd
|
|
|
907
950
|
readonly id: Schema.String;
|
|
908
951
|
readonly pullRequestId: Schema.String;
|
|
909
952
|
readonly awsAccountId: Schema.String;
|
|
953
|
+
readonly region: Schema.NullOr<Schema.String>;
|
|
910
954
|
readonly repositoryName: Schema.String;
|
|
911
955
|
readonly sourceBranch: Schema.String;
|
|
912
956
|
readonly containerId: Schema.NullOr<Schema.String>;
|
|
@@ -959,6 +1003,7 @@ declare const StatsGroup_base: HttpApiGroup.HttpApiGroup<"stats", HttpApiEndpoin
|
|
|
959
1003
|
readonly prTitle: Schema.String;
|
|
960
1004
|
readonly author: Schema.String;
|
|
961
1005
|
readonly repositoryName: Schema.String;
|
|
1006
|
+
readonly accountRegion: Schema.String;
|
|
962
1007
|
readonly awsAccountId: Schema.String;
|
|
963
1008
|
readonly durationMs: Schema.Number;
|
|
964
1009
|
readonly fromLabel: Schema.String;
|
|
@@ -969,6 +1014,7 @@ declare const StatsGroup_base: HttpApiGroup.HttpApiGroup<"stats", HttpApiEndpoin
|
|
|
969
1014
|
readonly prTitle: Schema.String;
|
|
970
1015
|
readonly author: Schema.String;
|
|
971
1016
|
readonly repositoryName: Schema.String;
|
|
1017
|
+
readonly accountRegion: Schema.String;
|
|
972
1018
|
readonly awsAccountId: Schema.String;
|
|
973
1019
|
readonly durationMs: Schema.Number;
|
|
974
1020
|
readonly fromLabel: Schema.String;
|
|
@@ -979,6 +1025,7 @@ declare const StatsGroup_base: HttpApiGroup.HttpApiGroup<"stats", HttpApiEndpoin
|
|
|
979
1025
|
readonly prTitle: Schema.String;
|
|
980
1026
|
readonly author: Schema.String;
|
|
981
1027
|
readonly repositoryName: Schema.String;
|
|
1028
|
+
readonly accountRegion: Schema.String;
|
|
982
1029
|
readonly awsAccountId: Schema.String;
|
|
983
1030
|
readonly durationMs: Schema.Number;
|
|
984
1031
|
readonly fromLabel: Schema.String;
|
|
@@ -989,6 +1036,7 @@ declare const StatsGroup_base: HttpApiGroup.HttpApiGroup<"stats", HttpApiEndpoin
|
|
|
989
1036
|
readonly title: Schema.String;
|
|
990
1037
|
readonly author: Schema.String;
|
|
991
1038
|
readonly repositoryName: Schema.String;
|
|
1039
|
+
readonly accountRegion: Schema.String;
|
|
992
1040
|
readonly commentCount: Schema.Number;
|
|
993
1041
|
readonly awsAccountId: Schema.String;
|
|
994
1042
|
}>>;
|
|
@@ -1013,6 +1061,7 @@ declare const StatsGroup_base: HttpApiGroup.HttpApiGroup<"stats", HttpApiEndpoin
|
|
|
1013
1061
|
readonly title: Schema.String;
|
|
1014
1062
|
readonly author: Schema.String;
|
|
1015
1063
|
readonly repositoryName: Schema.String;
|
|
1064
|
+
readonly accountRegion: Schema.String;
|
|
1016
1065
|
readonly daysSinceActivity: Schema.Number;
|
|
1017
1066
|
readonly awsAccountId: Schema.String;
|
|
1018
1067
|
}>>;
|
|
@@ -1178,6 +1227,15 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1178
1227
|
readonly path: Schema.String;
|
|
1179
1228
|
readonly exists: Schema.Boolean;
|
|
1180
1229
|
readonly modifiedAt: Schema.optional<Schema.String>;
|
|
1230
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"reviewSkills", "GET", "/api/config/review-skills", never, never, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
|
|
1231
|
+
readonly id: Schema.String;
|
|
1232
|
+
readonly name: Schema.String;
|
|
1233
|
+
readonly description: Schema.String;
|
|
1234
|
+
readonly source: Schema.String;
|
|
1235
|
+
}>>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"validate", "GET", "/api/config/validate", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1236
|
+
readonly status: Schema.Literals<readonly ["valid", "missing", "corrupted"]>;
|
|
1237
|
+
readonly path: Schema.String;
|
|
1238
|
+
readonly errors: Schema.$Array<Schema.String>;
|
|
1181
1239
|
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"reset", "POST", "/api/config/reset", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1182
1240
|
readonly backupPath: Schema.optional<Schema.String>;
|
|
1183
1241
|
readonly config: Schema.Struct<{
|
|
@@ -1216,12 +1274,7 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1216
1274
|
}>>;
|
|
1217
1275
|
}>;
|
|
1218
1276
|
readonly refreshStatus: Schema.Literals<readonly ["refreshed", "failed"]>;
|
|
1219
|
-
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
1220
|
-
readonly id: Schema.String;
|
|
1221
|
-
readonly name: Schema.String;
|
|
1222
|
-
readonly description: Schema.String;
|
|
1223
|
-
readonly source: Schema.String;
|
|
1224
|
-
}>>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"save", "POST", "/api/config/save", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1277
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"save", "POST", "/api/config/save", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1225
1278
|
readonly accounts: Schema.$Array<Schema.Struct<{
|
|
1226
1279
|
readonly profile: Schema.String;
|
|
1227
1280
|
readonly regions: Schema.$Array<Schema.String>;
|
|
@@ -1254,11 +1307,7 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1254
1307
|
}>>;
|
|
1255
1308
|
readonly cloneDepth: Schema.Number;
|
|
1256
1309
|
}>>;
|
|
1257
|
-
}>>, never, Schema.toCodecJson<Schema.Literals<readonly ["saved", "saved-refresh-failed"]>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
1258
|
-
readonly status: Schema.Literals<readonly ["valid", "missing", "corrupted"]>;
|
|
1259
|
-
readonly path: Schema.String;
|
|
1260
|
-
readonly errors: Schema.$Array<Schema.String>;
|
|
1261
|
-
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never>, false> | HttpApiGroup.HttpApiGroup<"events", HttpApiEndpoint.HttpApiEndpoint<"stream", "GET", "/api/events/", never, never, never, never, Schema.toCodecJson<Schema.String>, never, OwnerSessionAuth, never>, false> | HttpApiGroup.HttpApiGroup<"notifications", HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/api/notifications/", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
1310
|
+
}>>, never, Schema.toCodecJson<Schema.Literals<readonly ["saved", "saved-refresh-failed"]>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never>, false> | HttpApiGroup.HttpApiGroup<"events", HttpApiEndpoint.HttpApiEndpoint<"stream", "GET", "/api/events/", never, never, never, never, Schema.toCodecJson<Schema.String>, never, OwnerSessionAuth, never>, false> | HttpApiGroup.HttpApiGroup<"notifications", HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/api/notifications/", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
1262
1311
|
readonly limit: Schema.optional<Schema.NumberFromString>;
|
|
1263
1312
|
readonly cursor: Schema.optional<Schema.NumberFromString>;
|
|
1264
1313
|
readonly filter: Schema.optional<Schema.Literals<readonly ["system", "prs"]>>;
|
|
@@ -1271,6 +1320,8 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1271
1320
|
readonly type: Schema.String;
|
|
1272
1321
|
readonly title: Schema.String;
|
|
1273
1322
|
readonly profile: Schema.String;
|
|
1323
|
+
readonly repositoryName: Schema.String;
|
|
1324
|
+
readonly accountRegion: Schema.String;
|
|
1274
1325
|
readonly message: Schema.String;
|
|
1275
1326
|
readonly createdAt: Schema.String;
|
|
1276
1327
|
readonly read: Schema.Number;
|
|
@@ -1301,17 +1352,17 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1301
1352
|
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"update", "POST", "/api/permissions/update", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1302
1353
|
readonly operation: Schema.String;
|
|
1303
1354
|
readonly state: Schema.Literals<readonly ["always_allow", "allow", "deny"]>;
|
|
1304
|
-
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never>, false> | HttpApiGroup.HttpApiGroup<"prs", HttpApiEndpoint.HttpApiEndpoint<"
|
|
1305
|
-
readonly
|
|
1306
|
-
readonly
|
|
1307
|
-
readonly description: Schema.optional<Schema.String>;
|
|
1308
|
-
readonly sourceBranch: Schema.String;
|
|
1309
|
-
readonly destinationBranch: Schema.String;
|
|
1355
|
+
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never>, false> | HttpApiGroup.HttpApiGroup<"prs", HttpApiEndpoint.HttpApiEndpoint<"deleteApprovalRule", "DELETE", "/api/prs/approval-rules", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1356
|
+
readonly pullRequestId: Schema.String;
|
|
1357
|
+
readonly approvalRuleName: Schema.String;
|
|
1310
1358
|
readonly account: typeof Account;
|
|
1311
|
-
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"diff", "GET", "/api/prs/:awsAccountId/:prId/diff", Schema.toCodecStringTree<Schema.Struct<{
|
|
1359
|
+
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/api/prs/", never, never, never, never, Schema.toCodecJson<Schema.Chunk<typeof PullRequest>>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"diff", "GET", "/api/prs/:awsAccountId/:prId/diff", Schema.toCodecStringTree<Schema.Struct<{
|
|
1312
1360
|
readonly awsAccountId: Schema.String;
|
|
1313
1361
|
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1314
|
-
}>>,
|
|
1362
|
+
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
1363
|
+
readonly repositoryName: Schema.String;
|
|
1364
|
+
readonly region: Schema.brand<Schema.String, "AwsRegion">;
|
|
1365
|
+
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1315
1366
|
readonly pullRequestId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1316
1367
|
readonly revisionId: Schema.String;
|
|
1317
1368
|
readonly baseCommit: Schema.String;
|
|
@@ -1329,6 +1380,8 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1329
1380
|
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1330
1381
|
readonly fileIndex: Schema.NumberFromString;
|
|
1331
1382
|
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
1383
|
+
readonly repositoryName: Schema.String;
|
|
1384
|
+
readonly region: Schema.brand<Schema.String, "AwsRegion">;
|
|
1332
1385
|
readonly revisionId: Schema.String;
|
|
1333
1386
|
readonly baseCommit: Schema.String;
|
|
1334
1387
|
readonly headCommit: Schema.String;
|
|
@@ -1338,16 +1391,67 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1338
1391
|
readonly state: Schema.Literals<readonly ["text", "binary", "oversized"]>;
|
|
1339
1392
|
readonly before: Schema.NullOr<Schema.String>;
|
|
1340
1393
|
readonly after: Schema.NullOr<Schema.String>;
|
|
1341
|
-
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
1394
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"comments", "GET", "/api/prs/comments", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
1395
|
+
readonly pullRequestId: Schema.String;
|
|
1396
|
+
readonly repositoryName: Schema.String;
|
|
1397
|
+
readonly profile: Schema.brand<Schema.String, "AwsProfileName">;
|
|
1398
|
+
readonly region: Schema.brand<Schema.String, "AwsRegion">;
|
|
1399
|
+
}>>, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
|
|
1400
|
+
readonly filePath: Schema.optional<Schema.String>;
|
|
1401
|
+
readonly beforeCommitId: Schema.optional<Schema.String>;
|
|
1402
|
+
readonly afterCommitId: Schema.optional<Schema.String>;
|
|
1403
|
+
readonly relativeFileVersion: Schema.optional<Schema.Literals<readonly ["BEFORE", "AFTER"]>>;
|
|
1404
|
+
readonly comments: Schema.$Array<Schema.Codec<import("@knpkv/codecommit-core/Domain.js").CommentThreadJsonEncoded, import("@knpkv/codecommit-core/Domain.js").CommentThreadJsonEncoded, never, never>>;
|
|
1405
|
+
}>>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"search", "GET", "/api/prs/search", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
1406
|
+
readonly q: Schema.String;
|
|
1407
|
+
readonly limit: Schema.optional<Schema.NumberFromString>;
|
|
1408
|
+
readonly offset: Schema.optional<Schema.NumberFromString>;
|
|
1409
|
+
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1410
|
+
readonly items: Schema.$Array<Schema.Struct<{
|
|
1411
|
+
readonly id: Schema.String;
|
|
1412
|
+
readonly awsAccountId: Schema.String;
|
|
1413
|
+
readonly accountProfile: Schema.String;
|
|
1414
|
+
readonly accountRegion: Schema.String;
|
|
1415
|
+
readonly title: Schema.String;
|
|
1416
|
+
readonly description: Schema.NullOr<Schema.String>;
|
|
1417
|
+
readonly author: Schema.String;
|
|
1418
|
+
readonly repositoryName: Schema.String;
|
|
1419
|
+
readonly creationDate: Schema.String;
|
|
1420
|
+
readonly lastModifiedDate: Schema.String;
|
|
1421
|
+
readonly status: Schema.String;
|
|
1422
|
+
readonly sourceBranch: Schema.String;
|
|
1423
|
+
readonly destinationBranch: Schema.String;
|
|
1424
|
+
readonly isMergeable: Schema.Number;
|
|
1425
|
+
readonly isApproved: Schema.Number;
|
|
1426
|
+
readonly commentCount: Schema.NullOr<Schema.Number>;
|
|
1427
|
+
readonly link: Schema.String;
|
|
1428
|
+
readonly fetchedAt: Schema.String;
|
|
1429
|
+
}>>;
|
|
1430
|
+
readonly total: Schema.Number;
|
|
1431
|
+
readonly hasMore: Schema.Boolean;
|
|
1432
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"create", "POST", "/api/prs/", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1433
|
+
readonly repositoryName: Schema.String;
|
|
1434
|
+
readonly title: Schema.String;
|
|
1435
|
+
readonly description: Schema.optional<Schema.String>;
|
|
1436
|
+
readonly sourceBranch: Schema.String;
|
|
1437
|
+
readonly destinationBranch: Schema.String;
|
|
1438
|
+
readonly account: typeof Account;
|
|
1439
|
+
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"refreshSingle", "POST", "/api/prs/:awsAccountId/:prId/refresh", Schema.toCodecStringTree<Schema.Struct<{
|
|
1342
1440
|
readonly awsAccountId: Schema.String;
|
|
1343
1441
|
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1344
|
-
}>>,
|
|
1442
|
+
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
1443
|
+
readonly repositoryName: Schema.optional<Schema.String>;
|
|
1444
|
+
readonly region: Schema.optional<Schema.brand<Schema.String, "AwsRegion">>;
|
|
1445
|
+
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1345
1446
|
readonly revisionId: Schema.String;
|
|
1346
1447
|
readonly headCommit: Schema.String;
|
|
1347
1448
|
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"relayReview", "POST", "/api/prs/:awsAccountId/:prId/relay-review", Schema.toCodecStringTree<Schema.Struct<{
|
|
1348
1449
|
readonly awsAccountId: Schema.String;
|
|
1349
1450
|
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1350
|
-
}>>,
|
|
1451
|
+
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
1452
|
+
readonly repositoryName: Schema.String;
|
|
1453
|
+
readonly region: Schema.brand<Schema.String, "AwsRegion">;
|
|
1454
|
+
}>>, Schema.toCodecJson<Schema.Struct<{
|
|
1351
1455
|
readonly revisionId: Schema.String;
|
|
1352
1456
|
readonly baseCommit: Schema.String;
|
|
1353
1457
|
readonly headCommit: Schema.String;
|
|
@@ -1403,7 +1507,10 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1403
1507
|
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"relayReviewContinueStream", "POST", "/api/prs/:awsAccountId/:prId/relay-review/continue", Schema.toCodecStringTree<Schema.Struct<{
|
|
1404
1508
|
readonly awsAccountId: Schema.String;
|
|
1405
1509
|
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1406
|
-
}>>,
|
|
1510
|
+
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
1511
|
+
readonly repositoryName: Schema.String;
|
|
1512
|
+
readonly region: Schema.brand<Schema.String, "AwsRegion">;
|
|
1513
|
+
}>>, Schema.toCodecJson<Schema.Struct<{
|
|
1407
1514
|
readonly revisionId: Schema.String;
|
|
1408
1515
|
readonly baseCommit: Schema.String;
|
|
1409
1516
|
readonly headCommit: Schema.String;
|
|
@@ -1442,17 +1549,21 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1442
1549
|
readonly explanation: Schema.optional<Schema.String>;
|
|
1443
1550
|
}>;
|
|
1444
1551
|
readonly turns: Schema.$Array<Schema.Struct<{
|
|
1445
|
-
readonly
|
|
1552
|
+
readonly id: Schema.optional<Schema.String>;
|
|
1553
|
+
readonly findingId: Schema.Union<readonly [Schema.String, Schema.Literal<"PR">]>;
|
|
1446
1554
|
readonly role: Schema.Literals<readonly ["user", "assistant"]>;
|
|
1447
1555
|
readonly message: Schema.String;
|
|
1448
1556
|
}>>;
|
|
1449
|
-
readonly findingId: Schema.String
|
|
1557
|
+
readonly findingId: Schema.Union<readonly [Schema.String, Schema.Literal<"PR">]>;
|
|
1450
1558
|
readonly message: Schema.String;
|
|
1451
1559
|
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"postRelayFinding", "POST", "/api/prs/:awsAccountId/:prId/relay-review/findings/:findingId/post", Schema.toCodecStringTree<Schema.Struct<{
|
|
1452
1560
|
readonly awsAccountId: Schema.String;
|
|
1453
1561
|
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1454
1562
|
readonly findingId: Schema.String;
|
|
1455
|
-
}>>,
|
|
1563
|
+
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
1564
|
+
readonly repositoryName: Schema.String;
|
|
1565
|
+
readonly region: Schema.brand<Schema.String, "AwsRegion">;
|
|
1566
|
+
}>>, Schema.toCodecJson<Schema.Struct<{
|
|
1456
1567
|
readonly revisionId: Schema.String;
|
|
1457
1568
|
readonly baseCommit: Schema.String;
|
|
1458
1569
|
readonly headCommit: Schema.String;
|
|
@@ -1484,7 +1595,10 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1484
1595
|
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"relayReviewStream", "POST", "/api/prs/:awsAccountId/:prId/relay-review/stream", Schema.toCodecStringTree<Schema.Struct<{
|
|
1485
1596
|
readonly awsAccountId: Schema.String;
|
|
1486
1597
|
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1487
|
-
}>>,
|
|
1598
|
+
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
1599
|
+
readonly repositoryName: Schema.String;
|
|
1600
|
+
readonly region: Schema.brand<Schema.String, "AwsRegion">;
|
|
1601
|
+
}>>, Schema.toCodecJson<Schema.Struct<{
|
|
1488
1602
|
readonly revisionId: Schema.String;
|
|
1489
1603
|
readonly baseCommit: Schema.String;
|
|
1490
1604
|
readonly headCommit: Schema.String;
|
|
@@ -1503,61 +1617,22 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1503
1617
|
readonly requiredApprovals: Schema.Number;
|
|
1504
1618
|
readonly poolMembers: Schema.$Array<Schema.String>;
|
|
1505
1619
|
readonly account: typeof Account;
|
|
1506
|
-
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
1620
|
+
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"open", "POST", "/api/prs/open", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1621
|
+
readonly profile: Schema.String;
|
|
1622
|
+
readonly link: Schema.String;
|
|
1623
|
+
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"refresh", "POST", "/api/prs/refresh", never, never, never, never, Schema.toCodecJson<Schema.String>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"updateApprovalRule", "PUT", "/api/prs/approval-rules", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1507
1624
|
readonly pullRequestId: Schema.String;
|
|
1508
1625
|
readonly approvalRuleName: Schema.String;
|
|
1509
1626
|
readonly requiredApprovals: Schema.Number;
|
|
1510
1627
|
readonly poolMembers: Schema.$Array<Schema.String>;
|
|
1511
1628
|
readonly account: typeof Account;
|
|
1512
|
-
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
1513
|
-
readonly
|
|
1514
|
-
|
|
1515
|
-
readonly account: typeof Account;
|
|
1516
|
-
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"comments", "GET", "/api/prs/comments", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
1517
|
-
readonly pullRequestId: Schema.String;
|
|
1518
|
-
readonly repositoryName: Schema.String;
|
|
1519
|
-
readonly profile: Schema.brand<Schema.String, "AwsProfileName">;
|
|
1520
|
-
readonly region: Schema.brand<Schema.String, "AwsRegion">;
|
|
1521
|
-
}>>, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
|
|
1522
|
-
readonly filePath: Schema.optional<Schema.String>;
|
|
1523
|
-
readonly beforeCommitId: Schema.optional<Schema.String>;
|
|
1524
|
-
readonly afterCommitId: Schema.optional<Schema.String>;
|
|
1525
|
-
readonly relativeFileVersion: Schema.optional<Schema.Literals<readonly ["BEFORE", "AFTER"]>>;
|
|
1526
|
-
readonly comments: Schema.$Array<Schema.Codec<import("@knpkv/codecommit-core/Domain.js").CommentThreadJsonEncoded, import("@knpkv/codecommit-core/Domain.js").CommentThreadJsonEncoded, never, never>>;
|
|
1527
|
-
}>>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"open", "POST", "/api/prs/open", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1528
|
-
readonly profile: Schema.String;
|
|
1529
|
-
readonly link: Schema.String;
|
|
1530
|
-
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"refresh", "POST", "/api/prs/refresh", never, never, never, never, Schema.toCodecJson<Schema.String>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"search", "GET", "/api/prs/search", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
1531
|
-
readonly q: Schema.String;
|
|
1532
|
-
readonly limit: Schema.optional<Schema.NumberFromString>;
|
|
1533
|
-
readonly offset: Schema.optional<Schema.NumberFromString>;
|
|
1534
|
-
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1535
|
-
readonly items: Schema.$Array<Schema.Struct<{
|
|
1536
|
-
readonly id: Schema.String;
|
|
1537
|
-
readonly awsAccountId: Schema.String;
|
|
1538
|
-
readonly accountProfile: Schema.String;
|
|
1539
|
-
readonly accountRegion: Schema.String;
|
|
1540
|
-
readonly title: Schema.String;
|
|
1541
|
-
readonly description: Schema.NullOr<Schema.String>;
|
|
1542
|
-
readonly author: Schema.String;
|
|
1543
|
-
readonly repositoryName: Schema.String;
|
|
1544
|
-
readonly creationDate: Schema.String;
|
|
1545
|
-
readonly lastModifiedDate: Schema.String;
|
|
1546
|
-
readonly status: Schema.String;
|
|
1547
|
-
readonly sourceBranch: Schema.String;
|
|
1548
|
-
readonly destinationBranch: Schema.String;
|
|
1549
|
-
readonly isMergeable: Schema.Number;
|
|
1550
|
-
readonly isApproved: Schema.Number;
|
|
1551
|
-
readonly commentCount: Schema.NullOr<Schema.Number>;
|
|
1552
|
-
readonly link: Schema.String;
|
|
1553
|
-
readonly fetchedAt: Schema.String;
|
|
1554
|
-
}>>;
|
|
1555
|
-
readonly total: Schema.Number;
|
|
1556
|
-
readonly hasMore: Schema.Boolean;
|
|
1557
|
-
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never>, false> | HttpApiGroup.HttpApiGroup<"sandbox", HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/api/sandbox/", never, never, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
|
|
1629
|
+
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never>, false> | HttpApiGroup.HttpApiGroup<"sandbox", HttpApiEndpoint.HttpApiEndpoint<"delete", "DELETE", "/api/sandbox/:sandboxId", Schema.toCodecStringTree<Schema.Struct<{
|
|
1630
|
+
readonly sandboxId: Schema.brand<Schema.String, "SandboxId">;
|
|
1631
|
+
}>>, never, never, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/api/sandbox/", never, never, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
|
|
1558
1632
|
readonly id: Schema.String;
|
|
1559
1633
|
readonly pullRequestId: Schema.String;
|
|
1560
1634
|
readonly awsAccountId: Schema.String;
|
|
1635
|
+
readonly region: Schema.NullOr<Schema.String>;
|
|
1561
1636
|
readonly repositoryName: Schema.String;
|
|
1562
1637
|
readonly sourceBranch: Schema.String;
|
|
1563
1638
|
readonly containerId: Schema.NullOr<Schema.String>;
|
|
@@ -1568,17 +1643,13 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1568
1643
|
readonly error: Schema.NullOr<Schema.String>;
|
|
1569
1644
|
readonly createdAt: Schema.String;
|
|
1570
1645
|
readonly lastActivityAt: Schema.String;
|
|
1571
|
-
}>>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
1572
|
-
readonly
|
|
1573
|
-
|
|
1574
|
-
readonly repositoryName: Schema.String;
|
|
1575
|
-
readonly sourceBranch: Schema.String;
|
|
1576
|
-
readonly profile: Schema.brand<Schema.String, "AwsProfileName">;
|
|
1577
|
-
readonly region: Schema.String;
|
|
1578
|
-
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
1646
|
+
}>>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"get", "GET", "/api/sandbox/:sandboxId", Schema.toCodecStringTree<Schema.Struct<{
|
|
1647
|
+
readonly sandboxId: Schema.brand<Schema.String, "SandboxId">;
|
|
1648
|
+
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1579
1649
|
readonly id: Schema.String;
|
|
1580
1650
|
readonly pullRequestId: Schema.String;
|
|
1581
1651
|
readonly awsAccountId: Schema.String;
|
|
1652
|
+
readonly region: Schema.NullOr<Schema.String>;
|
|
1582
1653
|
readonly repositoryName: Schema.String;
|
|
1583
1654
|
readonly sourceBranch: Schema.String;
|
|
1584
1655
|
readonly containerId: Schema.NullOr<Schema.String>;
|
|
@@ -1589,14 +1660,22 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1589
1660
|
readonly error: Schema.NullOr<Schema.String>;
|
|
1590
1661
|
readonly createdAt: Schema.String;
|
|
1591
1662
|
readonly lastActivityAt: Schema.String;
|
|
1592
|
-
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
1593
|
-
readonly sandboxId: Schema.brand<Schema.String, "SandboxId">;
|
|
1594
|
-
}>>, never, never, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"get", "GET", "/api/sandbox/:sandboxId", Schema.toCodecStringTree<Schema.Struct<{
|
|
1663
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"credentials", "GET", "/api/sandbox/:sandboxId/credentials", Schema.toCodecStringTree<Schema.Struct<{
|
|
1595
1664
|
readonly sandboxId: Schema.brand<Schema.String, "SandboxId">;
|
|
1596
1665
|
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1666
|
+
readonly password: Schema.String;
|
|
1667
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"create", "POST", "/api/sandbox/", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1668
|
+
readonly pullRequestId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1669
|
+
readonly awsAccountId: Schema.String;
|
|
1670
|
+
readonly repositoryName: Schema.String;
|
|
1671
|
+
readonly sourceBranch: Schema.String;
|
|
1672
|
+
readonly profile: Schema.brand<Schema.String, "AwsProfileName">;
|
|
1673
|
+
readonly region: Schema.String;
|
|
1674
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
1597
1675
|
readonly id: Schema.String;
|
|
1598
1676
|
readonly pullRequestId: Schema.String;
|
|
1599
1677
|
readonly awsAccountId: Schema.String;
|
|
1678
|
+
readonly region: Schema.NullOr<Schema.String>;
|
|
1600
1679
|
readonly repositoryName: Schema.String;
|
|
1601
1680
|
readonly sourceBranch: Schema.String;
|
|
1602
1681
|
readonly containerId: Schema.NullOr<Schema.String>;
|
|
@@ -1607,10 +1686,6 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1607
1686
|
readonly error: Schema.NullOr<Schema.String>;
|
|
1608
1687
|
readonly createdAt: Schema.String;
|
|
1609
1688
|
readonly lastActivityAt: Schema.String;
|
|
1610
|
-
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"credentials", "GET", "/api/sandbox/:sandboxId/credentials", Schema.toCodecStringTree<Schema.Struct<{
|
|
1611
|
-
readonly sandboxId: Schema.brand<Schema.String, "SandboxId">;
|
|
1612
|
-
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1613
|
-
readonly password: Schema.String;
|
|
1614
1689
|
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"restart", "POST", "/api/sandbox/:sandboxId/restart", Schema.toCodecStringTree<Schema.Struct<{
|
|
1615
1690
|
readonly sandboxId: Schema.brand<Schema.String, "SandboxId">;
|
|
1616
1691
|
}>>, never, never, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"stop", "POST", "/api/sandbox/:sandboxId/stop", Schema.toCodecStringTree<Schema.Struct<{
|
|
@@ -1649,6 +1724,7 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1649
1724
|
readonly prTitle: Schema.String;
|
|
1650
1725
|
readonly author: Schema.String;
|
|
1651
1726
|
readonly repositoryName: Schema.String;
|
|
1727
|
+
readonly accountRegion: Schema.String;
|
|
1652
1728
|
readonly awsAccountId: Schema.String;
|
|
1653
1729
|
readonly durationMs: Schema.Number;
|
|
1654
1730
|
readonly fromLabel: Schema.String;
|
|
@@ -1659,6 +1735,7 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1659
1735
|
readonly prTitle: Schema.String;
|
|
1660
1736
|
readonly author: Schema.String;
|
|
1661
1737
|
readonly repositoryName: Schema.String;
|
|
1738
|
+
readonly accountRegion: Schema.String;
|
|
1662
1739
|
readonly awsAccountId: Schema.String;
|
|
1663
1740
|
readonly durationMs: Schema.Number;
|
|
1664
1741
|
readonly fromLabel: Schema.String;
|
|
@@ -1669,6 +1746,7 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1669
1746
|
readonly prTitle: Schema.String;
|
|
1670
1747
|
readonly author: Schema.String;
|
|
1671
1748
|
readonly repositoryName: Schema.String;
|
|
1749
|
+
readonly accountRegion: Schema.String;
|
|
1672
1750
|
readonly awsAccountId: Schema.String;
|
|
1673
1751
|
readonly durationMs: Schema.Number;
|
|
1674
1752
|
readonly fromLabel: Schema.String;
|
|
@@ -1679,6 +1757,7 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1679
1757
|
readonly title: Schema.String;
|
|
1680
1758
|
readonly author: Schema.String;
|
|
1681
1759
|
readonly repositoryName: Schema.String;
|
|
1760
|
+
readonly accountRegion: Schema.String;
|
|
1682
1761
|
readonly commentCount: Schema.Number;
|
|
1683
1762
|
readonly awsAccountId: Schema.String;
|
|
1684
1763
|
}>>;
|
|
@@ -1703,6 +1782,7 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1703
1782
|
readonly title: Schema.String;
|
|
1704
1783
|
readonly author: Schema.String;
|
|
1705
1784
|
readonly repositoryName: Schema.String;
|
|
1785
|
+
readonly accountRegion: Schema.String;
|
|
1706
1786
|
readonly daysSinceActivity: Schema.Number;
|
|
1707
1787
|
readonly awsAccountId: Schema.String;
|
|
1708
1788
|
}>>;
|
|
@@ -1720,12 +1800,18 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1720
1800
|
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never>, false> | HttpApiGroup.HttpApiGroup<"subscriptions", HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/api/subscriptions/", never, never, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
|
|
1721
1801
|
readonly awsAccountId: Schema.String;
|
|
1722
1802
|
readonly pullRequestId: Schema.String;
|
|
1803
|
+
readonly repositoryName: Schema.NullOr<Schema.String>;
|
|
1804
|
+
readonly accountRegion: Schema.NullOr<Schema.String>;
|
|
1723
1805
|
}>>>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"subscribe", "POST", "/api/subscriptions/subscribe", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1724
1806
|
readonly awsAccountId: Schema.String;
|
|
1725
1807
|
readonly pullRequestId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1808
|
+
readonly repositoryName: Schema.optional<Schema.Trim>;
|
|
1809
|
+
readonly region: Schema.optional<Schema.Trim>;
|
|
1726
1810
|
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"unsubscribe", "POST", "/api/subscriptions/unsubscribe", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1727
1811
|
readonly awsAccountId: Schema.String;
|
|
1728
1812
|
readonly pullRequestId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1813
|
+
readonly repositoryName: Schema.optional<Schema.Trim>;
|
|
1814
|
+
readonly region: Schema.optional<Schema.Trim>;
|
|
1729
1815
|
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never>, false>>;
|
|
1730
1816
|
export declare class CodeCommitApi extends CodeCommitApi_base {
|
|
1731
1817
|
}
|