@zyacreatives/shared 2.0.96 → 2.0.98

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.
@@ -109,11 +109,10 @@ export declare const EMPLOYMENT_TYPE: {
109
109
  readonly INTERNSHIP: "Internship";
110
110
  };
111
111
  export declare const JOB_AVAILABILITY_TYPES: {
112
- readonly FULL_TIME: "Full Time";
113
- readonly PART_TIME: "Part Time";
114
- readonly CONTRACT: "Contract";
115
- readonly FREELANCE: "Freelance";
116
- readonly INTERNSHIP: "Internship";
112
+ readonly IMMEDIATE: "Immediate (Within 1 week)";
113
+ readonly TWO_WEEKS_NOTICE: "2 weeks notice";
114
+ readonly ONE_MONTH_NOTICE: "1 month notice";
115
+ readonly FLEXIBLE: "Flexible";
117
116
  };
118
117
  export declare const WAGE_TYPES: {
119
118
  readonly HOURLY: "Hourly";
package/dist/constants.js CHANGED
@@ -112,11 +112,10 @@ exports.EMPLOYMENT_TYPE = {
112
112
  INTERNSHIP: "Internship",
113
113
  };
114
114
  exports.JOB_AVAILABILITY_TYPES = {
115
- FULL_TIME: "Full Time",
116
- PART_TIME: "Part Time",
117
- CONTRACT: "Contract",
118
- FREELANCE: "Freelance",
119
- INTERNSHIP: "Internship",
115
+ IMMEDIATE: "Immediate (Within 1 week)",
116
+ TWO_WEEKS_NOTICE: "2 weeks notice",
117
+ ONE_MONTH_NOTICE: "1 month notice",
118
+ FLEXIBLE: "Flexible",
120
119
  };
121
120
  exports.WAGE_TYPES = {
122
121
  HOURLY: "Hourly",
@@ -14,6 +14,7 @@ export declare const MinimalJobApplicationEntitySchema: z.ZodObject<{
14
14
  }>;
15
15
  }, z.core.$strip>;
16
16
  jobId: z.ZodCUID2;
17
+ id: z.ZodCUID2;
17
18
  coverLetter: z.ZodString;
18
19
  createdAt: z.ZodCoercedDate<unknown>;
19
20
  applicationStatus: z.ZodEnum<{
@@ -29,11 +30,10 @@ export declare const BaseJobApplicationEntitySchema: z.ZodObject<{
29
30
  createdAt: z.ZodCoercedDate<unknown>;
30
31
  updatedAt: z.ZodCoercedDate<unknown>;
31
32
  availability: z.ZodEnum<{
32
- readonly FULL_TIME: "Full Time";
33
- readonly PART_TIME: "Part Time";
34
- readonly CONTRACT: "Contract";
35
- readonly FREELANCE: "Freelance";
36
- readonly INTERNSHIP: "Internship";
33
+ readonly IMMEDIATE: "Immediate (Within 1 week)";
34
+ readonly TWO_WEEKS_NOTICE: "2 weeks notice";
35
+ readonly ONE_MONTH_NOTICE: "1 month notice";
36
+ readonly FLEXIBLE: "Flexible";
37
37
  }>;
38
38
  experienceLevel: z.ZodEnum<{
39
39
  readonly YEAR_0_1: "0-1 year";
@@ -129,11 +129,10 @@ export declare const JobApplicationEntitySchema: z.ZodObject<{
129
129
  receiveEmailUpdates: z.ZodBoolean;
130
130
  wagesAmount: z.ZodOptional<z.ZodString>;
131
131
  availability: z.ZodEnum<{
132
- "Full Time": "Full Time";
133
- "Part Time": "Part Time";
134
- Freelance: "Freelance";
135
- Internship: "Internship";
136
- Contract: "Contract";
132
+ "Immediate (Within 1 week)": "Immediate (Within 1 week)";
133
+ "2 weeks notice": "2 weeks notice";
134
+ "1 month notice": "1 month notice";
135
+ Flexible: "Flexible";
137
136
  }>;
138
137
  createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
139
138
  updatedAt: z.ZodCoercedDate<unknown>;
@@ -172,11 +171,10 @@ export declare const CreateJobApplicationInputSchema: z.ZodObject<{
172
171
  receiveEmailUpdates: z.ZodBoolean;
173
172
  wagesAmount: z.ZodOptional<z.ZodString>;
174
173
  availability: z.ZodEnum<{
175
- "Full Time": "Full Time";
176
- "Part Time": "Part Time";
177
- Freelance: "Freelance";
178
- Internship: "Internship";
179
- Contract: "Contract";
174
+ "Immediate (Within 1 week)": "Immediate (Within 1 week)";
175
+ "2 weeks notice": "2 weeks notice";
176
+ "1 month notice": "1 month notice";
177
+ Flexible: "Flexible";
180
178
  }>;
181
179
  }, z.core.$strip>;
182
180
  export declare const UpdateJobApplicationStatusSchema: z.ZodObject<{
@@ -7,6 +7,7 @@ const user_1 = require("./user");
7
7
  exports.MinimalJobApplicationEntitySchema = zod_openapi_1.z.object({
8
8
  user: user_1.MinimalUserSchema,
9
9
  jobId: zod_openapi_1.z.cuid2(),
10
+ id: zod_openapi_1.z.cuid2(),
10
11
  coverLetter: zod_openapi_1.z.string(),
11
12
  createdAt: zod_openapi_1.z.coerce.date(),
12
13
  applicationStatus: zod_openapi_1.z.enum(Object.values(constants_1.APPLICATION_STATUS)),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zyacreatives/shared",
3
- "version": "2.0.96",
3
+ "version": "2.0.98",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/src/constants.ts CHANGED
@@ -123,11 +123,10 @@ export const EMPLOYMENT_TYPE = {
123
123
  } as const;
124
124
 
125
125
  export const JOB_AVAILABILITY_TYPES = {
126
- FULL_TIME: "Full Time",
127
- PART_TIME: "Part Time",
128
- CONTRACT: "Contract",
129
- FREELANCE: "Freelance",
130
- INTERNSHIP: "Internship",
126
+ IMMEDIATE: "Immediate (Within 1 week)",
127
+ TWO_WEEKS_NOTICE: "2 weeks notice",
128
+ ONE_MONTH_NOTICE: "1 month notice",
129
+ FLEXIBLE: "Flexible",
131
130
  } as const;
132
131
 
133
132
  export const WAGE_TYPES = {
@@ -12,6 +12,7 @@ import { MinimalUserSchema } from "./user";
12
12
  export const MinimalJobApplicationEntitySchema = z.object({
13
13
  user: MinimalUserSchema,
14
14
  jobId: z.cuid2(),
15
+ id: z.cuid2(),
15
16
  coverLetter: z.string(),
16
17
  createdAt: z.coerce.date(),
17
18
  applicationStatus: z.enum(