@the-inkwell/shared 0.1.161 → 0.1.163

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.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SettingsOptionLists = exports.ReferralSources = exports.PositionStatuses = exports.PositionStages = exports.PositionRatingCategories = exports.PersonSources = exports.PersonListOperators = exports.MessageChannels = exports.ListViewModels = exports.JobLevels = exports.Genders = exports.EnrichmentSources = exports.EducationFields = exports.EducationDegrees = exports.ClientStages = exports.ClientStatuses = exports.CandidacyStatuses = exports.CandidacyStages = exports.CandidacySources = exports.CampaignStatuses = exports.CandidacyRatingCategories = exports.ActionNames = exports.ListRequestSortDirections = exports.ListRequestLimits = void 0;
3
+ exports.StatesList = exports.States = exports.SettingsOptionLists = exports.ReferralSources = exports.PositionStatuses = exports.PositionStages = exports.PositionRatingCategories = exports.PersonSources = exports.PersonListOperators = exports.MessageChannels = exports.ListViewModels = exports.JobLevels = exports.Genders = exports.EnrichmentSources = exports.EducationFields = exports.EducationDegrees = exports.ClientStages = exports.ClientStatuses = exports.CandidacyStatuses = exports.CandidacyStages = exports.CandidacySources = exports.CampaignStatuses = exports.CandidacyRatingCategories = exports.ActionNames = exports.ListRequestSortDirections = exports.ListRequestLimits = void 0;
4
4
  exports.ListRequestLimits = [10, 50, 100, 200, 500];
5
5
  exports.ListRequestSortDirections = ['asc', 'desc'];
