2
0

♻️ Re-organize workspace folders

This commit is contained in:
Baptiste Arnaud
2023-03-15 08:35:16 +01:00
parent 25c367901f
commit cbc8194f19
987 changed files with 2716 additions and 2770 deletions

View File

@ -5,12 +5,12 @@ import {
InputBlockType,
IntegrationBlockType,
LogicBlockType,
} from 'models'
} from '@typebot.io/schemas'
import { useBlockDnd } from '@/features/graph'
import React, { useEffect, useState } from 'react'
import { BlockIcon } from './BlockIcon'
import { isFreePlan, LockTag } from '@/features/billing'
import { Plan } from 'db'
import { Plan } from '@typebot.io/prisma'
import { useWorkspace } from '@/features/workspace'
import { BlockLabel } from './BlockLabel'

View File

@ -1,5 +1,5 @@
import { StackProps, HStack, useColorModeValue } from '@chakra-ui/react'
import { BlockType } from 'models'
import { BlockType } from '@typebot.io/schemas'
import { BlockIcon } from './BlockIcon'
import { BlockLabel } from './BlockLabel'

View File

@ -5,7 +5,7 @@ import {
IntegrationBlockType,
LogicBlockType,
BlockType,
} from 'models'
} from '@typebot.io/schemas'
import React from 'react'
import { TextBubbleIcon } from '@/features/blocks/bubbles/textBubble'
import { ImageBubbleIcon } from '@/features/blocks/bubbles/image'

View File

@ -5,7 +5,7 @@ import {
IntegrationBlockType,
LogicBlockType,
BlockType,
} from 'models'
} from '@typebot.io/schemas'
import React from 'react'
type Props = { type: BlockType }

View File

@ -16,7 +16,7 @@ import {
InputBlockType,
IntegrationBlockType,
LogicBlockType,
} from 'models'
} from '@typebot.io/schemas'
import { useBlockDnd } from '@/features/graph'
import React, { useState } from 'react'
import { BlockCard } from './BlockCard'

View File

@ -19,7 +19,7 @@ import { useTypebot } from '../providers/TypebotProvider'
import { useUser } from '@/features/account'
import { useRouter } from 'next/router'
import React, { useEffect, useState } from 'react'
import { isNotDefined } from 'utils'
import { isNotDefined } from '@typebot.io/lib'
import { EditorSettingsModal } from './EditorSettingsModal'
import { parseDefaultPublicId } from '@/features/publish'

View File

@ -18,7 +18,7 @@ import { RightPanel, useEditor } from '../../providers/EditorProvider'
import { useTypebot } from '../../providers/TypebotProvider'
import { useRouter } from 'next/router'
import React, { useState } from 'react'
import { isDefined, isNotDefined } from 'utils'
import { isDefined, isNotDefined } from '@typebot.io/lib'
import { EditableTypebotName } from './EditableTypebotName'
import { open as openSupportBubble } from '@typebot.io/js'
import Link from 'next/link'