mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[AAE-7100] ESLint support for ADF Core and DemoShell projects (#7481)
* remove tsconfig.base as per eslint schematics * add schematics * upgrade demoshell to eslint * fix eslint issues for demoshell * integrate eslint for ADF core and fix some issues * turn into warn * fix code * workaround for Chrome clipboard issue * exclude e2e tests * exclude e2e
This commit is contained in:
@@ -24,14 +24,14 @@ import { Observable, Subject } from 'rxjs';
|
||||
interface ProcessServiceData {
|
||||
rest: {
|
||||
fields: Array<{
|
||||
processId?: string,
|
||||
taskId?: string,
|
||||
fieldId?: string,
|
||||
processId?: string;
|
||||
taskId?: string;
|
||||
fieldId?: string;
|
||||
values?: Array<{
|
||||
id: string,
|
||||
name: string
|
||||
}>
|
||||
}>
|
||||
id: string;
|
||||
name: string;
|
||||
}>;
|
||||
}>;
|
||||
};
|
||||
}
|
||||
//
|
||||
@@ -84,7 +84,7 @@ export class InMemoryFormService extends FormService {
|
||||
const form = new FormModel(flattenForm, formValues, readOnly, this, prefixedSpace);
|
||||
if (!json.fields) {
|
||||
form.outcomes = [
|
||||
new FormOutcomeModel(<any> form, {
|
||||
new FormOutcomeModel(form, {
|
||||
id: '$save',
|
||||
name: FormOutcomeModel.SAVE_ACTION,
|
||||
isSystem: true
|
||||
|
Reference in New Issue
Block a user