@careflair/common 1.0.0
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/dist/constants/index.d.ts +192 -0
- package/dist/constants/index.js +610 -0
- package/dist/constants/limits.d.ts +32 -0
- package/dist/constants/limits.js +41 -0
- package/dist/enums/index.d.ts +412 -0
- package/dist/enums/index.js +481 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +21 -0
- package/dist/interfaces/common-fields.input.d.ts +15 -0
- package/dist/interfaces/common-fields.input.js +2 -0
- package/dist/interfaces/common-fields.output.d.ts +26 -0
- package/dist/interfaces/common-fields.output.js +2 -0
- package/dist/schemas/availabilitySchemaValidation.d.ts +56 -0
- package/dist/schemas/availabilitySchemaValidation.js +79 -0
- package/dist/schemas/businessServicesValidation.d.ts +6 -0
- package/dist/schemas/businessServicesValidation.js +23 -0
- package/dist/schemas/educationSchemas.d.ts +38 -0
- package/dist/schemas/educationSchemas.js +29 -0
- package/dist/schemas/hourlyRateSchemaValidation.d.ts +36 -0
- package/dist/schemas/hourlyRateSchemaValidation.js +25 -0
- package/dist/schemas/index.d.ts +6 -0
- package/dist/schemas/index.js +18 -0
- package/dist/schemas/userValiationSchema.d.ts +30 -0
- package/dist/schemas/userValiationSchema.js +38 -0
- package/dist/schemas/workHistorySchema.d.ts +33 -0
- package/dist/schemas/workHistorySchema.js +28 -0
- package/dist/utils/utils.d.ts +6 -0
- package/dist/utils/utils.js +9 -0
- package/dist/utils/videoValidation.d.ts +31 -0
- package/dist/utils/videoValidation.js +119 -0
- package/package.json +25 -0
|
@@ -0,0 +1,610 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.contractTypeDetails = exports.onboardingStepsDetails = exports.DocumentTypeLabels = exports.altCommunicationOptions = exports.altCommunicationLabels = exports.commonLabels = exports.SUPPORT_WORKER_SERVICES_FILTERS = exports.SupportWorkerServiceLabels = exports.StateShortToFull = exports.StateFullToShort = exports.ProfileAllSteps = exports.educationTypeOptions = exports.providerInterestOptions = exports.providerPreferenceOptions = exports.participantInterestOptions = exports.participantPreferenceOptions = exports.complexNeedsSupportedOptions = exports.agesSupportedOptions = exports.genderOfAttendanceOptions = exports.deliveryOptions = exports.languageOptions = exports.statesOptions = exports.serviceCategoriesMap = exports.categoryOptions = void 0;
|
|
4
|
+
const enums_1 = require("../enums");
|
|
5
|
+
const utils_1 = require("../utils/utils");
|
|
6
|
+
exports.categoryOptions = [
|
|
7
|
+
{
|
|
8
|
+
label: "Support",
|
|
9
|
+
options: [
|
|
10
|
+
{
|
|
11
|
+
value: enums_1.CategoryEnum.SUPPORT_WORKER,
|
|
12
|
+
label: enums_1.CategoryEnum.SUPPORT_WORKER,
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
value: enums_1.CategoryEnum.ACCESSING_THE_COMMUNITY,
|
|
16
|
+
label: enums_1.CategoryEnum.ACCESSING_THE_COMMUNITY,
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
value: enums_1.CategoryEnum.NURSE,
|
|
20
|
+
label: enums_1.CategoryEnum.NURSE,
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
value: enums_1.CategoryEnum.MENTOR,
|
|
24
|
+
label: enums_1.CategoryEnum.MENTOR,
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
value: enums_1.CategoryEnum.SOCIAL_WORKER,
|
|
28
|
+
label: enums_1.CategoryEnum.SOCIAL_WORKER,
|
|
29
|
+
},
|
|
30
|
+
],
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
label: "Allied Health (Therapies)",
|
|
34
|
+
options: [
|
|
35
|
+
{
|
|
36
|
+
value: enums_1.CategoryEnum.ART_THERAPY,
|
|
37
|
+
label: enums_1.CategoryEnum.ART_THERAPY,
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
value: enums_1.CategoryEnum.COUNSELLING,
|
|
41
|
+
label: enums_1.CategoryEnum.COUNSELLING,
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
value: enums_1.CategoryEnum.DEVELOPMENTAL_EDUCATOR,
|
|
45
|
+
label: enums_1.CategoryEnum.DEVELOPMENTAL_EDUCATOR,
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
value: enums_1.CategoryEnum.DIETICIAN,
|
|
49
|
+
label: enums_1.CategoryEnum.DIETICIAN,
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
value: enums_1.CategoryEnum.KEY_WORKER,
|
|
53
|
+
label: enums_1.CategoryEnum.KEY_WORKER,
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
value: enums_1.CategoryEnum.MUSIC_THERAPY,
|
|
57
|
+
label: enums_1.CategoryEnum.MUSIC_THERAPY,
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
value: enums_1.CategoryEnum.EXERCISE_PHYSIOLOGY,
|
|
61
|
+
label: enums_1.CategoryEnum.EXERCISE_PHYSIOLOGY,
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
value: enums_1.CategoryEnum.OCCUPATIONAL_THERAPY,
|
|
65
|
+
label: enums_1.CategoryEnum.OCCUPATIONAL_THERAPY,
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
value: enums_1.CategoryEnum.PHYSIOTHERAPY,
|
|
69
|
+
label: enums_1.CategoryEnum.PHYSIOTHERAPY,
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
value: enums_1.CategoryEnum.PODIATRY,
|
|
73
|
+
label: enums_1.CategoryEnum.PODIATRY,
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
value: enums_1.CategoryEnum.PSYCHOLOGY,
|
|
77
|
+
label: enums_1.CategoryEnum.PSYCHOLOGY,
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
value: enums_1.CategoryEnum.PSYCHOTHERAPY,
|
|
81
|
+
label: enums_1.CategoryEnum.PSYCHOTHERAPY,
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
value: enums_1.CategoryEnum.SOCIAL_WORKER,
|
|
85
|
+
label: enums_1.CategoryEnum.SOCIAL_WORKER,
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
value: enums_1.CategoryEnum.SPEECH_THERAPY,
|
|
89
|
+
label: enums_1.CategoryEnum.SPEECH_THERAPY,
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
value: enums_1.CategoryEnum.THERAPY_ASSISTANT,
|
|
93
|
+
label: enums_1.CategoryEnum.THERAPY_ASSISTANT,
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
value: enums_1.CategoryEnum.OTHER_SAND_ANIMAL_PLAY,
|
|
97
|
+
label: enums_1.CategoryEnum.OTHER_SAND_ANIMAL_PLAY,
|
|
98
|
+
},
|
|
99
|
+
],
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
label: "Plan Support",
|
|
103
|
+
options: [
|
|
104
|
+
{
|
|
105
|
+
value: enums_1.CategoryEnum.PLAN_MANAGER,
|
|
106
|
+
label: enums_1.CategoryEnum.PLAN_MANAGER,
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
value: enums_1.CategoryEnum.SUPPORT_COORDINATOR,
|
|
110
|
+
label: enums_1.CategoryEnum.SUPPORT_COORDINATOR,
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
value: enums_1.CategoryEnum.SPECIALIST_SUPPORT_COORDINATOR,
|
|
114
|
+
label: enums_1.CategoryEnum.SPECIALIST_SUPPORT_COORDINATOR,
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
value: enums_1.CategoryEnum.RECOVERY_COACH_PRS,
|
|
118
|
+
label: enums_1.CategoryEnum.RECOVERY_COACH_PRS,
|
|
119
|
+
},
|
|
120
|
+
],
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
label: "Skills Development",
|
|
124
|
+
options: [
|
|
125
|
+
{
|
|
126
|
+
value: enums_1.CategoryEnum.SUPPORT_IN_EMPLOYMENT,
|
|
127
|
+
label: enums_1.CategoryEnum.SUPPORT_IN_EMPLOYMENT,
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
value: enums_1.CategoryEnum.LIFE_SKILLS,
|
|
131
|
+
label: enums_1.CategoryEnum.LIFE_SKILLS,
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
value: enums_1.CategoryEnum.MENTORING,
|
|
135
|
+
label: enums_1.CategoryEnum.MENTORING,
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
value: enums_1.CategoryEnum.TRAVEL_TRAINING,
|
|
139
|
+
label: enums_1.CategoryEnum.TRAVEL_TRAINING,
|
|
140
|
+
},
|
|
141
|
+
],
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
label: "Home Maintenance",
|
|
145
|
+
options: [
|
|
146
|
+
{ label: enums_1.CategoryEnum.CLEANING, value: enums_1.CategoryEnum.CLEANING },
|
|
147
|
+
{ label: enums_1.CategoryEnum.GARDENING, value: enums_1.CategoryEnum.GARDENING },
|
|
148
|
+
{
|
|
149
|
+
label: enums_1.CategoryEnum.YARD_MAINTENANCE,
|
|
150
|
+
value: enums_1.CategoryEnum.YARD_MAINTENANCE,
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
label: enums_1.CategoryEnum.HANDYPERSON_AND_REPAIRS,
|
|
154
|
+
value: enums_1.CategoryEnum.HANDYPERSON_AND_REPAIRS,
|
|
155
|
+
},
|
|
156
|
+
],
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
label: "Housing",
|
|
160
|
+
options: [
|
|
161
|
+
{ label: enums_1.CategoryEnum.ILO, value: enums_1.CategoryEnum.ILO },
|
|
162
|
+
{
|
|
163
|
+
label: enums_1.CategoryEnum.SPECIALIST_DISABILITY_ACCOMMODATION_SDA,
|
|
164
|
+
value: enums_1.CategoryEnum.SPECIALIST_DISABILITY_ACCOMMODATION_SDA,
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
label: enums_1.CategoryEnum.MEDIUM_TERM_ACCOMMODATION,
|
|
168
|
+
value: enums_1.CategoryEnum.MEDIUM_TERM_ACCOMMODATION,
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
label: enums_1.CategoryEnum.RESPITE_SHORT_TERM_ACCOMMODATION,
|
|
172
|
+
value: enums_1.CategoryEnum.RESPITE_SHORT_TERM_ACCOMMODATION,
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
label: enums_1.CategoryEnum.SUPPORTED_INDEPENDENT_LIVING_SIL,
|
|
176
|
+
value: enums_1.CategoryEnum.SUPPORTED_INDEPENDENT_LIVING_SIL,
|
|
177
|
+
},
|
|
178
|
+
],
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
label: "Social, Health and Wellbeing",
|
|
182
|
+
options: [
|
|
183
|
+
{
|
|
184
|
+
label: enums_1.CategoryEnum.SOCIAL_PROGRAMS_AND_ACTIVITIES,
|
|
185
|
+
value: enums_1.CategoryEnum.SOCIAL_PROGRAMS_AND_ACTIVITIES,
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
label: enums_1.CategoryEnum.PERSONAL_TRAINING,
|
|
189
|
+
value: enums_1.CategoryEnum.PERSONAL_TRAINING,
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
label: enums_1.CategoryEnum.FAMILY_AND_PEER_SUPPORT_GROUPS,
|
|
193
|
+
value: enums_1.CategoryEnum.FAMILY_AND_PEER_SUPPORT_GROUPS,
|
|
194
|
+
},
|
|
195
|
+
],
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
label: "Children",
|
|
199
|
+
options: [
|
|
200
|
+
{
|
|
201
|
+
label: enums_1.CategoryEnum.EARLY_INTERVENTION_AND_CHILDREN,
|
|
202
|
+
value: enums_1.CategoryEnum.EARLY_INTERVENTION_AND_CHILDREN,
|
|
203
|
+
},
|
|
204
|
+
],
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
label: "Employment",
|
|
208
|
+
options: [
|
|
209
|
+
{
|
|
210
|
+
label: enums_1.CategoryEnum.FINDING_AND_KEEPING_A_JOB,
|
|
211
|
+
value: enums_1.CategoryEnum.FINDING_AND_KEEPING_A_JOB,
|
|
212
|
+
},
|
|
213
|
+
{ label: enums_1.CategoryEnum.SLES, value: enums_1.CategoryEnum.SLES },
|
|
214
|
+
],
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
label: "Equipment",
|
|
218
|
+
options: [
|
|
219
|
+
{
|
|
220
|
+
label: enums_1.CategoryEnum.DISABILITY_AIDS,
|
|
221
|
+
value: enums_1.CategoryEnum.DISABILITY_AIDS,
|
|
222
|
+
},
|
|
223
|
+
],
|
|
224
|
+
},
|
|
225
|
+
];
|
|
226
|
+
exports.serviceCategoriesMap = {
|
|
227
|
+
Support: [
|
|
228
|
+
enums_1.CategoryEnum.SUPPORT_WORKER,
|
|
229
|
+
enums_1.CategoryEnum.ACCESSING_THE_COMMUNITY,
|
|
230
|
+
enums_1.CategoryEnum.NURSE,
|
|
231
|
+
enums_1.CategoryEnum.MENTOR,
|
|
232
|
+
enums_1.CategoryEnum.SOCIAL_WORKER,
|
|
233
|
+
],
|
|
234
|
+
"Allied Health (Therapies)": [
|
|
235
|
+
enums_1.CategoryEnum.ART_THERAPY,
|
|
236
|
+
enums_1.CategoryEnum.COUNSELLING,
|
|
237
|
+
enums_1.CategoryEnum.DEVELOPMENTAL_EDUCATOR,
|
|
238
|
+
enums_1.CategoryEnum.DIETICIAN,
|
|
239
|
+
enums_1.CategoryEnum.KEY_WORKER,
|
|
240
|
+
enums_1.CategoryEnum.MUSIC_THERAPY,
|
|
241
|
+
enums_1.CategoryEnum.EXERCISE_PHYSIOLOGY,
|
|
242
|
+
enums_1.CategoryEnum.OCCUPATIONAL_THERAPY,
|
|
243
|
+
enums_1.CategoryEnum.PHYSIOTHERAPY,
|
|
244
|
+
enums_1.CategoryEnum.PODIATRY,
|
|
245
|
+
enums_1.CategoryEnum.PSYCHOLOGY,
|
|
246
|
+
enums_1.CategoryEnum.PSYCHOTHERAPY,
|
|
247
|
+
enums_1.CategoryEnum.SOCIAL_WORKER,
|
|
248
|
+
enums_1.CategoryEnum.SPEECH_THERAPY,
|
|
249
|
+
enums_1.CategoryEnum.THERAPY_ASSISTANT,
|
|
250
|
+
enums_1.CategoryEnum.OTHER_SAND_ANIMAL_PLAY,
|
|
251
|
+
],
|
|
252
|
+
"Plan Support": [
|
|
253
|
+
enums_1.CategoryEnum.PLAN_MANAGER,
|
|
254
|
+
enums_1.CategoryEnum.SUPPORT_COORDINATOR,
|
|
255
|
+
enums_1.CategoryEnum.SPECIALIST_SUPPORT_COORDINATOR,
|
|
256
|
+
enums_1.CategoryEnum.RECOVERY_COACH_PRS,
|
|
257
|
+
],
|
|
258
|
+
"Skills Development": [
|
|
259
|
+
enums_1.CategoryEnum.SUPPORT_IN_EMPLOYMENT,
|
|
260
|
+
enums_1.CategoryEnum.LIFE_SKILLS,
|
|
261
|
+
enums_1.CategoryEnum.MENTORING,
|
|
262
|
+
enums_1.CategoryEnum.TRAVEL_TRAINING,
|
|
263
|
+
],
|
|
264
|
+
"Home Maintenance": [
|
|
265
|
+
enums_1.CategoryEnum.CLEANING,
|
|
266
|
+
enums_1.CategoryEnum.GARDENING,
|
|
267
|
+
enums_1.CategoryEnum.YARD_MAINTENANCE,
|
|
268
|
+
enums_1.CategoryEnum.HANDYPERSON_AND_REPAIRS,
|
|
269
|
+
],
|
|
270
|
+
Housing: [
|
|
271
|
+
enums_1.CategoryEnum.ILO,
|
|
272
|
+
enums_1.CategoryEnum.SPECIALIST_DISABILITY_ACCOMMODATION_SDA,
|
|
273
|
+
enums_1.CategoryEnum.MEDIUM_TERM_ACCOMMODATION,
|
|
274
|
+
enums_1.CategoryEnum.RESPITE_SHORT_TERM_ACCOMMODATION,
|
|
275
|
+
enums_1.CategoryEnum.SUPPORTED_INDEPENDENT_LIVING_SIL,
|
|
276
|
+
],
|
|
277
|
+
"Social, Health and Wellbeing": [
|
|
278
|
+
enums_1.CategoryEnum.SOCIAL_PROGRAMS_AND_ACTIVITIES,
|
|
279
|
+
enums_1.CategoryEnum.PERSONAL_TRAINING,
|
|
280
|
+
enums_1.CategoryEnum.FAMILY_AND_PEER_SUPPORT_GROUPS,
|
|
281
|
+
],
|
|
282
|
+
Children: [enums_1.CategoryEnum.EARLY_INTERVENTION_AND_CHILDREN],
|
|
283
|
+
Employment: [enums_1.CategoryEnum.FINDING_AND_KEEPING_A_JOB, enums_1.CategoryEnum.SLES],
|
|
284
|
+
Equipment: [enums_1.CategoryEnum.DISABILITY_AIDS],
|
|
285
|
+
};
|
|
286
|
+
exports.statesOptions = (0, utils_1.enumToOptions)(enums_1.StatesEnum);
|
|
287
|
+
exports.languageOptions = (0, utils_1.enumToOptions)(enums_1.LanguageEnum);
|
|
288
|
+
exports.deliveryOptions = (0, utils_1.enumToOptions)(enums_1.DeliveryEnum);
|
|
289
|
+
exports.genderOfAttendanceOptions = (0, utils_1.enumToOptions)(enums_1.GenderOfAttendanceEnum);
|
|
290
|
+
exports.agesSupportedOptions = (0, utils_1.enumToOptions)(enums_1.AgesSupportedEnum);
|
|
291
|
+
exports.complexNeedsSupportedOptions = (0, utils_1.enumToOptions)(enums_1.ComplexNeedsSupportedEnum);
|
|
292
|
+
exports.participantPreferenceOptions = (0, utils_1.enumToOptions)(enums_1.ParticipantPreferenceEnum);
|
|
293
|
+
exports.participantInterestOptions = (0, utils_1.enumToOptions)(enums_1.ParticipantInterestEnum);
|
|
294
|
+
exports.providerPreferenceOptions = (0, utils_1.enumToOptions)(enums_1.ProviderPreferenceEnum);
|
|
295
|
+
exports.providerInterestOptions = (0, utils_1.enumToOptions)(enums_1.ProviderInterestEnum);
|
|
296
|
+
exports.educationTypeOptions = (0, utils_1.enumToOptions)(enums_1.EducationTypeEnum);
|
|
297
|
+
exports.ProfileAllSteps = Object.values(enums_1.ProfileAllStepsEnum);
|
|
298
|
+
// Hardcoded mapping for full name to short form and vice versa
|
|
299
|
+
exports.StateFullToShort = {
|
|
300
|
+
"New South Wales (NSW)": "NSW",
|
|
301
|
+
"Queensland (QLD)": "QLD",
|
|
302
|
+
"South Australia (SA)": "SA",
|
|
303
|
+
"Tasmania (TAS)": "TAS",
|
|
304
|
+
"Victoria (VIC)": "VIC",
|
|
305
|
+
"Western Australia (WA)": "WA",
|
|
306
|
+
"Australian Capital Territory (ACT)": "ACT",
|
|
307
|
+
"Northern Territory (NT)": "NT",
|
|
308
|
+
};
|
|
309
|
+
// Reverse mapping from short form to full name
|
|
310
|
+
exports.StateShortToFull = {
|
|
311
|
+
NSW: "New South Wales (NSW)",
|
|
312
|
+
QLD: "Queensland (QLD)",
|
|
313
|
+
SA: "South Australia (SA)",
|
|
314
|
+
TAS: "Tasmania (TAS)",
|
|
315
|
+
VIC: "Victoria (VIC)",
|
|
316
|
+
WA: "Western Australia (WA)",
|
|
317
|
+
ACT: "Australian Capital Territory (ACT)",
|
|
318
|
+
NT: "Northern Territory (NT)",
|
|
319
|
+
};
|
|
320
|
+
exports.SupportWorkerServiceLabels = {
|
|
321
|
+
[enums_1.SupportWorkerService.ShoweringToiletingDressing]: "Showering, toileting, and dressing assistance",
|
|
322
|
+
[enums_1.SupportWorkerService.ContinenceAidAssistance]: "Assistance with continence aids",
|
|
323
|
+
[enums_1.SupportWorkerService.PressureCare]: "Pressure care & repositioning",
|
|
324
|
+
[enums_1.SupportWorkerService.HoistLifting]: "Hoist & lifting assistance",
|
|
325
|
+
[enums_1.SupportWorkerService.OvernightCare]: "Overnight care",
|
|
326
|
+
[enums_1.SupportWorkerService.GeneralEatingSupport]: "General eating support",
|
|
327
|
+
[enums_1.SupportWorkerService.PegFeeding]: "PEG feeding",
|
|
328
|
+
[enums_1.SupportWorkerService.MedicationAssistance]: "Medication assistance",
|
|
329
|
+
[enums_1.SupportWorkerService.StomaCare]: "Stoma care",
|
|
330
|
+
[enums_1.SupportWorkerService.BasicDressingChanges]: "Basic dressing changes",
|
|
331
|
+
[enums_1.SupportWorkerService.CookingMealPrep]: "Cooking & bulk meal preparation",
|
|
332
|
+
[enums_1.SupportWorkerService.HouseholdCleaning]: "Household cleaning & organization",
|
|
333
|
+
[enums_1.SupportWorkerService.LightGardening]: "Light gardening & outdoor maintenance",
|
|
334
|
+
// [SupportWorkerService.HomeSafetyRepairs]: "Home safety & basic repairs", // STOPPED
|
|
335
|
+
// [SupportWorkerService.HoardingSupport]: "Assistance with hoarding & extreme clutter", // STOPPED
|
|
336
|
+
[enums_1.SupportWorkerService.AppointmentManagement]: "Appointment & schedule management",
|
|
337
|
+
[enums_1.SupportWorkerService.PaperworkAdminHelp]: "Paperwork & basic admin help",
|
|
338
|
+
// [SupportWorkerService.SocialVisits]: "Social visits & companionship", // STOPPED
|
|
339
|
+
[enums_1.SupportWorkerService.CommunityAccess]: "Community access & outings",
|
|
340
|
+
// [SupportWorkerService.SkillBuilding]: "Skill-building & personal development", // STOPPED
|
|
341
|
+
// [SupportWorkerService.SupportForHobbies]: "Support for hobbies & activities", // STOPPED
|
|
342
|
+
// [SupportWorkerService.TravelTraining]: "Travel training", // STOPPED
|
|
343
|
+
[enums_1.SupportWorkerService.StandardVehicle]: "Transport in a standard vehicle",
|
|
344
|
+
[enums_1.SupportWorkerService.WheelchairAccessibleVehicle]: "Transport in a wheelchair-accessible vehicle",
|
|
345
|
+
};
|
|
346
|
+
exports.SUPPORT_WORKER_SERVICES_FILTERS = [
|
|
347
|
+
{
|
|
348
|
+
label: "Personal Care & Daily Living",
|
|
349
|
+
options: [
|
|
350
|
+
{
|
|
351
|
+
label: exports.SupportWorkerServiceLabels[enums_1.SupportWorkerService.ShoweringToiletingDressing],
|
|
352
|
+
value: enums_1.SupportWorkerService.ShoweringToiletingDressing,
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
label: exports.SupportWorkerServiceLabels[enums_1.SupportWorkerService.ContinenceAidAssistance],
|
|
356
|
+
value: enums_1.SupportWorkerService.ContinenceAidAssistance,
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
label: exports.SupportWorkerServiceLabels[enums_1.SupportWorkerService.PressureCare],
|
|
360
|
+
value: enums_1.SupportWorkerService.PressureCare,
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
label: exports.SupportWorkerServiceLabels[enums_1.SupportWorkerService.HoistLifting],
|
|
364
|
+
value: enums_1.SupportWorkerService.HoistLifting,
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
label: exports.SupportWorkerServiceLabels[enums_1.SupportWorkerService.OvernightCare],
|
|
368
|
+
value: enums_1.SupportWorkerService.OvernightCare,
|
|
369
|
+
},
|
|
370
|
+
],
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
label: "Community & Social Participation",
|
|
374
|
+
options: [
|
|
375
|
+
{
|
|
376
|
+
label: exports.SupportWorkerServiceLabels[enums_1.SupportWorkerService.CommunityAccess],
|
|
377
|
+
value: enums_1.SupportWorkerService.CommunityAccess,
|
|
378
|
+
},
|
|
379
|
+
],
|
|
380
|
+
},
|
|
381
|
+
{
|
|
382
|
+
label: "Eating & Mealtime Assistance",
|
|
383
|
+
options: [
|
|
384
|
+
{
|
|
385
|
+
label: exports.SupportWorkerServiceLabels[enums_1.SupportWorkerService.GeneralEatingSupport],
|
|
386
|
+
value: enums_1.SupportWorkerService.GeneralEatingSupport,
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
label: exports.SupportWorkerServiceLabels[enums_1.SupportWorkerService.PegFeeding],
|
|
390
|
+
value: enums_1.SupportWorkerService.PegFeeding,
|
|
391
|
+
},
|
|
392
|
+
],
|
|
393
|
+
},
|
|
394
|
+
{
|
|
395
|
+
label: "Medical & Health-Related Assistance",
|
|
396
|
+
options: [
|
|
397
|
+
{
|
|
398
|
+
label: exports.SupportWorkerServiceLabels[enums_1.SupportWorkerService.MedicationAssistance],
|
|
399
|
+
value: enums_1.SupportWorkerService.MedicationAssistance,
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
label: exports.SupportWorkerServiceLabels[enums_1.SupportWorkerService.StomaCare],
|
|
403
|
+
value: enums_1.SupportWorkerService.StomaCare,
|
|
404
|
+
},
|
|
405
|
+
{
|
|
406
|
+
label: exports.SupportWorkerServiceLabels[enums_1.SupportWorkerService.BasicDressingChanges],
|
|
407
|
+
value: enums_1.SupportWorkerService.BasicDressingChanges,
|
|
408
|
+
},
|
|
409
|
+
],
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
label: "Household & Domestic Support",
|
|
413
|
+
options: [
|
|
414
|
+
{
|
|
415
|
+
label: exports.SupportWorkerServiceLabels[enums_1.SupportWorkerService.CookingMealPrep],
|
|
416
|
+
value: enums_1.SupportWorkerService.CookingMealPrep,
|
|
417
|
+
},
|
|
418
|
+
{
|
|
419
|
+
label: exports.SupportWorkerServiceLabels[enums_1.SupportWorkerService.HouseholdCleaning],
|
|
420
|
+
value: enums_1.SupportWorkerService.HouseholdCleaning,
|
|
421
|
+
},
|
|
422
|
+
{
|
|
423
|
+
label: exports.SupportWorkerServiceLabels[enums_1.SupportWorkerService.LightGardening],
|
|
424
|
+
value: enums_1.SupportWorkerService.LightGardening,
|
|
425
|
+
},
|
|
426
|
+
],
|
|
427
|
+
},
|
|
428
|
+
{
|
|
429
|
+
label: "Personal Admin & Organization",
|
|
430
|
+
options: [
|
|
431
|
+
{
|
|
432
|
+
label: exports.SupportWorkerServiceLabels[enums_1.SupportWorkerService.AppointmentManagement],
|
|
433
|
+
value: enums_1.SupportWorkerService.AppointmentManagement,
|
|
434
|
+
},
|
|
435
|
+
{
|
|
436
|
+
label: exports.SupportWorkerServiceLabels[enums_1.SupportWorkerService.PaperworkAdminHelp],
|
|
437
|
+
value: enums_1.SupportWorkerService.PaperworkAdminHelp,
|
|
438
|
+
},
|
|
439
|
+
],
|
|
440
|
+
},
|
|
441
|
+
{
|
|
442
|
+
label: "Transportation",
|
|
443
|
+
options: [
|
|
444
|
+
{
|
|
445
|
+
label: exports.SupportWorkerServiceLabels[enums_1.SupportWorkerService.StandardVehicle],
|
|
446
|
+
value: enums_1.SupportWorkerService.StandardVehicle,
|
|
447
|
+
},
|
|
448
|
+
{
|
|
449
|
+
label: exports.SupportWorkerServiceLabels[enums_1.SupportWorkerService.WheelchairAccessibleVehicle],
|
|
450
|
+
value: enums_1.SupportWorkerService.WheelchairAccessibleVehicle,
|
|
451
|
+
},
|
|
452
|
+
],
|
|
453
|
+
},
|
|
454
|
+
];
|
|
455
|
+
// common labels
|
|
456
|
+
exports.commonLabels = {
|
|
457
|
+
GenderOfAttendanceEnum: enums_1.GenderOfAttendanceEnum,
|
|
458
|
+
};
|
|
459
|
+
// alt communication labels
|
|
460
|
+
exports.altCommunicationLabels = {
|
|
461
|
+
// [AltCommunication.AAC]: "AAC (Augmentative and Alternative Communication)",
|
|
462
|
+
[enums_1.AltCommunication.AUSLAN]: "Auslan",
|
|
463
|
+
// [AltCommunication.BRAILLE]: "Braille",
|
|
464
|
+
};
|
|
465
|
+
// alt communication options
|
|
466
|
+
exports.altCommunicationOptions = {
|
|
467
|
+
// [AltCommunication.AAC]: {
|
|
468
|
+
// label: altCommunicationLabels[AltCommunication.AAC],
|
|
469
|
+
// value: AltCommunication.AAC,
|
|
470
|
+
// },
|
|
471
|
+
[enums_1.AltCommunication.AUSLAN]: {
|
|
472
|
+
label: exports.altCommunicationLabels[enums_1.AltCommunication.AUSLAN],
|
|
473
|
+
value: enums_1.AltCommunication.AUSLAN,
|
|
474
|
+
},
|
|
475
|
+
// [AltCommunication.BRAILLE]: {
|
|
476
|
+
// label: altCommunicationLabels[AltCommunication.BRAILLE],
|
|
477
|
+
// value: AltCommunication.BRAILLE,
|
|
478
|
+
// },
|
|
479
|
+
};
|
|
480
|
+
exports.DocumentTypeLabels = {
|
|
481
|
+
[enums_1.DocumentType.NDIS_WORKER_SCREENING]: "NDIS Worker Screening Check",
|
|
482
|
+
[enums_1.DocumentType.WORKING_WITH_CHILDREN]: "Working with Children Check",
|
|
483
|
+
[enums_1.DocumentType.INSURANCE]: "Personal indemnity/public liability Insurance",
|
|
484
|
+
[enums_1.DocumentType.FIRST_AID]: "First Aid/CPR Certificate",
|
|
485
|
+
[enums_1.DocumentType.CAR_INSURANCE]: "Car Insurance",
|
|
486
|
+
[enums_1.DocumentType.QUALIFICATION]: "Proof of Qualification (e.g. Cert III/IV in Disability or Aged Care)",
|
|
487
|
+
[enums_1.DocumentType.MEDICATION_COMPETENCY]: "Medication Competency Certificate",
|
|
488
|
+
[enums_1.DocumentType.VACCINATION_RECORDS]: "Vaccination Records (e.g. COVID-19, flu)",
|
|
489
|
+
[enums_1.DocumentType.REFERENCES]: "Referee Contact Details or References",
|
|
490
|
+
};
|
|
491
|
+
exports.onboardingStepsDetails = [
|
|
492
|
+
{
|
|
493
|
+
id: enums_1.OnboardingSteps.ABN_AND_BUSINESS_NAME,
|
|
494
|
+
isRequired: true,
|
|
495
|
+
title: "ABN and Business Name",
|
|
496
|
+
description: "Enter your ABN and business name to get started",
|
|
497
|
+
url: "/onboarding/business-info/abn-and-business-name",
|
|
498
|
+
},
|
|
499
|
+
{
|
|
500
|
+
id: enums_1.OnboardingSteps.SERVICES,
|
|
501
|
+
isRequired: true,
|
|
502
|
+
title: "Services",
|
|
503
|
+
description: "Select the services you offer",
|
|
504
|
+
url: "/onboarding/business-info/services",
|
|
505
|
+
},
|
|
506
|
+
{
|
|
507
|
+
id: enums_1.OnboardingSteps.LOCATIONS,
|
|
508
|
+
isRequired: true,
|
|
509
|
+
title: "Locations",
|
|
510
|
+
description: "Select the locations you offer",
|
|
511
|
+
url: "/onboarding/business-info/locations",
|
|
512
|
+
},
|
|
513
|
+
// {
|
|
514
|
+
// id: OnboardingSteps.CONTRACT_TYPE,
|
|
515
|
+
// isRequired: true,
|
|
516
|
+
// title: "Contract Type",
|
|
517
|
+
// description: "Select the contract type you offer",
|
|
518
|
+
// url: "/onboarding/business-info/contract-type",
|
|
519
|
+
// },
|
|
520
|
+
{
|
|
521
|
+
id: enums_1.OnboardingSteps.SUPPORTED_AGES,
|
|
522
|
+
isRequired: false,
|
|
523
|
+
title: "Supported Ages",
|
|
524
|
+
description: "Select the ages you support",
|
|
525
|
+
url: "/onboarding/business-info/supported-ages",
|
|
526
|
+
},
|
|
527
|
+
{
|
|
528
|
+
id: enums_1.OnboardingSteps.EXPERIENCE,
|
|
529
|
+
isRequired: false,
|
|
530
|
+
title: "Experience",
|
|
531
|
+
description: "Enter your experience",
|
|
532
|
+
url: "/onboarding/personal-info/experience",
|
|
533
|
+
},
|
|
534
|
+
{
|
|
535
|
+
id: enums_1.OnboardingSteps.HOURLY_RATE,
|
|
536
|
+
isRequired: false,
|
|
537
|
+
title: "Hourly Rate",
|
|
538
|
+
description: "Enter your hourly rate",
|
|
539
|
+
url: "/onboarding/personal-info/hourly-rate",
|
|
540
|
+
},
|
|
541
|
+
{
|
|
542
|
+
id: enums_1.OnboardingSteps.GENDER,
|
|
543
|
+
isRequired: true,
|
|
544
|
+
title: "Gender",
|
|
545
|
+
description: "Select your gender",
|
|
546
|
+
url: "/onboarding/personal-info/gender",
|
|
547
|
+
},
|
|
548
|
+
{
|
|
549
|
+
id: enums_1.OnboardingSteps.LANGUAGES,
|
|
550
|
+
isRequired: false,
|
|
551
|
+
title: "Languages",
|
|
552
|
+
description: "Select the languages you speak",
|
|
553
|
+
url: "/onboarding/personal-info/languages",
|
|
554
|
+
},
|
|
555
|
+
// {
|
|
556
|
+
// id: OnboardingSteps.ALTERNATIVE_COMMUNICATION,
|
|
557
|
+
// isRequired: false,
|
|
558
|
+
// title: "Alternative Communication",
|
|
559
|
+
// description: "Select your alternative communication methods",
|
|
560
|
+
// url: "/onboarding/personal-info/alternative-communication",
|
|
561
|
+
// },
|
|
562
|
+
{
|
|
563
|
+
id: enums_1.OnboardingSteps.PHONE,
|
|
564
|
+
isRequired: false,
|
|
565
|
+
title: "Phone",
|
|
566
|
+
description: "Provides participants a direct way to reach you for jobs you apply to.",
|
|
567
|
+
url: "/onboarding/personal-info/phone",
|
|
568
|
+
},
|
|
569
|
+
{
|
|
570
|
+
id: enums_1.OnboardingSteps.OVERVIEW,
|
|
571
|
+
isRequired: false,
|
|
572
|
+
title: "Overview",
|
|
573
|
+
description: "Introduce yourself to your potential clients",
|
|
574
|
+
url: "/onboarding/personal-info/overview",
|
|
575
|
+
},
|
|
576
|
+
{
|
|
577
|
+
id: enums_1.OnboardingSteps.PHOTO,
|
|
578
|
+
isRequired: true,
|
|
579
|
+
title: "Photo",
|
|
580
|
+
description: "Upload a photo of yourself",
|
|
581
|
+
url: "/onboarding/personal-info/photo",
|
|
582
|
+
},
|
|
583
|
+
// {
|
|
584
|
+
// id: OnboardingSteps.LISTING_CARD_TEXT,
|
|
585
|
+
// isRequired: true,
|
|
586
|
+
// title: "Listing Card Text",
|
|
587
|
+
// description: "Brief description of you or your services",
|
|
588
|
+
// url: "/onboarding/listing-card/listing-card-text",
|
|
589
|
+
// },
|
|
590
|
+
];
|
|
591
|
+
exports.contractTypeDetails = [
|
|
592
|
+
{
|
|
593
|
+
id: enums_1.ContractTypeEnum.CONTRACT_WORK,
|
|
594
|
+
label: "Contract Work",
|
|
595
|
+
description: "Working directly with independent clients or as a subcontractor for providers",
|
|
596
|
+
tooltip: "Prefers working directly with independent clients or as a subcontractor for providers",
|
|
597
|
+
},
|
|
598
|
+
{
|
|
599
|
+
id: enums_1.ContractTypeEnum.CASUAL_WORK,
|
|
600
|
+
label: "Casual Work",
|
|
601
|
+
description: "Casual employment with flexible hours",
|
|
602
|
+
tooltip: "Open to casual employment with flexible hours",
|
|
603
|
+
},
|
|
604
|
+
{
|
|
605
|
+
id: enums_1.ContractTypeEnum.PERMANENT_WORK,
|
|
606
|
+
label: "Permanent Work",
|
|
607
|
+
description: "Ongoing, stable, full-time or part-time employment with a set schedul",
|
|
608
|
+
tooltip: "Seeking ongoing, stable, full-time or part-time employment with a set schedule",
|
|
609
|
+
},
|
|
610
|
+
];
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export declare const USERNAME_MIN_LENGTH = 6;
|
|
2
|
+
export declare const USERNAME_MAX_LENGTH = 30;
|
|
3
|
+
export declare const PASSWORD_MIN_LENGTH = 8;
|
|
4
|
+
export declare const PASSWORD_MAX_LENGTH = 500;
|
|
5
|
+
export declare const EMAIL_MAX_LENGTH = 255;
|
|
6
|
+
export declare const NAME_MIN_LENGTH = 2;
|
|
7
|
+
export declare const NAME_MAX_LENGTH = 50;
|
|
8
|
+
export declare const OVERVIEW_MIN_LENGTH = 20;
|
|
9
|
+
export declare const OVERVIEW_MAX_LENGTH = 5000;
|
|
10
|
+
export declare const SUBURB_MAX_LENGTH = 70;
|
|
11
|
+
export declare const LISTING_CARD_TEXT_MIN_LENGTH = 10;
|
|
12
|
+
export declare const LISTING_CARD_TEXT_MAX_LENGTH = 95;
|
|
13
|
+
export declare const MIN_HOURLY_RATE = 48;
|
|
14
|
+
export declare const MAX_HOURLY_RATE = 70;
|
|
15
|
+
export declare const EDUTRAINING_DEGREE_MAX_LENGTH = 150;
|
|
16
|
+
export declare const EDUTRAINING_INSTITUTION_MAX_LENGTH = 150;
|
|
17
|
+
export declare const WORK_HISTORY_TITLE_MAX_LENGTH = 200;
|
|
18
|
+
export declare const WORK_HISTORY_ORGANIZATION_MAX_LENGTH = 200;
|
|
19
|
+
export declare const PHONE_MAX_LENGTH = 15;
|
|
20
|
+
export declare const WEBSITE_MAX_LENGTH = 200;
|
|
21
|
+
export declare const JOB_TITLE_MAX_LENGTH = 350;
|
|
22
|
+
export declare const JOB_TITLE_MIN_LENGTH = 15;
|
|
23
|
+
export declare const JOB_DESCRIPTION_MAX_LENGTH = 15000;
|
|
24
|
+
export declare const JOB_DESCRIPTION_MIN_LENGTH = 25;
|
|
25
|
+
export declare const POST_TEXT_MIN_LENGTH = 5;
|
|
26
|
+
export declare const POST_TITLE_MAX_LENGTH = 150;
|
|
27
|
+
export declare const POST_CONTENT_MAX_LENGTH = 15000;
|
|
28
|
+
export declare const COMMENT_MAX_LENGTH = 1000;
|
|
29
|
+
export declare const MESSAGE_TEXT_MAX_LENGTH = 10000;
|
|
30
|
+
export declare const PREFERENCE_MIN_LENGTH = 2;
|
|
31
|
+
export declare const PREFERENCE_MAX_LENGTH = 80;
|
|
32
|
+
export declare const MAX_PREFERENCES_COUNT = 10;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MAX_PREFERENCES_COUNT = exports.PREFERENCE_MAX_LENGTH = exports.PREFERENCE_MIN_LENGTH = exports.MESSAGE_TEXT_MAX_LENGTH = exports.COMMENT_MAX_LENGTH = exports.POST_CONTENT_MAX_LENGTH = exports.POST_TITLE_MAX_LENGTH = exports.POST_TEXT_MIN_LENGTH = exports.JOB_DESCRIPTION_MIN_LENGTH = exports.JOB_DESCRIPTION_MAX_LENGTH = exports.JOB_TITLE_MIN_LENGTH = exports.JOB_TITLE_MAX_LENGTH = exports.WEBSITE_MAX_LENGTH = exports.PHONE_MAX_LENGTH = exports.WORK_HISTORY_ORGANIZATION_MAX_LENGTH = exports.WORK_HISTORY_TITLE_MAX_LENGTH = exports.EDUTRAINING_INSTITUTION_MAX_LENGTH = exports.EDUTRAINING_DEGREE_MAX_LENGTH = exports.MAX_HOURLY_RATE = exports.MIN_HOURLY_RATE = exports.LISTING_CARD_TEXT_MAX_LENGTH = exports.LISTING_CARD_TEXT_MIN_LENGTH = exports.SUBURB_MAX_LENGTH = exports.OVERVIEW_MAX_LENGTH = exports.OVERVIEW_MIN_LENGTH = exports.NAME_MAX_LENGTH = exports.NAME_MIN_LENGTH = exports.EMAIL_MAX_LENGTH = exports.PASSWORD_MAX_LENGTH = exports.PASSWORD_MIN_LENGTH = exports.USERNAME_MAX_LENGTH = exports.USERNAME_MIN_LENGTH = void 0;
|
|
4
|
+
// REGISTRATION FORM
|
|
5
|
+
exports.USERNAME_MIN_LENGTH = 6;
|
|
6
|
+
exports.USERNAME_MAX_LENGTH = 30;
|
|
7
|
+
exports.PASSWORD_MIN_LENGTH = 8;
|
|
8
|
+
exports.PASSWORD_MAX_LENGTH = 500;
|
|
9
|
+
exports.EMAIL_MAX_LENGTH = 255;
|
|
10
|
+
exports.NAME_MIN_LENGTH = 2;
|
|
11
|
+
exports.NAME_MAX_LENGTH = 50;
|
|
12
|
+
// Profile settings
|
|
13
|
+
exports.OVERVIEW_MIN_LENGTH = 20;
|
|
14
|
+
exports.OVERVIEW_MAX_LENGTH = 5000;
|
|
15
|
+
exports.SUBURB_MAX_LENGTH = 70;
|
|
16
|
+
exports.LISTING_CARD_TEXT_MIN_LENGTH = 10;
|
|
17
|
+
exports.LISTING_CARD_TEXT_MAX_LENGTH = 95;
|
|
18
|
+
exports.MIN_HOURLY_RATE = 48;
|
|
19
|
+
exports.MAX_HOURLY_RATE = 70;
|
|
20
|
+
exports.EDUTRAINING_DEGREE_MAX_LENGTH = 150;
|
|
21
|
+
exports.EDUTRAINING_INSTITUTION_MAX_LENGTH = 150;
|
|
22
|
+
exports.WORK_HISTORY_TITLE_MAX_LENGTH = 200;
|
|
23
|
+
exports.WORK_HISTORY_ORGANIZATION_MAX_LENGTH = 200;
|
|
24
|
+
exports.PHONE_MAX_LENGTH = 15;
|
|
25
|
+
exports.WEBSITE_MAX_LENGTH = 200;
|
|
26
|
+
// JOB BOARD
|
|
27
|
+
exports.JOB_TITLE_MAX_LENGTH = 350;
|
|
28
|
+
exports.JOB_TITLE_MIN_LENGTH = 15;
|
|
29
|
+
exports.JOB_DESCRIPTION_MAX_LENGTH = 15000;
|
|
30
|
+
exports.JOB_DESCRIPTION_MIN_LENGTH = 25;
|
|
31
|
+
// community
|
|
32
|
+
exports.POST_TEXT_MIN_LENGTH = 5;
|
|
33
|
+
exports.POST_TITLE_MAX_LENGTH = 150;
|
|
34
|
+
exports.POST_CONTENT_MAX_LENGTH = 15000;
|
|
35
|
+
exports.COMMENT_MAX_LENGTH = 1000;
|
|
36
|
+
// MESSAGE
|
|
37
|
+
exports.MESSAGE_TEXT_MAX_LENGTH = 10000;
|
|
38
|
+
// PREFERENCES
|
|
39
|
+
exports.PREFERENCE_MIN_LENGTH = 2;
|
|
40
|
+
exports.PREFERENCE_MAX_LENGTH = 80;
|
|
41
|
+
exports.MAX_PREFERENCES_COUNT = 10;
|