Sammy/t refactor services use generated code (#194)
* refactor: use generated queries for Companies * refactor: remove useQuery from service, use generated code * refactor: rename to ts file instead of tsx * bugfix: use generatd queries, and fix non existing id in workspace member query
This commit is contained in:
@ -10,7 +10,7 @@ export type GraphqlQueryWorkspace = {
|
||||
displayName?: string;
|
||||
domainName?: string;
|
||||
logo?: string | null;
|
||||
__typename: string;
|
||||
__typename?: string;
|
||||
};
|
||||
|
||||
export type GraphqlMutationWorkspace = {
|
||||
@ -18,7 +18,7 @@ export type GraphqlMutationWorkspace = {
|
||||
displayName?: string;
|
||||
domainName?: string;
|
||||
logo?: string | null;
|
||||
__typename: string;
|
||||
__typename?: string;
|
||||
};
|
||||
|
||||
export const mapToWorkspace = (
|
||||
|
||||
Reference in New Issue
Block a user