/
githubmirror
/
novu
Обзор
Документация
Войти
/
githubmirror
/
novu
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
next
libs/application-generic/src/value-objects/json-schema.ts
41 строка
1 KB
GalTidhar
fix(api-service): move workflow dto from shared to api (#8009)
23 апр 2025, 12:25
Не верифицирован
23 апр 2025, 12:25
9f0ed4e
Код
Авторство
О чём код?
import { JsonSchemaFormatEnum, JsonSchemaTypeEnum } from '@novu/dal'; export class JSONSchema { type?: JsonSchemaTypeEnum; format?: JsonSchemaFormatEnum; title?: string; description?: string; default?: any; const?: any; minimum?: number; maximum?: number; exclusiveMinimum?: boolean; exclusiveMaximum?: boolean; minLength?: number; maxLength?: number; pattern?: string; minItems?: number; maxItems?: number; uniqueItems?: boolean; items?: JSONSchema; required?: string[]; properties?: Record<string, JSONSchema>; additionalProperties?: JSONSchema | boolean; enum?: any[]; allOf?: JSONSchema[]; anyOf?: JSONSchema[]; oneOf?: JSONSchema[]; not?: JSONSchema; if?: JSONSchema; then?: JSONSchema; else?: JSONSchema; contentEncoding?: string; contentMediaType?: string; dependentRequired?: Record<string, string[]>; dependentSchemas?: Record<string, JSONSchema>; $schema?: string; $id?: string; contentSchema?: JSONSchema; examples?: any[]; multipleOf?: number; }