feat: implement getAppsByIds method

This commit is contained in:
StevanFreeborn
2023-02-02 20:24:20 -06:00
parent d00683ea3c
commit a38a6240bd
10 changed files with 334 additions and 23 deletions
+4
View File
@@ -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.