♻️ Remove @typebot.io/schemas from @typebot.io/lib
This commit is contained in:
@@ -16,8 +16,8 @@ import {
|
||||
Thead,
|
||||
Tr,
|
||||
} from '@chakra-ui/react'
|
||||
import { proChatTiers } from '@typebot.io/lib/billing/constants'
|
||||
import { formatPrice } from '@typebot.io/lib/billing/formatPrice'
|
||||
import { proChatTiers } from '@typebot.io/billing/constants'
|
||||
import { formatPrice } from '@typebot.io/billing/formatPrice'
|
||||
|
||||
type Props = {
|
||||
isOpen: boolean
|
||||
|
||||
@@ -3,7 +3,7 @@ import { HelpCircleIcon } from 'assets/icons/HelpCircleIcon'
|
||||
import Link from 'next/link'
|
||||
import React from 'react'
|
||||
import { PricingCard } from './PricingCard'
|
||||
import { chatsLimits } from '@typebot.io/lib/billing/constants'
|
||||
import { chatsLimits } from '@typebot.io/billing/constants'
|
||||
|
||||
export const FreePlanCard = () => (
|
||||
<PricingCard
|
||||
|
||||
@@ -20,12 +20,8 @@ import { Plan } from '@typebot.io/prisma'
|
||||
import Link from 'next/link'
|
||||
import React from 'react'
|
||||
import { parseNumberWithCommas } from '@typebot.io/lib'
|
||||
import {
|
||||
chatsLimits,
|
||||
prices,
|
||||
seatsLimits,
|
||||
} from '@typebot.io/lib/billing/constants'
|
||||
import { formatPrice } from '@typebot.io/lib/billing/formatPrice'
|
||||
import { chatsLimits, prices, seatsLimits } from '@typebot.io/billing/constants'
|
||||
import { formatPrice } from '@typebot.io/billing/formatPrice'
|
||||
|
||||
type Props = {
|
||||
onChatsTiersClick: () => void
|
||||
|
||||
@@ -11,7 +11,7 @@ import {
|
||||
import * as React from 'react'
|
||||
import { CheckCircleIcon } from '../../../assets/icons/CheckCircleIcon'
|
||||
import { Card, CardProps } from './Card'
|
||||
import { formatPrice } from '@typebot.io/lib/billing/formatPrice'
|
||||
import { formatPrice } from '@typebot.io/billing/formatPrice'
|
||||
|
||||
export interface PricingCardData {
|
||||
features: React.ReactNode[]
|
||||
|
||||
@@ -11,7 +11,7 @@ import { HelpCircleIcon } from 'assets/icons/HelpCircleIcon'
|
||||
import { Plan } from '@typebot.io/prisma'
|
||||
import React from 'react'
|
||||
import { PricingCard } from './PricingCard'
|
||||
import { prices, seatsLimits } from '@typebot.io/lib/billing/constants'
|
||||
import { prices, seatsLimits } from '@typebot.io/billing/constants'
|
||||
|
||||
type Props = {
|
||||
onChatsTiersClick: () => void
|
||||
|
||||
@@ -4,7 +4,7 @@ import { Plan } from '@typebot.io/prisma'
|
||||
import Link from 'next/link'
|
||||
import React from 'react'
|
||||
import { PricingCard } from './PricingCard'
|
||||
import { prices, seatsLimits } from '@typebot.io/lib/billing/constants'
|
||||
import { prices, seatsLimits } from '@typebot.io/billing/constants'
|
||||
|
||||
export const StarterPlanCard = () => {
|
||||
return (
|
||||
|
||||
@@ -22,7 +22,8 @@
|
||||
"framer-motion": "10.12.20",
|
||||
"next": "14.1.0",
|
||||
"react": "18.2.0",
|
||||
"react-dom": "18.2.0"
|
||||
"react-dom": "18.2.0",
|
||||
"@typebot.io/billing": "workspace:*"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "7.22.9",
|
||||
|
||||
Reference in New Issue
Block a user