ACS-8055 update interface

This commit is contained in:
Darya Balvanovich
2024-06-13 01:44:51 +02:00
parent ccbae20787
commit 5ece7cefbb
3 changed files with 4 additions and 4 deletions
@@ -245,7 +245,7 @@ export class NodesApiService {
*
* @param nodeId ID of the target node
* @param options Optional parameters supported by JS-API
* @returns List of assigned holds
* @returns List of assigned holds Observable<Hold[]>
*/
getNodeAssignHolds(nodeId: string, options?: any): Observable<Hold[]> {
const queryOptions = Object.assign({ where: `(assocType='rma:frozenContent')` }, options);
@@ -34,11 +34,11 @@ export class LegalHoldService {
constructor(private apiService: AlfrescoApiService) {}
/**
* Gets the list of holds assigned to the node.
* Gets the list of holds.
*
* @param filePlanId The identifier of a file plan. You can also use the -filePlan- alias.
* @param options Optional parameters supported by JS-API
* @returns List of assigned holds Hold[]
* @returns List of holds Observable<Hold[]>
*/
getHolds(filePlanId: string, options?: ContentPagingQuery): Observable<Hold[]> {
return from(this.legalHoldApi.getHolds(filePlanId, options)).pipe(
@@ -16,8 +16,8 @@
*/
export interface Hold {
id: string;
name: string;
id?: string;
reason?: string;
description?: string;
selected?: boolean;