mirror of
https://github.com/hazemKrimi/crimson-quirks-ui.git
synced 2026-05-01 18:20:28 +00:00
Update gql types
This commit is contained in:
+64
-20
@@ -330,6 +330,70 @@ export type UserResponseModel = {
|
|||||||
role: Scalars['String'];
|
role: Scalars['String'];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export type GetAllUsersQueryVariables = Exact<{ [key: string]: never; }>;
|
||||||
|
|
||||||
|
|
||||||
|
export type GetAllUsersQuery = (
|
||||||
|
{ __typename?: 'QueryRoot' }
|
||||||
|
& { getAllUsers: Array<(
|
||||||
|
{ __typename?: 'UserResponseModel' }
|
||||||
|
& Pick<UserResponseModel, 'id' | 'email' | 'firstName' | 'lastName' | 'role'>
|
||||||
|
& { phone: (
|
||||||
|
{ __typename?: 'PhoneModel' }
|
||||||
|
& Pick<PhoneModel, 'prefix' | 'number'>
|
||||||
|
), address: (
|
||||||
|
{ __typename?: 'AddressModel' }
|
||||||
|
& Pick<AddressModel, 'place' | 'city' | 'country' | 'zip'>
|
||||||
|
) }
|
||||||
|
)> }
|
||||||
|
);
|
||||||
|
|
||||||
|
export type GetUserByIdQueryVariables = Exact<{
|
||||||
|
id: Scalars['String'];
|
||||||
|
}>;
|
||||||
|
|
||||||
|
|
||||||
|
export type GetUserByIdQuery = (
|
||||||
|
{ __typename?: 'QueryRoot' }
|
||||||
|
& { getUserById: (
|
||||||
|
{ __typename?: 'UserResponseModel' }
|
||||||
|
& Pick<UserResponseModel, 'id' | 'email' | 'firstName' | 'lastName' | 'role'>
|
||||||
|
& { phone: (
|
||||||
|
{ __typename?: 'PhoneModel' }
|
||||||
|
& Pick<PhoneModel, 'prefix' | 'number'>
|
||||||
|
), address: (
|
||||||
|
{ __typename?: 'AddressModel' }
|
||||||
|
& Pick<AddressModel, 'place' | 'city' | 'country' | 'zip'>
|
||||||
|
) }
|
||||||
|
) }
|
||||||
|
);
|
||||||
|
|
||||||
|
export type CreateUserMutationVariables = Exact<{
|
||||||
|
email: Scalars['String'];
|
||||||
|
password: Scalars['String'];
|
||||||
|
firstName: Scalars['String'];
|
||||||
|
lastName: Scalars['String'];
|
||||||
|
phone: PhoneInputModel;
|
||||||
|
address: AddressInputModel;
|
||||||
|
role: Role;
|
||||||
|
}>;
|
||||||
|
|
||||||
|
|
||||||
|
export type CreateUserMutation = (
|
||||||
|
{ __typename?: 'MutationRoot' }
|
||||||
|
& { createUser: (
|
||||||
|
{ __typename?: 'UserResponseModel' }
|
||||||
|
& Pick<UserResponseModel, 'id' | 'email' | 'firstName' | 'lastName' | 'role'>
|
||||||
|
& { phone: (
|
||||||
|
{ __typename?: 'PhoneModel' }
|
||||||
|
& Pick<PhoneModel, 'prefix' | 'number'>
|
||||||
|
), address: (
|
||||||
|
{ __typename?: 'AddressModel' }
|
||||||
|
& Pick<AddressModel, 'place' | 'city' | 'country' | 'zip'>
|
||||||
|
) }
|
||||||
|
) }
|
||||||
|
);
|
||||||
|
|
||||||
export type SignupMutationVariables = Exact<{
|
export type SignupMutationVariables = Exact<{
|
||||||
email: Scalars['String'];
|
email: Scalars['String'];
|
||||||
password: Scalars['String'];
|
password: Scalars['String'];
|
||||||
@@ -488,26 +552,6 @@ export type DeleteUserMutation = (
|
|||||||
) }
|
) }
|
||||||
);
|
);
|
||||||
|
|
||||||
export type GetUserByIdQueryVariables = Exact<{
|
|
||||||
id: Scalars['String'];
|
|
||||||
}>;
|
|
||||||
|
|
||||||
|
|
||||||
export type GetUserByIdQuery = (
|
|
||||||
{ __typename?: 'QueryRoot' }
|
|
||||||
& { getUserById: (
|
|
||||||
{ __typename?: 'UserResponseModel' }
|
|
||||||
& Pick<UserResponseModel, 'id' | 'email' | 'firstName' | 'lastName' | 'role'>
|
|
||||||
& { phone: (
|
|
||||||
{ __typename?: 'PhoneModel' }
|
|
||||||
& Pick<PhoneModel, 'prefix' | 'number'>
|
|
||||||
), address: (
|
|
||||||
{ __typename?: 'AddressModel' }
|
|
||||||
& Pick<AddressModel, 'place' | 'city' | 'country' | 'zip'>
|
|
||||||
) }
|
|
||||||
) }
|
|
||||||
);
|
|
||||||
|
|
||||||
export type GetCountryCodesQueryVariables = Exact<{ [key: string]: never; }>;
|
export type GetCountryCodesQueryVariables = Exact<{ [key: string]: never; }>;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user