@yangsaiyam/helper 1.9.0 → 1.10.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/package.json +1 -1
- package/src/addressess/index.ts +20 -18
- package/src/career/index.ts +1 -1
- package/src/index.ts +1 -0
- package/src/job-applications/index.ts +10 -0
package/package.json
CHANGED
package/src/addressess/index.ts
CHANGED
|
@@ -4,21 +4,23 @@ export const COUNTRY_CODE = [
|
|
|
4
4
|
{ key: 1, value: "MY", i18nKey: "country.code.1" },
|
|
5
5
|
] as const satisfies readonly MappingOption[];
|
|
6
6
|
|
|
7
|
-
export const
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
7
|
+
export const STATES = {
|
|
8
|
+
MY: [
|
|
9
|
+
{ key: 1, value: "Johor", i18nKey: "malaysia.state.1" },
|
|
10
|
+
{ key: 2, value: "Kedah", i18nKey: "malaysia.state.2" },
|
|
11
|
+
{ key: 3, value: "Kelantan", i18nKey: "malaysia.state.3" },
|
|
12
|
+
{ key: 4, value: "Melaka", i18nKey: "malaysia.state.4" },
|
|
13
|
+
{ key: 5, value: "Negeri Sembilan", i18nKey: "malaysia.state.5" },
|
|
14
|
+
{ key: 6, value: "Pahang", i18nKey: "malaysia.state.6" },
|
|
15
|
+
{ key: 7, value: "Penang", i18nKey: "malaysia.state.7" },
|
|
16
|
+
{ key: 8, value: "Perak", i18nKey: "malaysia.state.8" },
|
|
17
|
+
{ key: 9, value: "Perlis", i18nKey: "malaysia.state.9" },
|
|
18
|
+
{ key: 10, value: "Sabah", i18nKey: "malaysia.state.10" },
|
|
19
|
+
{ key: 11, value: "Sarawak", i18nKey: "malaysia.state.11" },
|
|
20
|
+
{ key: 12, value: "Selangor", i18nKey: "malaysia.state.12" },
|
|
21
|
+
{ key: 13, value: "Terengganu", i18nKey: "malaysia.state.13" },
|
|
22
|
+
{ key: 14, value: "Kuala Lumpur", i18nKey: "malaysia.state.14" },
|
|
23
|
+
{ key: 15, value: "Labuan", i18nKey: "malaysia.state.15" },
|
|
24
|
+
{ key: 16, value: "Putrajaya", i18nKey: "malaysia.state.16" },
|
|
25
|
+
],
|
|
26
|
+
} as const satisfies Record<string, readonly MappingOption[]>;
|
package/src/career/index.ts
CHANGED
|
@@ -42,4 +42,4 @@ export const CAREER_LOCATION = [
|
|
|
42
42
|
{ key: 13, value: "Melaka", i18nKey: "career.location.13" },
|
|
43
43
|
{ key: 14, value: "Putrajaya", i18nKey: "career.location.14" },
|
|
44
44
|
{ key: 15, value: "Labuan", i18nKey: "career.location.15" },
|
|
45
|
-
] as const satisfies readonly MappingOption[];
|
|
45
|
+
] as const satisfies readonly MappingOption[];
|
package/src/index.ts
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export const JOB_APPLICATION_STATUS = [
|
|
2
|
+
{ key: 0, value: "Pending Review", i18nKey: "jobApplication.status.0" },
|
|
3
|
+
{ key: 1, value: "Shortlisted", i18nKey: "jobApplication.status.1" },
|
|
4
|
+
{ key: 2, value: "Interview", i18nKey: "jobApplication.status.2" },
|
|
5
|
+
{ key: 3, value: "Offered", i18nKey: "jobApplication.status.3" },
|
|
6
|
+
{ key: 4, value: "Hired", i18nKey: "jobApplication.status.4" },
|
|
7
|
+
{ key: 5, value: "Rejected", i18nKey: "jobApplication.status.5" },
|
|
8
|
+
{ key: 6, value: "Withdrawn", i18nKey: "jobApplication.status.6" },
|
|
9
|
+
{ key: 7, value: "Ghosted", i18nKey: "jobApplication.status.7" },
|
|
10
|
+
] as const satisfies readonly { key: number; value: string; i18nKey: string }[];
|