UNPKG

@atlasrender/render-plugin

Version:

Atlas Render Farm Manager plugin system.

30 lines (29 loc) 728 B
import PluginSetting from "./PluginSetting"; /** * StringField - class, designed to create string plugin setting. * @class * @author Danil Andreev */ export default class StringField extends PluginSetting { /** * min - minimal string length. */ readonly min: number; /** * max - maximal string length. */ readonly max: number; /** * default - default value. */ readonly default: string; /** * Creates an instance of StringField. * @param setting - Object with payload to construct entity. * @throws ValidationError * @author Danil Andreev */ constructor(setting: any); validatePayload(payload: any): string; getJSON(): object; }