diff --git a/apps/parsley/src/gql/generated/types.ts b/apps/parsley/src/gql/generated/types.ts index a8e5bc9e5..1837b10df 100644 --- a/apps/parsley/src/gql/generated/types.ts +++ b/apps/parsley/src/gql/generated/types.ts @@ -1270,7 +1270,7 @@ export type MutationSchedulePatchTasksArgs = { export type MutationScheduleTasksArgs = { taskIds: Array; - versionId?: InputMaybe; + versionId: Scalars["String"]["input"]; }; export type MutationScheduleUndispatchedBaseTasksArgs = { @@ -1899,7 +1899,7 @@ export enum ProjectSettingsAccess { export type ProjectSettingsInput = { aliases?: InputMaybe>; githubWebhooksEnabled?: InputMaybe; - projectId?: InputMaybe; + projectId: Scalars["String"]["input"]; projectRef?: InputMaybe; subscriptions?: InputMaybe>; vars?: InputMaybe; @@ -2037,8 +2037,7 @@ export type QueryGithubProjectConflictsArgs = { }; export type QueryHasVersionArgs = { - id?: InputMaybe; - patchId?: InputMaybe; + patchId: Scalars["String"]["input"]; }; export type QueryHostArgs = { @@ -2074,8 +2073,7 @@ export type QueryMainlineCommitsArgs = { }; export type QueryPatchArgs = { - id?: InputMaybe; - patchId?: InputMaybe; + patchId: Scalars["String"]["input"]; }; export type QueryPodArgs = { @@ -2098,14 +2096,12 @@ export type QueryProjectSettingsArgs = { export type QueryRepoEventsArgs = { before?: InputMaybe; - id?: InputMaybe; limit?: InputMaybe; - repoId?: InputMaybe; + repoId: Scalars["String"]["input"]; }; export type QueryRepoSettingsArgs = { - id?: InputMaybe; - repoId?: InputMaybe; + repoId: Scalars["String"]["input"]; }; export type QueryTaskArgs = { @@ -2132,8 +2128,7 @@ export type QueryUserArgs = { }; export type QueryVersionArgs = { - id?: InputMaybe; - versionId?: InputMaybe; + versionId: Scalars["String"]["input"]; }; export type RepoCommitQueueParams = { @@ -2257,7 +2252,7 @@ export type RepoSettingsInput = { aliases?: InputMaybe>; githubWebhooksEnabled?: InputMaybe; projectRef?: InputMaybe; - repoId?: InputMaybe; + repoId: Scalars["String"]["input"]; subscriptions?: InputMaybe>; vars?: InputMaybe; }; diff --git a/apps/spruce/src/components/CodeChanges/index.tsx b/apps/spruce/src/components/CodeChanges/index.tsx index cf1811a16..8c087ac7e 100644 --- a/apps/spruce/src/components/CodeChanges/index.tsx +++ b/apps/spruce/src/components/CodeChanges/index.tsx @@ -42,7 +42,11 @@ export const CodeChanges: React.FC = ({ patchId }) => { return
{error.message}
; } if (!moduleCodeChanges.length) { - return No code changes; + return ( + + Code changes do not exist, or are too large to display. + + ); } return (
diff --git a/apps/spruce/src/gql/generated/types.ts b/apps/spruce/src/gql/generated/types.ts index 23bf56191..07eee2796 100644 --- a/apps/spruce/src/gql/generated/types.ts +++ b/apps/spruce/src/gql/generated/types.ts @@ -1270,7 +1270,7 @@ export type MutationSchedulePatchTasksArgs = { export type MutationScheduleTasksArgs = { taskIds: Array; - versionId?: InputMaybe; + versionId: Scalars["String"]["input"]; }; export type MutationScheduleUndispatchedBaseTasksArgs = { @@ -1899,7 +1899,7 @@ export enum ProjectSettingsAccess { export type ProjectSettingsInput = { aliases?: InputMaybe>; githubWebhooksEnabled?: InputMaybe; - projectId?: InputMaybe; + projectId: Scalars["String"]["input"]; projectRef?: InputMaybe; subscriptions?: InputMaybe>; vars?: InputMaybe; @@ -2037,8 +2037,7 @@ export type QueryGithubProjectConflictsArgs = { }; export type QueryHasVersionArgs = { - id?: InputMaybe; - patchId?: InputMaybe; + patchId: Scalars["String"]["input"]; }; export type QueryHostArgs = { @@ -2074,8 +2073,7 @@ export type QueryMainlineCommitsArgs = { }; export type QueryPatchArgs = { - id?: InputMaybe; - patchId?: InputMaybe; + patchId: Scalars["String"]["input"]; }; export type QueryPodArgs = { @@ -2098,14 +2096,12 @@ export type QueryProjectSettingsArgs = { export type QueryRepoEventsArgs = { before?: InputMaybe; - id?: InputMaybe; limit?: InputMaybe; - repoId?: InputMaybe; + repoId: Scalars["String"]["input"]; }; export type QueryRepoSettingsArgs = { - id?: InputMaybe; - repoId?: InputMaybe; + repoId: Scalars["String"]["input"]; }; export type QueryTaskArgs = { @@ -2132,8 +2128,7 @@ export type QueryUserArgs = { }; export type QueryVersionArgs = { - id?: InputMaybe; - versionId?: InputMaybe; + versionId: Scalars["String"]["input"]; }; export type RepoCommitQueueParams = { @@ -2257,7 +2252,7 @@ export type RepoSettingsInput = { aliases?: InputMaybe>; githubWebhooksEnabled?: InputMaybe; projectRef?: InputMaybe; - repoId?: InputMaybe; + repoId: Scalars["String"]["input"]; subscriptions?: InputMaybe>; vars?: InputMaybe; };