diff --git a/front/src/generated/graphql.tsx b/front/src/generated/graphql.tsx index db34421332..0605f40808 100644 --- a/front/src/generated/graphql.tsx +++ b/front/src/generated/graphql.tsx @@ -3376,11 +3376,6 @@ export type RemoveProfilePictureMutationVariables = Exact<{ export type RemoveProfilePictureMutation = { __typename?: 'Mutation', updateUser: { __typename?: 'User', id: string } }; -export type GetCurrentWorkspaceQueryVariables = Exact<{ [key: string]: never; }>; - - -export type GetCurrentWorkspaceQuery = { __typename?: 'Query', currentWorkspace: { __typename?: 'Workspace', id: string, displayName?: string | null, domainName?: string | null, logo?: string | null } }; - export type GetWorkspaceMembersQueryVariables = Exact<{ [key: string]: never; }>; @@ -5099,43 +5094,6 @@ export function useRemoveProfilePictureMutation(baseOptions?: Apollo.MutationHoo export type RemoveProfilePictureMutationHookResult = ReturnType; export type RemoveProfilePictureMutationResult = Apollo.MutationResult; export type RemoveProfilePictureMutationOptions = Apollo.BaseMutationOptions; -export const GetCurrentWorkspaceDocument = gql` - query GetCurrentWorkspace { - currentWorkspace { - id - displayName - domainName - logo - } -} - `; - -/** - * __useGetCurrentWorkspaceQuery__ - * - * To run a query within a React component, call `useGetCurrentWorkspaceQuery` and pass it any options that fit your needs. - * When your component renders, `useGetCurrentWorkspaceQuery` returns an object from Apollo Client that contains loading, error, and data properties - * you can use to render your UI. - * - * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; - * - * @example - * const { data, loading, error } = useGetCurrentWorkspaceQuery({ - * variables: { - * }, - * }); - */ -export function useGetCurrentWorkspaceQuery(baseOptions?: Apollo.QueryHookOptions) { - const options = {...defaultOptions, ...baseOptions} - return Apollo.useQuery(GetCurrentWorkspaceDocument, options); - } -export function useGetCurrentWorkspaceLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { - const options = {...defaultOptions, ...baseOptions} - return Apollo.useLazyQuery(GetCurrentWorkspaceDocument, options); - } -export type GetCurrentWorkspaceQueryHookResult = ReturnType; -export type GetCurrentWorkspaceLazyQueryHookResult = ReturnType; -export type GetCurrentWorkspaceQueryResult = Apollo.QueryResult; export const GetWorkspaceMembersDocument = gql` query GetWorkspaceMembers { workspaceMembers: findManyWorkspaceMember {