6
6
  exports.ActionNames = [
@@ -140,3 +140,70 @@ exports.SettingsOptionLists = [
140
140
  'tags',
141
141
  'skills'
142
142
  ];
143
+ exports.States = {
144
+ AL: 'Alabama',
145
+ AK: 'Alaska',
146
+ AS: 'American Samoa',
147
+ AZ: 'Arizona',
148
+ AR: 'Arkansas',
149
+ CA: 'California',
150
+ CO: 'Colorado',
151
+ CT: 'Connecticut',
152
+ DE: 'Delaware',
153
+ DC: 'District Of Columbia',
154
+ FM: 'Federated States Of Micronesia',
155
+ FL: 'Florida',
156
+ GA: 'Georgia',
157
+ GU: 'Guam',
158
+ HI: 'Hawaii',
159
+ ID: 'Idaho',
160
+ IL: 'Illinois',
161
+ IN: 'Indiana',
162
+ IA: 'Iowa',
163
+ KS: 'Kansas',
164
+ KY: 'Kentucky',
165
+ LA: 'Louisiana',
166
+ ME: 'Maine',
167
+ MH: 'Marshall Islands',
168
+ MD: 'Maryland',
169
+ MA: 'Massachusetts',
170
+ MI: 'Michigan',
171
+ MN: 'Minnesota',
172
+ MS: 'Mississippi',
173
+ MO: 'Missouri',
174
+ MT: 'Montana',
175
+ NE: 'Nebraska',
176
+ NV: 'Nevada',
177
+ NH: 'New Hampshire',
178
+ NJ: 'New Jersey',
179
+ NM: 'New Mexico',
180
+ NY: 'New York',
181
+ NC: 'North Carolina',
182
+ ND: 'North Dakota',
183
+ MP: 'Northern Mariana Islands',
184
+ OH: 'Ohio',
185
+ OK: 'Oklahoma',
186
+ OR: 'Oregon',
187
+ PW: 'Palau',
188
+ PA: 'Pennsylvania',
189
+ PR: 'Puerto Rico',
190
+ RI: 'Rhode Island',
191
+ SC: 'South Carolina',
192
+ SD: 'South Dakota',
193
+ TN: 'Tennessee',
194
+ TX: 'Texas',
195
+ UT: 'Utah',
196
+ VT: 'Vermont',
197
+ VI: 'Virgin Islands',
198
+ VA: 'Virginia',
199
+ WA: 'Washington',
200
+ WV: 'West Virginia',
201
+ WI: 'Wisconsin',
202
+ WY: 'Wyoming'
203
+ };
204
+ exports.StatesList = Object.entries(exports.States)
205
+ .map(([key, value]) => ({
206
+ code: key,
207
+ name: value
208
+ }))
209
+ .sort((a, b) => a.name.localeCompare(b.name));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@the-inkwell/shared",
3
- "version": "0.1.161",
3
+ "version": "0.1.163",
4
4
  "description": "Shared code for Inkwell",
5
5
  "license": "ISC",
6
6
  "author": "Inkwell (Rob Yedlin & Saimon Alam)",
@@ -180,3 +180,72 @@ export const SettingsOptionLists = [
180
180
  'tags',
181
181
  'skills'
182
182
  ] as const
183
+
184
+ export const States = {
185
+ AL: 'Alabama',
186
+ AK: 'Alaska',
187
+ AS: 'American Samoa',
188
+ AZ: 'Arizona',
189
+ AR: 'Arkansas',
190
+ CA: 'California',
191
+ CO: 'Colorado',
192
+ CT: 'Connecticut',
193
+ DE: 'Delaware',
194
+ DC: 'District Of Columbia',
195
+ FM: 'Federated States Of Micronesia',
196
+ FL: 'Florida',
197
+ GA: 'Georgia',
198
+ GU: 'Guam',
199
+ HI: 'Hawaii',
200
+ ID: 'Idaho',
201
+ IL: 'Illinois',
202
+ IN: 'Indiana',
203
+ IA: 'Iowa',
204
+ KS: 'Kansas',
205
+ KY: 'Kentucky',
206
+ LA: 'Louisiana',
207
+ ME: 'Maine',
208
+ MH: 'Marshall Islands',
209
+ MD: 'Maryland',
210
+ MA: 'Massachusetts',
211
+ MI: 'Michigan',
212
+ MN: 'Minnesota',
213
+ MS: 'Mississippi',
214
+ MO: 'Missouri',
215
+ MT: 'Montana',
216
+ NE: 'Nebraska',
217
+ NV: 'Nevada',
218
+ NH: 'New Hampshire',
219
+ NJ: 'New Jersey',
220
+ NM: 'New Mexico',
221
+ NY: 'New York',
222
+ NC: 'North Carolina',
223
+ ND: 'North Dakota',
224
+ MP: 'Northern Mariana Islands',
225
+ OH: 'Ohio',
226
+ OK: 'Oklahoma',
227
+ OR: 'Oregon',
228
+ PW: 'Palau',
229
+ PA: 'Pennsylvania',
230
+ PR: 'Puerto Rico',
231
+ RI: 'Rhode Island',
232
+ SC: 'South Carolina',
233
+ SD: 'South Dakota',
234
+ TN: 'Tennessee',
235
+ TX: 'Texas',
236
+ UT: 'Utah',
237
+ VT: 'Vermont',
238
+ VI: 'Virgin Islands',
239
+ VA: 'Virginia',
240
+ WA: 'Washington',
241
+ WV: 'West Virginia',
242
+ WI: 'Wisconsin',
243
+ WY: 'Wyoming'
244
+ } as const
245
+
246
+ export const StatesList = Object.entries(States)
247
+ .map(([key, value]) => ({
248
+ code: key,
249
+ name: value
250
+ }))
251
+ .sort((a, b) => a.name.localeCompare(b.name))
@@ -34,8 +34,6 @@ export default interface Persons {
34
34
 
35
35
  photoUrl: string | null;
36
36
 
37
- googlePlaceId: string | null;
38
-
39
37
  lat: number | null;
40
38
 
41
39
  lon: number | null;
@@ -114,8 +112,6 @@ export interface PersonsInitializer {
114
112
 
115
113
  photoUrl?: string | null;
116
114
 
117
- googlePlaceId?: string | null;
118
-
119
115
  lat?: number | null;
120
116
 
121
117
  lon?: number | null;
@@ -193,8 +189,6 @@ export interface PersonsMutator {
193
189
 
194
190
  photoUrl?: string | null;
195
191
 
196
- googlePlaceId?: string | null;
197
-
198
192
  lat?: number | null;
199
193
 
200
194
  lon?: number | null;
@@ -21,8 +21,6 @@ export default interface Positions {
21
21
 
22
22
  location: string | null;
23
23
 
24
- googlePlaceId: string | null;
25
-
26
24
  lat: number | null;
27
25
 
28
26
  lon: number | null;
@@ -61,8 +59,6 @@ export interface PositionsInitializer {
61
59
 
62
60
  location?: string | null;
63
61
 
64
- googlePlaceId?: string | null;
65
-
66
62
  lat?: number | null;
67
63
 
68
64
  lon?: number | null;
@@ -101,8 +97,6 @@ export interface PositionsMutator {
101
97
 
102
98
  location?: string | null;
103
99
 
104
- googlePlaceId?: string | null;
105
-
106
100
  lat?: number | null;
107
101
 
108
102
  lon?: number | null;