ACS-8055 update interface

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