mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-28 11:00:55 +03:00
37 lines
764 B
TypeScript
37 lines
764 B
TypeScript
/* eslint-disable */
|
|
import { Entity, Column, CreateDateColumn, UpdateDateColumn, PrimaryGeneratedColumn } from 'typeorm'
|
|
import { IChatFlow } from '../../Interface'
|
|
|
|
@Entity()
|
|
export class ChatFlow implements IChatFlow {
|
|
@PrimaryGeneratedColumn('uuid')
|
|
id: string
|
|
|
|
@Column()
|
|
name: string
|
|
|
|
@Column({ type: 'text' })
|
|
flowData: string
|
|
|
|
@Column({ nullable: true })
|
|
deployed?: boolean
|
|
|
|
@Column({ nullable: true })
|
|
isPublic?: boolean
|
|
|
|
@Column({ nullable: true })
|
|
apikeyid?: string
|
|
|
|
@Column({ nullable: true, type: 'text' })
|
|
chatbotConfig?: string
|
|
|
|
@Column({ nullable: true, type: 'text' })
|
|
apiConfig?: string
|
|
|
|
@CreateDateColumn()
|
|
createdDate: Date
|
|
|
|
@UpdateDateColumn()
|
|
updatedDate: Date
|
|
}
|