export declare enum _ModelMutationType { CREATED = "CREATED", DELETED = "DELETED", UPDATED = "UPDATED", } export interface CurrentUserQuery { user: { __typename: "User"; email: string; id: string; name: string | null; login: string; } | null; } export interface AllHostiesQuery { allHosties: Array<{ __typename: "Hostie"; id: string; name: string | null; token: string; owner: { __typename: "User"; name: string | null; }; }>; } export interface CreateHostieMutationVariables { name: string; ownerId: string; } export interface CreateHostieMutation { createHostie: { __typename: "Hostie"; id: string; name: string | null; } | null; } export interface DeleteHostieMutationVariables { id: string; } export interface DeleteHostieMutation { deleteHostie: { __typename: "Hostie"; id: string; } | null; } export interface UpdateHostieMutationVariables { id: string; name?: string | null; } export interface UpdateHostieMutation { updateHostie: { __typename: "Hostie"; id: string; name: string | null; } | null; } export interface SubscribeHostieSubscription { Hostie: { __typename: "HostieSubscriptionPayload"; mutation: _ModelMutationType; node: { __typename: "Hostie"; id: string; name: string | null; token: string; owner: { __typename: "User"; name: string | null; }; } | null; previousValues: { __typename: "HostiePreviousValues"; id: string; token: string; } | null; } | null; } export interface CreateUserMutationVariables { email: string; login: string; name?: string | null; } export interface CreateUserMutation { createUser: { __typename: "User"; id: string; } | null; }