UNPKG

@altostra/core

Version:

Core library for shared types and logic

18 lines (17 loc) 713 B
import type { NaturalNumber } from "../../common/CustomTypes/Numerics"; export interface TemplateParameter { AllowedPattern?: string; AllowedValues?: any[]; ConstraintDescription?: string; Default?: any; Description?: string; MaxLength?: NaturalNumber | 0; MaxValue?: number; MinLength?: NaturalNumber | 0; MinValue?: number; NoEcho?: boolean; Type: string; } export declare type SamTemplateParameter = TemplateParameter; export declare const isTemplateParameter: import("@altostra/type-validations").ObjectOfTypeValidation<TemplateParameter>; export declare const isSamTemplateParameter: import("@altostra/type-validations").ObjectOfTypeValidation<TemplateParameter>;