@careflair/common 1.0.10 → 1.0.12
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 +39 -0
- package/dist/constants/index.js +50 -1
- package/package.json +2 -2
|
@@ -189,4 +189,43 @@ export declare const contractTypeDetails: readonly [{
|
|
|
189
189
|
readonly description: "Ongoing, stable, full-time or part-time employment with a set schedul";
|
|
190
190
|
readonly tooltip: "Seeking ongoing, stable, full-time or part-time employment with a set schedule";
|
|
191
191
|
}];
|
|
192
|
+
export declare const daysOfWeek: readonly ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"];
|
|
193
|
+
export declare const flagCodeByLanguage: {
|
|
194
|
+
readonly AusLan: "au";
|
|
195
|
+
readonly English: "gb";
|
|
196
|
+
readonly "Mandarin Chinese": "cn";
|
|
197
|
+
readonly Hindi: "in";
|
|
198
|
+
readonly Spanish: "es";
|
|
199
|
+
readonly French: "fr";
|
|
200
|
+
readonly Arabic: "ae";
|
|
201
|
+
readonly Bengali: "bd";
|
|
202
|
+
readonly Russian: "ru";
|
|
203
|
+
readonly Portuguese: "pt";
|
|
204
|
+
readonly Urdu: "pk";
|
|
205
|
+
readonly Indonesian: "id";
|
|
206
|
+
readonly German: "de";
|
|
207
|
+
readonly Japanese: "jp";
|
|
208
|
+
readonly Swahili: "ke";
|
|
209
|
+
readonly Turkish: "tr";
|
|
210
|
+
readonly Tamil: "in";
|
|
211
|
+
readonly Vietnamese: "vn";
|
|
212
|
+
readonly Yoruba: "ng";
|
|
213
|
+
readonly Italian: "it";
|
|
214
|
+
readonly Telugu: "in";
|
|
215
|
+
readonly Thai: "th";
|
|
216
|
+
readonly Javanese: "id";
|
|
217
|
+
readonly Korean: "kr";
|
|
218
|
+
readonly Persian: "ir";
|
|
219
|
+
readonly Malayalam: "in";
|
|
220
|
+
readonly Hausa: "ng";
|
|
221
|
+
readonly Ukrainian: "ua";
|
|
222
|
+
readonly Amharic: "et";
|
|
223
|
+
readonly Farsi: "ir";
|
|
224
|
+
readonly Polish: "pl";
|
|
225
|
+
readonly Malay: "my";
|
|
226
|
+
readonly Xhosa: "za";
|
|
227
|
+
readonly Pashto: "pk";
|
|
228
|
+
readonly Kannada: "in";
|
|
229
|
+
readonly Nepali: "np";
|
|
230
|
+
};
|
|
192
231
|
export {};
|
package/dist/constants/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
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;
|
|
3
|
+
exports.flagCodeByLanguage = exports.daysOfWeek = 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
4
|
const enums_1 = require("../enums");
|
|
5
5
|
const utils_1 = require("../utils/utils");
|
|
6
6
|
exports.categoryOptions = [
|
|
@@ -608,3 +608,52 @@ exports.contractTypeDetails = [
|
|
|
608
608
|
tooltip: "Seeking ongoing, stable, full-time or part-time employment with a set schedule",
|
|
609
609
|
},
|
|
610
610
|
];
|
|
611
|
+
// Days of the week to display for availabilites
|
|
612
|
+
exports.daysOfWeek = [
|
|
613
|
+
"Monday",
|
|
614
|
+
"Tuesday",
|
|
615
|
+
"Wednesday",
|
|
616
|
+
"Thursday",
|
|
617
|
+
"Friday",
|
|
618
|
+
"Saturday",
|
|
619
|
+
"Sunday",
|
|
620
|
+
];
|
|
621
|
+
// Language country codes for flag display
|
|
622
|
+
exports.flagCodeByLanguage = {
|
|
623
|
+
AusLan: "au", // Australia
|
|
624
|
+
English: "gb", // England
|
|
625
|
+
"Mandarin Chinese": "cn", // China
|
|
626
|
+
Hindi: "in", // India
|
|
627
|
+
Spanish: "es", // Spain
|
|
628
|
+
French: "fr", // France
|
|
629
|
+
Arabic: "ae", // United Arab Emirates
|
|
630
|
+
Bengali: "bd", // Bangladesh
|
|
631
|
+
Russian: "ru", // Russia
|
|
632
|
+
Portuguese: "pt", // Portugal
|
|
633
|
+
Urdu: "pk", // Pakistan
|
|
634
|
+
Indonesian: "id", // Indonesia
|
|
635
|
+
German: "de", // Germany
|
|
636
|
+
Japanese: "jp", // Japan
|
|
637
|
+
Swahili: "ke", // Kenya
|
|
638
|
+
Turkish: "tr", // Turkey
|
|
639
|
+
Tamil: "in", // India
|
|
640
|
+
Vietnamese: "vn", // Vietnam
|
|
641
|
+
Yoruba: "ng", // Nigeria
|
|
642
|
+
Italian: "it", // Italy
|
|
643
|
+
Telugu: "in", // India
|
|
644
|
+
Thai: "th", // Thailand
|
|
645
|
+
Javanese: "id", // Indonesia
|
|
646
|
+
Korean: "kr", // South Korea
|
|
647
|
+
Persian: "ir", // Iran
|
|
648
|
+
Malayalam: "in", // India
|
|
649
|
+
Hausa: "ng", // Nigeria
|
|
650
|
+
Ukrainian: "ua", // Ukraine
|
|
651
|
+
Amharic: "et", // Ethiopia
|
|
652
|
+
Farsi: "ir", // Iran
|
|
653
|
+
Polish: "pl", // Poland
|
|
654
|
+
Malay: "my", // Malaysia
|
|
655
|
+
Xhosa: "za", // South Africa
|
|
656
|
+
Pashto: "pk", // Pakistan
|
|
657
|
+
Kannada: "in", // India
|
|
658
|
+
Nepali: "np", // Nepal
|
|
659
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@careflair/common",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.12",
|
|
4
4
|
"description": "Shared assets for CareFlair",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
},
|
|
11
11
|
"devDependencies": {
|
|
12
12
|
"typescript": "^5.7.4",
|
|
13
|
-
"zod": "^3.
|
|
13
|
+
"zod": "^3.23.8"
|
|
14
14
|
},
|
|
15
15
|
"keywords": [
|
|
16
16
|
"pnp-zod"
|