♻️ Re-organize workspace folders
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import { Credentials as CredentialsFromDb } from 'db'
|
||||
import { Credentials as CredentialsFromDb } from '@typebot.io/prisma'
|
||||
import { OAuth2Client, Credentials } from 'google-auth-library'
|
||||
import { GoogleSheetsCredentials } from 'models'
|
||||
import { isDefined } from 'utils'
|
||||
import { decrypt, encrypt } from 'utils/api'
|
||||
import { GoogleSheetsCredentials } from '@typebot.io/schemas'
|
||||
import { isDefined } from '@typebot.io/lib'
|
||||
import { decrypt, encrypt } from '@typebot.io/lib/api'
|
||||
import prisma from './prisma'
|
||||
|
||||
export const oauth2Client = new OAuth2Client(
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* Instantiates a single instance PrismaClient and save it on the global object.
|
||||
* @link https://www.prisma.io/docs/support/help-articles/nextjs-prisma-client-dev-practices
|
||||
*/
|
||||
import { PrismaClient } from 'db'
|
||||
import { PrismaClient } from '@typebot.io/prisma'
|
||||
|
||||
const prismaGlobal = global as typeof global & {
|
||||
prisma?: PrismaClient
|
||||
|
||||
Reference in New Issue
Block a user