@ttahub/common 1.1.4 → 1.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -0
- package/package.json +1 -1
- package/src/index.js +3 -3
package/README.md
CHANGED
|
@@ -18,6 +18,9 @@ Whenever changes to this package are made, you will need to:
|
|
|
18
18
|
If your PR depends on the latest version of this package, please don't forget to run `yarn upgrade @ttahub/common` and commit the changes to `package.json` and `yarn.lock`.
|
|
19
19
|
|
|
20
20
|
## Versions
|
|
21
|
+
### 1.1.6
|
|
22
|
+
Add suspended as an option to training report URL params and status
|
|
23
|
+
|
|
21
24
|
### 1.1.4
|
|
22
25
|
Distinguish between training report url params and training report statuses
|
|
23
26
|
|
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -119,9 +119,9 @@ const TRAINING_REPORT_STATUSES = {
|
|
|
119
119
|
exports.TRAINING_REPORT_STATUSES = TRAINING_REPORT_STATUSES;
|
|
120
120
|
|
|
121
121
|
const TRAINING_REPORT_STATUSES_URL_PARAMS = {
|
|
122
|
-
'not-started':
|
|
123
|
-
'in-progress':
|
|
124
|
-
complete:
|
|
122
|
+
'not-started': TRAINING_REPORT_STATUSES.NOT_STARTED,
|
|
123
|
+
'in-progress': TRAINING_REPORT_STATUSES.IN_PROGRESS,
|
|
124
|
+
complete: TRAINING_REPORT_STATUSES.COMPLETE,
|
|
125
125
|
};
|
|
126
126
|
|
|
127
127
|
exports.TRAINING_REPORT_STATUSES_URL_PARAMS = TRAINING_REPORT_STATUSES_URL_PARAMS;
|