@myrjfa/state 2.1.7 → 2.1.9
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/lib/actions/actions.d.ts +11 -9
- package/dist/lib/actions/actions.d.ts.map +1 -1
- package/dist/lib/actions/actions.js +21 -2
- package/dist/lib/actions/auth.d.ts +20 -18
- package/dist/lib/actions/auth.d.ts.map +1 -1
- package/dist/lib/actions/auth.js +1 -1
- package/dist/lib/actions/fetcher.d.ts.map +1 -1
- package/dist/lib/actions/fetcher.js +3 -2
- package/dist/lib/models/application.d.ts +1 -1
- package/dist/lib/models/application.d.ts.map +1 -1
- package/dist/lib/models/booking.d.ts +16 -1
- package/dist/lib/models/booking.d.ts.map +1 -1
- package/dist/lib/models/opportunities/freelance.d.ts +18 -18
- package/dist/lib/models/opportunities/internship.d.ts +18 -18
- package/dist/lib/models/opportunities/job.d.ts +20 -20
- package/dist/lib/models/opportunities/opportunity.d.ts +27 -22
- package/dist/lib/models/opportunities/opportunity.d.ts.map +1 -1
- package/dist/lib/models/opportunities/opportunity.js +2 -0
- package/dist/lib/models/opportunities/volunteerJob.d.ts +18 -18
- package/dist/lib/models/review.d.ts +6 -0
- package/dist/lib/models/review.d.ts.map +1 -1
- package/dist/lib/models/review.js +2 -0
- package/dist/lib/userAtom.d.ts +32 -32
- package/package.json +1 -1
|
@@ -119,20 +119,20 @@ export declare const InternshipOpportunitySchema: z.ZodObject<{
|
|
|
119
119
|
registrationNumber: z.ZodOptional<z.ZodString>;
|
|
120
120
|
}, "strip", z.ZodTypeAny, {
|
|
121
121
|
type: string;
|
|
122
|
-
name: string;
|
|
123
122
|
city: string;
|
|
124
123
|
state: string;
|
|
125
124
|
country: string;
|
|
126
125
|
address: string;
|
|
126
|
+
name: string;
|
|
127
127
|
pinCode?: string | undefined;
|
|
128
128
|
registrationNumber?: string | undefined;
|
|
129
129
|
}, {
|
|
130
130
|
type: string;
|
|
131
|
-
name: string;
|
|
132
131
|
city: string;
|
|
133
132
|
state: string;
|
|
134
133
|
country: string;
|
|
135
134
|
address: string;
|
|
135
|
+
name: string;
|
|
136
136
|
pinCode?: string | undefined;
|
|
137
137
|
registrationNumber?: string | undefined;
|
|
138
138
|
}>, "many">>;
|
|
@@ -142,7 +142,6 @@ export declare const InternshipOpportunitySchema: z.ZodObject<{
|
|
|
142
142
|
businessApiVerificationStatus: z.ZodOptional<z.ZodEnum<["pending", "verified", "failed"]>>;
|
|
143
143
|
businessVerificationDenialReason: z.ZodOptional<z.ZodString>;
|
|
144
144
|
}, "strict", z.ZodTypeAny, {
|
|
145
|
-
role: "host" | "user" | "admin" | "hr" | "sales";
|
|
146
145
|
country: string;
|
|
147
146
|
rating: number;
|
|
148
147
|
ratingCount: number;
|
|
@@ -160,7 +159,7 @@ export declare const InternshipOpportunitySchema: z.ZodObject<{
|
|
|
160
159
|
lastActive: Date;
|
|
161
160
|
verifiedEmail: boolean;
|
|
162
161
|
verifiedMobile: boolean;
|
|
163
|
-
|
|
162
|
+
role: "host" | "user" | "admin" | "hr" | "sales";
|
|
164
163
|
skills?: {
|
|
165
164
|
skill: string;
|
|
166
165
|
skillExpertise: number;
|
|
@@ -181,6 +180,7 @@ export declare const InternshipOpportunitySchema: z.ZodObject<{
|
|
|
181
180
|
wishlist?: string[] | undefined;
|
|
182
181
|
favBlogs?: string[] | undefined;
|
|
183
182
|
favPackages?: string[] | undefined;
|
|
183
|
+
id?: string | undefined;
|
|
184
184
|
selfie?: string | undefined;
|
|
185
185
|
selfieAction?: string | undefined;
|
|
186
186
|
jobCount?: number | undefined;
|
|
@@ -190,11 +190,11 @@ export declare const InternshipOpportunitySchema: z.ZodObject<{
|
|
|
190
190
|
verifiedBusiness?: "true" | "false" | "inProgress" | undefined;
|
|
191
191
|
properties?: {
|
|
192
192
|
type: string;
|
|
193
|
-
name: string;
|
|
194
193
|
city: string;
|
|
195
194
|
state: string;
|
|
196
195
|
country: string;
|
|
197
196
|
address: string;
|
|
197
|
+
name: string;
|
|
198
198
|
pinCode?: string | undefined;
|
|
199
199
|
registrationNumber?: string | undefined;
|
|
200
200
|
}[] | undefined;
|
|
@@ -204,7 +204,6 @@ export declare const InternshipOpportunitySchema: z.ZodObject<{
|
|
|
204
204
|
businessApiVerificationStatus?: "pending" | "verified" | "failed" | undefined;
|
|
205
205
|
businessVerificationDenialReason?: string | undefined;
|
|
206
206
|
}, {
|
|
207
|
-
role: "host" | "user" | "admin" | "hr" | "sales";
|
|
208
207
|
country: string;
|
|
209
208
|
rating: number;
|
|
210
209
|
ratingCount: number;
|
|
@@ -222,7 +221,7 @@ export declare const InternshipOpportunitySchema: z.ZodObject<{
|
|
|
222
221
|
lastActive: Date;
|
|
223
222
|
verifiedEmail: boolean;
|
|
224
223
|
verifiedMobile: boolean;
|
|
225
|
-
|
|
224
|
+
role: "host" | "user" | "admin" | "hr" | "sales";
|
|
226
225
|
skills?: {
|
|
227
226
|
skill: string;
|
|
228
227
|
skillExpertise: number;
|
|
@@ -243,6 +242,7 @@ export declare const InternshipOpportunitySchema: z.ZodObject<{
|
|
|
243
242
|
wishlist?: string[] | undefined;
|
|
244
243
|
favBlogs?: string[] | undefined;
|
|
245
244
|
favPackages?: string[] | undefined;
|
|
245
|
+
id?: string | undefined;
|
|
246
246
|
selfie?: string | undefined;
|
|
247
247
|
selfieAction?: string | undefined;
|
|
248
248
|
jobCount?: number | undefined;
|
|
@@ -252,11 +252,11 @@ export declare const InternshipOpportunitySchema: z.ZodObject<{
|
|
|
252
252
|
verifiedBusiness?: "true" | "false" | "inProgress" | undefined;
|
|
253
253
|
properties?: {
|
|
254
254
|
type: string;
|
|
255
|
-
name: string;
|
|
256
255
|
city: string;
|
|
257
256
|
state: string;
|
|
258
257
|
country: string;
|
|
259
258
|
address: string;
|
|
259
|
+
name: string;
|
|
260
260
|
pinCode?: string | undefined;
|
|
261
261
|
registrationNumber?: string | undefined;
|
|
262
262
|
}[] | undefined;
|
|
@@ -273,17 +273,17 @@ export declare const InternshipOpportunitySchema: z.ZodObject<{
|
|
|
273
273
|
phoneNumber: z.ZodString;
|
|
274
274
|
email: z.ZodString;
|
|
275
275
|
}, "strip", z.ZodTypeAny, {
|
|
276
|
-
role: "host" | "user" | "admin" | "hr" | "sales";
|
|
277
276
|
username: string;
|
|
278
277
|
email: string;
|
|
279
278
|
phoneNumber: string;
|
|
280
279
|
countryCode: string;
|
|
281
|
-
}, {
|
|
282
280
|
role: "host" | "user" | "admin" | "hr" | "sales";
|
|
281
|
+
}, {
|
|
283
282
|
username: string;
|
|
284
283
|
email: string;
|
|
285
284
|
phoneNumber: string;
|
|
286
285
|
countryCode: string;
|
|
286
|
+
role: "host" | "user" | "admin" | "hr" | "sales";
|
|
287
287
|
}>, "many">>;
|
|
288
288
|
status: z.ZodEnum<["draft", "archived", "pending", "open", "closed", "denied", "deleted"]>;
|
|
289
289
|
adminApproval: z.ZodBoolean;
|
|
@@ -355,7 +355,6 @@ export declare const InternshipOpportunitySchema: z.ZodObject<{
|
|
|
355
355
|
ratingCount: number;
|
|
356
356
|
reviewCount: number;
|
|
357
357
|
hostId: {
|
|
358
|
-
role: "host" | "user" | "admin" | "hr" | "sales";
|
|
359
358
|
country: string;
|
|
360
359
|
rating: number;
|
|
361
360
|
ratingCount: number;
|
|
@@ -373,7 +372,7 @@ export declare const InternshipOpportunitySchema: z.ZodObject<{
|
|
|
373
372
|
lastActive: Date;
|
|
374
373
|
verifiedEmail: boolean;
|
|
375
374
|
verifiedMobile: boolean;
|
|
376
|
-
|
|
375
|
+
role: "host" | "user" | "admin" | "hr" | "sales";
|
|
377
376
|
skills?: {
|
|
378
377
|
skill: string;
|
|
379
378
|
skillExpertise: number;
|
|
@@ -394,6 +393,7 @@ export declare const InternshipOpportunitySchema: z.ZodObject<{
|
|
|
394
393
|
wishlist?: string[] | undefined;
|
|
395
394
|
favBlogs?: string[] | undefined;
|
|
396
395
|
favPackages?: string[] | undefined;
|
|
396
|
+
id?: string | undefined;
|
|
397
397
|
selfie?: string | undefined;
|
|
398
398
|
selfieAction?: string | undefined;
|
|
399
399
|
jobCount?: number | undefined;
|
|
@@ -403,11 +403,11 @@ export declare const InternshipOpportunitySchema: z.ZodObject<{
|
|
|
403
403
|
verifiedBusiness?: "true" | "false" | "inProgress" | undefined;
|
|
404
404
|
properties?: {
|
|
405
405
|
type: string;
|
|
406
|
-
name: string;
|
|
407
406
|
city: string;
|
|
408
407
|
state: string;
|
|
409
408
|
country: string;
|
|
410
409
|
address: string;
|
|
410
|
+
name: string;
|
|
411
411
|
pinCode?: string | undefined;
|
|
412
412
|
registrationNumber?: string | undefined;
|
|
413
413
|
}[] | undefined;
|
|
@@ -436,11 +436,11 @@ export declare const InternshipOpportunitySchema: z.ZodObject<{
|
|
|
436
436
|
pendingApplicationCount?: number | undefined;
|
|
437
437
|
hostingType?: string | undefined;
|
|
438
438
|
applicationObservers?: {
|
|
439
|
-
role: "host" | "user" | "admin" | "hr" | "sales";
|
|
440
439
|
username: string;
|
|
441
440
|
email: string;
|
|
442
441
|
phoneNumber: string;
|
|
443
442
|
countryCode: string;
|
|
443
|
+
role: "host" | "user" | "admin" | "hr" | "sales";
|
|
444
444
|
}[] | undefined;
|
|
445
445
|
createdAt?: Date | undefined;
|
|
446
446
|
updatedAt?: Date | undefined;
|
|
@@ -479,7 +479,6 @@ export declare const InternshipOpportunitySchema: z.ZodObject<{
|
|
|
479
479
|
ratingCount: number;
|
|
480
480
|
reviewCount: number;
|
|
481
481
|
hostId: {
|
|
482
|
-
role: "host" | "user" | "admin" | "hr" | "sales";
|
|
483
482
|
country: string;
|
|
484
483
|
rating: number;
|
|
485
484
|
ratingCount: number;
|
|
@@ -497,7 +496,7 @@ export declare const InternshipOpportunitySchema: z.ZodObject<{
|
|
|
497
496
|
lastActive: Date;
|
|
498
497
|
verifiedEmail: boolean;
|
|
499
498
|
verifiedMobile: boolean;
|
|
500
|
-
|
|
499
|
+
role: "host" | "user" | "admin" | "hr" | "sales";
|
|
501
500
|
skills?: {
|
|
502
501
|
skill: string;
|
|
503
502
|
skillExpertise: number;
|
|
@@ -518,6 +517,7 @@ export declare const InternshipOpportunitySchema: z.ZodObject<{
|
|
|
518
517
|
wishlist?: string[] | undefined;
|
|
519
518
|
favBlogs?: string[] | undefined;
|
|
520
519
|
favPackages?: string[] | undefined;
|
|
520
|
+
id?: string | undefined;
|
|
521
521
|
selfie?: string | undefined;
|
|
522
522
|
selfieAction?: string | undefined;
|
|
523
523
|
jobCount?: number | undefined;
|
|
@@ -527,11 +527,11 @@ export declare const InternshipOpportunitySchema: z.ZodObject<{
|
|
|
527
527
|
verifiedBusiness?: "true" | "false" | "inProgress" | undefined;
|
|
528
528
|
properties?: {
|
|
529
529
|
type: string;
|
|
530
|
-
name: string;
|
|
531
530
|
city: string;
|
|
532
531
|
state: string;
|
|
533
532
|
country: string;
|
|
534
533
|
address: string;
|
|
534
|
+
name: string;
|
|
535
535
|
pinCode?: string | undefined;
|
|
536
536
|
registrationNumber?: string | undefined;
|
|
537
537
|
}[] | undefined;
|
|
@@ -560,11 +560,11 @@ export declare const InternshipOpportunitySchema: z.ZodObject<{
|
|
|
560
560
|
pendingApplicationCount?: number | undefined;
|
|
561
561
|
hostingType?: string | undefined;
|
|
562
562
|
applicationObservers?: {
|
|
563
|
-
role: "host" | "user" | "admin" | "hr" | "sales";
|
|
564
563
|
username: string;
|
|
565
564
|
email: string;
|
|
566
565
|
phoneNumber: string;
|
|
567
566
|
countryCode: string;
|
|
567
|
+
role: "host" | "user" | "admin" | "hr" | "sales";
|
|
568
568
|
}[] | undefined;
|
|
569
569
|
createdAt?: Date | undefined;
|
|
570
570
|
updatedAt?: Date | undefined;
|
|
@@ -164,20 +164,20 @@ export declare const JobOpportunitySchema: z.ZodObject<{
|
|
|
164
164
|
registrationNumber: z.ZodOptional<z.ZodString>;
|
|
165
165
|
}, "strip", z.ZodTypeAny, {
|
|
166
166
|
type: string;
|
|
167
|
-
name: string;
|
|
168
167
|
city: string;
|
|
169
168
|
state: string;
|
|
170
169
|
country: string;
|
|
171
170
|
address: string;
|
|
171
|
+
name: string;
|
|
172
172
|
pinCode?: string | undefined;
|
|
173
173
|
registrationNumber?: string | undefined;
|
|
174
174
|
}, {
|
|
175
175
|
type: string;
|
|
176
|
-
name: string;
|
|
177
176
|
city: string;
|
|
178
177
|
state: string;
|
|
179
178
|
country: string;
|
|
180
179
|
address: string;
|
|
180
|
+
name: string;
|
|
181
181
|
pinCode?: string | undefined;
|
|
182
182
|
registrationNumber?: string | undefined;
|
|
183
183
|
}>, "many">>;
|
|
@@ -187,7 +187,6 @@ export declare const JobOpportunitySchema: z.ZodObject<{
|
|
|
187
187
|
businessApiVerificationStatus: z.ZodOptional<z.ZodEnum<["pending", "verified", "failed"]>>;
|
|
188
188
|
businessVerificationDenialReason: z.ZodOptional<z.ZodString>;
|
|
189
189
|
}, "strict", z.ZodTypeAny, {
|
|
190
|
-
role: "host" | "user" | "admin" | "hr" | "sales";
|
|
191
190
|
country: string;
|
|
192
191
|
rating: number;
|
|
193
192
|
ratingCount: number;
|
|
@@ -205,7 +204,7 @@ export declare const JobOpportunitySchema: z.ZodObject<{
|
|
|
205
204
|
lastActive: Date;
|
|
206
205
|
verifiedEmail: boolean;
|
|
207
206
|
verifiedMobile: boolean;
|
|
208
|
-
|
|
207
|
+
role: "host" | "user" | "admin" | "hr" | "sales";
|
|
209
208
|
skills?: {
|
|
210
209
|
skill: string;
|
|
211
210
|
skillExpertise: number;
|
|
@@ -226,6 +225,7 @@ export declare const JobOpportunitySchema: z.ZodObject<{
|
|
|
226
225
|
wishlist?: string[] | undefined;
|
|
227
226
|
favBlogs?: string[] | undefined;
|
|
228
227
|
favPackages?: string[] | undefined;
|
|
228
|
+
id?: string | undefined;
|
|
229
229
|
selfie?: string | undefined;
|
|
230
230
|
selfieAction?: string | undefined;
|
|
231
231
|
jobCount?: number | undefined;
|
|
@@ -235,11 +235,11 @@ export declare const JobOpportunitySchema: z.ZodObject<{
|
|
|
235
235
|
verifiedBusiness?: "true" | "false" | "inProgress" | undefined;
|
|
236
236
|
properties?: {
|
|
237
237
|
type: string;
|
|
238
|
-
name: string;
|
|
239
238
|
city: string;
|
|
240
239
|
state: string;
|
|
241
240
|
country: string;
|
|
242
241
|
address: string;
|
|
242
|
+
name: string;
|
|
243
243
|
pinCode?: string | undefined;
|
|
244
244
|
registrationNumber?: string | undefined;
|
|
245
245
|
}[] | undefined;
|
|
@@ -249,7 +249,6 @@ export declare const JobOpportunitySchema: z.ZodObject<{
|
|
|
249
249
|
businessApiVerificationStatus?: "pending" | "verified" | "failed" | undefined;
|
|
250
250
|
businessVerificationDenialReason?: string | undefined;
|
|
251
251
|
}, {
|
|
252
|
-
role: "host" | "user" | "admin" | "hr" | "sales";
|
|
253
252
|
country: string;
|
|
254
253
|
rating: number;
|
|
255
254
|
ratingCount: number;
|
|
@@ -267,7 +266,7 @@ export declare const JobOpportunitySchema: z.ZodObject<{
|
|
|
267
266
|
lastActive: Date;
|
|
268
267
|
verifiedEmail: boolean;
|
|
269
268
|
verifiedMobile: boolean;
|
|
270
|
-
|
|
269
|
+
role: "host" | "user" | "admin" | "hr" | "sales";
|
|
271
270
|
skills?: {
|
|
272
271
|
skill: string;
|
|
273
272
|
skillExpertise: number;
|
|
@@ -288,6 +287,7 @@ export declare const JobOpportunitySchema: z.ZodObject<{
|
|
|
288
287
|
wishlist?: string[] | undefined;
|
|
289
288
|
favBlogs?: string[] | undefined;
|
|
290
289
|
favPackages?: string[] | undefined;
|
|
290
|
+
id?: string | undefined;
|
|
291
291
|
selfie?: string | undefined;
|
|
292
292
|
selfieAction?: string | undefined;
|
|
293
293
|
jobCount?: number | undefined;
|
|
@@ -297,11 +297,11 @@ export declare const JobOpportunitySchema: z.ZodObject<{
|
|
|
297
297
|
verifiedBusiness?: "true" | "false" | "inProgress" | undefined;
|
|
298
298
|
properties?: {
|
|
299
299
|
type: string;
|
|
300
|
-
name: string;
|
|
301
300
|
city: string;
|
|
302
301
|
state: string;
|
|
303
302
|
country: string;
|
|
304
303
|
address: string;
|
|
304
|
+
name: string;
|
|
305
305
|
pinCode?: string | undefined;
|
|
306
306
|
registrationNumber?: string | undefined;
|
|
307
307
|
}[] | undefined;
|
|
@@ -318,17 +318,17 @@ export declare const JobOpportunitySchema: z.ZodObject<{
|
|
|
318
318
|
phoneNumber: z.ZodString;
|
|
319
319
|
email: z.ZodString;
|
|
320
320
|
}, "strip", z.ZodTypeAny, {
|
|
321
|
-
role: "host" | "user" | "admin" | "hr" | "sales";
|
|
322
321
|
username: string;
|
|
323
322
|
email: string;
|
|
324
323
|
phoneNumber: string;
|
|
325
324
|
countryCode: string;
|
|
326
|
-
}, {
|
|
327
325
|
role: "host" | "user" | "admin" | "hr" | "sales";
|
|
326
|
+
}, {
|
|
328
327
|
username: string;
|
|
329
328
|
email: string;
|
|
330
329
|
phoneNumber: string;
|
|
331
330
|
countryCode: string;
|
|
331
|
+
role: "host" | "user" | "admin" | "hr" | "sales";
|
|
332
332
|
}>, "many">>;
|
|
333
333
|
status: z.ZodEnum<["draft", "archived", "pending", "open", "closed", "denied", "deleted"]>;
|
|
334
334
|
adminApproval: z.ZodBoolean;
|
|
@@ -411,13 +411,13 @@ export declare const JobOpportunitySchema: z.ZodObject<{
|
|
|
411
411
|
securityPaidToHost: boolean;
|
|
412
412
|
}>;
|
|
413
413
|
}, "strict", z.ZodTypeAny, {
|
|
414
|
-
status: "draft" | "archived" | "pending" | "open" | "closed" | "denied" | "deleted";
|
|
415
414
|
salary: {
|
|
416
415
|
type: "free" | "stipend" | "salary" | "project-based";
|
|
417
416
|
currency: string;
|
|
418
417
|
amount?: number | undefined;
|
|
419
418
|
frequency?: "daily" | "weekly" | "monthly" | "yearly" | "one-time" | undefined;
|
|
420
419
|
};
|
|
420
|
+
status: "draft" | "archived" | "pending" | "open" | "closed" | "denied" | "deleted";
|
|
421
421
|
slug: string;
|
|
422
422
|
opportunityType: "job";
|
|
423
423
|
title: string;
|
|
@@ -445,7 +445,6 @@ export declare const JobOpportunitySchema: z.ZodObject<{
|
|
|
445
445
|
ratingCount: number;
|
|
446
446
|
reviewCount: number;
|
|
447
447
|
hostId: {
|
|
448
|
-
role: "host" | "user" | "admin" | "hr" | "sales";
|
|
449
448
|
country: string;
|
|
450
449
|
rating: number;
|
|
451
450
|
ratingCount: number;
|
|
@@ -463,7 +462,7 @@ export declare const JobOpportunitySchema: z.ZodObject<{
|
|
|
463
462
|
lastActive: Date;
|
|
464
463
|
verifiedEmail: boolean;
|
|
465
464
|
verifiedMobile: boolean;
|
|
466
|
-
|
|
465
|
+
role: "host" | "user" | "admin" | "hr" | "sales";
|
|
467
466
|
skills?: {
|
|
468
467
|
skill: string;
|
|
469
468
|
skillExpertise: number;
|
|
@@ -484,6 +483,7 @@ export declare const JobOpportunitySchema: z.ZodObject<{
|
|
|
484
483
|
wishlist?: string[] | undefined;
|
|
485
484
|
favBlogs?: string[] | undefined;
|
|
486
485
|
favPackages?: string[] | undefined;
|
|
486
|
+
id?: string | undefined;
|
|
487
487
|
selfie?: string | undefined;
|
|
488
488
|
selfieAction?: string | undefined;
|
|
489
489
|
jobCount?: number | undefined;
|
|
@@ -493,11 +493,11 @@ export declare const JobOpportunitySchema: z.ZodObject<{
|
|
|
493
493
|
verifiedBusiness?: "true" | "false" | "inProgress" | undefined;
|
|
494
494
|
properties?: {
|
|
495
495
|
type: string;
|
|
496
|
-
name: string;
|
|
497
496
|
city: string;
|
|
498
497
|
state: string;
|
|
499
498
|
country: string;
|
|
500
499
|
address: string;
|
|
500
|
+
name: string;
|
|
501
501
|
pinCode?: string | undefined;
|
|
502
502
|
registrationNumber?: string | undefined;
|
|
503
503
|
}[] | undefined;
|
|
@@ -549,22 +549,22 @@ export declare const JobOpportunitySchema: z.ZodObject<{
|
|
|
549
549
|
pendingApplicationCount?: number | undefined;
|
|
550
550
|
hostingType?: string | undefined;
|
|
551
551
|
applicationObservers?: {
|
|
552
|
-
role: "host" | "user" | "admin" | "hr" | "sales";
|
|
553
552
|
username: string;
|
|
554
553
|
email: string;
|
|
555
554
|
phoneNumber: string;
|
|
556
555
|
countryCode: string;
|
|
556
|
+
role: "host" | "user" | "admin" | "hr" | "sales";
|
|
557
557
|
}[] | undefined;
|
|
558
558
|
createdAt?: Date | undefined;
|
|
559
559
|
updatedAt?: Date | undefined;
|
|
560
560
|
}, {
|
|
561
|
-
status: "draft" | "archived" | "pending" | "open" | "closed" | "denied" | "deleted";
|
|
562
561
|
salary: {
|
|
563
562
|
type: "free" | "stipend" | "salary" | "project-based";
|
|
564
563
|
currency: string;
|
|
565
564
|
amount?: number | undefined;
|
|
566
565
|
frequency?: "daily" | "weekly" | "monthly" | "yearly" | "one-time" | undefined;
|
|
567
566
|
};
|
|
567
|
+
status: "draft" | "archived" | "pending" | "open" | "closed" | "denied" | "deleted";
|
|
568
568
|
slug: string;
|
|
569
569
|
opportunityType: "job";
|
|
570
570
|
title: string;
|
|
@@ -592,7 +592,6 @@ export declare const JobOpportunitySchema: z.ZodObject<{
|
|
|
592
592
|
ratingCount: number;
|
|
593
593
|
reviewCount: number;
|
|
594
594
|
hostId: {
|
|
595
|
-
role: "host" | "user" | "admin" | "hr" | "sales";
|
|
596
595
|
country: string;
|
|
597
596
|
rating: number;
|
|
598
597
|
ratingCount: number;
|
|
@@ -610,7 +609,7 @@ export declare const JobOpportunitySchema: z.ZodObject<{
|
|
|
610
609
|
lastActive: Date;
|
|
611
610
|
verifiedEmail: boolean;
|
|
612
611
|
verifiedMobile: boolean;
|
|
613
|
-
|
|
612
|
+
role: "host" | "user" | "admin" | "hr" | "sales";
|
|
614
613
|
skills?: {
|
|
615
614
|
skill: string;
|
|
616
615
|
skillExpertise: number;
|
|
@@ -631,6 +630,7 @@ export declare const JobOpportunitySchema: z.ZodObject<{
|
|
|
631
630
|
wishlist?: string[] | undefined;
|
|
632
631
|
favBlogs?: string[] | undefined;
|
|
633
632
|
favPackages?: string[] | undefined;
|
|
633
|
+
id?: string | undefined;
|
|
634
634
|
selfie?: string | undefined;
|
|
635
635
|
selfieAction?: string | undefined;
|
|
636
636
|
jobCount?: number | undefined;
|
|
@@ -640,11 +640,11 @@ export declare const JobOpportunitySchema: z.ZodObject<{
|
|
|
640
640
|
verifiedBusiness?: "true" | "false" | "inProgress" | undefined;
|
|
641
641
|
properties?: {
|
|
642
642
|
type: string;
|
|
643
|
-
name: string;
|
|
644
643
|
city: string;
|
|
645
644
|
state: string;
|
|
646
645
|
country: string;
|
|
647
646
|
address: string;
|
|
647
|
+
name: string;
|
|
648
648
|
pinCode?: string | undefined;
|
|
649
649
|
registrationNumber?: string | undefined;
|
|
650
650
|
}[] | undefined;
|
|
@@ -696,11 +696,11 @@ export declare const JobOpportunitySchema: z.ZodObject<{
|
|
|
696
696
|
pendingApplicationCount?: number | undefined;
|
|
697
697
|
hostingType?: string | undefined;
|
|
698
698
|
applicationObservers?: {
|
|
699
|
-
role: "host" | "user" | "admin" | "hr" | "sales";
|
|
700
699
|
username: string;
|
|
701
700
|
email: string;
|
|
702
701
|
phoneNumber: string;
|
|
703
702
|
countryCode: string;
|
|
703
|
+
role: "host" | "user" | "admin" | "hr" | "sales";
|
|
704
704
|
}[] | undefined;
|
|
705
705
|
createdAt?: Date | undefined;
|
|
706
706
|
updatedAt?: Date | undefined;
|