mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-09-17 14:21:14 +00:00
[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:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user