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

@@ -1,5 +1,5 @@
import React from 'react'
import { getViewerUrl, isEmpty } from 'utils'
import { getViewerUrl, isEmpty } from '@typebot.io/lib'
export const ErrorPage = ({ error }: { error: Error }) => {
return (

View File

@@ -1,9 +1,9 @@
import { gtmHeadSnippet } from '@/lib/google-tag-manager'
import { Metadata } from 'models'
import { Metadata } from '@typebot.io/schemas'
import Head from 'next/head'
import Script from 'next/script'
import React from 'react'
import { isNotEmpty } from 'utils'
import { isNotEmpty } from '@typebot.io/lib'
type SEOProps = {
url: string

View File

@@ -1,5 +1,10 @@
import { TypebotViewer } from 'bot-engine'
import { AnswerInput, PublicTypebot, Typebot, VariableWithValue } from 'models'
import {
AnswerInput,
PublicTypebot,
Typebot,
VariableWithValue,
} from '@typebot.io/schemas'
import { useRouter } from 'next/router'
import React, { useEffect, useState } from 'react'
import {
@@ -7,7 +12,7 @@ import {
isDefined,
isNotDefined,
isNotEmpty,
} from 'utils'
} from '@typebot.io/lib'
import { SEO } from './Seo'
import { ErrorPage } from './ErrorPage'
import { createResultQuery, updateResultQuery } from '@/features/results'

View File

@@ -1,5 +1,5 @@
import { Standard } from '@typebot.io/react'
import { BackgroundType, Typebot } from 'models'
import { BackgroundType, Typebot } from '@typebot.io/schemas'
import { useRouter } from 'next/router'
import { SEO } from './Seo'