graphs codegen
This commit is contained in:
parent
e378db58b8
commit
2db6053a91
@ -7,7 +7,7 @@ export const Me = gql`
|
|||||||
query Me {
|
query Me {
|
||||||
me {
|
me {
|
||||||
id
|
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; }
|
Int: { input: number; output: number; }
|
||||||
Float: { input: number; output: number; }
|
Float: { input: number; output: number; }
|
||||||
Any: { input: any; output: any; }
|
Any: { input: any; output: any; }
|
||||||
|
Int64: { input: any; output: any; }
|
||||||
Map: { input: any; output: any; }
|
Map: { input: any; output: any; }
|
||||||
Time: { input: any; output: any; }
|
Time: { input: any; output: any; }
|
||||||
|
UID: { input: any; output: any; }
|
||||||
Void: { input: any; output: any; }
|
Void: { input: any; output: any; }
|
||||||
};
|
};
|
||||||
|
|
||||||
export type AuthUser = {
|
export type AuthUser = {
|
||||||
__typename?: 'AuthUser';
|
__typename?: 'AuthUser';
|
||||||
displayName: Scalars['String']['output'];
|
|
||||||
email: Scalars['String']['output'];
|
email: Scalars['String']['output'];
|
||||||
id: Scalars['ID']['output'];
|
id: Scalars['UID']['output'];
|
||||||
|
name: Scalars['String']['output'];
|
||||||
roleID: Scalars['Int']['output'];
|
roleID: Scalars['Int']['output'];
|
||||||
};
|
};
|
||||||
|
|
||||||
export type Mutation = {
|
export type Mutation = {
|
||||||
__typename?: 'Mutation';
|
__typename?: 'Mutation';
|
||||||
login: AuthUser;
|
/** User account login */
|
||||||
logout: Scalars['Boolean']['output'];
|
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'];
|
email: Scalars['String']['input'];
|
||||||
pwd: Scalars['String']['input'];
|
pwd: Scalars['String']['input'];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
export type MutationAccountVerifyEmailArgs = {
|
||||||
|
token?: InputMaybe<Scalars['String']['input']>;
|
||||||
|
};
|
||||||
|
|
||||||
export type Query = {
|
export type Query = {
|
||||||
__typename?: 'Query';
|
__typename?: 'Query';
|
||||||
me?: Maybe<AuthUser>;
|
me?: Maybe<AuthUser>;
|
||||||
@ -46,4 +57,4 @@ export type Query = {
|
|||||||
export type MeQueryVariables = Exact<{ [key: string]: never; }>;
|
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