diff --git a/src/__generated__/types.ts b/src/__generated__/types.ts deleted file mode 100644 index b2903efd..00000000 --- a/src/__generated__/types.ts +++ /dev/null @@ -1,94 +0,0 @@ -// THIS FILE IS AUTO GENERATED DO NOT MANUALLY EDIT -/* eslint-disable */ -export type Maybe = T | null; -export type Exact = { - [K in keyof T]: T[K]; -}; -export type MakeOptional = Omit & - { [SubKey in K]?: Maybe }; -export type MakeMaybe = Omit & - { [SubKey in K]: Maybe }; -/** All built-in and custom scalars, mapped to their actual values */ -export type Scalars = { - ID: string; - String: string; - Boolean: boolean; - Int: number; - Float: number; -}; - -export type Character = { - __typename?: "Character"; - id: Scalars["ID"]; - name: Scalars["String"]; - imageUrl?: Maybe; - currentHealth: Scalars["Int"]; - maximumHealth: Scalars["Int"]; - hasMana: Scalars["Boolean"]; - currentMana: Scalars["Int"]; - maximumMana: Scalars["Int"]; - hasFatePoints: Scalars["Boolean"]; - currentFatePoints: Scalars["Int"]; - maximumFatePoints: Scalars["Int"]; -}; - -export type CharacterEditor = CharacterEditorView | Error; - -export type CharacterEditorView = { - __typename?: "CharacterEditorView"; - character: Character; -}; - -export type CharacterUpdateFields = { - name?: Maybe; - maximumHealth?: Maybe; - currentHealth?: Maybe; - hasMana?: Maybe; - maximumMana?: Maybe; - currentMana?: Maybe; - hasFatePoints?: Maybe; - maximumFatePoints?: Maybe; - currentFatePoints?: Maybe; - imageUrl?: Maybe; -}; - -export type CreateCharacterResult = Error | CreateCharacterSuccess; - -export type CreateCharacterSuccess = { - __typename?: "CreateCharacterSuccess"; - editHash: Scalars["String"]; -}; - -export type Error = { - __typename?: "Error"; - reason: Scalars["String"]; -}; - -export type Mutation = { - __typename?: "Mutation"; - updateCharacter?: Maybe; - createCharacter: CreateCharacterResult; -}; - -export type MutationUpdateCharacterArgs = { - input: UpdateCharacterInput; -}; - -export type Query = { - __typename?: "Query"; - characterEditor?: Maybe; - character?: Maybe; -}; - -export type QueryCharacterEditorArgs = { - editHash: Scalars["ID"]; -}; - -export type QueryCharacterArgs = { - id: Scalars["ID"]; -}; - -export type UpdateCharacterInput = { - editHash: Scalars["String"]; - updates: CharacterUpdateFields; -};