♻️ Re-organize workspace folders
This commit is contained in:
@@ -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 (
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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'
|
||||
|
||||
@@ -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'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user