Skip to content
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.

Commit

Permalink
types
Browse files Browse the repository at this point in the history
  • Loading branch information
khelif96 committed Aug 17, 2023
1 parent b806616 commit b59a8f8
Showing 1 changed file with 35 additions and 2 deletions.
37 changes: 35 additions & 2 deletions src/gql/generated/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,11 @@ export type ClientConfig = {
latestRevision?: Maybe<Scalars["String"]>;
};

export enum CloneMethod {
LegacySsh = "LEGACY_SSH",
Oauth = "OAUTH",
}

export type CloudProviderConfig = {
__typename?: "CloudProviderConfig";
aws?: Maybe<AwsConfig>;
Expand Down Expand Up @@ -312,7 +317,7 @@ export type Distro = {
arch: Scalars["String"];
authorizedKeysFile: Scalars["String"];
bootstrapSettings: BootstrapSettings;
cloneMethod: Scalars["String"];
cloneMethod: CloneMethod;
containerPool: Scalars["String"];
disableShallowClone: Scalars["Boolean"];
disabled: Scalars["Boolean"];
Expand All @@ -339,6 +344,28 @@ export type Distro = {
workDir: Scalars["String"];
};

export type DistroEvent = {
__typename?: "DistroEvent";
after?: Maybe<Scalars["Map"]>;
before?: Maybe<Scalars["Map"]>;
data?: Maybe<Scalars["Map"]>;
timestamp: Scalars["Time"];
user: Scalars["String"];
};

/** DistroEventsInput is the input to the distroEvents query. */
export type DistroEventsInput = {
before?: InputMaybe<Scalars["Time"]>;
distroId: Scalars["String"];
limit?: InputMaybe<Scalars["Int"]>;
};

export type DistroEventsPayload = {
__typename?: "DistroEventsPayload";
count: Scalars["Int"];
eventLogEntries: Array<DistroEvent>;
};

export type DistroInfo = {
__typename?: "DistroInfo";
bootstrapMethod?: Maybe<Scalars["String"]>;
Expand All @@ -354,7 +381,7 @@ export type DistroInput = {
arch: Scalars["String"];
authorizedKeysFile: Scalars["String"];
bootstrapSettings: BootstrapSettingsInput;
cloneMethod: Scalars["String"];
cloneMethod: CloneMethod;
containerPool: Scalars["String"];
disableShallowClone: Scalars["Boolean"];
disabled: Scalars["Boolean"];
Expand Down Expand Up @@ -1783,6 +1810,7 @@ export type Query = {
clientConfig?: Maybe<ClientConfig>;
commitQueue: CommitQueue;
distro?: Maybe<Distro>;
distroEvents: DistroEventsPayload;
distroTaskQueue: Array<TaskQueueItem>;
distros: Array<Maybe<Distro>>;
githubProjectConflicts: GithubProjectConflicts;
Expand Down Expand Up @@ -1840,6 +1868,10 @@ export type QueryDistroArgs = {
distroId: Scalars["String"];
};

export type QueryDistroEventsArgs = {
opts: DistroEventsInput;
};

export type QueryDistroTaskQueueArgs = {
distroId: Scalars["String"];
};
Expand Down Expand Up @@ -2101,6 +2133,7 @@ export type ResourceLimitsInput = {
virtualMemoryKb: Scalars["Int"];
};

/** SaveDistroInput is the input to the saveDistro mutation. */
export type SaveDistroInput = {
distro: DistroInput;
onSave: DistroOnSaveOperation;
Expand Down

0 comments on commit b59a8f8

Please sign in to comment.