/
githubmirror
/
novu
Обзор
Документация
Войти
/
githubmirror
/
novu
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
next
apps/api/src/app/contexts/usecases/delete-context/delete-context.command.ts
13 строк
341 B
Adam Chmara
feat(api,worker): context trigger flow fixes NV-6658 (#9150)
18 сен 2025, 11:13
Не верифицирован
18 сен 2025, 11:13
0aa6217
Код
Авторство
О чём код?
import { ContextType } from '@novu/shared'; import { IsNotEmpty, IsString } from 'class-validator'; import { EnvironmentCommand } from '../../../shared/commands/project.command'; export class DeleteContextCommand extends EnvironmentCommand { @IsString() @IsNotEmpty() id: string; @IsString() @IsNotEmpty() type: ContextType; }