/
githubmirror
/
novu
Обзор
Документация
Войти
/
githubmirror
/
novu
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
next
apps/api/src/app/environment-variables/usecases/delete-environment-variable/delete-environment-variable.command.ts
12 строк
373 B
Dima Grossman
fix(api-service): scope env variable delete and reads to API key environment fixes NV-7642 (#11894)
12 июл 2026, 15:08
Не верифицирован
12 июл 2026, 15:08
39b3bbc
Код
Авторство
О чём код?
import { OrganizationLevelWithUserCommand } from '@novu/application-generic'; import { IsBoolean, IsNotEmpty, IsOptional, IsString } from 'class-validator'; export class DeleteEnvironmentVariableCommand extends OrganizationLevelWithUserCommand { @IsString() @IsNotEmpty() variableKey: string; @IsBoolean() @IsOptional() restrictToUserEnvironment?: boolean; }