2024-11-01 17:49:56 +00:00
|
|
|
export type Maybe<T> = T | null;
|
|
|
|
export type InputMaybe<T> = Maybe<T>;
|
|
|
|
export type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] };
|
|
|
|
export type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> };
|
|
|
|
export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]> };
|
|
|
|
export type MakeEmpty<T extends { [key: string]: unknown }, K extends keyof T> = { [_ in K]?: never };
|
|
|
|
export type Incremental<T> = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never };
|
|
|
|
/** All built-in and custom scalars, mapped to their actual values */
|
|
|
|
export type Scalars = {
|
|
|
|
ID: { input: string; output: string; }
|
|
|
|
String: { input: string; output: string; }
|
|
|
|
Boolean: { input: boolean; output: boolean; }
|
|
|
|
Int: { input: number; output: number; }
|
|
|
|
Float: { input: number; output: number; }
|
|
|
|
Any: { input: any; output: any; }
|
2024-11-19 11:50:00 +00:00
|
|
|
Int64: { input: any; output: any; }
|
2024-11-01 17:49:56 +00:00
|
|
|
Map: { input: any; output: any; }
|
|
|
|
Time: { input: any; output: any; }
|
2024-11-19 11:50:00 +00:00
|
|
|
UID: { input: any; output: any; }
|
2024-11-01 17:49:56 +00:00
|
|
|
Void: { input: any; output: any; }
|
|
|
|
};
|
|
|
|
|
|
|
|
export type AuthUser = {
|
|
|
|
__typename?: 'AuthUser';
|
|
|
|
email: Scalars['String']['output'];
|
2024-11-19 11:50:00 +00:00
|
|
|
id: Scalars['UID']['output'];
|
|
|
|
name: Scalars['String']['output'];
|
2024-11-01 17:49:56 +00:00
|
|
|
roleID: Scalars['Int']['output'];
|
|
|
|
};
|
|
|
|
|
|
|
|
export type Mutation = {
|
|
|
|
__typename?: 'Mutation';
|
2024-11-19 11:50:00 +00:00
|
|
|
/** User account login */
|
|
|
|
accountLogin: AuthUser;
|
|
|
|
/** User account logout */
|
|
|
|
accountLogout: Scalars['Boolean']['output'];
|
|
|
|
/** Verify email token */
|
|
|
|
accountVerifyEmail: Scalars['Boolean']['output'];
|
2024-11-01 17:49:56 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
2024-11-19 11:50:00 +00:00
|
|
|
export type MutationAccountLoginArgs = {
|
2024-11-01 17:49:56 +00:00
|
|
|
email: Scalars['String']['input'];
|
2024-11-15 16:12:15 +00:00
|
|
|
pwd: Scalars['String']['input'];
|
2024-11-01 17:49:56 +00:00
|
|
|
};
|
|
|
|
|
2024-11-19 11:50:00 +00:00
|
|
|
|
|
|
|
export type MutationAccountVerifyEmailArgs = {
|
|
|
|
token?: InputMaybe<Scalars['String']['input']>;
|
|
|
|
};
|
|
|
|
|
2024-11-01 17:49:56 +00:00
|
|
|
export type Query = {
|
|
|
|
__typename?: 'Query';
|
|
|
|
me?: Maybe<AuthUser>;
|
|
|
|
};
|
|
|
|
|
|
|
|
export type MeQueryVariables = Exact<{ [key: string]: never; }>;
|
|
|
|
|
|
|
|
|
2024-11-19 11:50:00 +00:00
|
|
|
export type MeQuery = { __typename?: 'Query', me?: { __typename?: 'AuthUser', id: any, name: string } | null };
|