feat: implement getAppsByIds method
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
*/
|
||||
export class ArgumentValidator {
|
||||
/**
|
||||
* @method isNullOrWhiteSpace - Determines if the value is null, undefined, or a string that contains only whitespace characters.
|
||||
* @param {string} value - The value to validate.
|
||||
* @returns {boolean} - True if the value is null, undefined, or a string that contains only whitespace characters; otherwise, false.
|
||||
*/
|
||||
@@ -11,6 +12,7 @@ export class ArgumentValidator {
|
||||
}
|
||||
|
||||
/**
|
||||
* @method isValidUrl - Determines if the value is a valid URL.
|
||||
* @param {string} value - The value to validate.
|
||||
* @returns {boolean} - True if the value is a valid URL; otherwise, false.
|
||||
*/
|
||||
@@ -31,6 +33,7 @@ export class ArgumentValidator {
|
||||
}
|
||||
|
||||
/**
|
||||
* @method isValidPageSize - Determines if the value is a valid page size.
|
||||
* @param {number} value - The value to validate.
|
||||
* @returns {boolean} - True if the value is a valid page size; otherwise, false.
|
||||
* @remarks - A valid page size is a number greater than 0 and less than or equal to 1000.
|
||||
@@ -44,6 +47,7 @@ export class ArgumentValidator {
|
||||
}
|
||||
|
||||
/**
|
||||
* @method isValidPageNumber - Determines if the value is a valid page number.
|
||||
* @param {number} value - The value to validate.
|
||||
* @returns {boolean} - True if the value is a valid page number; otherwise, false.
|
||||
* @remarks - A valid page number is a number greater than 0.
|
||||
|
||||
Reference in New Issue
Block a user