/
dimamir
/
undb
Обзор
Документация
Войти
/
dimamir
/
undb
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
develop
packages/commands/src/create-table-field.command.ts
16 строк
508 B
nichenqin
feat: create field modal
25 май 2024, 11:25
25 май 2024, 11:25
54659d3
Код
Авторство
О чём код?
import { Command, type CommandProps } from "@undb/domain" import { createTableFieldDTO, type ICreateTableFieldDTO } from "@undb/table" import { z } from "@undb/zod" export const createTableFieldCommand = createTableFieldDTO export type ICreateFieldCommand = z.infer<typeof createTableFieldCommand> export class CreateTableFieldCommand extends Command { public readonly input: ICreateTableFieldDTO constructor(props: CommandProps<ICreateTableFieldDTO>) { super(props) this.input = props } }