♻️ Remove @typebot.io/schemas from @typebot.io/lib
This commit is contained in:
@ -1,11 +1,11 @@
|
||||
import { Plan, PrismaClient, WorkspaceRole } from '@typebot.io/prisma'
|
||||
import { isDefined, isEmpty } from '@typebot.io/lib'
|
||||
import { getChatsLimit } from '@typebot.io/lib/billing/getChatsLimit'
|
||||
import { getChatsLimit } from '@typebot.io/billing/getChatsLimit'
|
||||
import { promptAndSetEnvironment } from './utils'
|
||||
import { Workspace } from '@typebot.io/schemas'
|
||||
import { sendAlmostReachedChatsLimitEmail } from '@typebot.io/emails/src/emails/AlmostReachedChatsLimitEmail'
|
||||
import { TelemetryEvent } from '@typebot.io/schemas/features/telemetry'
|
||||
import { trackEvents } from '@typebot.io/lib/telemetry/trackEvents'
|
||||
import { trackEvents } from '@typebot.io/telemetry/trackEvents'
|
||||
import Stripe from 'stripe'
|
||||
import { createId } from '@paralleldrive/cuid2'
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { PrismaClient } from '@typebot.io/prisma'
|
||||
import { promptAndSetEnvironment } from './utils'
|
||||
import { archiveResults } from '@typebot.io/lib/api/helpers/archiveResults'
|
||||
import { archiveResults } from '@typebot.io/results/archiveResults'
|
||||
import { Typebot } from '@typebot.io/schemas'
|
||||
|
||||
const prisma = new PrismaClient()
|
||||
|
@ -1,9 +1,6 @@
|
||||
import Stripe from 'stripe'
|
||||
import { promptAndSetEnvironment } from './utils'
|
||||
import {
|
||||
proChatTiers,
|
||||
starterChatTiers,
|
||||
} from '@typebot.io/lib/billing/constants'
|
||||
import { proChatTiers, starterChatTiers } from '@typebot.io/billing/constants'
|
||||
|
||||
const chatsProductId = 'prod_MVXtq5sATQzIcM'
|
||||
|
||||
|
@ -9,9 +9,9 @@ import {
|
||||
resultWithAnswersSchema,
|
||||
} from '@typebot.io/schemas'
|
||||
import { byId } from '@typebot.io/lib'
|
||||
import { parseResultHeader } from '@typebot.io/lib/results/parseResultHeader'
|
||||
import { convertResultsToTableData } from '@typebot.io/lib/results/convertResultsToTableData'
|
||||
import { parseColumnsOrder } from '@typebot.io/lib/results/parseColumnsOrder'
|
||||
import { parseResultHeader } from '@typebot.io/results/parseResultHeader'
|
||||
import { convertResultsToTableData } from '@typebot.io/results/convertResultsToTableData'
|
||||
import { parseColumnsOrder } from '@typebot.io/results/parseColumnsOrder'
|
||||
import { parseUniqueKey } from '@typebot.io/lib/parseUniqueKey'
|
||||
import { unparse } from 'papaparse'
|
||||
import { z } from 'zod'
|
||||
|
@ -53,6 +53,9 @@
|
||||
"@clack/prompts": "^0.7.0",
|
||||
"@paralleldrive/cuid2": "2.2.1",
|
||||
"cli-progress": "^3.12.0",
|
||||
"papaparse": "5.4.1"
|
||||
"papaparse": "5.4.1",
|
||||
"@typebot.io/results": "workspace:*",
|
||||
"@typebot.io/billing": "workspace:*",
|
||||
"@typebot.io/telemetry": "workspace:*"
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user