feat: added sinon for stubbing in tests. fix: added jsdoc comments to enums. feat: begin working on implementing OnspringClient methods

This commit is contained in:
StevanFreeborn
2023-01-27 15:00:34 -06:00
parent 49ab392964
commit f66edb0e2a
16 changed files with 710 additions and 9 deletions
+37
View File
@@ -1,9 +1,46 @@
/**
* @enum TimeSpanIncrement - The increment values for a time span field.
*/
export enum TimeSpanIncrement {
/**
* @constant Seconds - The time span increment is seconds.
* @type {string}
*/
Seconds = 'Seconds',
/**
* @constant Minutes - The time span increment is minutes.
* @type {string}
*/
Minutes = 'Minutes',
/**
* @constant Hours - The time span increment is hours.
* @type {string}
*/
Hours = 'Hours',
/**
* @constant Days - The time span increment is days.
* @type {string}
*/
Days = 'Days',
/**
* @constant Weeks - The time span increment is weeks.
* @type {string}
*/
Weeks = 'Weeks',
/**
* @constant Months - The time span increment is months.
* @type {string}
*/
Months = 'Months',
/**
* @constant Years - The time span increment is years.
* @type {string}
*/
Years = 'Years',
}