Skip to content

Commit

Permalink
Update test fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
kitten committed Jan 18, 2024
1 parent c84d5b6 commit 0ffc7a9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 39 deletions.
38 changes: 0 additions & 38 deletions src/__tests__/fixtures/simpleSchema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,9 @@ export type simpleSchema = {
Query: {
kind: 'OBJECT';
name: 'Query';
interfaces: never;
fields: {
todos: {
name: 'todos';
args: any;
type: {
kind: 'LIST';
name: null;
Expand All @@ -24,7 +22,6 @@ export type simpleSchema = {
};
latestTodo: {
name: 'latestTodo';
args: any;
type: {
kind: 'NON_NULL';
name: null;
Expand All @@ -37,7 +34,6 @@ export type simpleSchema = {
};
test: {
name: 'test';
args: any;
type: {
kind: 'UNION';
name: 'Search';
Expand Down Expand Up @@ -66,7 +62,6 @@ export type simpleSchema = {
fields: {
id: {
name: 'id';
args: any;
type: {
kind: 'NON_NULL';
name: null;
Expand All @@ -79,7 +74,6 @@ export type simpleSchema = {
};
text: {
name: 'text';
args: any;
type: {
kind: 'NON_NULL';
name: null;
Expand All @@ -92,7 +86,6 @@ export type simpleSchema = {
};
complete: {
name: 'complete';
args: any;
type: {
kind: 'SCALAR';
name: 'Boolean';
Expand All @@ -101,7 +94,6 @@ export type simpleSchema = {
};
author: {
name: 'author';
args: any;
type: {
kind: 'OBJECT';
name: 'Author';
Expand All @@ -110,15 +102,13 @@ export type simpleSchema = {
};
maxLength: {
name: 'maxLength';
args: any;
type: {
kind: 'SCALAR';
name: 'Int';
ofType: null;
};
};
};
interfaces: 'ITodo';
};

BigTodo: {
Expand All @@ -127,7 +117,6 @@ export type simpleSchema = {
fields: {
id: {
name: 'id';
args: any;
type: {
kind: 'NON_NULL';
name: null;
Expand All @@ -140,7 +129,6 @@ export type simpleSchema = {
};
text: {
name: 'text';
args: any;
type: {
kind: 'NON_NULL';
name: null;
Expand All @@ -153,7 +141,6 @@ export type simpleSchema = {
};
complete: {
name: 'complete';
args: any;
type: {
kind: 'SCALAR';
name: 'Boolean';
Expand All @@ -162,7 +149,6 @@ export type simpleSchema = {
};
author: {
name: 'author';
args: any;
type: {
kind: 'OBJECT';
name: 'Author';
Expand All @@ -171,26 +157,22 @@ export type simpleSchema = {
};
wallOfText: {
name: 'wallOfText';
args: any;
type: {
kind: 'SCALAR';
name: 'String';
ofType: null;
};
};
};
interfaces: 'ITodo';
};

ITodo: {
kind: 'INTERFACE';
name: 'ITodo';
interfaces: never;
possibleTypes: 'BigTodo' | 'SmallTodo';
fields: {
id: {
name: 'id';
args: any;
type: {
kind: 'NON_NULL';
name: null;
Expand All @@ -203,7 +185,6 @@ export type simpleSchema = {
};
text: {
name: 'text';
args: any;
type: {
kind: 'NON_NULL';
name: null;
Expand All @@ -216,7 +197,6 @@ export type simpleSchema = {
};
complete: {
name: 'complete';
args: any;
type: {
kind: 'SCALAR';
name: 'Boolean';
Expand All @@ -225,7 +205,6 @@ export type simpleSchema = {
};
author: {
name: 'author';
args: any;
type: {
kind: 'OBJECT';
name: 'Author';
Expand Down Expand Up @@ -274,11 +253,9 @@ export type simpleSchema = {
NoTodosError: {
kind: 'OBJECT';
name: 'NoTodosError';
interfaces: never;
fields: {
message: {
name: 'message';
args: any;
type: {
kind: 'NON_NULL';
name: null;
Expand All @@ -295,11 +272,9 @@ export type simpleSchema = {
Todo: {
kind: 'OBJECT';
name: 'Todo';
interfaces: never;
fields: {
id: {
name: 'id';
args: any;
type: {
kind: 'NON_NULL';
name: null;
Expand All @@ -312,7 +287,6 @@ export type simpleSchema = {
};
text: {
name: 'text';
args: any;
type: {
kind: 'NON_NULL';
name: null;
Expand All @@ -325,7 +299,6 @@ export type simpleSchema = {
};
complete: {
name: 'complete';
args: any;
type: {
kind: 'SCALAR';
name: 'Boolean';
Expand All @@ -334,7 +307,6 @@ export type simpleSchema = {
};
test: {
name: 'test';
args: any;
type: {
kind: 'ENUM';
name: 'test';
Expand All @@ -343,7 +315,6 @@ export type simpleSchema = {
};
author: {
name: 'author';
args: any;
type: {
kind: 'OBJECT';
name: 'Author';
Expand Down Expand Up @@ -376,11 +347,9 @@ export type simpleSchema = {
Author: {
kind: 'OBJECT';
name: 'Author';
interfaces: never;
fields: {
id: {
name: 'id';
args: any;
type: {
kind: 'NON_NULL';
name: null;
Expand All @@ -393,7 +362,6 @@ export type simpleSchema = {
};
name: {
name: 'name';
args: any;
type: {
kind: 'NON_NULL';
name: null;
Expand All @@ -406,7 +374,6 @@ export type simpleSchema = {
};
known: {
name: 'known';
args: any;
type: {
kind: 'SCALAR';
name: 'Boolean';
Expand All @@ -419,11 +386,9 @@ export type simpleSchema = {
Mutation: {
kind: 'OBJECT';
name: 'Mutation';
interfaces: never;
fields: {
toggleTodo: {
name: 'toggleTodo';
args: any;
type: {
kind: 'OBJECT';
name: 'Todo';
Expand All @@ -432,7 +397,6 @@ export type simpleSchema = {
};
updateTodo: {
name: 'updateTodo';
args: any;
type: {
kind: 'SCALAR';
name: 'Boolean';
Expand All @@ -445,11 +409,9 @@ export type simpleSchema = {
Subscription: {
kind: 'OBJECT';
name: 'Subscription';
interfaces: never;
fields: {
newTodo: {
name: 'newTodo';
args: any;
type: {
kind: 'OBJECT';
name: 'Todo';
Expand Down
1 change: 0 additions & 1 deletion src/introspection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@ type mapField<T> = T extends IntrospectionField
? {
name: T['name'];
type: T['type'];
args: any;
}
: never;

Expand Down

0 comments on commit 0ffc7a9

Please sign in to comment.