Cleanup process services project structure (#9838)

This commit is contained in:
Denys Vuika
2024-06-19 08:54:26 -04:00
committed by GitHub
parent 672f6347d0
commit d9c014a1f0
56 changed files with 82 additions and 140 deletions

View File

@@ -16,7 +16,7 @@
*/
import { AlfrescoApiService } from '@alfresco/adf-core';
import { Injectable } from '@angular/core';
import { inject, Injectable } from '@angular/core';
import { Observable, from, of } from 'rxjs';
import { map, catchError, flatMap, filter } from 'rxjs/operators';
import { Form } from '../models/form.model';
@@ -36,6 +36,8 @@ import {
providedIn: 'root'
})
export class TaskListService {
protected apiService = inject(AlfrescoApiService);
private _modelsApi: ModelsApi;
get modelsApi(): ModelsApi {
this._modelsApi = this._modelsApi ?? new ModelsApi(this.apiService.getInstance());
@@ -60,8 +62,6 @@ export class TaskListService {
return this._checklistsApi;
}
constructor(private apiService: AlfrescoApiService) {}
/**
* Gets all the filters in the list that belong to a task.
*