Skip to content
This repository was archived by the owner on Sep 27, 2023. It is now read-only.

Commit f0e50c0

Browse files
committed
Update graphql from examples to work with v8
1 parent 616449e commit f0e50c0

12 files changed

+26
-26
lines changed

example-hooks/ts/__relay_artifacts__/AddTodoMutation.graphql.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
import { ConcreteRequest } from "relay-runtime";
44
export type AddTodoInput = {
5-
readonly text: string;
6-
readonly clientMutationId?: string | null;
5+
text: string;
6+
clientMutationId?: string | null;
77
};
88
export type AddTodoMutationVariables = {
99
input: AddTodoInput;

example-hooks/ts/__relay_artifacts__/ChangeTodoStatusMutation.graphql.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
import { ConcreteRequest } from "relay-runtime";
44
export type ChangeTodoStatusInput = {
5-
readonly complete: boolean;
6-
readonly id: string;
7-
readonly clientMutationId?: string | null;
5+
complete: boolean;
6+
id: string;
7+
clientMutationId?: string | null;
88
};
99
export type ChangeTodoStatusMutationVariables = {
1010
input: ChangeTodoStatusInput;

example-hooks/ts/__relay_artifacts__/MarkAllTodosMutation.graphql.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
import { ConcreteRequest } from "relay-runtime";
44
export type MarkAllTodosInput = {
5-
readonly complete: boolean;
6-
readonly clientMutationId?: string | null;
5+
complete: boolean;
6+
clientMutationId?: string | null;
77
};
88
export type MarkAllTodosMutationVariables = {
99
input: MarkAllTodosInput;

example-hooks/ts/__relay_artifacts__/RemoveCompletedTodosMutation.graphql.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import { ConcreteRequest } from "relay-runtime";
44
export type RemoveCompletedTodosInput = {
5-
readonly clientMutationId?: string | null;
5+
clientMutationId?: string | null;
66
};
77
export type RemoveCompletedTodosMutationVariables = {
88
input: RemoveCompletedTodosInput;

example-hooks/ts/__relay_artifacts__/RemoveTodoMutation.graphql.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
import { ConcreteRequest } from "relay-runtime";
44
export type RemoveTodoInput = {
5-
readonly id: string;
6-
readonly clientMutationId?: string | null;
5+
id: string;
6+
clientMutationId?: string | null;
77
};
88
export type RemoveTodoMutationVariables = {
99
input: RemoveTodoInput;

example-hooks/ts/__relay_artifacts__/RenameTodoMutation.graphql.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
import { ConcreteRequest } from "relay-runtime";
44
export type RenameTodoInput = {
5-
readonly id: string;
6-
readonly text: string;
7-
readonly clientMutationId?: string | null;
5+
id: string;
6+
text: string;
7+
clientMutationId?: string | null;
88
};
99
export type RenameTodoMutationVariables = {
1010
input: RenameTodoInput;

example/ts/__relay_artifacts__/AddTodoMutation.graphql.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
import { ConcreteRequest } from "relay-runtime";
44
export type AddTodoInput = {
5-
readonly text: string;
6-
readonly clientMutationId?: string | null;
5+
text: string;
6+
clientMutationId?: string | null;
77
};
88
export type AddTodoMutationVariables = {
99
input: AddTodoInput;

example/ts/__relay_artifacts__/ChangeTodoStatusMutation.graphql.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
import { ConcreteRequest } from "relay-runtime";
44
export type ChangeTodoStatusInput = {
5-
readonly complete: boolean;
6-
readonly id: string;
7-
readonly clientMutationId?: string | null;
5+
complete: boolean;
6+
id: string;
7+
clientMutationId?: string | null;
88
};
99
export type ChangeTodoStatusMutationVariables = {
1010
input: ChangeTodoStatusInput;

example/ts/__relay_artifacts__/MarkAllTodosMutation.graphql.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
import { ConcreteRequest } from "relay-runtime";
44
export type MarkAllTodosInput = {
5-
readonly complete: boolean;
6-
readonly clientMutationId?: string | null;
5+
complete: boolean;
6+
clientMutationId?: string | null;
77
};
88
export type MarkAllTodosMutationVariables = {
99
input: MarkAllTodosInput;

example/ts/__relay_artifacts__/RemoveCompletedTodosMutation.graphql.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import { ConcreteRequest } from "relay-runtime";
44
export type RemoveCompletedTodosInput = {
5-
readonly clientMutationId?: string | null;
5+
clientMutationId?: string | null;
66
};
77
export type RemoveCompletedTodosMutationVariables = {
88
input: RemoveCompletedTodosInput;

0 commit comments

Comments
 (0)