UNPKG

@iotize/ionic

Version:

Iotize specific building blocks on top of @ionic/angular.

40 lines (39 loc) 1.14 kB
import { JSONSchema7 } from 'json-schema'; export interface AppGenFieldParam { /** * JSON schema field type */ schema: JSONSchema7 | Object; } type UIComponentConstraintValue = 'YES' | 'NO' | 'WHATEVER'; /** * Only applicable to Monitoring components */ export interface MonitoringAppGenComponent { help?: string; constraints?: { /** * YES to constraint component only for number * NO to constraint on non number * WHATEVER (default) no constraint */ isNumber?: UIComponentConstraintValue; /** * YES to constraint component only for string * NO to constraint on non string * WHATEVER (default) no constraint */ isString?: UIComponentConstraintValue; /** * YES to constraint component only for array variables * NO to constraint on non array variables * WHATEVER (default) no constraint */ isArray?: UIComponentConstraintValue; }; events?: { name: string; dataType: string; }[]; } export {};