mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-24 01:18:23 +00:00
skip name opts
This commit is contained in:
parent
856b7a26a5
commit
45ba41699b
3 changed files with 10 additions and 10 deletions
|
|
@ -18,16 +18,16 @@ export class Component {
|
|||
@PrimaryGeneratedColumn('uuid')
|
||||
id: string;
|
||||
|
||||
@Column({ name: 'name' })
|
||||
@Column()
|
||||
name: string;
|
||||
|
||||
@Column({ name: 'type' })
|
||||
@Column()
|
||||
type: string;
|
||||
|
||||
@Column({ name: 'page_id' })
|
||||
pageId: string;
|
||||
|
||||
@Column({ name: 'parent', nullable: true })
|
||||
@Column({ nullable: true })
|
||||
parent: string;
|
||||
|
||||
@Column('simple-json')
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ export class EventHandler {
|
|||
@PrimaryGeneratedColumn('uuid')
|
||||
id: string;
|
||||
|
||||
@Column({ name: 'name' })
|
||||
@Column()
|
||||
name: string;
|
||||
|
||||
@Column()
|
||||
|
|
@ -34,7 +34,7 @@ export class EventHandler {
|
|||
@Column({ name: 'source_id' })
|
||||
sourceId: string;
|
||||
|
||||
@Column({ name: 'target' })
|
||||
@Column()
|
||||
target: Target;
|
||||
|
||||
@Column({ name: 'app_version_id' })
|
||||
|
|
|
|||
|
|
@ -6,19 +6,19 @@ export class Layout {
|
|||
@PrimaryGeneratedColumn('uuid')
|
||||
id: string;
|
||||
|
||||
@Column({ type: 'enum', enumName: 'layout_type', name: 'type', enum: ['desktop', 'mobile'] })
|
||||
@Column({ type: 'enum', enumName: 'layout_type', enum: ['desktop', 'mobile'] })
|
||||
type: string;
|
||||
|
||||
@Column({ name: 'top', type: 'double precision' })
|
||||
@Column({ type: 'double precision' })
|
||||
top: number;
|
||||
|
||||
@Column({ name: 'left', type: 'double precision' })
|
||||
@Column({ type: 'double precision' })
|
||||
left: number;
|
||||
|
||||
@Column({ name: 'width', type: 'double precision' })
|
||||
@Column({ type: 'double precision' })
|
||||
width: number;
|
||||
|
||||
@Column({ name: 'height', type: 'double precision' })
|
||||
@Column({ type: 'double precision' })
|
||||
height: number;
|
||||
|
||||
@Column({ name: 'component_id' })
|
||||
|
|
|
|||
Loading…
Reference in a new issue