/** * A String property. This will validate and render the value * * @module ArrayProp */ import BaseProp from "./BaseProp"; /** * A String property. This will validate and render the value */ export default class ArrayProp extends BaseProp { protected symbols: any; protected parentObj: any; /** * * @param {any} node The node being managed * @param {string} name The name of the node * @param {any} symbols The entire symbol tree so that references can be identified * @param {any} parentObj The immediate parent in the symbol tree */ constructor(node: any, name: string, symbols: any, parentObj: any); /** * The class name for the items in the array, if any */ class?: any; /** * What the types of the array are allowed to be */ items?: any; /** * Checks if array contains all values from the given array of values. */ contains?: any[]; /** * Checks if array does not contain any of the given values. */ notContains?: any[]; /** * Checks if array's length is as minimal this number. */ minLength?: number; /** * Checks if array's length is as maximal this number. */ maxLength?: number; /** * Checks if all array's values are unique. Comparison for objects is reference-based. */ arrayUnique?: boolean; /** * The template to render this type */ readonly prop: string; /** * Returns a string array of needed imports */ imports(): string[]; /** * Things like extra classes and enums that need to be at the top level of the module */ headers(): string[]; } //# sourceMappingURL=ArrayProp.d.ts.map