[ACS-8951] [E2E] tags and categories e2es added in ACA (#4210)

* [ACS-8951] [E2E] tags and categories e2es added in ACA

* [ACS-8951] sonar fix 1

* [ACS-8951] added tag deletion in afterAll

* [ACS-8951] added tag deletion

* [ACS-8951] sonar fix 2

* [ACS-8951] review fix 1

* [ACS-8951] Small code cleanup

* [ACS-8951] review fix 2

* [ACS-8951] review fix 3
This commit is contained in:
Adam Świderski
2024-11-06 08:54:17 +01:00
committed by GitHub
parent b68db2e7c5
commit 62f38ee8a6
3 changed files with 228 additions and 21 deletions

View File

@@ -22,7 +22,7 @@
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
*/
import { TagBody, TagEntry } from '@alfresco/js-api';
import { TagBody, TagEntry, TagPaging } from '@alfresco/js-api';
import { ApiClientFactory } from './api-client-factory';
export class TagsApi {
@@ -63,4 +63,13 @@ export class TagsApi {
console.error(error);
}
}
async listTagsForNode(nodeId: string): Promise<TagPaging> {
try {
return this.apiService.tagsApi.listTagsForNode(nodeId);
} catch (error) {
console.error(error);
return null;
}
}
}