@ttahub/common 2.2.19 → 2.2.21
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 +6 -0
- package/package.json +1 -1
- package/src/constants.js +18 -4
package/README.md
CHANGED
package/package.json
CHANGED
package/src/constants.js
CHANGED
|
@@ -113,6 +113,18 @@ const DEPRECATED_REASONS = [
|
|
|
113
113
|
|
|
114
114
|
exports.DEPRECATED_REASONS = DEPRECATED_REASONS;
|
|
115
115
|
|
|
116
|
+
const PRIORITY_INDICATORS = [
|
|
117
|
+
'Child incidents',
|
|
118
|
+
'Deficiency',
|
|
119
|
+
'DRS',
|
|
120
|
+
'FEI',
|
|
121
|
+
'New recipient',
|
|
122
|
+
'New staff',
|
|
123
|
+
'No TTA',
|
|
124
|
+
];
|
|
125
|
+
|
|
126
|
+
exports.PRIORITY_INDICATORS = PRIORITY_INDICATORS;
|
|
127
|
+
|
|
116
128
|
const REPORT_STATUSES = {
|
|
117
129
|
DRAFT: 'draft',
|
|
118
130
|
DELETED: 'deleted',
|
|
@@ -427,15 +439,17 @@ exports.DISALLOWED_URLS = DISALLOWED_URLS;
|
|
|
427
439
|
const VALID_URL_REGEX = /(?<url>(?<scheme>http(?:s)?):\/\/(?:(?<user>[a-zA-Z0-9._]+)(?:[:](?<password>[a-zA-Z0-9%._\+~#=]+))?[@])?(?:(?:www\.)?(?<host>[-a-zA-Z0-9%._\+~#=]{1,}\.[a-z]{2,6})|(?<ip>(?:[0-9]{1,3}\.){3}[0-9]{1,3}))(?:[:](?<port>[0-9]+))?(?:[\/](?<path>[-a-zA-Z0-9'@:%_\+.,~#&\/=()]*[-a-zA-Z0-9@:%_\+.~#&\/=()])?)?(?:[?](?<query>[-a-zA-Z0-9@:%_\+.~#&\/=()]*))*)/ig;
|
|
428
440
|
exports.VALID_URL_REGEX = VALID_URL_REGEX;
|
|
429
441
|
|
|
430
|
-
const
|
|
442
|
+
const TRACE_IDS = {
|
|
431
443
|
TRAINING: 'training',
|
|
432
444
|
TECHNICAL_ASSISTANCE: 'technical-assistance',
|
|
433
445
|
BOTH: 'both',
|
|
446
|
+
ACTIVE_DEFICIENCIES_WITH_TTA_SUPPORT: 'active-deficiencies-with-tta-support',
|
|
447
|
+
ALL_ACTIVE_DEFICIENCIES: 'all-active-deficiencies',
|
|
434
448
|
};
|
|
435
|
-
|
|
436
|
-
|
|
449
|
+
|
|
450
|
+
exports.TRACE_IDS = TRACE_IDS;
|
|
437
451
|
|
|
438
|
-
|
|
452
|
+
const COLLAB_REPORT_PARTICIPANTS = [
|
|
439
453
|
"Child Care and Development Fund",
|
|
440
454
|
"Child care licensing",
|
|
441
455
|
"Child Care Training and Technical Assistance Network",
|