Removing Prisma and Grapql-nestjs-prisma resolvers (#2574)
* Some cleaning * Fix seeds * Fix all sign in, sign up flow and apiKey optimistic rendering * Fix
This commit is contained in:
@ -1,8 +1,8 @@
|
||||
import { ApiKey } from '~/generated/graphql';
|
||||
import { ApiKey } from '@/settings/developers/types/ApiKey';
|
||||
|
||||
type MockedApiKey = Pick<
|
||||
ApiKey,
|
||||
'id' | 'name' | 'createdAt' | 'updatedAt' | 'expiresAt' | '__typename'
|
||||
'id' | 'name' | 'createdAt' | 'updatedAt' | 'expiresAt'
|
||||
>;
|
||||
export const mockedApiKeys: Array<MockedApiKey> = [
|
||||
{
|
||||
@ -11,15 +11,13 @@ export const mockedApiKeys: Array<MockedApiKey> = [
|
||||
createdAt: '2023-04-26T10:12:42.33625+00:00',
|
||||
updatedAt: '2023-04-26T10:23:42.33625+00:00',
|
||||
expiresAt: '2100-11-06T23:59:59.825Z',
|
||||
__typename: 'ApiKey',
|
||||
},
|
||||
{
|
||||
id: 'f7c6d736-8fcd-4e9c-ab99-28f6a9031571',
|
||||
name: 'Gmail Integration',
|
||||
createdAt: '2023-04-26T10:12:42.33625+00:00',
|
||||
updatedAt: '2023-04-26T10:23:42.33625+00:00',
|
||||
expiresAt: null,
|
||||
__typename: 'ApiKey',
|
||||
expiresAt: '2100-11-06T23:59:59.825Z',
|
||||
},
|
||||
{
|
||||
id: 'f7c6d736-8fcd-4e9c-ab99-28f6a9031572',
|
||||
@ -27,6 +25,5 @@ export const mockedApiKeys: Array<MockedApiKey> = [
|
||||
createdAt: '2023-04-26T10:12:42.33625+00:00',
|
||||
updatedAt: '2023-04-26T10:23:42.33625+00:00',
|
||||
expiresAt: '2022-11-06T23:59:59.825Z',
|
||||
__typename: 'ApiKey',
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user