/
githubmirror
/
novu
Обзор
Документация
Войти
/
githubmirror
/
novu
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
next
apps/api/src/app/integrations/usecases/remove-integration/remove-integration.command.ts
13 строк
371 B
Dima Grossman
fix(api-service): scope integration mutations to API key environment fixes NV-7989 (#11480)
09 июн 2026, 11:17
Не верифицирован
09 июн 2026, 11:17
3d9bbdc
Код
Авторство
О чём код?
import { IsBoolean, IsDefined, IsMongoId, IsOptional } from 'class-validator'; import { EnvironmentWithUserCommand } from '../../../shared/commands/project.command'; export class RemoveIntegrationCommand extends EnvironmentWithUserCommand { @IsDefined() @IsMongoId() integrationId: string; @IsOptional() @IsBoolean() restrictToUserEnvironment?: boolean; }