♻️ Re-organize workspace folders
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import prisma from '@/lib/prisma'
|
||||
import { deleteFiles } from '@/utils/api/storage'
|
||||
import { Prisma } from 'db'
|
||||
import { InputBlockType, Typebot } from 'models'
|
||||
import { Prisma } from '@typebot.io/prisma'
|
||||
import { InputBlockType, Typebot } from '@typebot.io/schemas'
|
||||
|
||||
const batchSize = 100
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { getTypebot } from '@/features/typebot/api/utils/getTypebot'
|
||||
import { authenticatedProcedure } from '@/utils/server/trpc'
|
||||
import { TRPCError } from '@trpc/server'
|
||||
import { Typebot } from 'models'
|
||||
import { Typebot } from '@typebot.io/schemas'
|
||||
import { z } from 'zod'
|
||||
import { archiveResults } from '../archiveResults'
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { getTypebot } from '@/features/typebot/api/utils/getTypebot'
|
||||
import prisma from '@/lib/prisma'
|
||||
import { authenticatedProcedure } from '@/utils/server/trpc'
|
||||
import { logSchema } from 'models'
|
||||
import { logSchema } from '@typebot.io/schemas'
|
||||
import { z } from 'zod'
|
||||
|
||||
export const getResultLogsProcedure = authenticatedProcedure
|
||||
|
||||
@@ -2,7 +2,7 @@ import { getTypebot } from '@/features/typebot/api/utils/getTypebot'
|
||||
import prisma from '@/lib/prisma'
|
||||
import { authenticatedProcedure } from '@/utils/server/trpc'
|
||||
import { TRPCError } from '@trpc/server'
|
||||
import { ResultWithAnswers, resultWithAnswersSchema } from 'models'
|
||||
import { ResultWithAnswers, resultWithAnswersSchema } from '@typebot.io/schemas'
|
||||
import { z } from 'zod'
|
||||
|
||||
const maxLimit = 200
|
||||
|
||||
Reference in New Issue
Block a user