gitd-client 0.7.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/compare-convert.d.ts +6 -0
- package/dist/compare-convert.js +33 -0
- package/dist/convert.d.ts +6 -2
- package/dist/convert.js +54 -6
- package/dist/credential-convert.d.ts +3 -0
- package/dist/credential-convert.js +27 -0
- package/dist/credential-types.d.ts +57 -0
- package/dist/credential-types.js +1 -0
- package/dist/credentials.d.ts +27 -0
- package/dist/credentials.js +66 -0
- package/dist/gen/gitd/v1/gitd_pb.d.ts +1924 -159
- package/dist/gen/gitd/v1/gitd_pb.js +507 -17
- package/dist/gitd.d.ts +34 -5
- package/dist/gitd.js +99 -8
- package/dist/index.d.ts +4 -0
- package/dist/index.js +2 -0
- package/dist/publishing-convert.d.ts +8 -0
- package/dist/publishing-convert.js +74 -0
- package/dist/publishing-types.d.ts +70 -0
- package/dist/publishing-types.js +1 -0
- package/dist/publishing.d.ts +23 -0
- package/dist/publishing.js +40 -0
- package/dist/types.d.ts +113 -7
- package/dist/warm-convert.d.ts +4 -0
- package/dist/warm-convert.js +12 -0
- package/package.json +1 -1
|
@@ -254,7 +254,21 @@ export declare enum GitFailure_Reason {
|
|
|
254
254
|
*
|
|
255
255
|
* @generated from enum value: REASON_CONFIG_REFUSED = 12;
|
|
256
256
|
*/
|
|
257
|
-
CONFIG_REFUSED = 12
|
|
257
|
+
CONFIG_REFUSED = 12,
|
|
258
|
+
/**
|
|
259
|
+
* What a publish brings breaks a publishing rule: a protected path changed, a kept
|
|
260
|
+
* path deleted, or too many files changed. Nothing was pushed.
|
|
261
|
+
*
|
|
262
|
+
* @generated from enum value: REASON_POLICY_REFUSED = 13;
|
|
263
|
+
*/
|
|
264
|
+
POLICY_REFUSED = 13,
|
|
265
|
+
/**
|
|
266
|
+
* What was asked cannot be done with this host, such as a pull request where gitd does
|
|
267
|
+
* not know the host's API.
|
|
268
|
+
*
|
|
269
|
+
* @generated from enum value: REASON_UNSUPPORTED = 14;
|
|
270
|
+
*/
|
|
271
|
+
UNSUPPORTED = 14
|
|
258
272
|
}
|
|
259
273
|
/**
|
|
260
274
|
* Describes the enum gitd.v1.GitFailure.Reason.
|
|
@@ -306,6 +320,14 @@ export type PrepareRequest = Message<"gitd.v1.PrepareRequest"> & {
|
|
|
306
320
|
* @generated from field: gitd.v1.Strategy strategy = 7;
|
|
307
321
|
*/
|
|
308
322
|
strategy: Strategy;
|
|
323
|
+
/**
|
|
324
|
+
* A warm layer of the repository to stand on, between the template and the workspace's
|
|
325
|
+
* own layer: its dependencies are there already. The workspace must be at the commit the
|
|
326
|
+
* layer was sealed at, and be made by overlay.
|
|
327
|
+
*
|
|
328
|
+
* @generated from field: string warm = 8;
|
|
329
|
+
*/
|
|
330
|
+
warm: string;
|
|
309
331
|
};
|
|
310
332
|
/**
|
|
311
333
|
* Describes the message gitd.v1.PrepareRequest.
|
|
@@ -331,6 +353,12 @@ export type Layers = Message<"gitd.v1.Layers"> & {
|
|
|
331
353
|
* @generated from field: string work = 3;
|
|
332
354
|
*/
|
|
333
355
|
work: string;
|
|
356
|
+
/**
|
|
357
|
+
* The warm layer between the template and the workspace's own, when it stands on one.
|
|
358
|
+
*
|
|
359
|
+
* @generated from field: string warm = 4;
|
|
360
|
+
*/
|
|
361
|
+
warm: string;
|
|
334
362
|
};
|
|
335
363
|
/**
|
|
336
364
|
* Describes the message gitd.v1.Layers.
|
|
@@ -678,6 +706,119 @@ export type RemoveResponse = Message<"gitd.v1.RemoveResponse"> & {};
|
|
|
678
706
|
* Use `create(RemoveResponseSchema)` to create a new message.
|
|
679
707
|
*/
|
|
680
708
|
export declare const RemoveResponseSchema: GenMessage<RemoveResponse>;
|
|
709
|
+
/**
|
|
710
|
+
* @generated from message gitd.v1.SealRequest
|
|
711
|
+
*/
|
|
712
|
+
export type SealRequest = Message<"gitd.v1.SealRequest"> & {
|
|
713
|
+
/**
|
|
714
|
+
* An overlay workspace, not itself standing on a warm layer.
|
|
715
|
+
*
|
|
716
|
+
* @generated from field: string path = 1;
|
|
717
|
+
*/
|
|
718
|
+
path: string;
|
|
719
|
+
/**
|
|
720
|
+
* What to call the layer: lowercase letters, digits, dots, dashes and underscores, 64 at
|
|
721
|
+
* most. Sealing a name again replaces the layer, once no workspace stands on it.
|
|
722
|
+
*
|
|
723
|
+
* @generated from field: string name = 2;
|
|
724
|
+
*/
|
|
725
|
+
name: string;
|
|
726
|
+
};
|
|
727
|
+
/**
|
|
728
|
+
* Describes the message gitd.v1.SealRequest.
|
|
729
|
+
* Use `create(SealRequestSchema)` to create a new message.
|
|
730
|
+
*/
|
|
731
|
+
export declare const SealRequestSchema: GenMessage<SealRequest>;
|
|
732
|
+
/**
|
|
733
|
+
* @generated from message gitd.v1.SealResponse
|
|
734
|
+
*/
|
|
735
|
+
export type SealResponse = Message<"gitd.v1.SealResponse"> & {
|
|
736
|
+
/**
|
|
737
|
+
* @generated from field: gitd.v1.WarmLayer warm = 1;
|
|
738
|
+
*/
|
|
739
|
+
warm?: WarmLayer | undefined;
|
|
740
|
+
};
|
|
741
|
+
/**
|
|
742
|
+
* Describes the message gitd.v1.SealResponse.
|
|
743
|
+
* Use `create(SealResponseSchema)` to create a new message.
|
|
744
|
+
*/
|
|
745
|
+
export declare const SealResponseSchema: GenMessage<SealResponse>;
|
|
746
|
+
/**
|
|
747
|
+
* A layer sealed from a workspace, that later workspaces stand on.
|
|
748
|
+
*
|
|
749
|
+
* @generated from message gitd.v1.WarmLayer
|
|
750
|
+
*/
|
|
751
|
+
export type WarmLayer = Message<"gitd.v1.WarmLayer"> & {
|
|
752
|
+
/**
|
|
753
|
+
* @generated from field: string url = 1;
|
|
754
|
+
*/
|
|
755
|
+
url: string;
|
|
756
|
+
/**
|
|
757
|
+
* @generated from field: string name = 2;
|
|
758
|
+
*/
|
|
759
|
+
name: string;
|
|
760
|
+
/**
|
|
761
|
+
* The commit it was sealed at: workspaces stand on it at that commit only.
|
|
762
|
+
*
|
|
763
|
+
* @generated from field: string commit = 3;
|
|
764
|
+
*/
|
|
765
|
+
commit: string;
|
|
766
|
+
/**
|
|
767
|
+
* When it was sealed, in seconds since the epoch, and from which workspace.
|
|
768
|
+
*
|
|
769
|
+
* @generated from field: int64 sealed_at = 4;
|
|
770
|
+
*/
|
|
771
|
+
sealedAt: bigint;
|
|
772
|
+
/**
|
|
773
|
+
* @generated from field: string sealed_from = 5;
|
|
774
|
+
*/
|
|
775
|
+
sealedFrom: string;
|
|
776
|
+
/**
|
|
777
|
+
* How many files it changes that git does not ignore, e.g. a lock file rewritten.
|
|
778
|
+
*
|
|
779
|
+
* @generated from field: int32 changed_files = 6;
|
|
780
|
+
*/
|
|
781
|
+
changedFiles: number;
|
|
782
|
+
/**
|
|
783
|
+
* How many workspaces stand on it now.
|
|
784
|
+
*
|
|
785
|
+
* @generated from field: int32 users = 7;
|
|
786
|
+
*/
|
|
787
|
+
users: number;
|
|
788
|
+
};
|
|
789
|
+
/**
|
|
790
|
+
* Describes the message gitd.v1.WarmLayer.
|
|
791
|
+
* Use `create(WarmLayerSchema)` to create a new message.
|
|
792
|
+
*/
|
|
793
|
+
export declare const WarmLayerSchema: GenMessage<WarmLayer>;
|
|
794
|
+
/**
|
|
795
|
+
* @generated from message gitd.v1.ListWarmRequest
|
|
796
|
+
*/
|
|
797
|
+
export type ListWarmRequest = Message<"gitd.v1.ListWarmRequest"> & {
|
|
798
|
+
/**
|
|
799
|
+
* @generated from field: string url = 1;
|
|
800
|
+
*/
|
|
801
|
+
url: string;
|
|
802
|
+
};
|
|
803
|
+
/**
|
|
804
|
+
* Describes the message gitd.v1.ListWarmRequest.
|
|
805
|
+
* Use `create(ListWarmRequestSchema)` to create a new message.
|
|
806
|
+
*/
|
|
807
|
+
export declare const ListWarmRequestSchema: GenMessage<ListWarmRequest>;
|
|
808
|
+
/**
|
|
809
|
+
* @generated from message gitd.v1.ListWarmResponse
|
|
810
|
+
*/
|
|
811
|
+
export type ListWarmResponse = Message<"gitd.v1.ListWarmResponse"> & {
|
|
812
|
+
/**
|
|
813
|
+
* @generated from field: repeated gitd.v1.WarmLayer warm = 1;
|
|
814
|
+
*/
|
|
815
|
+
warm: WarmLayer[];
|
|
816
|
+
};
|
|
817
|
+
/**
|
|
818
|
+
* Describes the message gitd.v1.ListWarmResponse.
|
|
819
|
+
* Use `create(ListWarmResponseSchema)` to create a new message.
|
|
820
|
+
*/
|
|
821
|
+
export declare const ListWarmResponseSchema: GenMessage<ListWarmResponse>;
|
|
681
822
|
/**
|
|
682
823
|
* @generated from message gitd.v1.AdoptRequest
|
|
683
824
|
*/
|
|
@@ -756,12 +897,130 @@ export type PublishRequest = Message<"gitd.v1.PublishRequest"> & {
|
|
|
756
897
|
* @generated from field: repeated gitd.v1.Credential credentials = 3;
|
|
757
898
|
*/
|
|
758
899
|
credentials: Credential[];
|
|
900
|
+
/**
|
|
901
|
+
* Who asked for the work, as their account on the git host, e.g. `josue`: written in the
|
|
902
|
+
* pull request and the audit log, and asked to review when the settings say so. gitd
|
|
903
|
+
* records it as told.
|
|
904
|
+
*
|
|
905
|
+
* @generated from field: string requested_by = 4;
|
|
906
|
+
*/
|
|
907
|
+
requestedBy: string;
|
|
908
|
+
/**
|
|
909
|
+
* This publish's pull request, beyond what the settings say.
|
|
910
|
+
*
|
|
911
|
+
* @generated from field: gitd.v1.PullRequestOptions pull_request = 5;
|
|
912
|
+
*/
|
|
913
|
+
pullRequest?: PullRequestOptions | undefined;
|
|
914
|
+
/**
|
|
915
|
+
* Where the work came from, written in the pull request and the audit log as told.
|
|
916
|
+
*
|
|
917
|
+
* @generated from field: gitd.v1.Provenance provenance = 6;
|
|
918
|
+
*/
|
|
919
|
+
provenance?: Provenance | undefined;
|
|
759
920
|
};
|
|
760
921
|
/**
|
|
761
922
|
* Describes the message gitd.v1.PublishRequest.
|
|
762
923
|
* Use `create(PublishRequestSchema)` to create a new message.
|
|
763
924
|
*/
|
|
764
925
|
export declare const PublishRequestSchema: GenMessage<PublishRequest>;
|
|
926
|
+
/**
|
|
927
|
+
* Where a publish's work came from, as the platform says: gitd records it and never checks
|
|
928
|
+
* it, nor writes it into a commit. Each field is one line of at most 200 characters, never
|
|
929
|
+
* a secret; task_url is an https address.
|
|
930
|
+
*
|
|
931
|
+
* @generated from message gitd.v1.Provenance
|
|
932
|
+
*/
|
|
933
|
+
export type Provenance = Message<"gitd.v1.Provenance"> & {
|
|
934
|
+
/**
|
|
935
|
+
* The agent, e.g. `claude-code` or `openhands`.
|
|
936
|
+
*
|
|
937
|
+
* @generated from field: string agent = 1;
|
|
938
|
+
*/
|
|
939
|
+
agent: string;
|
|
940
|
+
/**
|
|
941
|
+
* The model it ran on.
|
|
942
|
+
*
|
|
943
|
+
* @generated from field: string model = 2;
|
|
944
|
+
*/
|
|
945
|
+
model: string;
|
|
946
|
+
/**
|
|
947
|
+
* The platform's name for the session or run.
|
|
948
|
+
*
|
|
949
|
+
* @generated from field: string session = 3;
|
|
950
|
+
*/
|
|
951
|
+
session: string;
|
|
952
|
+
/**
|
|
953
|
+
* Where the task is: an issue, a ticket.
|
|
954
|
+
*
|
|
955
|
+
* @generated from field: string task_url = 4;
|
|
956
|
+
*/
|
|
957
|
+
taskUrl: string;
|
|
958
|
+
};
|
|
959
|
+
/**
|
|
960
|
+
* Describes the message gitd.v1.Provenance.
|
|
961
|
+
* Use `create(ProvenanceSchema)` to create a new message.
|
|
962
|
+
*/
|
|
963
|
+
export declare const ProvenanceSchema: GenMessage<Provenance>;
|
|
964
|
+
/**
|
|
965
|
+
* A publish's own say on its pull request. Unset fields take the settings'.
|
|
966
|
+
*
|
|
967
|
+
* @generated from message gitd.v1.PullRequestOptions
|
|
968
|
+
*/
|
|
969
|
+
export type PullRequestOptions = Message<"gitd.v1.PullRequestOptions"> & {
|
|
970
|
+
/**
|
|
971
|
+
* Open one even when the settings open them only when asked.
|
|
972
|
+
*
|
|
973
|
+
* @generated from field: bool open = 1;
|
|
974
|
+
*/
|
|
975
|
+
open: boolean;
|
|
976
|
+
/**
|
|
977
|
+
* Empty: the subject of the newest commit.
|
|
978
|
+
*
|
|
979
|
+
* @generated from field: string title = 2;
|
|
980
|
+
*/
|
|
981
|
+
title: string;
|
|
982
|
+
/**
|
|
983
|
+
* The platform's text; gitd's account of what it checked follows it.
|
|
984
|
+
*
|
|
985
|
+
* @generated from field: string body = 3;
|
|
986
|
+
*/
|
|
987
|
+
body: string;
|
|
988
|
+
/**
|
|
989
|
+
* The branch it asks to merge into. Empty: the repository's default branch.
|
|
990
|
+
*
|
|
991
|
+
* @generated from field: string base = 4;
|
|
992
|
+
*/
|
|
993
|
+
base: string;
|
|
994
|
+
/**
|
|
995
|
+
* @generated from field: optional bool draft = 5;
|
|
996
|
+
*/
|
|
997
|
+
draft?: boolean | undefined;
|
|
998
|
+
};
|
|
999
|
+
/**
|
|
1000
|
+
* Describes the message gitd.v1.PullRequestOptions.
|
|
1001
|
+
* Use `create(PullRequestOptionsSchema)` to create a new message.
|
|
1002
|
+
*/
|
|
1003
|
+
export declare const PullRequestOptionsSchema: GenMessage<PullRequestOptions>;
|
|
1004
|
+
/**
|
|
1005
|
+
* A pull request gitd opened.
|
|
1006
|
+
*
|
|
1007
|
+
* @generated from message gitd.v1.OpenedPullRequest
|
|
1008
|
+
*/
|
|
1009
|
+
export type OpenedPullRequest = Message<"gitd.v1.OpenedPullRequest"> & {
|
|
1010
|
+
/**
|
|
1011
|
+
* @generated from field: string url = 1;
|
|
1012
|
+
*/
|
|
1013
|
+
url: string;
|
|
1014
|
+
/**
|
|
1015
|
+
* @generated from field: int64 number = 2;
|
|
1016
|
+
*/
|
|
1017
|
+
number: bigint;
|
|
1018
|
+
};
|
|
1019
|
+
/**
|
|
1020
|
+
* Describes the message gitd.v1.OpenedPullRequest.
|
|
1021
|
+
* Use `create(OpenedPullRequestSchema)` to create a new message.
|
|
1022
|
+
*/
|
|
1023
|
+
export declare const OpenedPullRequestSchema: GenMessage<OpenedPullRequest>;
|
|
765
1024
|
/**
|
|
766
1025
|
* @generated from message gitd.v1.PublishedRepository
|
|
767
1026
|
*/
|
|
@@ -808,6 +1067,19 @@ export type PublishResponse = Message<"gitd.v1.PublishResponse"> & {
|
|
|
808
1067
|
* @generated from field: repeated gitd.v1.PublishedRepository submodules = 3;
|
|
809
1068
|
*/
|
|
810
1069
|
submodules: PublishedRepository[];
|
|
1070
|
+
/**
|
|
1071
|
+
* The pull request opened, when one was.
|
|
1072
|
+
*
|
|
1073
|
+
* @generated from field: gitd.v1.OpenedPullRequest pull_request = 4;
|
|
1074
|
+
*/
|
|
1075
|
+
pullRequest?: OpenedPullRequest | undefined;
|
|
1076
|
+
/**
|
|
1077
|
+
* Why the pull request could not be opened, when it was to be. The branch is published
|
|
1078
|
+
* all the same.
|
|
1079
|
+
*
|
|
1080
|
+
* @generated from field: gitd.v1.GitFailure pull_request_failure = 5;
|
|
1081
|
+
*/
|
|
1082
|
+
pullRequestFailure?: GitFailure | undefined;
|
|
811
1083
|
};
|
|
812
1084
|
/**
|
|
813
1085
|
* Describes the message gitd.v1.PublishResponse.
|
|
@@ -815,274 +1087,1519 @@ export type PublishResponse = Message<"gitd.v1.PublishResponse"> & {
|
|
|
815
1087
|
*/
|
|
816
1088
|
export declare const PublishResponseSchema: GenMessage<PublishResponse>;
|
|
817
1089
|
/**
|
|
818
|
-
* @generated from message gitd.v1.
|
|
1090
|
+
* @generated from message gitd.v1.ChangesRequest
|
|
819
1091
|
*/
|
|
820
|
-
export type
|
|
1092
|
+
export type ChangesRequest = Message<"gitd.v1.ChangesRequest"> & {
|
|
821
1093
|
/**
|
|
822
|
-
* @generated from field: string
|
|
1094
|
+
* @generated from field: string path = 1;
|
|
823
1095
|
*/
|
|
824
|
-
|
|
1096
|
+
path: string;
|
|
825
1097
|
/**
|
|
826
|
-
*
|
|
1098
|
+
* Files the base commit's .gitignore ignores, such as node_modules, are left out unless
|
|
1099
|
+
* asked for.
|
|
1100
|
+
*
|
|
1101
|
+
* @generated from field: bool include_ignored = 2;
|
|
827
1102
|
*/
|
|
828
|
-
|
|
1103
|
+
includeIgnored: boolean;
|
|
829
1104
|
};
|
|
830
1105
|
/**
|
|
831
|
-
* Describes the message gitd.v1.
|
|
832
|
-
* Use `create(
|
|
1106
|
+
* Describes the message gitd.v1.ChangesRequest.
|
|
1107
|
+
* Use `create(ChangesRequestSchema)` to create a new message.
|
|
833
1108
|
*/
|
|
834
|
-
export declare const
|
|
1109
|
+
export declare const ChangesRequestSchema: GenMessage<ChangesRequest>;
|
|
835
1110
|
/**
|
|
836
|
-
* @generated from message gitd.v1.
|
|
1111
|
+
* @generated from message gitd.v1.ChangedFile
|
|
837
1112
|
*/
|
|
838
|
-
export type
|
|
1113
|
+
export type ChangedFile = Message<"gitd.v1.ChangedFile"> & {
|
|
839
1114
|
/**
|
|
840
|
-
*
|
|
1115
|
+
* Relative to the workspace, with `/`.
|
|
1116
|
+
*
|
|
1117
|
+
* @generated from field: string path = 1;
|
|
841
1118
|
*/
|
|
842
|
-
|
|
1119
|
+
path: string;
|
|
843
1120
|
/**
|
|
844
|
-
* @generated from field:
|
|
1121
|
+
* @generated from field: gitd.v1.ChangedFile.Kind kind = 2;
|
|
845
1122
|
*/
|
|
846
|
-
|
|
1123
|
+
kind: ChangedFile_Kind;
|
|
847
1124
|
/**
|
|
848
|
-
*
|
|
849
|
-
*
|
|
850
|
-
* @generated from field: string default_branch = 3;
|
|
1125
|
+
* @generated from field: int32 added_lines = 3;
|
|
851
1126
|
*/
|
|
852
|
-
|
|
1127
|
+
addedLines: number;
|
|
853
1128
|
/**
|
|
854
|
-
* @generated from field:
|
|
1129
|
+
* @generated from field: int32 removed_lines = 4;
|
|
855
1130
|
*/
|
|
856
|
-
|
|
1131
|
+
removedLines: number;
|
|
857
1132
|
/**
|
|
858
|
-
*
|
|
1133
|
+
* A binary file, whose lines are not counted.
|
|
859
1134
|
*
|
|
860
|
-
* @generated from field:
|
|
1135
|
+
* @generated from field: bool binary = 5;
|
|
861
1136
|
*/
|
|
862
|
-
|
|
863
|
-
[key: string]: string;
|
|
864
|
-
};
|
|
1137
|
+
binary: boolean;
|
|
865
1138
|
};
|
|
866
1139
|
/**
|
|
867
|
-
* Describes the message gitd.v1.
|
|
868
|
-
* Use `create(
|
|
1140
|
+
* Describes the message gitd.v1.ChangedFile.
|
|
1141
|
+
* Use `create(ChangedFileSchema)` to create a new message.
|
|
869
1142
|
*/
|
|
870
|
-
export declare const
|
|
1143
|
+
export declare const ChangedFileSchema: GenMessage<ChangedFile>;
|
|
871
1144
|
/**
|
|
872
|
-
* @generated from enum gitd.v1.
|
|
1145
|
+
* @generated from enum gitd.v1.ChangedFile.Kind
|
|
873
1146
|
*/
|
|
874
|
-
export declare enum
|
|
1147
|
+
export declare enum ChangedFile_Kind {
|
|
875
1148
|
/**
|
|
876
|
-
* @generated from enum value:
|
|
1149
|
+
* @generated from enum value: KIND_UNSPECIFIED = 0;
|
|
877
1150
|
*/
|
|
878
1151
|
UNSPECIFIED = 0,
|
|
879
1152
|
/**
|
|
880
|
-
*
|
|
881
|
-
*
|
|
882
|
-
* @generated from enum value: ACCESS_PUBLIC = 1;
|
|
1153
|
+
* @generated from enum value: KIND_ADDED = 1;
|
|
883
1154
|
*/
|
|
884
|
-
|
|
1155
|
+
ADDED = 1,
|
|
885
1156
|
/**
|
|
886
|
-
*
|
|
887
|
-
*
|
|
888
|
-
* @generated from enum value: ACCESS_REACHABLE = 2;
|
|
1157
|
+
* @generated from enum value: KIND_MODIFIED = 2;
|
|
889
1158
|
*/
|
|
890
|
-
|
|
1159
|
+
MODIFIED = 2,
|
|
891
1160
|
/**
|
|
892
|
-
*
|
|
893
|
-
*
|
|
894
|
-
* @generated from enum value: ACCESS_DENIED = 3;
|
|
1161
|
+
* @generated from enum value: KIND_DELETED = 3;
|
|
895
1162
|
*/
|
|
896
|
-
|
|
1163
|
+
DELETED = 3
|
|
897
1164
|
}
|
|
898
1165
|
/**
|
|
899
|
-
* Describes the enum gitd.v1.
|
|
1166
|
+
* Describes the enum gitd.v1.ChangedFile.Kind.
|
|
900
1167
|
*/
|
|
901
|
-
export declare const
|
|
1168
|
+
export declare const ChangedFile_KindSchema: GenEnum<ChangedFile_Kind>;
|
|
902
1169
|
/**
|
|
903
|
-
* @generated from message gitd.v1.
|
|
1170
|
+
* @generated from message gitd.v1.ChangesResponse
|
|
904
1171
|
*/
|
|
905
|
-
export type
|
|
1172
|
+
export type ChangesResponse = Message<"gitd.v1.ChangesResponse"> & {
|
|
906
1173
|
/**
|
|
907
|
-
*
|
|
1174
|
+
* The commit gitd last put the workspace on, which the changes are read against.
|
|
908
1175
|
*
|
|
909
|
-
* @generated from field:
|
|
1176
|
+
* @generated from field: string base = 1;
|
|
910
1177
|
*/
|
|
911
|
-
|
|
912
|
-
};
|
|
913
|
-
/**
|
|
914
|
-
* Describes the message gitd.v1.RetireRequest.
|
|
915
|
-
* Use `create(RetireRequestSchema)` to create a new message.
|
|
916
|
-
*/
|
|
917
|
-
export declare const RetireRequestSchema: GenMessage<RetireRequest>;
|
|
918
|
-
/**
|
|
919
|
-
* @generated from message gitd.v1.RetireResponse
|
|
920
|
-
*/
|
|
921
|
-
export type RetireResponse = Message<"gitd.v1.RetireResponse"> & {
|
|
1178
|
+
base: string;
|
|
922
1179
|
/**
|
|
923
|
-
* @generated from field:
|
|
1180
|
+
* @generated from field: repeated gitd.v1.ChangedFile files = 2;
|
|
924
1181
|
*/
|
|
925
|
-
|
|
1182
|
+
files: ChangedFile[];
|
|
926
1183
|
/**
|
|
927
|
-
*
|
|
1184
|
+
* Read from the agent's own layer, with no git run in the workspace; otherwise read by
|
|
1185
|
+
* git in the workspace, which its sandbox should not be writing meanwhile.
|
|
1186
|
+
*
|
|
1187
|
+
* @generated from field: bool from_layer = 3;
|
|
928
1188
|
*/
|
|
929
|
-
|
|
1189
|
+
fromLayer: boolean;
|
|
930
1190
|
};
|
|
931
1191
|
/**
|
|
932
|
-
* Describes the message gitd.v1.
|
|
933
|
-
* Use `create(
|
|
934
|
-
*/
|
|
935
|
-
export declare const RetireResponseSchema: GenMessage<RetireResponse>;
|
|
936
|
-
/**
|
|
937
|
-
* @generated from message gitd.v1.InfoRequest
|
|
938
|
-
*/
|
|
939
|
-
export type InfoRequest = Message<"gitd.v1.InfoRequest"> & {};
|
|
940
|
-
/**
|
|
941
|
-
* Describes the message gitd.v1.InfoRequest.
|
|
942
|
-
* Use `create(InfoRequestSchema)` to create a new message.
|
|
1192
|
+
* Describes the message gitd.v1.ChangesResponse.
|
|
1193
|
+
* Use `create(ChangesResponseSchema)` to create a new message.
|
|
943
1194
|
*/
|
|
944
|
-
export declare const
|
|
1195
|
+
export declare const ChangesResponseSchema: GenMessage<ChangesResponse>;
|
|
945
1196
|
/**
|
|
946
|
-
* @generated from message gitd.v1.
|
|
1197
|
+
* @generated from message gitd.v1.DiffRequest
|
|
947
1198
|
*/
|
|
948
|
-
export type
|
|
1199
|
+
export type DiffRequest = Message<"gitd.v1.DiffRequest"> & {
|
|
949
1200
|
/**
|
|
950
|
-
* @generated from field: string
|
|
1201
|
+
* @generated from field: string path = 1;
|
|
951
1202
|
*/
|
|
952
|
-
|
|
1203
|
+
path: string;
|
|
953
1204
|
/**
|
|
954
|
-
*
|
|
1205
|
+
* Only these files, relative to the workspace; all the changes when empty.
|
|
955
1206
|
*
|
|
956
|
-
* @generated from field: string
|
|
1207
|
+
* @generated from field: repeated string files = 2;
|
|
957
1208
|
*/
|
|
958
|
-
|
|
1209
|
+
files: string[];
|
|
959
1210
|
/**
|
|
960
|
-
*
|
|
1211
|
+
* At most this many bytes of diff: 512 KiB when unset, never more than 8 MiB.
|
|
961
1212
|
*
|
|
962
|
-
* @generated from field:
|
|
1213
|
+
* @generated from field: int64 max_bytes = 3;
|
|
963
1214
|
*/
|
|
964
|
-
|
|
1215
|
+
maxBytes: bigint;
|
|
965
1216
|
/**
|
|
966
|
-
* @generated from field:
|
|
1217
|
+
* @generated from field: bool include_ignored = 4;
|
|
967
1218
|
*/
|
|
968
|
-
|
|
1219
|
+
includeIgnored: boolean;
|
|
1220
|
+
};
|
|
1221
|
+
/**
|
|
1222
|
+
* Describes the message gitd.v1.DiffRequest.
|
|
1223
|
+
* Use `create(DiffRequestSchema)` to create a new message.
|
|
1224
|
+
*/
|
|
1225
|
+
export declare const DiffRequestSchema: GenMessage<DiffRequest>;
|
|
1226
|
+
/**
|
|
1227
|
+
* @generated from message gitd.v1.DiffResponse
|
|
1228
|
+
*/
|
|
1229
|
+
export type DiffResponse = Message<"gitd.v1.DiffResponse"> & {
|
|
969
1230
|
/**
|
|
970
|
-
*
|
|
971
|
-
*
|
|
972
|
-
* @generated from field: gitd.v1.Strategy strategy = 5;
|
|
1231
|
+
* @generated from field: string base = 1;
|
|
973
1232
|
*/
|
|
974
|
-
|
|
1233
|
+
base: string;
|
|
975
1234
|
/**
|
|
976
|
-
*
|
|
1235
|
+
* The unified diff, with `a/` and `b/` before each path, as git writes it.
|
|
1236
|
+
*
|
|
1237
|
+
* @generated from field: string diff = 2;
|
|
977
1238
|
*/
|
|
978
|
-
|
|
1239
|
+
diff: string;
|
|
979
1240
|
/**
|
|
980
|
-
*
|
|
1241
|
+
* Cut short at max_bytes.
|
|
981
1242
|
*
|
|
982
|
-
* @generated from field:
|
|
1243
|
+
* @generated from field: bool truncated = 3;
|
|
983
1244
|
*/
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
1245
|
+
truncated: boolean;
|
|
1246
|
+
};
|
|
1247
|
+
/**
|
|
1248
|
+
* Describes the message gitd.v1.DiffResponse.
|
|
1249
|
+
* Use `create(DiffResponseSchema)` to create a new message.
|
|
1250
|
+
*/
|
|
1251
|
+
export declare const DiffResponseSchema: GenMessage<DiffResponse>;
|
|
1252
|
+
/**
|
|
1253
|
+
* One work to compare: a workspace, by its path, or a branch gitd published — or any
|
|
1254
|
+
* branch its pool holds — by its name.
|
|
1255
|
+
*
|
|
1256
|
+
* @generated from message gitd.v1.Side
|
|
1257
|
+
*/
|
|
1258
|
+
export type Side = Message<"gitd.v1.Side"> & {
|
|
1259
|
+
/**
|
|
1260
|
+
* @generated from oneof gitd.v1.Side.of
|
|
1261
|
+
*/
|
|
1262
|
+
of: {
|
|
1263
|
+
/**
|
|
1264
|
+
* @generated from field: string workspace = 1;
|
|
1265
|
+
*/
|
|
1266
|
+
value: string;
|
|
1267
|
+
case: "workspace";
|
|
1268
|
+
} | {
|
|
1269
|
+
/**
|
|
1270
|
+
* @generated from field: string branch = 2;
|
|
1271
|
+
*/
|
|
1272
|
+
value: string;
|
|
1273
|
+
case: "branch";
|
|
1274
|
+
} | {
|
|
1275
|
+
case: undefined;
|
|
1276
|
+
value?: undefined;
|
|
1277
|
+
};
|
|
1278
|
+
};
|
|
1279
|
+
/**
|
|
1280
|
+
* Describes the message gitd.v1.Side.
|
|
1281
|
+
* Use `create(SideSchema)` to create a new message.
|
|
1282
|
+
*/
|
|
1283
|
+
export declare const SideSchema: GenMessage<Side>;
|
|
1284
|
+
/**
|
|
1285
|
+
* @generated from message gitd.v1.CompareRequest
|
|
1286
|
+
*/
|
|
1287
|
+
export type CompareRequest = Message<"gitd.v1.CompareRequest"> & {
|
|
1288
|
+
/**
|
|
1289
|
+
* @generated from field: gitd.v1.Side first = 1;
|
|
1290
|
+
*/
|
|
1291
|
+
first?: Side | undefined;
|
|
1292
|
+
/**
|
|
1293
|
+
* @generated from field: gitd.v1.Side second = 2;
|
|
1294
|
+
*/
|
|
1295
|
+
second?: Side | undefined;
|
|
1296
|
+
/**
|
|
1297
|
+
* The repository, when both sides are branches; a workspace says its own, and every side
|
|
1298
|
+
* must be of the same repository.
|
|
1299
|
+
*
|
|
1300
|
+
* @generated from field: string url = 3;
|
|
1301
|
+
*/
|
|
1302
|
+
url: string;
|
|
1303
|
+
/**
|
|
1304
|
+
* @generated from field: bool include_ignored = 4;
|
|
1305
|
+
*/
|
|
1306
|
+
includeIgnored: boolean;
|
|
1307
|
+
/**
|
|
1308
|
+
* The unified diff too, from first to second, cut short at max_bytes (512 KiB unless
|
|
1309
|
+
* said, never more than 8 MiB).
|
|
1310
|
+
*
|
|
1311
|
+
* @generated from field: bool with_diff = 5;
|
|
1312
|
+
*/
|
|
1313
|
+
withDiff: boolean;
|
|
1314
|
+
/**
|
|
1315
|
+
* @generated from field: int64 max_bytes = 6;
|
|
1316
|
+
*/
|
|
1317
|
+
maxBytes: bigint;
|
|
1318
|
+
};
|
|
1319
|
+
/**
|
|
1320
|
+
* Describes the message gitd.v1.CompareRequest.
|
|
1321
|
+
* Use `create(CompareRequestSchema)` to create a new message.
|
|
1322
|
+
*/
|
|
1323
|
+
export declare const CompareRequestSchema: GenMessage<CompareRequest>;
|
|
1324
|
+
/**
|
|
1325
|
+
* @generated from message gitd.v1.CompareResponse
|
|
1326
|
+
*/
|
|
1327
|
+
export type CompareResponse = Message<"gitd.v1.CompareResponse"> & {
|
|
1328
|
+
/**
|
|
1329
|
+
* From first to second: added is in second only, deleted in first only.
|
|
1330
|
+
*
|
|
1331
|
+
* @generated from field: repeated gitd.v1.ChangedFile files = 1;
|
|
1332
|
+
*/
|
|
1333
|
+
files: ChangedFile[];
|
|
1334
|
+
/**
|
|
1335
|
+
* @generated from field: string diff = 2;
|
|
1336
|
+
*/
|
|
1337
|
+
diff: string;
|
|
1338
|
+
/**
|
|
1339
|
+
* @generated from field: bool truncated = 3;
|
|
1340
|
+
*/
|
|
1341
|
+
truncated: boolean;
|
|
1342
|
+
};
|
|
1343
|
+
/**
|
|
1344
|
+
* Describes the message gitd.v1.CompareResponse.
|
|
1345
|
+
* Use `create(CompareResponseSchema)` to create a new message.
|
|
1346
|
+
*/
|
|
1347
|
+
export declare const CompareResponseSchema: GenMessage<CompareResponse>;
|
|
1348
|
+
/**
|
|
1349
|
+
* @generated from message gitd.v1.ConflictsRequest
|
|
1350
|
+
*/
|
|
1351
|
+
export type ConflictsRequest = Message<"gitd.v1.ConflictsRequest"> & {
|
|
1352
|
+
/**
|
|
1353
|
+
* At least two; a workspace stands for what it committed, which gitd brings into the pool
|
|
1354
|
+
* as publishing does, so its sandbox should not be writing meanwhile.
|
|
1355
|
+
*
|
|
1356
|
+
* @generated from field: repeated gitd.v1.Side sides = 1;
|
|
1357
|
+
*/
|
|
1358
|
+
sides: Side[];
|
|
1359
|
+
/**
|
|
1360
|
+
* @generated from field: string url = 2;
|
|
1361
|
+
*/
|
|
1362
|
+
url: string;
|
|
1363
|
+
};
|
|
1364
|
+
/**
|
|
1365
|
+
* Describes the message gitd.v1.ConflictsRequest.
|
|
1366
|
+
* Use `create(ConflictsRequestSchema)` to create a new message.
|
|
1367
|
+
*/
|
|
1368
|
+
export declare const ConflictsRequestSchema: GenMessage<ConflictsRequest>;
|
|
1369
|
+
/**
|
|
1370
|
+
* Two works that do not merge cleanly, and the files they conflict on.
|
|
1371
|
+
*
|
|
1372
|
+
* @generated from message gitd.v1.Conflict
|
|
1373
|
+
*/
|
|
1374
|
+
export type Conflict = Message<"gitd.v1.Conflict"> & {
|
|
1375
|
+
/**
|
|
1376
|
+
* @generated from field: gitd.v1.Side first = 1;
|
|
1377
|
+
*/
|
|
1378
|
+
first?: Side | undefined;
|
|
1379
|
+
/**
|
|
1380
|
+
* @generated from field: gitd.v1.Side second = 2;
|
|
1381
|
+
*/
|
|
1382
|
+
second?: Side | undefined;
|
|
1383
|
+
/**
|
|
1384
|
+
* @generated from field: repeated string paths = 3;
|
|
1385
|
+
*/
|
|
1386
|
+
paths: string[];
|
|
1387
|
+
};
|
|
1388
|
+
/**
|
|
1389
|
+
* Describes the message gitd.v1.Conflict.
|
|
1390
|
+
* Use `create(ConflictSchema)` to create a new message.
|
|
1391
|
+
*/
|
|
1392
|
+
export declare const ConflictSchema: GenMessage<Conflict>;
|
|
1393
|
+
/**
|
|
1394
|
+
* @generated from message gitd.v1.ConflictsResponse
|
|
1395
|
+
*/
|
|
1396
|
+
export type ConflictsResponse = Message<"gitd.v1.ConflictsResponse"> & {
|
|
1397
|
+
/**
|
|
1398
|
+
* Every pair that does not merge cleanly; none when all do.
|
|
1399
|
+
*
|
|
1400
|
+
* @generated from field: repeated gitd.v1.Conflict conflicts = 1;
|
|
1401
|
+
*/
|
|
1402
|
+
conflicts: Conflict[];
|
|
1403
|
+
};
|
|
1404
|
+
/**
|
|
1405
|
+
* Describes the message gitd.v1.ConflictsResponse.
|
|
1406
|
+
* Use `create(ConflictsResponseSchema)` to create a new message.
|
|
1407
|
+
*/
|
|
1408
|
+
export declare const ConflictsResponseSchema: GenMessage<ConflictsResponse>;
|
|
1409
|
+
/**
|
|
1410
|
+
* @generated from message gitd.v1.WatchRequest
|
|
1411
|
+
*/
|
|
1412
|
+
export type WatchRequest = Message<"gitd.v1.WatchRequest"> & {
|
|
1413
|
+
/**
|
|
1414
|
+
* Only these workspaces; every workspace when empty.
|
|
1415
|
+
*
|
|
1416
|
+
* @generated from field: repeated string paths = 1;
|
|
1417
|
+
*/
|
|
1418
|
+
paths: string[];
|
|
1419
|
+
};
|
|
1420
|
+
/**
|
|
1421
|
+
* Describes the message gitd.v1.WatchRequest.
|
|
1422
|
+
* Use `create(WatchRequestSchema)` to create a new message.
|
|
1423
|
+
*/
|
|
1424
|
+
export declare const WatchRequestSchema: GenMessage<WatchRequest>;
|
|
1425
|
+
/**
|
|
1426
|
+
* @generated from message gitd.v1.WatchResponse
|
|
1427
|
+
*/
|
|
1428
|
+
export type WatchResponse = Message<"gitd.v1.WatchResponse"> & {
|
|
1429
|
+
/**
|
|
1430
|
+
* @generated from field: gitd.v1.WatchResponse.Kind kind = 1;
|
|
1431
|
+
*/
|
|
1432
|
+
kind: WatchResponse_Kind;
|
|
1433
|
+
/**
|
|
1434
|
+
* @generated from field: string path = 2;
|
|
1435
|
+
*/
|
|
1436
|
+
path: string;
|
|
1437
|
+
/**
|
|
1438
|
+
* @generated from field: google.protobuf.Timestamp time = 3;
|
|
1439
|
+
*/
|
|
1440
|
+
time?: Timestamp | undefined;
|
|
1441
|
+
/**
|
|
1442
|
+
* The branch, for a publish done or refused.
|
|
1443
|
+
*
|
|
1444
|
+
* @generated from field: string branch = 4;
|
|
1445
|
+
*/
|
|
1446
|
+
branch: string;
|
|
1447
|
+
/**
|
|
1448
|
+
* The pull request opened, or why a publish was refused.
|
|
1449
|
+
*
|
|
1450
|
+
* @generated from field: string detail = 5;
|
|
1451
|
+
*/
|
|
1452
|
+
detail: string;
|
|
1453
|
+
};
|
|
1454
|
+
/**
|
|
1455
|
+
* Describes the message gitd.v1.WatchResponse.
|
|
1456
|
+
* Use `create(WatchResponseSchema)` to create a new message.
|
|
1457
|
+
*/
|
|
1458
|
+
export declare const WatchResponseSchema: GenMessage<WatchResponse>;
|
|
1459
|
+
/**
|
|
1460
|
+
* @generated from enum gitd.v1.WatchResponse.Kind
|
|
1461
|
+
*/
|
|
1462
|
+
export declare enum WatchResponse_Kind {
|
|
1463
|
+
/**
|
|
1464
|
+
* @generated from enum value: KIND_UNSPECIFIED = 0;
|
|
1465
|
+
*/
|
|
1466
|
+
UNSPECIFIED = 0,
|
|
1467
|
+
/**
|
|
1468
|
+
* @generated from enum value: KIND_MADE = 1;
|
|
1469
|
+
*/
|
|
1470
|
+
MADE = 1,
|
|
1471
|
+
/**
|
|
1472
|
+
* Something in the workspace changed: seen in the agent's layer of an overlay workspace,
|
|
1473
|
+
* within a couple of seconds, and coalesced.
|
|
1474
|
+
*
|
|
1475
|
+
* @generated from enum value: KIND_CHANGED = 2;
|
|
1476
|
+
*/
|
|
1477
|
+
CHANGED = 2,
|
|
1478
|
+
/**
|
|
1479
|
+
* @generated from enum value: KIND_PUBLISHED = 3;
|
|
1480
|
+
*/
|
|
1481
|
+
PUBLISHED = 3,
|
|
1482
|
+
/**
|
|
1483
|
+
* @generated from enum value: KIND_REFUSED = 4;
|
|
1484
|
+
*/
|
|
1485
|
+
REFUSED = 4,
|
|
1486
|
+
/**
|
|
1487
|
+
* @generated from enum value: KIND_REMOVED = 5;
|
|
1488
|
+
*/
|
|
1489
|
+
REMOVED = 5
|
|
1490
|
+
}
|
|
1491
|
+
/**
|
|
1492
|
+
* Describes the enum gitd.v1.WatchResponse.Kind.
|
|
1493
|
+
*/
|
|
1494
|
+
export declare const WatchResponse_KindSchema: GenEnum<WatchResponse_Kind>;
|
|
1495
|
+
/**
|
|
1496
|
+
* @generated from message gitd.v1.ProbeRequest
|
|
1497
|
+
*/
|
|
1498
|
+
export type ProbeRequest = Message<"gitd.v1.ProbeRequest"> & {
|
|
1499
|
+
/**
|
|
1500
|
+
* @generated from field: string url = 1;
|
|
1501
|
+
*/
|
|
1502
|
+
url: string;
|
|
1503
|
+
/**
|
|
1504
|
+
* @generated from field: repeated gitd.v1.Credential credentials = 2;
|
|
1505
|
+
*/
|
|
1506
|
+
credentials: Credential[];
|
|
1507
|
+
};
|
|
1508
|
+
/**
|
|
1509
|
+
* Describes the message gitd.v1.ProbeRequest.
|
|
1510
|
+
* Use `create(ProbeRequestSchema)` to create a new message.
|
|
1511
|
+
*/
|
|
1512
|
+
export declare const ProbeRequestSchema: GenMessage<ProbeRequest>;
|
|
1513
|
+
/**
|
|
1514
|
+
* @generated from message gitd.v1.ProbeResponse
|
|
1515
|
+
*/
|
|
1516
|
+
export type ProbeResponse = Message<"gitd.v1.ProbeResponse"> & {
|
|
1517
|
+
/**
|
|
1518
|
+
* @generated from field: gitd.v1.ProbeResponse.Access access = 1;
|
|
1519
|
+
*/
|
|
1520
|
+
access: ProbeResponse_Access;
|
|
1521
|
+
/**
|
|
1522
|
+
* @generated from field: repeated string branches = 2;
|
|
1523
|
+
*/
|
|
1524
|
+
branches: string[];
|
|
1525
|
+
/**
|
|
1526
|
+
* The branch the repository's HEAD points at.
|
|
1527
|
+
*
|
|
1528
|
+
* @generated from field: string default_branch = 3;
|
|
1529
|
+
*/
|
|
1530
|
+
defaultBranch: string;
|
|
1531
|
+
/**
|
|
1532
|
+
* @generated from field: gitd.v1.GitFailure failure = 4;
|
|
1533
|
+
*/
|
|
1534
|
+
failure?: GitFailure | undefined;
|
|
1535
|
+
/**
|
|
1536
|
+
* The commit each branch points at, by branch: what a submodule's gitlink is set to.
|
|
1537
|
+
*
|
|
1538
|
+
* @generated from field: map<string, string> commits = 5;
|
|
1539
|
+
*/
|
|
1540
|
+
commits: {
|
|
1541
|
+
[key: string]: string;
|
|
1542
|
+
};
|
|
1543
|
+
};
|
|
1544
|
+
/**
|
|
1545
|
+
* Describes the message gitd.v1.ProbeResponse.
|
|
1546
|
+
* Use `create(ProbeResponseSchema)` to create a new message.
|
|
1547
|
+
*/
|
|
1548
|
+
export declare const ProbeResponseSchema: GenMessage<ProbeResponse>;
|
|
1549
|
+
/**
|
|
1550
|
+
* @generated from enum gitd.v1.ProbeResponse.Access
|
|
1551
|
+
*/
|
|
1552
|
+
export declare enum ProbeResponse_Access {
|
|
1553
|
+
/**
|
|
1554
|
+
* @generated from enum value: ACCESS_UNSPECIFIED = 0;
|
|
1555
|
+
*/
|
|
1556
|
+
UNSPECIFIED = 0,
|
|
1557
|
+
/**
|
|
1558
|
+
* Read with nothing.
|
|
1559
|
+
*
|
|
1560
|
+
* @generated from enum value: ACCESS_PUBLIC = 1;
|
|
1561
|
+
*/
|
|
1562
|
+
PUBLIC = 1,
|
|
1563
|
+
/**
|
|
1564
|
+
* Read with the credentials given.
|
|
1565
|
+
*
|
|
1566
|
+
* @generated from enum value: ACCESS_REACHABLE = 2;
|
|
1567
|
+
*/
|
|
1568
|
+
REACHABLE = 2,
|
|
1569
|
+
/**
|
|
1570
|
+
* Not readable with what was given.
|
|
1571
|
+
*
|
|
1572
|
+
* @generated from enum value: ACCESS_DENIED = 3;
|
|
1573
|
+
*/
|
|
1574
|
+
DENIED = 3
|
|
1575
|
+
}
|
|
1576
|
+
/**
|
|
1577
|
+
* Describes the enum gitd.v1.ProbeResponse.Access.
|
|
1578
|
+
*/
|
|
1579
|
+
export declare const ProbeResponse_AccessSchema: GenEnum<ProbeResponse_Access>;
|
|
1580
|
+
/**
|
|
1581
|
+
* @generated from message gitd.v1.RetireRequest
|
|
1582
|
+
*/
|
|
1583
|
+
export type RetireRequest = Message<"gitd.v1.RetireRequest"> & {
|
|
1584
|
+
/**
|
|
1585
|
+
* At least a day: a pool used moments ago is likely to be wanted again.
|
|
1586
|
+
*
|
|
1587
|
+
* @generated from field: int64 unused_for_seconds = 1;
|
|
1588
|
+
*/
|
|
1589
|
+
unusedForSeconds: bigint;
|
|
1590
|
+
};
|
|
1591
|
+
/**
|
|
1592
|
+
* Describes the message gitd.v1.RetireRequest.
|
|
1593
|
+
* Use `create(RetireRequestSchema)` to create a new message.
|
|
1594
|
+
*/
|
|
1595
|
+
export declare const RetireRequestSchema: GenMessage<RetireRequest>;
|
|
1596
|
+
/**
|
|
1597
|
+
* @generated from message gitd.v1.RetireResponse
|
|
1598
|
+
*/
|
|
1599
|
+
export type RetireResponse = Message<"gitd.v1.RetireResponse"> & {
|
|
1600
|
+
/**
|
|
1601
|
+
* @generated from field: int32 retired = 1;
|
|
1602
|
+
*/
|
|
1603
|
+
retired: number;
|
|
1604
|
+
/**
|
|
1605
|
+
* @generated from field: int64 freed_bytes = 2;
|
|
1606
|
+
*/
|
|
1607
|
+
freedBytes: bigint;
|
|
1608
|
+
};
|
|
1609
|
+
/**
|
|
1610
|
+
* Describes the message gitd.v1.RetireResponse.
|
|
1611
|
+
* Use `create(RetireResponseSchema)` to create a new message.
|
|
1612
|
+
*/
|
|
1613
|
+
export declare const RetireResponseSchema: GenMessage<RetireResponse>;
|
|
1614
|
+
/**
|
|
1615
|
+
* @generated from message gitd.v1.InfoRequest
|
|
1616
|
+
*/
|
|
1617
|
+
export type InfoRequest = Message<"gitd.v1.InfoRequest"> & {};
|
|
1618
|
+
/**
|
|
1619
|
+
* Describes the message gitd.v1.InfoRequest.
|
|
1620
|
+
* Use `create(InfoRequestSchema)` to create a new message.
|
|
1621
|
+
*/
|
|
1622
|
+
export declare const InfoRequestSchema: GenMessage<InfoRequest>;
|
|
1623
|
+
/**
|
|
1624
|
+
* @generated from message gitd.v1.InfoResponse
|
|
1625
|
+
*/
|
|
1626
|
+
export type InfoResponse = Message<"gitd.v1.InfoResponse"> & {
|
|
1627
|
+
/**
|
|
1628
|
+
* @generated from field: string version = 1;
|
|
1629
|
+
*/
|
|
1630
|
+
version: string;
|
|
1631
|
+
/**
|
|
1632
|
+
* What `git version` says, e.g. "git version 2.48.1".
|
|
1633
|
+
*
|
|
1634
|
+
* @generated from field: string git_version = 2;
|
|
1635
|
+
*/
|
|
1636
|
+
gitVersion: string;
|
|
1637
|
+
/**
|
|
1638
|
+
* How many pools there are and the disk they take, as of the last maintenance round.
|
|
1639
|
+
*
|
|
1640
|
+
* @generated from field: int32 pools = 3;
|
|
1641
|
+
*/
|
|
1642
|
+
pools: number;
|
|
1643
|
+
/**
|
|
1644
|
+
* @generated from field: int64 pools_bytes = 4;
|
|
1645
|
+
*/
|
|
1646
|
+
poolsBytes: bigint;
|
|
1647
|
+
/**
|
|
1648
|
+
* How new workspaces are made on this machine, and why: what gitd detected at start.
|
|
1649
|
+
*
|
|
1650
|
+
* @generated from field: gitd.v1.Strategy strategy = 5;
|
|
1651
|
+
*/
|
|
1652
|
+
strategy: Strategy;
|
|
1653
|
+
/**
|
|
1654
|
+
* @generated from field: string strategy_reason = 6;
|
|
1655
|
+
*/
|
|
1656
|
+
strategyReason: string;
|
|
1657
|
+
/**
|
|
1658
|
+
* How many templates there are and the disk they take, as of the last maintenance round.
|
|
1659
|
+
*
|
|
1660
|
+
* @generated from field: int32 templates = 7;
|
|
1661
|
+
*/
|
|
1662
|
+
templates: number;
|
|
1663
|
+
/**
|
|
1664
|
+
* @generated from field: int64 templates_bytes = 8;
|
|
1665
|
+
*/
|
|
1666
|
+
templatesBytes: bigint;
|
|
1667
|
+
};
|
|
1668
|
+
/**
|
|
1669
|
+
* Describes the message gitd.v1.InfoResponse.
|
|
1670
|
+
* Use `create(InfoResponseSchema)` to create a new message.
|
|
1671
|
+
*/
|
|
1672
|
+
export declare const InfoResponseSchema: GenMessage<InfoResponse>;
|
|
1673
|
+
/**
|
|
1674
|
+
* @generated from message gitd.v1.AuditRequest
|
|
1675
|
+
*/
|
|
1676
|
+
export type AuditRequest = Message<"gitd.v1.AuditRequest"> & {
|
|
1677
|
+
/**
|
|
1678
|
+
* Only the entries from this time on; all of them when unset.
|
|
1679
|
+
*
|
|
1680
|
+
* @generated from field: google.protobuf.Timestamp since = 1;
|
|
1681
|
+
*/
|
|
1682
|
+
since?: Timestamp | undefined;
|
|
1683
|
+
/**
|
|
1684
|
+
* Only the entries of this repository, as its URL is written in them.
|
|
1685
|
+
*
|
|
1686
|
+
* @generated from field: string url = 2;
|
|
1687
|
+
*/
|
|
1688
|
+
url: string;
|
|
1689
|
+
/**
|
|
1690
|
+
* At most this many, newest first: 100 when unset, never more than 1000.
|
|
1691
|
+
*
|
|
1692
|
+
* @generated from field: int32 limit = 3;
|
|
1693
|
+
*/
|
|
1694
|
+
limit: number;
|
|
1695
|
+
};
|
|
1696
|
+
/**
|
|
1697
|
+
* Describes the message gitd.v1.AuditRequest.
|
|
1698
|
+
* Use `create(AuditRequestSchema)` to create a new message.
|
|
1699
|
+
*/
|
|
1700
|
+
export declare const AuditRequestSchema: GenMessage<AuditRequest>;
|
|
1701
|
+
/**
|
|
1702
|
+
* @generated from message gitd.v1.AuditResponse
|
|
1703
|
+
*/
|
|
1704
|
+
export type AuditResponse = Message<"gitd.v1.AuditResponse"> & {
|
|
1705
|
+
/**
|
|
1706
|
+
* @generated from field: repeated gitd.v1.AuditEntry entries = 1;
|
|
1707
|
+
*/
|
|
1708
|
+
entries: AuditEntry[];
|
|
1709
|
+
};
|
|
1710
|
+
/**
|
|
1711
|
+
* Describes the message gitd.v1.AuditResponse.
|
|
1712
|
+
* Use `create(AuditResponseSchema)` to create a new message.
|
|
1713
|
+
*/
|
|
1714
|
+
export declare const AuditResponseSchema: GenMessage<AuditResponse>;
|
|
1715
|
+
/**
|
|
1716
|
+
* One publish, done or refused, or one change to connections or publishing settings, as
|
|
1717
|
+
* the audit log keeps it: one per line of the log file, in this message's JSON form.
|
|
1718
|
+
*
|
|
1719
|
+
* @generated from message gitd.v1.AuditEntry
|
|
1720
|
+
*/
|
|
1721
|
+
export type AuditEntry = Message<"gitd.v1.AuditEntry"> & {
|
|
1722
|
+
/**
|
|
1723
|
+
* @generated from field: google.protobuf.Timestamp time = 1;
|
|
1724
|
+
*/
|
|
1725
|
+
time?: Timestamp | undefined;
|
|
1726
|
+
/**
|
|
1727
|
+
* The workspace's path, as the caller gave it.
|
|
1728
|
+
*
|
|
1729
|
+
* @generated from field: string workspace = 2;
|
|
1730
|
+
*/
|
|
1731
|
+
workspace: string;
|
|
1732
|
+
/**
|
|
1733
|
+
* The workspace's repository; empty when the workspace could not be opened.
|
|
1734
|
+
*
|
|
1735
|
+
* @generated from field: string url = 3;
|
|
1736
|
+
*/
|
|
1737
|
+
url: string;
|
|
1738
|
+
/**
|
|
1739
|
+
* @generated from field: string branch = 4;
|
|
1740
|
+
*/
|
|
1741
|
+
branch: string;
|
|
1742
|
+
/**
|
|
1743
|
+
* What was pushed: the workspace's repository, then each submodule. Unset when refused.
|
|
1744
|
+
*
|
|
1745
|
+
* @generated from field: gitd.v1.PublishedRepository repository = 5;
|
|
1746
|
+
*/
|
|
1747
|
+
repository?: PublishedRepository | undefined;
|
|
1748
|
+
/**
|
|
1749
|
+
* @generated from field: repeated gitd.v1.PublishedRepository submodules = 6;
|
|
1750
|
+
*/
|
|
1751
|
+
submodules: PublishedRepository[];
|
|
1752
|
+
/**
|
|
1753
|
+
* Why it was refused. Unset when it was published.
|
|
1754
|
+
*
|
|
1755
|
+
* @generated from field: gitd.v1.GitFailure refusal = 7;
|
|
1756
|
+
*/
|
|
1757
|
+
refusal?: GitFailure | undefined;
|
|
1758
|
+
/**
|
|
1759
|
+
* Who asked for the work, as the publish said.
|
|
1760
|
+
*
|
|
1761
|
+
* @generated from field: string requested_by = 8;
|
|
1762
|
+
*/
|
|
1763
|
+
requestedBy: string;
|
|
1764
|
+
/**
|
|
1765
|
+
* The pull request opened, or why it could not be.
|
|
1766
|
+
*
|
|
1767
|
+
* @generated from field: gitd.v1.OpenedPullRequest pull_request = 9;
|
|
1768
|
+
*/
|
|
1769
|
+
pullRequest?: OpenedPullRequest | undefined;
|
|
1770
|
+
/**
|
|
1771
|
+
* @generated from field: gitd.v1.GitFailure pull_request_failure = 10;
|
|
1772
|
+
*/
|
|
1773
|
+
pullRequestFailure?: GitFailure | undefined;
|
|
1774
|
+
/**
|
|
1775
|
+
* A change to connections or publishing settings; the other fields are then unset.
|
|
1776
|
+
*
|
|
1777
|
+
* @generated from field: gitd.v1.ConfigurationChange change = 11;
|
|
1778
|
+
*/
|
|
1779
|
+
change?: ConfigurationChange | undefined;
|
|
1780
|
+
/**
|
|
1781
|
+
* Where the work came from, as the publish said.
|
|
1782
|
+
*
|
|
1783
|
+
* @generated from field: gitd.v1.Provenance provenance = 12;
|
|
1784
|
+
*/
|
|
1785
|
+
provenance?: Provenance | undefined;
|
|
1786
|
+
};
|
|
1787
|
+
/**
|
|
1788
|
+
* Describes the message gitd.v1.AuditEntry.
|
|
1789
|
+
* Use `create(AuditEntrySchema)` to create a new message.
|
|
1790
|
+
*/
|
|
1791
|
+
export declare const AuditEntrySchema: GenMessage<AuditEntry>;
|
|
1792
|
+
/**
|
|
1793
|
+
* A connection added or removed, or the settings of a prefix set or removed.
|
|
1794
|
+
*
|
|
1795
|
+
* @generated from message gitd.v1.ConfigurationChange
|
|
1796
|
+
*/
|
|
1797
|
+
export type ConfigurationChange = Message<"gitd.v1.ConfigurationChange"> & {
|
|
1798
|
+
/**
|
|
1799
|
+
* @generated from field: gitd.v1.ConfigurationChange.Action action = 1;
|
|
1800
|
+
*/
|
|
1801
|
+
action: ConfigurationChange_Action;
|
|
1802
|
+
/**
|
|
1803
|
+
* The connection's ID, the settings' prefix, or the preset's name.
|
|
1804
|
+
*
|
|
1805
|
+
* @generated from field: string subject = 2;
|
|
1806
|
+
*/
|
|
1807
|
+
subject: string;
|
|
1808
|
+
/**
|
|
1809
|
+
* What it opens or applies to, e.g. `https://github.com/acme`.
|
|
1810
|
+
*
|
|
1811
|
+
* @generated from field: string url_prefix = 3;
|
|
1812
|
+
*/
|
|
1813
|
+
urlPrefix: string;
|
|
1814
|
+
};
|
|
1815
|
+
/**
|
|
1816
|
+
* Describes the message gitd.v1.ConfigurationChange.
|
|
1817
|
+
* Use `create(ConfigurationChangeSchema)` to create a new message.
|
|
1818
|
+
*/
|
|
1819
|
+
export declare const ConfigurationChangeSchema: GenMessage<ConfigurationChange>;
|
|
1820
|
+
/**
|
|
1821
|
+
* @generated from enum gitd.v1.ConfigurationChange.Action
|
|
1822
|
+
*/
|
|
1823
|
+
export declare enum ConfigurationChange_Action {
|
|
1824
|
+
/**
|
|
1825
|
+
* @generated from enum value: ACTION_UNSPECIFIED = 0;
|
|
1826
|
+
*/
|
|
1827
|
+
UNSPECIFIED = 0,
|
|
1828
|
+
/**
|
|
1829
|
+
* @generated from enum value: ACTION_CONNECTION_ADDED = 1;
|
|
1830
|
+
*/
|
|
1831
|
+
CONNECTION_ADDED = 1,
|
|
1832
|
+
/**
|
|
1833
|
+
* @generated from enum value: ACTION_CONNECTION_REMOVED = 2;
|
|
1834
|
+
*/
|
|
1835
|
+
CONNECTION_REMOVED = 2,
|
|
1836
|
+
/**
|
|
1837
|
+
* @generated from enum value: ACTION_SETTINGS_SET = 3;
|
|
1838
|
+
*/
|
|
1839
|
+
SETTINGS_SET = 3,
|
|
1840
|
+
/**
|
|
1841
|
+
* @generated from enum value: ACTION_SETTINGS_REMOVED = 4;
|
|
1842
|
+
*/
|
|
1843
|
+
SETTINGS_REMOVED = 4,
|
|
1844
|
+
/**
|
|
1845
|
+
* @generated from enum value: ACTION_PRESET_SET = 5;
|
|
1846
|
+
*/
|
|
1847
|
+
PRESET_SET = 5,
|
|
1848
|
+
/**
|
|
1849
|
+
* @generated from enum value: ACTION_PRESET_REMOVED = 6;
|
|
1850
|
+
*/
|
|
1851
|
+
PRESET_REMOVED = 6
|
|
1852
|
+
}
|
|
1853
|
+
/**
|
|
1854
|
+
* Describes the enum gitd.v1.ConfigurationChange.Action.
|
|
1855
|
+
*/
|
|
1856
|
+
export declare const ConfigurationChange_ActionSchema: GenEnum<ConfigurationChange_Action>;
|
|
1857
|
+
/**
|
|
1858
|
+
* One credential gitd keeps.
|
|
1859
|
+
*
|
|
1860
|
+
* @generated from message gitd.v1.Connection
|
|
1861
|
+
*/
|
|
1862
|
+
export type Connection = Message<"gitd.v1.Connection"> & {
|
|
1863
|
+
/**
|
|
1864
|
+
* gitd's name for it, to remove it by.
|
|
1865
|
+
*
|
|
1866
|
+
* @generated from field: string id = 1;
|
|
1867
|
+
*/
|
|
1868
|
+
id: string;
|
|
1869
|
+
/**
|
|
1870
|
+
* @generated from field: gitd.v1.Connection.Kind kind = 2;
|
|
1871
|
+
*/
|
|
1872
|
+
kind: Connection_Kind;
|
|
1873
|
+
/**
|
|
1874
|
+
* The repositories it opens: those whose address starts with this.
|
|
1875
|
+
*
|
|
1876
|
+
* @generated from field: string url_prefix = 3;
|
|
1877
|
+
*/
|
|
1878
|
+
urlPrefix: string;
|
|
1879
|
+
/**
|
|
1880
|
+
* Whom it acts as: the App's bot (`acme-agents[bot]`) or the person (`josue`). Empty for
|
|
1881
|
+
* a token or a key.
|
|
1882
|
+
*
|
|
1883
|
+
* @generated from field: string acts_as = 4;
|
|
1884
|
+
*/
|
|
1885
|
+
actsAs: string;
|
|
1886
|
+
/**
|
|
1887
|
+
* For an App: its ID, and where its installations are managed.
|
|
1888
|
+
*
|
|
1889
|
+
* @generated from field: int64 app_id = 5;
|
|
1890
|
+
*/
|
|
1891
|
+
appId: bigint;
|
|
1892
|
+
/**
|
|
1893
|
+
* @generated from field: string manage_url = 6;
|
|
1894
|
+
*/
|
|
1895
|
+
manageUrl: string;
|
|
1896
|
+
/**
|
|
1897
|
+
* When it stops working unless renewed: a sign-in's renewal ends then.
|
|
1898
|
+
*
|
|
1899
|
+
* @generated from field: google.protobuf.Timestamp expires = 7;
|
|
1900
|
+
*/
|
|
1901
|
+
expires?: Timestamp | undefined;
|
|
1902
|
+
/**
|
|
1903
|
+
* From the configuration file: shown, never changed through the API.
|
|
1904
|
+
*
|
|
1905
|
+
* @generated from field: bool from_file = 8;
|
|
1906
|
+
*/
|
|
1907
|
+
fromFile: boolean;
|
|
1908
|
+
/**
|
|
1909
|
+
* @generated from field: google.protobuf.Timestamp created = 9;
|
|
1910
|
+
*/
|
|
1911
|
+
created?: Timestamp | undefined;
|
|
1912
|
+
};
|
|
1913
|
+
/**
|
|
1914
|
+
* Describes the message gitd.v1.Connection.
|
|
1915
|
+
* Use `create(ConnectionSchema)` to create a new message.
|
|
1916
|
+
*/
|
|
1917
|
+
export declare const ConnectionSchema: GenMessage<Connection>;
|
|
1918
|
+
/**
|
|
1919
|
+
* @generated from enum gitd.v1.Connection.Kind
|
|
1920
|
+
*/
|
|
1921
|
+
export declare enum Connection_Kind {
|
|
1922
|
+
/**
|
|
1923
|
+
* @generated from enum value: KIND_UNSPECIFIED = 0;
|
|
1924
|
+
*/
|
|
1925
|
+
UNSPECIFIED = 0,
|
|
1926
|
+
/**
|
|
1927
|
+
* @generated from enum value: KIND_TOKEN = 1;
|
|
1928
|
+
*/
|
|
1929
|
+
TOKEN = 1,
|
|
1930
|
+
/**
|
|
1931
|
+
* @generated from enum value: KIND_SSH_KEY = 2;
|
|
1932
|
+
*/
|
|
1933
|
+
SSH_KEY = 2,
|
|
1934
|
+
/**
|
|
1935
|
+
* A GitHub App: its installation tokens open one repository each, for an hour.
|
|
1936
|
+
*
|
|
1937
|
+
* @generated from enum value: KIND_GITHUB_APP = 3;
|
|
1938
|
+
*/
|
|
1939
|
+
GITHUB_APP = 3,
|
|
1940
|
+
/**
|
|
1941
|
+
* A person signed in through gitd's public App: their tokens, renewed by gitd.
|
|
1942
|
+
*
|
|
1943
|
+
* @generated from enum value: KIND_GITHUB_LOGIN = 4;
|
|
1944
|
+
*/
|
|
1945
|
+
GITHUB_LOGIN = 4
|
|
1946
|
+
}
|
|
1947
|
+
/**
|
|
1948
|
+
* Describes the enum gitd.v1.Connection.Kind.
|
|
1949
|
+
*/
|
|
1950
|
+
export declare const Connection_KindSchema: GenEnum<Connection_Kind>;
|
|
1951
|
+
/**
|
|
1952
|
+
* @generated from message gitd.v1.BeginGitHubAppRequest
|
|
1953
|
+
*/
|
|
1954
|
+
export type BeginGitHubAppRequest = Message<"gitd.v1.BeginGitHubAppRequest"> & {
|
|
1955
|
+
/**
|
|
1956
|
+
* The GitHub host: empty for github.com, or a GitHub Enterprise Server's.
|
|
1957
|
+
*
|
|
1958
|
+
* @generated from field: string host = 1;
|
|
1959
|
+
*/
|
|
1960
|
+
host: string;
|
|
1961
|
+
/**
|
|
1962
|
+
* The organisation that owns the App. Empty: the account of the person creating it.
|
|
1963
|
+
*
|
|
1964
|
+
* @generated from field: string organization = 2;
|
|
1965
|
+
*/
|
|
1966
|
+
organization: string;
|
|
1967
|
+
/**
|
|
1968
|
+
* The App's name on GitHub, e.g. `acme-agents`; its bot is `acme-agents[bot]`.
|
|
1969
|
+
*
|
|
1970
|
+
* @generated from field: string name = 3;
|
|
1971
|
+
*/
|
|
1972
|
+
name: string;
|
|
1973
|
+
/**
|
|
1974
|
+
* Where GitHub sends the person once the App is created: the platform's page, which
|
|
1975
|
+
* hands the code and state to CompleteGitHubApp.
|
|
1976
|
+
*
|
|
1977
|
+
* @generated from field: string redirect_url = 4;
|
|
1978
|
+
*/
|
|
1979
|
+
redirectUrl: string;
|
|
1980
|
+
};
|
|
1981
|
+
/**
|
|
1982
|
+
* Describes the message gitd.v1.BeginGitHubAppRequest.
|
|
1983
|
+
* Use `create(BeginGitHubAppRequestSchema)` to create a new message.
|
|
1984
|
+
*/
|
|
1985
|
+
export declare const BeginGitHubAppRequestSchema: GenMessage<BeginGitHubAppRequest>;
|
|
1986
|
+
/**
|
|
1987
|
+
* @generated from message gitd.v1.BeginGitHubAppResponse
|
|
1988
|
+
*/
|
|
1989
|
+
export type BeginGitHubAppResponse = Message<"gitd.v1.BeginGitHubAppResponse"> & {
|
|
1990
|
+
/**
|
|
1991
|
+
* Where the person's browser posts the manifest, as a form field named `manifest`.
|
|
1992
|
+
*
|
|
1993
|
+
* @generated from field: string form_action = 1;
|
|
1994
|
+
*/
|
|
1995
|
+
formAction: string;
|
|
1996
|
+
/**
|
|
1997
|
+
* The manifest, in JSON: the App's name, its permissions (contents and pull requests,
|
|
1998
|
+
* read and write; metadata, read), no webhook.
|
|
1999
|
+
*
|
|
2000
|
+
* @generated from field: string manifest = 2;
|
|
2001
|
+
*/
|
|
2002
|
+
manifest: string;
|
|
2003
|
+
/**
|
|
2004
|
+
* Ties GitHub's answer to this request; expires in an hour.
|
|
2005
|
+
*
|
|
2006
|
+
* @generated from field: string state = 3;
|
|
2007
|
+
*/
|
|
2008
|
+
state: string;
|
|
2009
|
+
};
|
|
2010
|
+
/**
|
|
2011
|
+
* Describes the message gitd.v1.BeginGitHubAppResponse.
|
|
2012
|
+
* Use `create(BeginGitHubAppResponseSchema)` to create a new message.
|
|
2013
|
+
*/
|
|
2014
|
+
export declare const BeginGitHubAppResponseSchema: GenMessage<BeginGitHubAppResponse>;
|
|
2015
|
+
/**
|
|
2016
|
+
* @generated from message gitd.v1.CompleteGitHubAppRequest
|
|
2017
|
+
*/
|
|
2018
|
+
export type CompleteGitHubAppRequest = Message<"gitd.v1.CompleteGitHubAppRequest"> & {
|
|
2019
|
+
/**
|
|
2020
|
+
* @generated from field: string code = 1;
|
|
2021
|
+
*/
|
|
2022
|
+
code: string;
|
|
2023
|
+
/**
|
|
2024
|
+
* @generated from field: string state = 2;
|
|
2025
|
+
*/
|
|
2026
|
+
state: string;
|
|
2027
|
+
};
|
|
2028
|
+
/**
|
|
2029
|
+
* Describes the message gitd.v1.CompleteGitHubAppRequest.
|
|
2030
|
+
* Use `create(CompleteGitHubAppRequestSchema)` to create a new message.
|
|
2031
|
+
*/
|
|
2032
|
+
export declare const CompleteGitHubAppRequestSchema: GenMessage<CompleteGitHubAppRequest>;
|
|
2033
|
+
/**
|
|
2034
|
+
* @generated from message gitd.v1.CompleteGitHubAppResponse
|
|
2035
|
+
*/
|
|
2036
|
+
export type CompleteGitHubAppResponse = Message<"gitd.v1.CompleteGitHubAppResponse"> & {
|
|
2037
|
+
/**
|
|
2038
|
+
* @generated from field: gitd.v1.Connection connection = 1;
|
|
2039
|
+
*/
|
|
2040
|
+
connection?: Connection | undefined;
|
|
2041
|
+
/**
|
|
2042
|
+
* Where the person installs the App on the repositories it may reach.
|
|
2043
|
+
*
|
|
2044
|
+
* @generated from field: string install_url = 2;
|
|
2045
|
+
*/
|
|
2046
|
+
installUrl: string;
|
|
2047
|
+
};
|
|
2048
|
+
/**
|
|
2049
|
+
* Describes the message gitd.v1.CompleteGitHubAppResponse.
|
|
2050
|
+
* Use `create(CompleteGitHubAppResponseSchema)` to create a new message.
|
|
2051
|
+
*/
|
|
2052
|
+
export declare const CompleteGitHubAppResponseSchema: GenMessage<CompleteGitHubAppResponse>;
|
|
2053
|
+
/**
|
|
2054
|
+
* @generated from message gitd.v1.StartGitHubLoginRequest
|
|
2055
|
+
*/
|
|
2056
|
+
export type StartGitHubLoginRequest = Message<"gitd.v1.StartGitHubLoginRequest"> & {
|
|
2057
|
+
/**
|
|
2058
|
+
* The GitHub host: empty for github.com.
|
|
2059
|
+
*
|
|
2060
|
+
* @generated from field: string host = 1;
|
|
2061
|
+
*/
|
|
2062
|
+
host: string;
|
|
2063
|
+
};
|
|
2064
|
+
/**
|
|
2065
|
+
* Describes the message gitd.v1.StartGitHubLoginRequest.
|
|
2066
|
+
* Use `create(StartGitHubLoginRequestSchema)` to create a new message.
|
|
2067
|
+
*/
|
|
2068
|
+
export declare const StartGitHubLoginRequestSchema: GenMessage<StartGitHubLoginRequest>;
|
|
2069
|
+
/**
|
|
2070
|
+
* @generated from message gitd.v1.StartGitHubLoginResponse
|
|
2071
|
+
*/
|
|
2072
|
+
export type StartGitHubLoginResponse = Message<"gitd.v1.StartGitHubLoginResponse"> & {
|
|
2073
|
+
/**
|
|
2074
|
+
* What the person enters at `verification_url`.
|
|
2075
|
+
*
|
|
2076
|
+
* @generated from field: string user_code = 1;
|
|
2077
|
+
*/
|
|
2078
|
+
userCode: string;
|
|
2079
|
+
/**
|
|
2080
|
+
* @generated from field: string verification_url = 2;
|
|
2081
|
+
*/
|
|
2082
|
+
verificationUrl: string;
|
|
2083
|
+
/**
|
|
2084
|
+
* Hands this sign-in to FinishGitHubLogin.
|
|
2085
|
+
*
|
|
2086
|
+
* @generated from field: string login_id = 3;
|
|
2087
|
+
*/
|
|
2088
|
+
loginId: string;
|
|
2089
|
+
/**
|
|
2090
|
+
* How long the code is good for.
|
|
2091
|
+
*
|
|
2092
|
+
* @generated from field: int32 expires_in_seconds = 4;
|
|
2093
|
+
*/
|
|
2094
|
+
expiresInSeconds: number;
|
|
2095
|
+
};
|
|
2096
|
+
/**
|
|
2097
|
+
* Describes the message gitd.v1.StartGitHubLoginResponse.
|
|
2098
|
+
* Use `create(StartGitHubLoginResponseSchema)` to create a new message.
|
|
2099
|
+
*/
|
|
2100
|
+
export declare const StartGitHubLoginResponseSchema: GenMessage<StartGitHubLoginResponse>;
|
|
2101
|
+
/**
|
|
2102
|
+
* @generated from message gitd.v1.FinishGitHubLoginRequest
|
|
2103
|
+
*/
|
|
2104
|
+
export type FinishGitHubLoginRequest = Message<"gitd.v1.FinishGitHubLoginRequest"> & {
|
|
2105
|
+
/**
|
|
2106
|
+
* @generated from field: string login_id = 1;
|
|
2107
|
+
*/
|
|
2108
|
+
loginId: string;
|
|
2109
|
+
};
|
|
2110
|
+
/**
|
|
2111
|
+
* Describes the message gitd.v1.FinishGitHubLoginRequest.
|
|
2112
|
+
* Use `create(FinishGitHubLoginRequestSchema)` to create a new message.
|
|
2113
|
+
*/
|
|
2114
|
+
export declare const FinishGitHubLoginRequestSchema: GenMessage<FinishGitHubLoginRequest>;
|
|
2115
|
+
/**
|
|
2116
|
+
* @generated from message gitd.v1.FinishGitHubLoginResponse
|
|
2117
|
+
*/
|
|
2118
|
+
export type FinishGitHubLoginResponse = Message<"gitd.v1.FinishGitHubLoginResponse"> & {
|
|
2119
|
+
/**
|
|
2120
|
+
* @generated from field: gitd.v1.Connection connection = 1;
|
|
2121
|
+
*/
|
|
2122
|
+
connection?: Connection | undefined;
|
|
2123
|
+
/**
|
|
2124
|
+
* Where the person installs gitd's App on the repositories it may reach, if not yet.
|
|
2125
|
+
*
|
|
2126
|
+
* @generated from field: string install_url = 2;
|
|
2127
|
+
*/
|
|
2128
|
+
installUrl: string;
|
|
2129
|
+
};
|
|
2130
|
+
/**
|
|
2131
|
+
* Describes the message gitd.v1.FinishGitHubLoginResponse.
|
|
2132
|
+
* Use `create(FinishGitHubLoginResponseSchema)` to create a new message.
|
|
2133
|
+
*/
|
|
2134
|
+
export declare const FinishGitHubLoginResponseSchema: GenMessage<FinishGitHubLoginResponse>;
|
|
2135
|
+
/**
|
|
2136
|
+
* @generated from message gitd.v1.AddGitHubAppRequest
|
|
2137
|
+
*/
|
|
2138
|
+
export type AddGitHubAppRequest = Message<"gitd.v1.AddGitHubAppRequest"> & {
|
|
2139
|
+
/**
|
|
2140
|
+
* The GitHub host: empty for github.com.
|
|
2141
|
+
*
|
|
2142
|
+
* @generated from field: string host = 1;
|
|
2143
|
+
*/
|
|
2144
|
+
host: string;
|
|
2145
|
+
/**
|
|
2146
|
+
* @generated from field: int64 app_id = 2;
|
|
2147
|
+
*/
|
|
2148
|
+
appId: bigint;
|
|
2149
|
+
/**
|
|
2150
|
+
* The App's private key, in PEM.
|
|
2151
|
+
*
|
|
2152
|
+
* @generated from field: string private_key = 3;
|
|
2153
|
+
*/
|
|
2154
|
+
privateKey: string;
|
|
2155
|
+
/**
|
|
2156
|
+
* The repositories it opens. Empty: every repository on the host its installations reach.
|
|
2157
|
+
*
|
|
2158
|
+
* @generated from field: string url_prefix = 4;
|
|
2159
|
+
*/
|
|
2160
|
+
urlPrefix: string;
|
|
2161
|
+
};
|
|
2162
|
+
/**
|
|
2163
|
+
* Describes the message gitd.v1.AddGitHubAppRequest.
|
|
2164
|
+
* Use `create(AddGitHubAppRequestSchema)` to create a new message.
|
|
2165
|
+
*/
|
|
2166
|
+
export declare const AddGitHubAppRequestSchema: GenMessage<AddGitHubAppRequest>;
|
|
2167
|
+
/**
|
|
2168
|
+
* @generated from message gitd.v1.AddGitHubAppResponse
|
|
2169
|
+
*/
|
|
2170
|
+
export type AddGitHubAppResponse = Message<"gitd.v1.AddGitHubAppResponse"> & {
|
|
2171
|
+
/**
|
|
2172
|
+
* @generated from field: gitd.v1.Connection connection = 1;
|
|
2173
|
+
*/
|
|
2174
|
+
connection?: Connection | undefined;
|
|
2175
|
+
};
|
|
2176
|
+
/**
|
|
2177
|
+
* Describes the message gitd.v1.AddGitHubAppResponse.
|
|
2178
|
+
* Use `create(AddGitHubAppResponseSchema)` to create a new message.
|
|
2179
|
+
*/
|
|
2180
|
+
export declare const AddGitHubAppResponseSchema: GenMessage<AddGitHubAppResponse>;
|
|
2181
|
+
/**
|
|
2182
|
+
* @generated from message gitd.v1.AddTokenRequest
|
|
2183
|
+
*/
|
|
2184
|
+
export type AddTokenRequest = Message<"gitd.v1.AddTokenRequest"> & {
|
|
2185
|
+
/**
|
|
2186
|
+
* Must name the host, e.g. `https://gitlab.example.com/acme`.
|
|
2187
|
+
*
|
|
2188
|
+
* @generated from field: string url_prefix = 1;
|
|
2189
|
+
*/
|
|
2190
|
+
urlPrefix: string;
|
|
2191
|
+
/**
|
|
2192
|
+
* @generated from field: string token = 2;
|
|
2193
|
+
*/
|
|
2194
|
+
token: string;
|
|
2195
|
+
/**
|
|
2196
|
+
* As `Credential.https_user`.
|
|
2197
|
+
*
|
|
2198
|
+
* @generated from field: string user = 3;
|
|
2199
|
+
*/
|
|
2200
|
+
user: string;
|
|
2201
|
+
};
|
|
2202
|
+
/**
|
|
2203
|
+
* Describes the message gitd.v1.AddTokenRequest.
|
|
2204
|
+
* Use `create(AddTokenRequestSchema)` to create a new message.
|
|
2205
|
+
*/
|
|
2206
|
+
export declare const AddTokenRequestSchema: GenMessage<AddTokenRequest>;
|
|
2207
|
+
/**
|
|
2208
|
+
* @generated from message gitd.v1.AddTokenResponse
|
|
2209
|
+
*/
|
|
2210
|
+
export type AddTokenResponse = Message<"gitd.v1.AddTokenResponse"> & {
|
|
2211
|
+
/**
|
|
2212
|
+
* @generated from field: gitd.v1.Connection connection = 1;
|
|
2213
|
+
*/
|
|
2214
|
+
connection?: Connection | undefined;
|
|
2215
|
+
};
|
|
2216
|
+
/**
|
|
2217
|
+
* Describes the message gitd.v1.AddTokenResponse.
|
|
2218
|
+
* Use `create(AddTokenResponseSchema)` to create a new message.
|
|
2219
|
+
*/
|
|
2220
|
+
export declare const AddTokenResponseSchema: GenMessage<AddTokenResponse>;
|
|
2221
|
+
/**
|
|
2222
|
+
* @generated from message gitd.v1.ListConnectionsRequest
|
|
2223
|
+
*/
|
|
2224
|
+
export type ListConnectionsRequest = Message<"gitd.v1.ListConnectionsRequest"> & {};
|
|
2225
|
+
/**
|
|
2226
|
+
* Describes the message gitd.v1.ListConnectionsRequest.
|
|
2227
|
+
* Use `create(ListConnectionsRequestSchema)` to create a new message.
|
|
2228
|
+
*/
|
|
2229
|
+
export declare const ListConnectionsRequestSchema: GenMessage<ListConnectionsRequest>;
|
|
2230
|
+
/**
|
|
2231
|
+
* @generated from message gitd.v1.ListConnectionsResponse
|
|
2232
|
+
*/
|
|
2233
|
+
export type ListConnectionsResponse = Message<"gitd.v1.ListConnectionsResponse"> & {
|
|
2234
|
+
/**
|
|
2235
|
+
* @generated from field: repeated gitd.v1.Connection connections = 1;
|
|
2236
|
+
*/
|
|
2237
|
+
connections: Connection[];
|
|
2238
|
+
};
|
|
2239
|
+
/**
|
|
2240
|
+
* Describes the message gitd.v1.ListConnectionsResponse.
|
|
2241
|
+
* Use `create(ListConnectionsResponseSchema)` to create a new message.
|
|
2242
|
+
*/
|
|
2243
|
+
export declare const ListConnectionsResponseSchema: GenMessage<ListConnectionsResponse>;
|
|
2244
|
+
/**
|
|
2245
|
+
* @generated from message gitd.v1.RemoveConnectionRequest
|
|
2246
|
+
*/
|
|
2247
|
+
export type RemoveConnectionRequest = Message<"gitd.v1.RemoveConnectionRequest"> & {
|
|
2248
|
+
/**
|
|
2249
|
+
* @generated from field: string id = 1;
|
|
2250
|
+
*/
|
|
2251
|
+
id: string;
|
|
2252
|
+
};
|
|
2253
|
+
/**
|
|
2254
|
+
* Describes the message gitd.v1.RemoveConnectionRequest.
|
|
2255
|
+
* Use `create(RemoveConnectionRequestSchema)` to create a new message.
|
|
2256
|
+
*/
|
|
2257
|
+
export declare const RemoveConnectionRequestSchema: GenMessage<RemoveConnectionRequest>;
|
|
2258
|
+
/**
|
|
2259
|
+
* @generated from message gitd.v1.RemoveConnectionResponse
|
|
2260
|
+
*/
|
|
2261
|
+
export type RemoveConnectionResponse = Message<"gitd.v1.RemoveConnectionResponse"> & {};
|
|
2262
|
+
/**
|
|
2263
|
+
* Describes the message gitd.v1.RemoveConnectionResponse.
|
|
2264
|
+
* Use `create(RemoveConnectionResponseSchema)` to create a new message.
|
|
2265
|
+
*/
|
|
2266
|
+
export declare const RemoveConnectionResponseSchema: GenMessage<RemoveConnectionResponse>;
|
|
2267
|
+
/**
|
|
2268
|
+
* The rules publishing follows for the repositories under a prefix.
|
|
2269
|
+
*
|
|
2270
|
+
* Every setting whose prefix opens a repository applies to it: their paths add up and the
|
|
2271
|
+
* smallest file limit wins, so a narrower setting never loosens a broader one. A branch
|
|
2272
|
+
* prefix and pull request choices are the most specific setting's, and a narrower branch
|
|
2273
|
+
* prefix must start with every broader one.
|
|
2274
|
+
*
|
|
2275
|
+
* @generated from message gitd.v1.PublishSettings
|
|
2276
|
+
*/
|
|
2277
|
+
export type PublishSettings = Message<"gitd.v1.PublishSettings"> & {
|
|
2278
|
+
/**
|
|
2279
|
+
* The repositories these apply to; empty for every repository.
|
|
2280
|
+
*
|
|
2281
|
+
* @generated from field: string url_prefix = 1;
|
|
2282
|
+
*/
|
|
2283
|
+
urlPrefix: string;
|
|
2284
|
+
/**
|
|
2285
|
+
* The name of a preset whose rules these take, and which the fields below add to.
|
|
2286
|
+
*
|
|
2287
|
+
* @generated from field: string preset = 2;
|
|
2288
|
+
*/
|
|
2289
|
+
preset: string;
|
|
2290
|
+
/**
|
|
2291
|
+
* Paths a publish may not change, as git's glob pathspecs, e.g. `.github/workflows/**`.
|
|
2292
|
+
*
|
|
2293
|
+
* @generated from field: repeated string protected_paths = 3;
|
|
2294
|
+
*/
|
|
2295
|
+
protectedPaths: string[];
|
|
2296
|
+
/**
|
|
2297
|
+
* Paths a publish may change but not delete or rename away, e.g. `tests/**`.
|
|
2298
|
+
*
|
|
2299
|
+
* @generated from field: repeated string kept_paths = 4;
|
|
2300
|
+
*/
|
|
2301
|
+
keptPaths: string[];
|
|
2302
|
+
/**
|
|
2303
|
+
* At most this many files changed; unset for the preset's, or no limit.
|
|
2304
|
+
*
|
|
2305
|
+
* @generated from field: optional int32 max_changed_files = 5;
|
|
2306
|
+
*/
|
|
2307
|
+
maxChangedFiles?: number | undefined;
|
|
2308
|
+
/**
|
|
2309
|
+
* What every published branch must start with, e.g. `agents/`.
|
|
2310
|
+
*
|
|
2311
|
+
* @generated from field: string branch_prefix = 6;
|
|
2312
|
+
*/
|
|
2313
|
+
branchPrefix: string;
|
|
2314
|
+
/**
|
|
2315
|
+
* @generated from field: gitd.v1.PullRequestSettings pull_requests = 7;
|
|
2316
|
+
*/
|
|
2317
|
+
pullRequests?: PullRequestSettings | undefined;
|
|
2318
|
+
/**
|
|
2319
|
+
* From the configuration file: shown, never changed through the API.
|
|
2320
|
+
*
|
|
2321
|
+
* @generated from field: bool from_file = 8;
|
|
2322
|
+
*/
|
|
2323
|
+
fromFile: boolean;
|
|
2324
|
+
/**
|
|
2325
|
+
* Paths these settings' own rules — their preset's and their own — leave free, as glob
|
|
2326
|
+
* pathspecs, e.g. `.gitmodules` under `recommended`. They never free what another
|
|
2327
|
+
* setting protects or keeps.
|
|
2328
|
+
*
|
|
2329
|
+
* @generated from field: repeated string allowed_paths = 9;
|
|
2330
|
+
*/
|
|
2331
|
+
allowedPaths: string[];
|
|
2332
|
+
};
|
|
2333
|
+
/**
|
|
2334
|
+
* Describes the message gitd.v1.PublishSettings.
|
|
2335
|
+
* Use `create(PublishSettingsSchema)` to create a new message.
|
|
2336
|
+
*/
|
|
2337
|
+
export declare const PublishSettingsSchema: GenMessage<PublishSettings>;
|
|
2338
|
+
/**
|
|
2339
|
+
* A named set of rules settings take. gitd has its own `recommended`: it protects
|
|
2340
|
+
* `.github/workflows/**`, `.gitlab-ci.yml`, `CODEOWNERS` and `.gitmodules`, keeps tests
|
|
2341
|
+
* (`**\/*_test.*`, `**\/*.test.*`, `**\/test/**`, `**\/tests/**`, `**\/__tests__/**`) and
|
|
2342
|
+
* allows at most 200 files changed; a preset of that name replaces it.
|
|
2343
|
+
*
|
|
2344
|
+
* @generated from message gitd.v1.Preset
|
|
2345
|
+
*/
|
|
2346
|
+
export type Preset = Message<"gitd.v1.Preset"> & {
|
|
2347
|
+
/**
|
|
2348
|
+
* Lowercase letters, digits, `-`, `_` and `.`, up to 64.
|
|
2349
|
+
*
|
|
2350
|
+
* @generated from field: string name = 1;
|
|
987
2351
|
*/
|
|
988
|
-
|
|
2352
|
+
name: string;
|
|
2353
|
+
/**
|
|
2354
|
+
* @generated from field: repeated string protected_paths = 2;
|
|
2355
|
+
*/
|
|
2356
|
+
protectedPaths: string[];
|
|
2357
|
+
/**
|
|
2358
|
+
* @generated from field: repeated string kept_paths = 3;
|
|
2359
|
+
*/
|
|
2360
|
+
keptPaths: string[];
|
|
2361
|
+
/**
|
|
2362
|
+
* @generated from field: optional int32 max_changed_files = 4;
|
|
2363
|
+
*/
|
|
2364
|
+
maxChangedFiles?: number | undefined;
|
|
2365
|
+
/**
|
|
2366
|
+
* @generated from field: gitd.v1.Preset.Origin origin = 5;
|
|
2367
|
+
*/
|
|
2368
|
+
origin: Preset_Origin;
|
|
989
2369
|
};
|
|
990
2370
|
/**
|
|
991
|
-
* Describes the message gitd.v1.
|
|
992
|
-
* Use `create(
|
|
2371
|
+
* Describes the message gitd.v1.Preset.
|
|
2372
|
+
* Use `create(PresetSchema)` to create a new message.
|
|
993
2373
|
*/
|
|
994
|
-
export declare const
|
|
2374
|
+
export declare const PresetSchema: GenMessage<Preset>;
|
|
995
2375
|
/**
|
|
996
|
-
*
|
|
2376
|
+
* Where it comes from: gitd's own, the configuration file, or the API.
|
|
2377
|
+
*
|
|
2378
|
+
* @generated from enum gitd.v1.Preset.Origin
|
|
997
2379
|
*/
|
|
998
|
-
export
|
|
2380
|
+
export declare enum Preset_Origin {
|
|
999
2381
|
/**
|
|
1000
|
-
*
|
|
1001
|
-
*
|
|
1002
|
-
* @generated from field: google.protobuf.Timestamp since = 1;
|
|
2382
|
+
* @generated from enum value: ORIGIN_UNSPECIFIED = 0;
|
|
1003
2383
|
*/
|
|
1004
|
-
|
|
2384
|
+
UNSPECIFIED = 0,
|
|
1005
2385
|
/**
|
|
1006
|
-
*
|
|
1007
|
-
*
|
|
1008
|
-
* @generated from field: string url = 2;
|
|
2386
|
+
* @generated from enum value: ORIGIN_BUILT_IN = 1;
|
|
1009
2387
|
*/
|
|
1010
|
-
|
|
2388
|
+
BUILT_IN = 1,
|
|
1011
2389
|
/**
|
|
1012
|
-
*
|
|
2390
|
+
* @generated from enum value: ORIGIN_FILE = 2;
|
|
2391
|
+
*/
|
|
2392
|
+
FILE = 2,
|
|
2393
|
+
/**
|
|
2394
|
+
* @generated from enum value: ORIGIN_API = 3;
|
|
2395
|
+
*/
|
|
2396
|
+
API = 3
|
|
2397
|
+
}
|
|
2398
|
+
/**
|
|
2399
|
+
* Describes the enum gitd.v1.Preset.Origin.
|
|
2400
|
+
*/
|
|
2401
|
+
export declare const Preset_OriginSchema: GenEnum<Preset_Origin>;
|
|
2402
|
+
/**
|
|
2403
|
+
* How publishes open pull requests.
|
|
2404
|
+
*
|
|
2405
|
+
* @generated from message gitd.v1.PullRequestSettings
|
|
2406
|
+
*/
|
|
2407
|
+
export type PullRequestSettings = Message<"gitd.v1.PullRequestSettings"> & {
|
|
2408
|
+
/**
|
|
2409
|
+
* @generated from field: gitd.v1.PullRequestSettings.Open open = 1;
|
|
2410
|
+
*/
|
|
2411
|
+
open: PullRequestSettings_Open;
|
|
2412
|
+
/**
|
|
2413
|
+
* @generated from field: bool draft = 2;
|
|
2414
|
+
*/
|
|
2415
|
+
draft: boolean;
|
|
2416
|
+
/**
|
|
2417
|
+
* @generated from field: repeated string labels = 3;
|
|
2418
|
+
*/
|
|
2419
|
+
labels: string[];
|
|
2420
|
+
/**
|
|
2421
|
+
* Ask the person the publish names in `requested_by` to review it.
|
|
1013
2422
|
*
|
|
1014
|
-
* @generated from field:
|
|
2423
|
+
* @generated from field: bool request_review_from_requester = 4;
|
|
1015
2424
|
*/
|
|
1016
|
-
|
|
2425
|
+
requestReviewFromRequester: boolean;
|
|
1017
2426
|
};
|
|
1018
2427
|
/**
|
|
1019
|
-
* Describes the message gitd.v1.
|
|
1020
|
-
* Use `create(
|
|
2428
|
+
* Describes the message gitd.v1.PullRequestSettings.
|
|
2429
|
+
* Use `create(PullRequestSettingsSchema)` to create a new message.
|
|
1021
2430
|
*/
|
|
1022
|
-
export declare const
|
|
2431
|
+
export declare const PullRequestSettingsSchema: GenMessage<PullRequestSettings>;
|
|
1023
2432
|
/**
|
|
1024
|
-
* @generated from
|
|
2433
|
+
* @generated from enum gitd.v1.PullRequestSettings.Open
|
|
1025
2434
|
*/
|
|
1026
|
-
export
|
|
2435
|
+
export declare enum PullRequestSettings_Open {
|
|
1027
2436
|
/**
|
|
1028
|
-
* @generated from
|
|
2437
|
+
* @generated from enum value: OPEN_UNSPECIFIED = 0;
|
|
1029
2438
|
*/
|
|
1030
|
-
|
|
2439
|
+
UNSPECIFIED = 0,
|
|
2440
|
+
/**
|
|
2441
|
+
* Only when the publish asks (`PullRequestOptions.open`).
|
|
2442
|
+
*
|
|
2443
|
+
* @generated from enum value: OPEN_WHEN_ASKED = 1;
|
|
2444
|
+
*/
|
|
2445
|
+
WHEN_ASKED = 1,
|
|
2446
|
+
/**
|
|
2447
|
+
* @generated from enum value: OPEN_ALWAYS = 2;
|
|
2448
|
+
*/
|
|
2449
|
+
ALWAYS = 2
|
|
2450
|
+
}
|
|
2451
|
+
/**
|
|
2452
|
+
* Describes the enum gitd.v1.PullRequestSettings.Open.
|
|
2453
|
+
*/
|
|
2454
|
+
export declare const PullRequestSettings_OpenSchema: GenEnum<PullRequestSettings_Open>;
|
|
2455
|
+
/**
|
|
2456
|
+
* @generated from message gitd.v1.GetSettingsRequest
|
|
2457
|
+
*/
|
|
2458
|
+
export type GetSettingsRequest = Message<"gitd.v1.GetSettingsRequest"> & {};
|
|
2459
|
+
/**
|
|
2460
|
+
* Describes the message gitd.v1.GetSettingsRequest.
|
|
2461
|
+
* Use `create(GetSettingsRequestSchema)` to create a new message.
|
|
2462
|
+
*/
|
|
2463
|
+
export declare const GetSettingsRequestSchema: GenMessage<GetSettingsRequest>;
|
|
2464
|
+
/**
|
|
2465
|
+
* @generated from message gitd.v1.GetSettingsResponse
|
|
2466
|
+
*/
|
|
2467
|
+
export type GetSettingsResponse = Message<"gitd.v1.GetSettingsResponse"> & {
|
|
2468
|
+
/**
|
|
2469
|
+
* @generated from field: repeated gitd.v1.PublishSettings settings = 1;
|
|
2470
|
+
*/
|
|
2471
|
+
settings: PublishSettings[];
|
|
1031
2472
|
};
|
|
1032
2473
|
/**
|
|
1033
|
-
* Describes the message gitd.v1.
|
|
1034
|
-
* Use `create(
|
|
2474
|
+
* Describes the message gitd.v1.GetSettingsResponse.
|
|
2475
|
+
* Use `create(GetSettingsResponseSchema)` to create a new message.
|
|
1035
2476
|
*/
|
|
1036
|
-
export declare const
|
|
2477
|
+
export declare const GetSettingsResponseSchema: GenMessage<GetSettingsResponse>;
|
|
1037
2478
|
/**
|
|
1038
|
-
*
|
|
1039
|
-
* in this message's JSON form.
|
|
1040
|
-
*
|
|
1041
|
-
* @generated from message gitd.v1.AuditEntry
|
|
2479
|
+
* @generated from message gitd.v1.SetSettingsRequest
|
|
1042
2480
|
*/
|
|
1043
|
-
export type
|
|
2481
|
+
export type SetSettingsRequest = Message<"gitd.v1.SetSettingsRequest"> & {
|
|
1044
2482
|
/**
|
|
1045
|
-
* @generated from field:
|
|
2483
|
+
* @generated from field: gitd.v1.PublishSettings settings = 1;
|
|
1046
2484
|
*/
|
|
1047
|
-
|
|
2485
|
+
settings?: PublishSettings | undefined;
|
|
2486
|
+
};
|
|
2487
|
+
/**
|
|
2488
|
+
* Describes the message gitd.v1.SetSettingsRequest.
|
|
2489
|
+
* Use `create(SetSettingsRequestSchema)` to create a new message.
|
|
2490
|
+
*/
|
|
2491
|
+
export declare const SetSettingsRequestSchema: GenMessage<SetSettingsRequest>;
|
|
2492
|
+
/**
|
|
2493
|
+
* @generated from message gitd.v1.SetSettingsResponse
|
|
2494
|
+
*/
|
|
2495
|
+
export type SetSettingsResponse = Message<"gitd.v1.SetSettingsResponse"> & {
|
|
1048
2496
|
/**
|
|
1049
|
-
*
|
|
1050
|
-
*
|
|
1051
|
-
* @generated from field: string workspace = 2;
|
|
2497
|
+
* @generated from field: gitd.v1.PublishSettings settings = 1;
|
|
1052
2498
|
*/
|
|
1053
|
-
|
|
2499
|
+
settings?: PublishSettings | undefined;
|
|
2500
|
+
};
|
|
2501
|
+
/**
|
|
2502
|
+
* Describes the message gitd.v1.SetSettingsResponse.
|
|
2503
|
+
* Use `create(SetSettingsResponseSchema)` to create a new message.
|
|
2504
|
+
*/
|
|
2505
|
+
export declare const SetSettingsResponseSchema: GenMessage<SetSettingsResponse>;
|
|
2506
|
+
/**
|
|
2507
|
+
* @generated from message gitd.v1.RemoveSettingsRequest
|
|
2508
|
+
*/
|
|
2509
|
+
export type RemoveSettingsRequest = Message<"gitd.v1.RemoveSettingsRequest"> & {
|
|
1054
2510
|
/**
|
|
1055
|
-
*
|
|
1056
|
-
*
|
|
1057
|
-
* @generated from field: string url = 3;
|
|
2511
|
+
* @generated from field: string url_prefix = 1;
|
|
1058
2512
|
*/
|
|
1059
|
-
|
|
2513
|
+
urlPrefix: string;
|
|
2514
|
+
};
|
|
2515
|
+
/**
|
|
2516
|
+
* Describes the message gitd.v1.RemoveSettingsRequest.
|
|
2517
|
+
* Use `create(RemoveSettingsRequestSchema)` to create a new message.
|
|
2518
|
+
*/
|
|
2519
|
+
export declare const RemoveSettingsRequestSchema: GenMessage<RemoveSettingsRequest>;
|
|
2520
|
+
/**
|
|
2521
|
+
* @generated from message gitd.v1.RemoveSettingsResponse
|
|
2522
|
+
*/
|
|
2523
|
+
export type RemoveSettingsResponse = Message<"gitd.v1.RemoveSettingsResponse"> & {};
|
|
2524
|
+
/**
|
|
2525
|
+
* Describes the message gitd.v1.RemoveSettingsResponse.
|
|
2526
|
+
* Use `create(RemoveSettingsResponseSchema)` to create a new message.
|
|
2527
|
+
*/
|
|
2528
|
+
export declare const RemoveSettingsResponseSchema: GenMessage<RemoveSettingsResponse>;
|
|
2529
|
+
/**
|
|
2530
|
+
* @generated from message gitd.v1.ListPresetsRequest
|
|
2531
|
+
*/
|
|
2532
|
+
export type ListPresetsRequest = Message<"gitd.v1.ListPresetsRequest"> & {};
|
|
2533
|
+
/**
|
|
2534
|
+
* Describes the message gitd.v1.ListPresetsRequest.
|
|
2535
|
+
* Use `create(ListPresetsRequestSchema)` to create a new message.
|
|
2536
|
+
*/
|
|
2537
|
+
export declare const ListPresetsRequestSchema: GenMessage<ListPresetsRequest>;
|
|
2538
|
+
/**
|
|
2539
|
+
* @generated from message gitd.v1.ListPresetsResponse
|
|
2540
|
+
*/
|
|
2541
|
+
export type ListPresetsResponse = Message<"gitd.v1.ListPresetsResponse"> & {
|
|
1060
2542
|
/**
|
|
1061
|
-
* @generated from field:
|
|
2543
|
+
* @generated from field: repeated gitd.v1.Preset presets = 1;
|
|
1062
2544
|
*/
|
|
1063
|
-
|
|
2545
|
+
presets: Preset[];
|
|
2546
|
+
};
|
|
2547
|
+
/**
|
|
2548
|
+
* Describes the message gitd.v1.ListPresetsResponse.
|
|
2549
|
+
* Use `create(ListPresetsResponseSchema)` to create a new message.
|
|
2550
|
+
*/
|
|
2551
|
+
export declare const ListPresetsResponseSchema: GenMessage<ListPresetsResponse>;
|
|
2552
|
+
/**
|
|
2553
|
+
* @generated from message gitd.v1.SetPresetRequest
|
|
2554
|
+
*/
|
|
2555
|
+
export type SetPresetRequest = Message<"gitd.v1.SetPresetRequest"> & {
|
|
1064
2556
|
/**
|
|
1065
|
-
*
|
|
1066
|
-
*
|
|
1067
|
-
* @generated from field: gitd.v1.PublishedRepository repository = 5;
|
|
2557
|
+
* @generated from field: gitd.v1.Preset preset = 1;
|
|
1068
2558
|
*/
|
|
1069
|
-
|
|
2559
|
+
preset?: Preset | undefined;
|
|
2560
|
+
};
|
|
2561
|
+
/**
|
|
2562
|
+
* Describes the message gitd.v1.SetPresetRequest.
|
|
2563
|
+
* Use `create(SetPresetRequestSchema)` to create a new message.
|
|
2564
|
+
*/
|
|
2565
|
+
export declare const SetPresetRequestSchema: GenMessage<SetPresetRequest>;
|
|
2566
|
+
/**
|
|
2567
|
+
* @generated from message gitd.v1.SetPresetResponse
|
|
2568
|
+
*/
|
|
2569
|
+
export type SetPresetResponse = Message<"gitd.v1.SetPresetResponse"> & {
|
|
1070
2570
|
/**
|
|
1071
|
-
* @generated from field:
|
|
2571
|
+
* @generated from field: gitd.v1.Preset preset = 1;
|
|
1072
2572
|
*/
|
|
1073
|
-
|
|
2573
|
+
preset?: Preset | undefined;
|
|
2574
|
+
};
|
|
2575
|
+
/**
|
|
2576
|
+
* Describes the message gitd.v1.SetPresetResponse.
|
|
2577
|
+
* Use `create(SetPresetResponseSchema)` to create a new message.
|
|
2578
|
+
*/
|
|
2579
|
+
export declare const SetPresetResponseSchema: GenMessage<SetPresetResponse>;
|
|
2580
|
+
/**
|
|
2581
|
+
* @generated from message gitd.v1.RemovePresetRequest
|
|
2582
|
+
*/
|
|
2583
|
+
export type RemovePresetRequest = Message<"gitd.v1.RemovePresetRequest"> & {
|
|
1074
2584
|
/**
|
|
1075
|
-
*
|
|
1076
|
-
*
|
|
1077
|
-
* @generated from field: gitd.v1.GitFailure refusal = 7;
|
|
2585
|
+
* @generated from field: string name = 1;
|
|
1078
2586
|
*/
|
|
1079
|
-
|
|
2587
|
+
name: string;
|
|
1080
2588
|
};
|
|
1081
2589
|
/**
|
|
1082
|
-
* Describes the message gitd.v1.
|
|
1083
|
-
* Use `create(
|
|
2590
|
+
* Describes the message gitd.v1.RemovePresetRequest.
|
|
2591
|
+
* Use `create(RemovePresetRequestSchema)` to create a new message.
|
|
1084
2592
|
*/
|
|
1085
|
-
export declare const
|
|
2593
|
+
export declare const RemovePresetRequestSchema: GenMessage<RemovePresetRequest>;
|
|
2594
|
+
/**
|
|
2595
|
+
* @generated from message gitd.v1.RemovePresetResponse
|
|
2596
|
+
*/
|
|
2597
|
+
export type RemovePresetResponse = Message<"gitd.v1.RemovePresetResponse"> & {};
|
|
2598
|
+
/**
|
|
2599
|
+
* Describes the message gitd.v1.RemovePresetResponse.
|
|
2600
|
+
* Use `create(RemovePresetResponseSchema)` to create a new message.
|
|
2601
|
+
*/
|
|
2602
|
+
export declare const RemovePresetResponseSchema: GenMessage<RemovePresetResponse>;
|
|
1086
2603
|
/**
|
|
1087
2604
|
* How a workspace was made.
|
|
1088
2605
|
*
|
|
@@ -1204,6 +2721,85 @@ export declare const WorkspaceService: GenService<{
|
|
|
1204
2721
|
input: typeof PublishRequestSchema;
|
|
1205
2722
|
output: typeof PublishResponseSchema;
|
|
1206
2723
|
};
|
|
2724
|
+
/**
|
|
2725
|
+
* What was changed in a workspace since gitd last put it on a commit — committed or not:
|
|
2726
|
+
* each file added, modified or deleted, with its lines. On an overlay workspace it is read
|
|
2727
|
+
* from the agent's own layer, and no git runs in the workspace.
|
|
2728
|
+
*
|
|
2729
|
+
* @generated from rpc gitd.v1.WorkspaceService.Changes
|
|
2730
|
+
*/
|
|
2731
|
+
changes: {
|
|
2732
|
+
methodKind: "unary";
|
|
2733
|
+
input: typeof ChangesRequestSchema;
|
|
2734
|
+
output: typeof ChangesResponseSchema;
|
|
2735
|
+
};
|
|
2736
|
+
/**
|
|
2737
|
+
* The unified diff of a workspace's changes, of some files or all, cut short at a size.
|
|
2738
|
+
*
|
|
2739
|
+
* @generated from rpc gitd.v1.WorkspaceService.Diff
|
|
2740
|
+
*/
|
|
2741
|
+
diff: {
|
|
2742
|
+
methodKind: "unary";
|
|
2743
|
+
input: typeof DiffRequestSchema;
|
|
2744
|
+
output: typeof DiffResponseSchema;
|
|
2745
|
+
};
|
|
2746
|
+
/**
|
|
2747
|
+
* How two works differ — two workspaces, two published branches, or one of each — file by
|
|
2748
|
+
* file, with their lines and, when asked, their diff: what choosing between attempts at
|
|
2749
|
+
* one task needs.
|
|
2750
|
+
*
|
|
2751
|
+
* @generated from rpc gitd.v1.WorkspaceService.Compare
|
|
2752
|
+
*/
|
|
2753
|
+
compare: {
|
|
2754
|
+
methodKind: "unary";
|
|
2755
|
+
input: typeof CompareRequestSchema;
|
|
2756
|
+
output: typeof CompareResponseSchema;
|
|
2757
|
+
};
|
|
2758
|
+
/**
|
|
2759
|
+
* Whether the committed work of several workspaces or published branches merges cleanly,
|
|
2760
|
+
* pair by pair, and on which files it does not. Read with git merge-tree in the pool,
|
|
2761
|
+
* running none of the repository's code.
|
|
2762
|
+
*
|
|
2763
|
+
* @generated from rpc gitd.v1.WorkspaceService.Conflicts
|
|
2764
|
+
*/
|
|
2765
|
+
conflicts: {
|
|
2766
|
+
methodKind: "unary";
|
|
2767
|
+
input: typeof ConflictsRequestSchema;
|
|
2768
|
+
output: typeof ConflictsResponseSchema;
|
|
2769
|
+
};
|
|
2770
|
+
/**
|
|
2771
|
+
* What happens to workspaces as it happens: made, changed, published, refused, removed.
|
|
2772
|
+
*
|
|
2773
|
+
* @generated from rpc gitd.v1.WorkspaceService.Watch
|
|
2774
|
+
*/
|
|
2775
|
+
watch: {
|
|
2776
|
+
methodKind: "server_streaming";
|
|
2777
|
+
input: typeof WatchRequestSchema;
|
|
2778
|
+
output: typeof WatchResponseSchema;
|
|
2779
|
+
};
|
|
2780
|
+
/**
|
|
2781
|
+
* Seal an overlay workspace's own layer — what installing its dependencies wrote — as a
|
|
2782
|
+
* warm layer of its repository, named, for later workspaces at the same commit to stand
|
|
2783
|
+
* on (PrepareRequest.warm) instead of installing again. The workspace is removed: its
|
|
2784
|
+
* layer is moved, not copied.
|
|
2785
|
+
*
|
|
2786
|
+
* @generated from rpc gitd.v1.WorkspaceService.Seal
|
|
2787
|
+
*/
|
|
2788
|
+
seal: {
|
|
2789
|
+
methodKind: "unary";
|
|
2790
|
+
input: typeof SealRequestSchema;
|
|
2791
|
+
output: typeof SealResponseSchema;
|
|
2792
|
+
};
|
|
2793
|
+
/**
|
|
2794
|
+
* The warm layers of a repository.
|
|
2795
|
+
*
|
|
2796
|
+
* @generated from rpc gitd.v1.WorkspaceService.ListWarm
|
|
2797
|
+
*/
|
|
2798
|
+
listWarm: {
|
|
2799
|
+
methodKind: "unary";
|
|
2800
|
+
input: typeof ListWarmRequestSchema;
|
|
2801
|
+
output: typeof ListWarmResponseSchema;
|
|
2802
|
+
};
|
|
1207
2803
|
}>;
|
|
1208
2804
|
/**
|
|
1209
2805
|
* @generated from service gitd.v1.RepositoryService
|
|
@@ -1246,7 +2842,8 @@ export declare const ServerService: GenService<{
|
|
|
1246
2842
|
output: typeof RetireResponseSchema;
|
|
1247
2843
|
};
|
|
1248
2844
|
/**
|
|
1249
|
-
* The audit log: every publish, done or refused,
|
|
2845
|
+
* The audit log: every publish, done or refused, and every change to connections and
|
|
2846
|
+
* publishing settings, newest first.
|
|
1250
2847
|
*
|
|
1251
2848
|
* @generated from rpc gitd.v1.ServerService.Audit
|
|
1252
2849
|
*/
|
|
@@ -1256,3 +2853,171 @@ export declare const ServerService: GenService<{
|
|
|
1256
2853
|
output: typeof AuditResponseSchema;
|
|
1257
2854
|
};
|
|
1258
2855
|
}>;
|
|
2856
|
+
/**
|
|
2857
|
+
* The credentials gitd keeps, managed by a platform from its own pages instead of a file:
|
|
2858
|
+
* GitHub connected through the organisation's own App, by signing in, or through an App
|
|
2859
|
+
* the platform already has; and tokens for any host. gitd keeps them under its state
|
|
2860
|
+
* directory, applies them at once, and never answers with a secret. None of this is
|
|
2861
|
+
* offered to agents through MCP.
|
|
2862
|
+
*
|
|
2863
|
+
* @generated from service gitd.v1.ConnectionService
|
|
2864
|
+
*/
|
|
2865
|
+
export declare const ConnectionService: GenService<{
|
|
2866
|
+
/**
|
|
2867
|
+
* Start creating the organisation's own GitHub App from a manifest: the answer says
|
|
2868
|
+
* where the person's browser posts the manifest. GitHub then sends the person to
|
|
2869
|
+
* `redirect_url` with a code and the state, for CompleteGitHubApp.
|
|
2870
|
+
*
|
|
2871
|
+
* @generated from rpc gitd.v1.ConnectionService.BeginGitHubApp
|
|
2872
|
+
*/
|
|
2873
|
+
beginGitHubApp: {
|
|
2874
|
+
methodKind: "unary";
|
|
2875
|
+
input: typeof BeginGitHubAppRequestSchema;
|
|
2876
|
+
output: typeof BeginGitHubAppResponseSchema;
|
|
2877
|
+
};
|
|
2878
|
+
/**
|
|
2879
|
+
* Finish creating the App: gitd exchanges the code for the App's ID and private key and
|
|
2880
|
+
* keeps them. The person then installs the App on the repositories it may reach.
|
|
2881
|
+
*
|
|
2882
|
+
* @generated from rpc gitd.v1.ConnectionService.CompleteGitHubApp
|
|
2883
|
+
*/
|
|
2884
|
+
completeGitHubApp: {
|
|
2885
|
+
methodKind: "unary";
|
|
2886
|
+
input: typeof CompleteGitHubAppRequestSchema;
|
|
2887
|
+
output: typeof CompleteGitHubAppResponseSchema;
|
|
2888
|
+
};
|
|
2889
|
+
/**
|
|
2890
|
+
* Start signing in to GitHub with gitd's public App (GitHub's device flow): the answer
|
|
2891
|
+
* has the code the person enters at GitHub.
|
|
2892
|
+
*
|
|
2893
|
+
* @generated from rpc gitd.v1.ConnectionService.StartGitHubLogin
|
|
2894
|
+
*/
|
|
2895
|
+
startGitHubLogin: {
|
|
2896
|
+
methodKind: "unary";
|
|
2897
|
+
input: typeof StartGitHubLoginRequestSchema;
|
|
2898
|
+
output: typeof StartGitHubLoginResponseSchema;
|
|
2899
|
+
};
|
|
2900
|
+
/**
|
|
2901
|
+
* Wait until the person has entered the code, and keep the sign-in. Pull requests then
|
|
2902
|
+
* appear as that person.
|
|
2903
|
+
*
|
|
2904
|
+
* @generated from rpc gitd.v1.ConnectionService.FinishGitHubLogin
|
|
2905
|
+
*/
|
|
2906
|
+
finishGitHubLogin: {
|
|
2907
|
+
methodKind: "unary";
|
|
2908
|
+
input: typeof FinishGitHubLoginRequestSchema;
|
|
2909
|
+
output: typeof FinishGitHubLoginResponseSchema;
|
|
2910
|
+
};
|
|
2911
|
+
/**
|
|
2912
|
+
* Keep a GitHub App the platform already has, by its ID and private key.
|
|
2913
|
+
*
|
|
2914
|
+
* @generated from rpc gitd.v1.ConnectionService.AddGitHubApp
|
|
2915
|
+
*/
|
|
2916
|
+
addGitHubApp: {
|
|
2917
|
+
methodKind: "unary";
|
|
2918
|
+
input: typeof AddGitHubAppRequestSchema;
|
|
2919
|
+
output: typeof AddGitHubAppResponseSchema;
|
|
2920
|
+
};
|
|
2921
|
+
/**
|
|
2922
|
+
* Keep a token for the repositories under a prefix, on any host.
|
|
2923
|
+
*
|
|
2924
|
+
* @generated from rpc gitd.v1.ConnectionService.AddToken
|
|
2925
|
+
*/
|
|
2926
|
+
addToken: {
|
|
2927
|
+
methodKind: "unary";
|
|
2928
|
+
input: typeof AddTokenRequestSchema;
|
|
2929
|
+
output: typeof AddTokenResponseSchema;
|
|
2930
|
+
};
|
|
2931
|
+
/**
|
|
2932
|
+
* The connections gitd keeps, those of the configuration file included, never a secret.
|
|
2933
|
+
*
|
|
2934
|
+
* @generated from rpc gitd.v1.ConnectionService.ListConnections
|
|
2935
|
+
*/
|
|
2936
|
+
listConnections: {
|
|
2937
|
+
methodKind: "unary";
|
|
2938
|
+
input: typeof ListConnectionsRequestSchema;
|
|
2939
|
+
output: typeof ListConnectionsResponseSchema;
|
|
2940
|
+
};
|
|
2941
|
+
/**
|
|
2942
|
+
* Forget a connection made through the API. One from the configuration file is refused.
|
|
2943
|
+
*
|
|
2944
|
+
* @generated from rpc gitd.v1.ConnectionService.RemoveConnection
|
|
2945
|
+
*/
|
|
2946
|
+
removeConnection: {
|
|
2947
|
+
methodKind: "unary";
|
|
2948
|
+
input: typeof RemoveConnectionRequestSchema;
|
|
2949
|
+
output: typeof RemoveConnectionResponseSchema;
|
|
2950
|
+
};
|
|
2951
|
+
}>;
|
|
2952
|
+
/**
|
|
2953
|
+
* The rules publishing follows, per repository prefix, managed by a platform from its own
|
|
2954
|
+
* pages instead of a file: which paths a publish may not change or delete, how many files
|
|
2955
|
+
* it may change, the branch prefix, and how pull requests are opened; and the presets,
|
|
2956
|
+
* named sets of rules that settings use.
|
|
2957
|
+
*
|
|
2958
|
+
* @generated from service gitd.v1.PublishingService
|
|
2959
|
+
*/
|
|
2960
|
+
export declare const PublishingService: GenService<{
|
|
2961
|
+
/**
|
|
2962
|
+
* Every setting, those of the configuration file included.
|
|
2963
|
+
*
|
|
2964
|
+
* @generated from rpc gitd.v1.PublishingService.GetSettings
|
|
2965
|
+
*/
|
|
2966
|
+
getSettings: {
|
|
2967
|
+
methodKind: "unary";
|
|
2968
|
+
input: typeof GetSettingsRequestSchema;
|
|
2969
|
+
output: typeof GetSettingsResponseSchema;
|
|
2970
|
+
};
|
|
2971
|
+
/**
|
|
2972
|
+
* Keep the settings of a prefix, replacing those it had.
|
|
2973
|
+
*
|
|
2974
|
+
* @generated from rpc gitd.v1.PublishingService.SetSettings
|
|
2975
|
+
*/
|
|
2976
|
+
setSettings: {
|
|
2977
|
+
methodKind: "unary";
|
|
2978
|
+
input: typeof SetSettingsRequestSchema;
|
|
2979
|
+
output: typeof SetSettingsResponseSchema;
|
|
2980
|
+
};
|
|
2981
|
+
/**
|
|
2982
|
+
* Forget the settings of a prefix. Those of the configuration file are refused.
|
|
2983
|
+
*
|
|
2984
|
+
* @generated from rpc gitd.v1.PublishingService.RemoveSettings
|
|
2985
|
+
*/
|
|
2986
|
+
removeSettings: {
|
|
2987
|
+
methodKind: "unary";
|
|
2988
|
+
input: typeof RemoveSettingsRequestSchema;
|
|
2989
|
+
output: typeof RemoveSettingsResponseSchema;
|
|
2990
|
+
};
|
|
2991
|
+
/**
|
|
2992
|
+
* Every preset: gitd's own (`recommended`), the configuration file's and those set
|
|
2993
|
+
* through the API, as they apply.
|
|
2994
|
+
*
|
|
2995
|
+
* @generated from rpc gitd.v1.PublishingService.ListPresets
|
|
2996
|
+
*/
|
|
2997
|
+
listPresets: {
|
|
2998
|
+
methodKind: "unary";
|
|
2999
|
+
input: typeof ListPresetsRequestSchema;
|
|
3000
|
+
output: typeof ListPresetsResponseSchema;
|
|
3001
|
+
};
|
|
3002
|
+
/**
|
|
3003
|
+
* Keep a preset, replacing one of the same name; one named `recommended` replaces gitd's.
|
|
3004
|
+
*
|
|
3005
|
+
* @generated from rpc gitd.v1.PublishingService.SetPreset
|
|
3006
|
+
*/
|
|
3007
|
+
setPreset: {
|
|
3008
|
+
methodKind: "unary";
|
|
3009
|
+
input: typeof SetPresetRequestSchema;
|
|
3010
|
+
output: typeof SetPresetResponseSchema;
|
|
3011
|
+
};
|
|
3012
|
+
/**
|
|
3013
|
+
* Forget a preset set through the API: refused while settings use it, unless gitd has its
|
|
3014
|
+
* own of that name, which then applies again.
|
|
3015
|
+
*
|
|
3016
|
+
* @generated from rpc gitd.v1.PublishingService.RemovePreset
|
|
3017
|
+
*/
|
|
3018
|
+
removePreset: {
|
|
3019
|
+
methodKind: "unary";
|
|
3020
|
+
input: typeof RemovePresetRequestSchema;
|
|
3021
|
+
output: typeof RemovePresetResponseSchema;
|
|
3022
|
+
};
|
|
3023
|
+
}>;
|