mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
[AAE-7100] migrate ADF projects to eslint (#7483)
* migrate content services to eslint * migrate insights to eslint * migrate extensions to eslint * migrate testing lib to eslint * migrate CLI to eslint * migrate process-services to eslint * migrate process-services-cloud to eslint * remove cli analytics [ci:force]
This commit is contained in:
@@ -45,7 +45,7 @@ export interface FormDefinition {
|
||||
tabs: FormTab[];
|
||||
fields: Container[] | HeaderRepresentation[];
|
||||
outcomes: FormOutcome[];
|
||||
metadata: {};
|
||||
metadata: any;
|
||||
variables: any[];
|
||||
}
|
||||
|
||||
@@ -56,7 +56,7 @@ export interface Container {
|
||||
name: string;
|
||||
numberOfColumns: number;
|
||||
fields: {
|
||||
[key: string]: FormFieldRepresentation[]
|
||||
[key: string]: FormFieldRepresentation[];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -82,7 +82,7 @@ export interface RestField extends FormField {
|
||||
export interface HeaderRepresentation extends Container {
|
||||
numberOfColumns: number;
|
||||
params: {
|
||||
[key: string]: any
|
||||
[key: string]: any;
|
||||
};
|
||||
visibilityCondition: VisibilityCondition;
|
||||
}
|
||||
@@ -123,7 +123,7 @@ export interface FormField {
|
||||
readOnly?: boolean;
|
||||
colspan: number;
|
||||
params: {
|
||||
[anyKey: string]: any
|
||||
[anyKey: string]: any;
|
||||
};
|
||||
visibilityCondition: null | VisibilityCondition;
|
||||
}
|
||||
@@ -213,6 +213,7 @@ export interface PeopleField extends FormField {
|
||||
export enum FormFieldType {
|
||||
text = 'text',
|
||||
multiline = 'multi-line-text',
|
||||
// eslint-disable-next-line id-blacklist
|
||||
number = 'integer',
|
||||
checkbox = 'boolean',
|
||||
date = 'date',
|
||||
|
Reference in New Issue
Block a user