graphs codegen
This commit is contained in:
parent
e378db58b8
commit
2db6053a91
@ -7,7 +7,7 @@ export const Me = gql`
|
||||
query Me {
|
||||
me {
|
||||
id
|
||||
displayName
|
||||
name
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
23
web/lib/gql/graph.d.ts
vendored
23
web/lib/gql/graph.d.ts
vendored
@ -13,31 +13,42 @@ export type Scalars = {
|
||||
Int: { input: number; output: number; }
|
||||
Float: { input: number; output: number; }
|
||||
Any: { input: any; output: any; }
|
||||
Int64: { input: any; output: any; }
|
||||
Map: { input: any; output: any; }
|
||||
Time: { input: any; output: any; }
|
||||
UID: { input: any; output: any; }
|
||||
Void: { input: any; output: any; }
|
||||
};
|
||||
|
||||
export type AuthUser = {
|
||||
__typename?: 'AuthUser';
|
||||
displayName: Scalars['String']['output'];
|
||||
email: Scalars['String']['output'];
|
||||
id: Scalars['ID']['output'];
|
||||
id: Scalars['UID']['output'];
|
||||
name: Scalars['String']['output'];
|
||||
roleID: Scalars['Int']['output'];
|
||||
};
|
||||
|
||||
export type Mutation = {
|
||||
__typename?: 'Mutation';
|
||||
login: AuthUser;
|
||||
logout: Scalars['Boolean']['output'];
|
||||
/** User account login */
|
||||
accountLogin: AuthUser;
|
||||
/** User account logout */
|
||||
accountLogout: Scalars['Boolean']['output'];
|
||||
/** Verify email token */
|
||||
accountVerifyEmail: Scalars['Boolean']['output'];
|
||||
};
|
||||
|
||||
|
||||
export type MutationLoginArgs = {
|
||||
export type MutationAccountLoginArgs = {
|
||||
email: Scalars['String']['input'];
|
||||
pwd: Scalars['String']['input'];
|
||||
};
|
||||
|
||||
|
||||
export type MutationAccountVerifyEmailArgs = {
|
||||
token?: InputMaybe<Scalars['String']['input']>;
|
||||
};
|
||||
|
||||
export type Query = {
|
||||
__typename?: 'Query';
|
||||
me?: Maybe<AuthUser>;
|
||||
@ -46,4 +57,4 @@ export type Query = {
|
||||
export type MeQueryVariables = Exact<{ [key: string]: never; }>;
|
||||
|
||||
|
||||
export type MeQuery = { __typename?: 'Query', me?: { __typename?: 'AuthUser', id: string, displayName: string } | null };
|
||||
export type MeQuery = { __typename?: 'Query', me?: { __typename?: 'AuthUser', id: any, name: string } | null };
|
||||
|
Loading…
Reference in New Issue
Block a user