/
githubmirror
/
novu
Обзор
Документация
Войти
/
githubmirror
/
novu
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
next
libs/application-generic/src/usecases/get-workflow/get-workflow.command.ts
21 строка
665 B
Nikita Grossman
fix(dashboard,api-service): Critical workflow toggle does not persist fixes NV-8325 (#12007)
22 июл 2026, 20:21
Не верифицирован
22 июл 2026, 20:21
97cdb57
Код
Авторство
О чём код?
import { IsBoolean, IsDefined, IsOptional, IsString } from 'class-validator'; import { EnvironmentWithUserObjectCommand } from '../../commands'; export class GetWorkflowCommand extends EnvironmentWithUserObjectCommand { @IsString() @IsDefined() workflowIdOrInternalId: string; @IsString() @IsOptional() environmentId?: string; /** * When true, the read bypasses the WORKFLOW_PREFERENCES LRU cache so it reflects * the latest write. Callers that need read-after-write consistency (e.g. interactive * dashboard reads) must opt in explicitly. Defaults to cached reads. */ @IsBoolean() @IsOptional() skipPreferencesCache?: boolean; }