UNPKG

@datatr-ux/ovhcloud-types

Version:

TypeScript types for OVHCloud projects

22 lines 715 B
/** Describe all rules for a given field */ export interface CreationRule { /** Default value of the field */ defaultValue?: string; /** Examples of values for the fields */ examples?: string[]; /** Name of the field */ fieldName?: string; /** List of allowed values for the field */ in?: string[]; /** Whether the field is mandatory */ mandatory: boolean; /** Maximum length of the field */ maxLength?: number; /** Minimum length of the field */ minLength?: number; /** Prefix of the field value */ prefix?: string; /** Regular expression to validate the field value */ regularExpression?: string; } //# sourceMappingURL=CreationRule.d.ts.map