@ttahub/common 1.1.1 → 1.1.3

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.
Files changed (3) hide show
  1. package/README.md +11 -1
  2. package/package.json +2 -2
  3. package/src/index.js +18 -0
package/README.md CHANGED
@@ -13,6 +13,16 @@ yarn add @ttahub/common
13
13
  Whenever changes to this package are made, you will need to:
14
14
 
15
15
  - Bump the version in `package.json`.
16
- - Publish the latest version of the package to npm with `npm publish`.
16
+ - Publish the latest version of the package to npm by running `npm publish` in this directory. There is also a yarn task in the root of the TTAHUB app you can run ```yarn publish:common```
17
17
 
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
+
20
+ ## Versions
21
+ ### 1.1.3
22
+
23
+ ### 1.1.2
24
+ #### 1.1.1
25
+ - Add COLLABORATOR_TRAINING_REPORTS permissions
26
+
27
+
28
+
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@ttahub/common",
3
- "version": "1.1.1",
3
+ "version": "1.1.3",
4
4
  "description": "The purpose of this package is to reduce code duplication between the frontend and backend projects.",
5
5
  "main": "src/index.js",
6
6
  "author": "",
7
7
  "license": "ISC",
8
8
  "devDependencies": {}
9
- }
9
+ }
package/src/index.js CHANGED
@@ -132,6 +132,14 @@ const TARGET_POPULATIONS = [
132
132
  ];
133
133
  exports.TARGET_POPULATIONS = TARGET_POPULATIONS;
134
134
 
135
+ const EVENT_TARGET_POPULATIONS = [
136
+ 'Children/Families affected by systemic discrimination/bias/exclusion',
137
+ 'Children/Families affected by traumatic events',
138
+ 'Parents/Families impacted by health disparities'
139
+ ];
140
+
141
+ exports.EVENT_TARGET_POPULATIONS = EVENT_TARGET_POPULATIONS;
142
+
135
143
  const USER_ROLES = [
136
144
  'Central Office',
137
145
  'Other Federal Staff',
@@ -181,6 +189,16 @@ const GOAL_SUSPEND_REASONS = [
181
189
  ];
182
190
  exports.GOAL_SUSPEND_REASONS = GOAL_SUSPEND_REASONS;
183
191
 
192
+ const GOAL_SOURCES = [
193
+ 'Federal monitoring issues, including CLASS and RANs',
194
+ 'RTTAPA development',
195
+ 'Recipient request',
196
+ 'Regional office priority',
197
+ 'Training event follow-up',
198
+ ];
199
+
200
+ exports.GOAL_SOURCES = GOAL_SOURCES;
201
+
184
202
  const APPROVER_STATUSES = {
185
203
  APPROVED: 'approved',
186
204
  NEEDS_ACTION: 'needs_action',