2
0
Files
bot/packages/models/publicTypebot.ts

22 lines
433 B
TypeScript
Raw Normal View History

2022-06-11 07:27:38 +02:00
import { Group, Edge, Settings, Theme, Variable } from './typebot'
2022-01-06 09:40:56 +01:00
import { PublicTypebot as PublicTypebotFromPrisma } from 'db'
export type PublicTypebot = Omit<
PublicTypebotFromPrisma,
2022-06-11 07:27:38 +02:00
| 'groups'
2022-03-09 15:12:00 +01:00
| 'theme'
| 'settings'
| 'variables'
| 'edges'
| 'createdAt'
| 'updatedAt'
2022-01-06 09:40:56 +01:00
> & {
2022-06-11 07:27:38 +02:00
groups: Group[]
variables: Variable[]
edges: Edge[]
theme: Theme
settings: Settings
2022-03-09 15:12:00 +01:00
createdAt: string
updatedAt: string
2022-01-06 09:40:56 +01:00
}