mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-19 17:14:57 +00:00
[MIGRATION] - Fixed type
This commit is contained in:
parent
3e07ed22a7
commit
0f9956cbf3
@ -276,7 +276,7 @@ export class AttachFileCloudWidgetComponent extends UploadCloudWidgetComponent i
|
|||||||
}
|
}
|
||||||
|
|
||||||
isRetrieveMetadataOptionEnabled(): boolean {
|
isRetrieveMetadataOptionEnabled(): boolean {
|
||||||
return this.field?.params?.menuOptions && this.field.params.menuOptions[RETRIEVE_METADATA_OPTION];
|
return this.field?.params?.menuOptions?.[RETRIEVE_METADATA_OPTION];
|
||||||
}
|
}
|
||||||
|
|
||||||
isValidAlias(alias: string): boolean {
|
isValidAlias(alias: string): boolean {
|
||||||
|
@ -28,7 +28,6 @@ describe('FormUtilsService', () => {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Test the getRestUrlVariablesMap method
|
* Test the getRestUrlVariablesMap method
|
||||||
*
|
|
||||||
* @param restUrl The rest URL for getRestUrlVariablesMap
|
* @param restUrl The rest URL for getRestUrlVariablesMap
|
||||||
* @param inputBody The input body for getRestUrlVariablesMap
|
* @param inputBody The input body for getRestUrlVariablesMap
|
||||||
* @param expected The expected result of getRestUrlVariablesMap
|
* @param expected The expected result of getRestUrlVariablesMap
|
||||||
|
@ -55,7 +55,6 @@ export class ProcessListCloudService extends BaseCloudService {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Finds a process using an object with optional query properties.
|
* Finds a process using an object with optional query properties.
|
||||||
*
|
|
||||||
* @deprecated From Activiti 8.7.0 forward, use ProcessListCloudService.fetchProcessList instead.
|
* @deprecated From Activiti 8.7.0 forward, use ProcessListCloudService.fetchProcessList instead.
|
||||||
* @param requestNode Query object
|
* @param requestNode Query object
|
||||||
* @param queryUrl Query url
|
* @param queryUrl Query url
|
||||||
@ -71,7 +70,6 @@ export class ProcessListCloudService extends BaseCloudService {
|
|||||||
/**
|
/**
|
||||||
* Available from Activiti version 8.7.0 onwards.
|
* Available from Activiti version 8.7.0 onwards.
|
||||||
* Retrieves a list of processes using an object with optional query properties.
|
* Retrieves a list of processes using an object with optional query properties.
|
||||||
*
|
|
||||||
* @param requestNode Query object
|
* @param requestNode Query object
|
||||||
* @param queryUrl Query url
|
* @param queryUrl Query url
|
||||||
* @returns List of processes
|
* @returns List of processes
|
||||||
@ -166,7 +164,6 @@ export class ProcessListCloudService extends BaseCloudService {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Finds a process using an object with optional query properties.
|
* Finds a process using an object with optional query properties.
|
||||||
*
|
|
||||||
* @param appName app name
|
* @param appName app name
|
||||||
* @param status filter status
|
* @param status filter status
|
||||||
* @returns Total items
|
* @returns Total items
|
||||||
@ -208,7 +205,6 @@ export class ProcessListCloudService extends BaseCloudService {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Finds a process using an object with optional query properties in admin app.
|
* Finds a process using an object with optional query properties in admin app.
|
||||||
*
|
|
||||||
* @param requestNode Query object
|
* @param requestNode Query object
|
||||||
* @param queryUrl Query url
|
* @param queryUrl Query url
|
||||||
* @returns Process information
|
* @returns Process information
|
||||||
|
@ -56,7 +56,6 @@ export class ProcessTaskListCloudService extends BaseCloudService {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Retrieves a list of tasks using an object with optional query properties.
|
* Retrieves a list of tasks using an object with optional query properties.
|
||||||
*
|
|
||||||
* @param requestNode Query object
|
* @param requestNode Query object
|
||||||
* @param queryUrl Query url
|
* @param queryUrl Query url
|
||||||
* @returns List of tasks
|
* @returns List of tasks
|
||||||
|
@ -178,7 +178,7 @@ export abstract class BaseTaskListCloudComponent<T = unknown>
|
|||||||
pagination: BehaviorSubject<PaginationModel>;
|
pagination: BehaviorSubject<PaginationModel>;
|
||||||
|
|
||||||
requestNode: TaskQueryCloudRequestModel;
|
requestNode: TaskQueryCloudRequestModel;
|
||||||
rows: unknown[] = [];
|
rows = [];
|
||||||
size: number;
|
size: number;
|
||||||
skipCount: number = 0;
|
skipCount: number = 0;
|
||||||
currentInstanceId: string;
|
currentInstanceId: string;
|
||||||
@ -299,7 +299,6 @@ export abstract class BaseTaskListCloudComponent<T = unknown>
|
|||||||
/**
|
/**
|
||||||
* Resets the pagination values and
|
* Resets the pagination values and
|
||||||
* Reloads the task list
|
* Reloads the task list
|
||||||
*
|
|
||||||
* @param pagination Pagination values to be set
|
* @param pagination Pagination values to be set
|
||||||
*/
|
*/
|
||||||
updatePagination(pagination: PaginationModel) {
|
updatePagination(pagination: PaginationModel) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user