mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
fix eslint warnigs for core project (#7506)
This commit is contained in:
@@ -42,6 +42,7 @@ export class ProcessContentService {
|
||||
|
||||
/**
|
||||
* Create temporary related content from an uploaded file.
|
||||
*
|
||||
* @param file File to use for content
|
||||
* @returns The created content data
|
||||
*/
|
||||
@@ -52,6 +53,7 @@ export class ProcessContentService {
|
||||
|
||||
/**
|
||||
* Gets the metadata for a related content item.
|
||||
*
|
||||
* @param contentId ID of the content item
|
||||
* @returns Metadata for the content
|
||||
*/
|
||||
@@ -62,6 +64,7 @@ export class ProcessContentService {
|
||||
|
||||
/**
|
||||
* Gets raw binary content data for a related content file.
|
||||
*
|
||||
* @param contentId ID of the related content
|
||||
* @returns Binary data of the related content
|
||||
*/
|
||||
@@ -72,6 +75,7 @@ export class ProcessContentService {
|
||||
|
||||
/**
|
||||
* Gets the preview for a related content file.
|
||||
*
|
||||
* @param contentId ID of the related content
|
||||
* @returns Binary data of the content preview
|
||||
*/
|
||||
@@ -100,6 +104,7 @@ export class ProcessContentService {
|
||||
|
||||
/**
|
||||
* Gets a URL for direct access to a related content file.
|
||||
*
|
||||
* @param contentId ID of the related content
|
||||
* @returns URL to access the content
|
||||
*/
|
||||
@@ -109,6 +114,7 @@ export class ProcessContentService {
|
||||
|
||||
/**
|
||||
* Gets the thumbnail for a related content file.
|
||||
*
|
||||
* @param contentId ID of the related content
|
||||
* @returns Binary data of the thumbnail image
|
||||
*/
|
||||
@@ -119,6 +125,7 @@ export class ProcessContentService {
|
||||
|
||||
/**
|
||||
* Gets related content items for a task instance.
|
||||
*
|
||||
* @param taskId ID of the target task
|
||||
* @param opts Options supported by JS-API
|
||||
* @returns Metadata for the content
|
||||
@@ -130,6 +137,7 @@ export class ProcessContentService {
|
||||
|
||||
/**
|
||||
* Gets related content items for a process instance.
|
||||
*
|
||||
* @param processId ID of the target process
|
||||
* @param opts Options supported by JS-API
|
||||
* @returns Metadata for the content
|
||||
@@ -141,6 +149,7 @@ export class ProcessContentService {
|
||||
|
||||
/**
|
||||
* Deletes related content.
|
||||
*
|
||||
* @param contentId Identifier of the content to delete
|
||||
* @returns Null response that notifies when the deletion is complete
|
||||
*/
|
||||
@@ -151,6 +160,7 @@ export class ProcessContentService {
|
||||
|
||||
/**
|
||||
* Associates an uploaded file with a process instance.
|
||||
*
|
||||
* @param processInstanceId ID of the target process instance
|
||||
* @param content File to associate
|
||||
* @param opts Options supported by JS-API
|
||||
@@ -163,6 +173,7 @@ export class ProcessContentService {
|
||||
|
||||
/**
|
||||
* Associates an uploaded file with a task instance.
|
||||
*
|
||||
* @param taskId ID of the target task
|
||||
* @param file File to associate
|
||||
* @param opts Options supported by JS-API
|
||||
@@ -175,6 +186,7 @@ export class ProcessContentService {
|
||||
|
||||
/**
|
||||
* Creates a JSON representation of data.
|
||||
*
|
||||
* @param res Object representing data
|
||||
* @returns JSON object
|
||||
*/
|
||||
@@ -187,6 +199,7 @@ export class ProcessContentService {
|
||||
|
||||
/**
|
||||
* Creates a JSON array representation of data.
|
||||
*
|
||||
* @param res Object representing data
|
||||
* @returns JSON array object
|
||||
*/
|
||||
@@ -199,6 +212,7 @@ export class ProcessContentService {
|
||||
|
||||
/**
|
||||
* Reports an error message.
|
||||
*
|
||||
* @param error Data object with optional `message` and `status` fields for the error
|
||||
* @returns Callback when an error occurs
|
||||
*/
|
||||
|
Reference in New Issue
Block a user