@myrjfa/state 1.1.0 → 1.1.2
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/index.d.ts +3 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -2
- package/dist/lib/actions/actions.d.ts +56 -7
- package/dist/lib/actions/actions.d.ts.map +1 -1
- package/dist/lib/actions/actions.js +50 -10
- package/dist/lib/actions/auth.d.ts +12 -2
- package/dist/lib/actions/auth.d.ts.map +1 -1
- package/dist/lib/actions/chat.d.ts +80 -11
- package/dist/lib/actions/chat.d.ts.map +1 -1
- package/dist/lib/actions/chat.js +81 -20
- package/dist/lib/actions/fetcher.d.ts +0 -3
- package/dist/lib/actions/fetcher.d.ts.map +1 -1
- package/dist/lib/actions/fetcher.js +44 -6
- package/dist/lib/{severActions.d.ts → actions/serverActions.d.ts} +1 -1
- package/dist/lib/actions/serverActions.d.ts.map +1 -0
- package/dist/lib/actions/{severActions.js → serverActions.js} +3 -0
- package/dist/lib/actions/user.d.ts +23 -0
- package/dist/lib/actions/user.d.ts.map +1 -0
- package/dist/lib/actions/user.js +55 -0
- package/dist/lib/authSessionManager.d.ts.map +1 -1
- package/dist/lib/authSessionManager.js +14 -7
- package/dist/lib/context/ChatContext.d.ts +7 -0
- package/dist/lib/context/ChatContext.d.ts.map +1 -1
- package/dist/lib/context/ChatContext.js +121 -11
- package/dist/lib/models/blog.d.ts +3 -2
- package/dist/lib/models/blog.d.ts.map +1 -1
- package/dist/lib/models/chat.d.ts +32 -7
- package/dist/lib/models/chat.d.ts.map +1 -1
- package/dist/lib/models/notifications.d.ts +94 -0
- package/dist/lib/models/notifications.d.ts.map +1 -0
- package/dist/lib/models/notifications.js +60 -0
- package/dist/lib/models/opportunities/freelance.d.ts +48 -20
- package/dist/lib/models/opportunities/freelance.d.ts.map +1 -1
- package/dist/lib/models/opportunities/internship.d.ts +48 -20
- package/dist/lib/models/opportunities/internship.d.ts.map +1 -1
- package/dist/lib/models/opportunities/job.d.ts +58 -30
- package/dist/lib/models/opportunities/job.d.ts.map +1 -1
- package/dist/lib/models/opportunities/opportunity.d.ts +61 -33
- package/dist/lib/models/opportunities/opportunity.d.ts.map +1 -1
- package/dist/lib/models/opportunities/opportunity.js +1 -0
- package/dist/lib/models/opportunities/volunteerJob.d.ts +48 -20
- package/dist/lib/models/opportunities/volunteerJob.d.ts.map +1 -1
- package/dist/lib/models/portfolio.d.ts +2 -2
- package/dist/lib/models/props.d.ts +21 -4
- package/dist/lib/models/props.d.ts.map +1 -1
- package/dist/lib/models/user.d.ts +19 -4
- package/dist/lib/models/user.d.ts.map +1 -1
- package/dist/lib/models/user.js +5 -0
- package/dist/lib/userAtom.d.ts +24 -4
- package/dist/lib/userAtom.d.ts.map +1 -1
- package/dist/lib/userAtom.js +13 -11
- package/dist/lib/utils/fileCompression.d.ts +16 -0
- package/dist/lib/utils/fileCompression.d.ts.map +1 -0
- package/dist/lib/utils/fileCompression.js +56 -0
- package/dist/lib/utils/socialMediaUrl.d.ts +25 -0
- package/dist/lib/utils/socialMediaUrl.d.ts.map +1 -0
- package/dist/lib/utils/socialMediaUrl.js +97 -0
- package/dist/lib/utils.js +4 -4
- package/package.json +3 -1
- package/dist/lib/actions/severActions.d.ts +0 -3
- package/dist/lib/actions/severActions.d.ts.map +0 -1
- package/dist/lib/actions.d.ts +0 -141
- package/dist/lib/actions.d.ts.map +0 -1
- package/dist/lib/actions.js +0 -307
- package/dist/lib/auth.d.ts +0 -150
- package/dist/lib/auth.d.ts.map +0 -1
- package/dist/lib/auth.js +0 -125
- package/dist/lib/fetcher.d.ts +0 -9
- package/dist/lib/fetcher.d.ts.map +0 -1
- package/dist/lib/fetcher.js +0 -84
- package/dist/lib/models/notfications.d.ts +0 -26
- package/dist/lib/models/notfications.d.ts.map +0 -1
- package/dist/lib/models/notfications.js +0 -46
- package/dist/lib/models/volunteerJob.d.ts +0 -398
- package/dist/lib/models/volunteerJob.d.ts.map +0 -1
- package/dist/lib/models/volunteerJob.js +0 -152
- package/dist/lib/severActions.d.ts.map +0 -1
- package/dist/lib/severActions.js +0 -19
- package/dist/lib/socket.d.ts +0 -7
- package/dist/lib/socket.d.ts.map +0 -1
- package/dist/lib/socket.js +0 -22
|
@@ -39,22 +39,22 @@ export declare const JobOpportunitySchema: z.ZodObject<{
|
|
|
39
39
|
state: z.ZodString;
|
|
40
40
|
country: z.ZodString;
|
|
41
41
|
address: z.ZodOptional<z.ZodString>;
|
|
42
|
-
workMode: z.ZodOptional<z.ZodEnum<[
|
|
42
|
+
workMode: z.ZodOptional<z.ZodEnum<["onsite" | "remote" | "hybrid", ...("onsite" | "remote" | "hybrid")[]]>>;
|
|
43
43
|
compensation: z.ZodOptional<z.ZodObject<{
|
|
44
|
-
type: z.ZodEnum<[
|
|
44
|
+
type: z.ZodEnum<["free" | "stipend" | "salary" | "project-based", ...("free" | "stipend" | "salary" | "project-based")[]]>;
|
|
45
45
|
amount: z.ZodOptional<z.ZodNumber>;
|
|
46
46
|
currency: z.ZodEnum<[string, ...string[]]>;
|
|
47
|
-
frequency: z.ZodOptional<z.ZodEnum<[
|
|
47
|
+
frequency: z.ZodOptional<z.ZodEnum<["daily" | "weekly" | "monthly" | "yearly" | "one-time", ...("daily" | "weekly" | "monthly" | "yearly" | "one-time")[]]>>;
|
|
48
48
|
}, "strip", z.ZodTypeAny, {
|
|
49
|
-
type:
|
|
49
|
+
type: "free" | "stipend" | "salary" | "project-based";
|
|
50
50
|
currency: string;
|
|
51
51
|
amount?: number | undefined;
|
|
52
|
-
frequency?:
|
|
52
|
+
frequency?: "daily" | "weekly" | "monthly" | "yearly" | "one-time" | undefined;
|
|
53
53
|
}, {
|
|
54
|
-
type:
|
|
54
|
+
type: "free" | "stipend" | "salary" | "project-based";
|
|
55
55
|
currency: string;
|
|
56
56
|
amount?: number | undefined;
|
|
57
|
-
frequency?:
|
|
57
|
+
frequency?: "daily" | "weekly" | "monthly" | "yearly" | "one-time" | undefined;
|
|
58
58
|
}>>;
|
|
59
59
|
bondPlan: z.ZodOptional<z.ZodObject<{
|
|
60
60
|
enabled: z.ZodBoolean;
|
|
@@ -93,6 +93,7 @@ export declare const JobOpportunitySchema: z.ZodObject<{
|
|
|
93
93
|
answer: string;
|
|
94
94
|
}>, "many">;
|
|
95
95
|
applicationCount: z.ZodNumber;
|
|
96
|
+
pendingApplicationCount: z.ZodOptional<z.ZodNumber>;
|
|
96
97
|
views: z.ZodNumber;
|
|
97
98
|
shares: z.ZodNumber;
|
|
98
99
|
rating: z.ZodNumber;
|
|
@@ -129,7 +130,7 @@ export declare const JobOpportunitySchema: z.ZodObject<{
|
|
|
129
130
|
verifiedMobile: z.ZodBoolean;
|
|
130
131
|
verifiedIdCard: z.ZodOptional<z.ZodBoolean>;
|
|
131
132
|
role: z.ZodEnum<["host", "user", "admin", "hr", "sales"]>;
|
|
132
|
-
socialLinks: z.ZodOptional<z.ZodRecord<z.ZodEnum<[
|
|
133
|
+
socialLinks: z.ZodOptional<z.ZodRecord<z.ZodEnum<["instagram", "linkedin", "youtube", "googleBusiness"]>, z.ZodString>>;
|
|
133
134
|
userResume: z.ZodOptional<z.ZodString>;
|
|
134
135
|
skills: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
135
136
|
skill: z.ZodString;
|
|
@@ -152,6 +153,11 @@ export declare const JobOpportunitySchema: z.ZodObject<{
|
|
|
152
153
|
gstNumber: z.ZodOptional<z.ZodString>;
|
|
153
154
|
panCard: z.ZodOptional<z.ZodString>;
|
|
154
155
|
verifiedBusiness: z.ZodOptional<z.ZodEnum<["true", "false", "inProgress"]>>;
|
|
156
|
+
businessDocument: z.ZodOptional<z.ZodString>;
|
|
157
|
+
businessIdType: z.ZodOptional<z.ZodEnum<["PAN", "GST", "Udyam", "PersonalPAN"]>>;
|
|
158
|
+
businessIdNumber: z.ZodOptional<z.ZodString>;
|
|
159
|
+
businessApiVerificationStatus: z.ZodOptional<z.ZodEnum<["pending", "verified", "failed"]>>;
|
|
160
|
+
businessVerificationDenialReason: z.ZodOptional<z.ZodString>;
|
|
155
161
|
}, "strict", z.ZodTypeAny, {
|
|
156
162
|
username: string;
|
|
157
163
|
firstName: string;
|
|
@@ -182,7 +188,7 @@ export declare const JobOpportunitySchema: z.ZodObject<{
|
|
|
182
188
|
accessToken?: string | undefined;
|
|
183
189
|
refreshToken?: string | undefined;
|
|
184
190
|
verifiedIdCard?: boolean | undefined;
|
|
185
|
-
socialLinks?: Record<
|
|
191
|
+
socialLinks?: Partial<Record<"instagram" | "linkedin" | "youtube" | "googleBusiness", string>> | undefined;
|
|
186
192
|
userResume?: string | undefined;
|
|
187
193
|
skills?: {
|
|
188
194
|
skill: string;
|
|
@@ -199,6 +205,11 @@ export declare const JobOpportunitySchema: z.ZodObject<{
|
|
|
199
205
|
gstNumber?: string | undefined;
|
|
200
206
|
panCard?: string | undefined;
|
|
201
207
|
verifiedBusiness?: "true" | "false" | "inProgress" | undefined;
|
|
208
|
+
businessDocument?: string | undefined;
|
|
209
|
+
businessIdType?: "PAN" | "GST" | "Udyam" | "PersonalPAN" | undefined;
|
|
210
|
+
businessIdNumber?: string | undefined;
|
|
211
|
+
businessApiVerificationStatus?: "pending" | "verified" | "failed" | undefined;
|
|
212
|
+
businessVerificationDenialReason?: string | undefined;
|
|
202
213
|
}, {
|
|
203
214
|
username: string;
|
|
204
215
|
firstName: string;
|
|
@@ -229,7 +240,7 @@ export declare const JobOpportunitySchema: z.ZodObject<{
|
|
|
229
240
|
accessToken?: string | undefined;
|
|
230
241
|
refreshToken?: string | undefined;
|
|
231
242
|
verifiedIdCard?: boolean | undefined;
|
|
232
|
-
socialLinks?: Record<
|
|
243
|
+
socialLinks?: Partial<Record<"instagram" | "linkedin" | "youtube" | "googleBusiness", string>> | undefined;
|
|
233
244
|
userResume?: string | undefined;
|
|
234
245
|
skills?: {
|
|
235
246
|
skill: string;
|
|
@@ -246,6 +257,11 @@ export declare const JobOpportunitySchema: z.ZodObject<{
|
|
|
246
257
|
gstNumber?: string | undefined;
|
|
247
258
|
panCard?: string | undefined;
|
|
248
259
|
verifiedBusiness?: "true" | "false" | "inProgress" | undefined;
|
|
260
|
+
businessDocument?: string | undefined;
|
|
261
|
+
businessIdType?: "PAN" | "GST" | "Udyam" | "PersonalPAN" | undefined;
|
|
262
|
+
businessIdNumber?: string | undefined;
|
|
263
|
+
businessApiVerificationStatus?: "pending" | "verified" | "failed" | undefined;
|
|
264
|
+
businessVerificationDenialReason?: string | undefined;
|
|
249
265
|
}>>;
|
|
250
266
|
applicationObservers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
251
267
|
username: z.ZodString;
|
|
@@ -289,20 +305,20 @@ export declare const JobOpportunitySchema: z.ZodObject<{
|
|
|
289
305
|
weeklyOffs: number;
|
|
290
306
|
}>;
|
|
291
307
|
salary: z.ZodObject<{
|
|
292
|
-
type: z.ZodEnum<[
|
|
308
|
+
type: z.ZodEnum<["free" | "stipend" | "salary" | "project-based", ...("free" | "stipend" | "salary" | "project-based")[]]>;
|
|
293
309
|
amount: z.ZodOptional<z.ZodNumber>;
|
|
294
310
|
currency: z.ZodEnum<[string, ...string[]]>;
|
|
295
|
-
frequency: z.ZodOptional<z.ZodEnum<[
|
|
311
|
+
frequency: z.ZodOptional<z.ZodEnum<["daily" | "weekly" | "monthly" | "yearly" | "one-time", ...("daily" | "weekly" | "monthly" | "yearly" | "one-time")[]]>>;
|
|
296
312
|
}, "strip", z.ZodTypeAny, {
|
|
297
|
-
type:
|
|
313
|
+
type: "free" | "stipend" | "salary" | "project-based";
|
|
298
314
|
currency: string;
|
|
299
315
|
amount?: number | undefined;
|
|
300
|
-
frequency?:
|
|
316
|
+
frequency?: "daily" | "weekly" | "monthly" | "yearly" | "one-time" | undefined;
|
|
301
317
|
}, {
|
|
302
|
-
type:
|
|
318
|
+
type: "free" | "stipend" | "salary" | "project-based";
|
|
303
319
|
currency: string;
|
|
304
320
|
amount?: number | undefined;
|
|
305
|
-
frequency?:
|
|
321
|
+
frequency?: "daily" | "weekly" | "monthly" | "yearly" | "one-time" | undefined;
|
|
306
322
|
}>;
|
|
307
323
|
bond: z.ZodObject<{
|
|
308
324
|
bondStartDate: z.ZodDate;
|
|
@@ -348,7 +364,7 @@ export declare const JobOpportunitySchema: z.ZodObject<{
|
|
|
348
364
|
}>;
|
|
349
365
|
}, "strict", z.ZodTypeAny, {
|
|
350
366
|
country: string;
|
|
351
|
-
status: "
|
|
367
|
+
status: "pending" | "draft" | "archived" | "denied" | "open" | "closed" | "deleted";
|
|
352
368
|
rating: number;
|
|
353
369
|
ratingCount: number;
|
|
354
370
|
reviewCount: number;
|
|
@@ -356,10 +372,10 @@ export declare const JobOpportunitySchema: z.ZodObject<{
|
|
|
356
372
|
title: string;
|
|
357
373
|
description: string;
|
|
358
374
|
salary: {
|
|
359
|
-
type:
|
|
375
|
+
type: "free" | "stipend" | "salary" | "project-based";
|
|
360
376
|
currency: string;
|
|
361
377
|
amount?: number | undefined;
|
|
362
|
-
frequency?:
|
|
378
|
+
frequency?: "daily" | "weekly" | "monthly" | "yearly" | "one-time" | undefined;
|
|
363
379
|
};
|
|
364
380
|
slug: string;
|
|
365
381
|
opportunityType: "job";
|
|
@@ -410,7 +426,7 @@ export declare const JobOpportunitySchema: z.ZodObject<{
|
|
|
410
426
|
accessToken?: string | undefined;
|
|
411
427
|
refreshToken?: string | undefined;
|
|
412
428
|
verifiedIdCard?: boolean | undefined;
|
|
413
|
-
socialLinks?: Record<
|
|
429
|
+
socialLinks?: Partial<Record<"instagram" | "linkedin" | "youtube" | "googleBusiness", string>> | undefined;
|
|
414
430
|
userResume?: string | undefined;
|
|
415
431
|
skills?: {
|
|
416
432
|
skill: string;
|
|
@@ -427,6 +443,11 @@ export declare const JobOpportunitySchema: z.ZodObject<{
|
|
|
427
443
|
gstNumber?: string | undefined;
|
|
428
444
|
panCard?: string | undefined;
|
|
429
445
|
verifiedBusiness?: "true" | "false" | "inProgress" | undefined;
|
|
446
|
+
businessDocument?: string | undefined;
|
|
447
|
+
businessIdType?: "PAN" | "GST" | "Udyam" | "PersonalPAN" | undefined;
|
|
448
|
+
businessIdNumber?: string | undefined;
|
|
449
|
+
businessApiVerificationStatus?: "pending" | "verified" | "failed" | undefined;
|
|
450
|
+
businessVerificationDenialReason?: string | undefined;
|
|
430
451
|
};
|
|
431
452
|
adminApproval: boolean;
|
|
432
453
|
platformFees: {
|
|
@@ -455,12 +476,12 @@ export declare const JobOpportunitySchema: z.ZodObject<{
|
|
|
455
476
|
updatedAt?: Date | undefined;
|
|
456
477
|
categoryId?: string | undefined;
|
|
457
478
|
address?: string | undefined;
|
|
458
|
-
workMode?:
|
|
479
|
+
workMode?: "onsite" | "remote" | "hybrid" | undefined;
|
|
459
480
|
compensation?: {
|
|
460
|
-
type:
|
|
481
|
+
type: "free" | "stipend" | "salary" | "project-based";
|
|
461
482
|
currency: string;
|
|
462
483
|
amount?: number | undefined;
|
|
463
|
-
frequency?:
|
|
484
|
+
frequency?: "daily" | "weekly" | "monthly" | "yearly" | "one-time" | undefined;
|
|
464
485
|
} | undefined;
|
|
465
486
|
bondPlan?: {
|
|
466
487
|
enabled: boolean;
|
|
@@ -469,6 +490,7 @@ export declare const JobOpportunitySchema: z.ZodObject<{
|
|
|
469
490
|
hostFee?: number | undefined;
|
|
470
491
|
securityDeposit?: number | undefined;
|
|
471
492
|
} | undefined;
|
|
493
|
+
pendingApplicationCount?: number | undefined;
|
|
472
494
|
hostingType?: string | undefined;
|
|
473
495
|
applicationObservers?: {
|
|
474
496
|
username: string;
|
|
@@ -479,7 +501,7 @@ export declare const JobOpportunitySchema: z.ZodObject<{
|
|
|
479
501
|
}[] | undefined;
|
|
480
502
|
}, {
|
|
481
503
|
country: string;
|
|
482
|
-
status: "
|
|
504
|
+
status: "pending" | "draft" | "archived" | "denied" | "open" | "closed" | "deleted";
|
|
483
505
|
rating: number;
|
|
484
506
|
ratingCount: number;
|
|
485
507
|
reviewCount: number;
|
|
@@ -487,10 +509,10 @@ export declare const JobOpportunitySchema: z.ZodObject<{
|
|
|
487
509
|
title: string;
|
|
488
510
|
description: string;
|
|
489
511
|
salary: {
|
|
490
|
-
type:
|
|
512
|
+
type: "free" | "stipend" | "salary" | "project-based";
|
|
491
513
|
currency: string;
|
|
492
514
|
amount?: number | undefined;
|
|
493
|
-
frequency?:
|
|
515
|
+
frequency?: "daily" | "weekly" | "monthly" | "yearly" | "one-time" | undefined;
|
|
494
516
|
};
|
|
495
517
|
slug: string;
|
|
496
518
|
opportunityType: "job";
|
|
@@ -541,7 +563,7 @@ export declare const JobOpportunitySchema: z.ZodObject<{
|
|
|
541
563
|
accessToken?: string | undefined;
|
|
542
564
|
refreshToken?: string | undefined;
|
|
543
565
|
verifiedIdCard?: boolean | undefined;
|
|
544
|
-
socialLinks?: Record<
|
|
566
|
+
socialLinks?: Partial<Record<"instagram" | "linkedin" | "youtube" | "googleBusiness", string>> | undefined;
|
|
545
567
|
userResume?: string | undefined;
|
|
546
568
|
skills?: {
|
|
547
569
|
skill: string;
|
|
@@ -558,6 +580,11 @@ export declare const JobOpportunitySchema: z.ZodObject<{
|
|
|
558
580
|
gstNumber?: string | undefined;
|
|
559
581
|
panCard?: string | undefined;
|
|
560
582
|
verifiedBusiness?: "true" | "false" | "inProgress" | undefined;
|
|
583
|
+
businessDocument?: string | undefined;
|
|
584
|
+
businessIdType?: "PAN" | "GST" | "Udyam" | "PersonalPAN" | undefined;
|
|
585
|
+
businessIdNumber?: string | undefined;
|
|
586
|
+
businessApiVerificationStatus?: "pending" | "verified" | "failed" | undefined;
|
|
587
|
+
businessVerificationDenialReason?: string | undefined;
|
|
561
588
|
};
|
|
562
589
|
adminApproval: boolean;
|
|
563
590
|
platformFees: {
|
|
@@ -586,12 +613,12 @@ export declare const JobOpportunitySchema: z.ZodObject<{
|
|
|
586
613
|
updatedAt?: Date | undefined;
|
|
587
614
|
categoryId?: string | undefined;
|
|
588
615
|
address?: string | undefined;
|
|
589
|
-
workMode?:
|
|
616
|
+
workMode?: "onsite" | "remote" | "hybrid" | undefined;
|
|
590
617
|
compensation?: {
|
|
591
|
-
type:
|
|
618
|
+
type: "free" | "stipend" | "salary" | "project-based";
|
|
592
619
|
currency: string;
|
|
593
620
|
amount?: number | undefined;
|
|
594
|
-
frequency?:
|
|
621
|
+
frequency?: "daily" | "weekly" | "monthly" | "yearly" | "one-time" | undefined;
|
|
595
622
|
} | undefined;
|
|
596
623
|
bondPlan?: {
|
|
597
624
|
enabled: boolean;
|
|
@@ -600,6 +627,7 @@ export declare const JobOpportunitySchema: z.ZodObject<{
|
|
|
600
627
|
securityDeposit?: number | undefined;
|
|
601
628
|
commissionRate?: number | undefined;
|
|
602
629
|
} | undefined;
|
|
630
|
+
pendingApplicationCount?: number | undefined;
|
|
603
631
|
hostingType?: string | undefined;
|
|
604
632
|
applicationObservers?: {
|
|
605
633
|
username: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"job.d.ts","sourceRoot":"","sources":["../../../../src/lib/models/opportunities/job.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;EAKrB,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;EAI7B,CAAC;AAEH,eAAO,MAAM,oBAAoB
|
|
1
|
+
{"version":3,"file":"job.d.ts","sourceRoot":"","sources":["../../../../src/lib/models/opportunities/job.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;EAKrB,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;EAI7B,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAY/B,CAAC"}
|
|
@@ -28,8 +28,8 @@ export declare const workModeOptions: readonly [{
|
|
|
28
28
|
readonly value: "hybrid";
|
|
29
29
|
readonly label: "Hybrid";
|
|
30
30
|
}];
|
|
31
|
-
export declare const OpportunityTypeEnum: z.ZodEnum<[
|
|
32
|
-
export declare const WorkModeEnum: z.ZodEnum<[
|
|
31
|
+
export declare const OpportunityTypeEnum: z.ZodEnum<["volunteer" | "internship" | "freelance" | "job", ...("volunteer" | "internship" | "freelance" | "job")[]]>;
|
|
32
|
+
export declare const WorkModeEnum: z.ZodEnum<["onsite" | "remote" | "hybrid", ...("onsite" | "remote" | "hybrid")[]]>;
|
|
33
33
|
export declare const OpportunityStatusEnum: z.ZodEnum<["draft", "archived", "pending", "open", "closed", "denied", "deleted"]>;
|
|
34
34
|
export declare const compensationTypeOptions: readonly [{
|
|
35
35
|
readonly value: "free";
|
|
@@ -65,23 +65,23 @@ export type WorkMode = typeof workModeOptions[number]['value'];
|
|
|
65
65
|
export type CompensationType = typeof compensationTypeOptions[number]['value'];
|
|
66
66
|
export type PayFrequency = typeof payFrequencyOptions[number]['value'];
|
|
67
67
|
export declare const getCompensationTypeForOpportunity: (oppType: OpportunityType) => CompensationType;
|
|
68
|
-
export declare const CompensationTypeEnum: z.ZodEnum<[
|
|
69
|
-
export declare const PayFrequencyEnum: z.ZodEnum<[
|
|
68
|
+
export declare const CompensationTypeEnum: z.ZodEnum<["free" | "stipend" | "salary" | "project-based", ...("free" | "stipend" | "salary" | "project-based")[]]>;
|
|
69
|
+
export declare const PayFrequencyEnum: z.ZodEnum<["daily" | "weekly" | "monthly" | "yearly" | "one-time", ...("daily" | "weekly" | "monthly" | "yearly" | "one-time")[]]>;
|
|
70
70
|
export declare const CompensationSchema: z.ZodObject<{
|
|
71
|
-
type: z.ZodEnum<[
|
|
71
|
+
type: z.ZodEnum<["free" | "stipend" | "salary" | "project-based", ...("free" | "stipend" | "salary" | "project-based")[]]>;
|
|
72
72
|
amount: z.ZodOptional<z.ZodNumber>;
|
|
73
73
|
currency: z.ZodEnum<[string, ...string[]]>;
|
|
74
|
-
frequency: z.ZodOptional<z.ZodEnum<[
|
|
74
|
+
frequency: z.ZodOptional<z.ZodEnum<["daily" | "weekly" | "monthly" | "yearly" | "one-time", ...("daily" | "weekly" | "monthly" | "yearly" | "one-time")[]]>>;
|
|
75
75
|
}, "strip", z.ZodTypeAny, {
|
|
76
|
-
type:
|
|
76
|
+
type: "free" | "stipend" | "salary" | "project-based";
|
|
77
77
|
currency: string;
|
|
78
78
|
amount?: number | undefined;
|
|
79
|
-
frequency?:
|
|
79
|
+
frequency?: "daily" | "weekly" | "monthly" | "yearly" | "one-time" | undefined;
|
|
80
80
|
}, {
|
|
81
|
-
type:
|
|
81
|
+
type: "free" | "stipend" | "salary" | "project-based";
|
|
82
82
|
currency: string;
|
|
83
83
|
amount?: number | undefined;
|
|
84
|
-
frequency?:
|
|
84
|
+
frequency?: "daily" | "weekly" | "monthly" | "yearly" | "one-time" | undefined;
|
|
85
85
|
}>;
|
|
86
86
|
export type Compensation = z.infer<typeof CompensationSchema>;
|
|
87
87
|
export declare const BondPlanSchema: z.ZodObject<{
|
|
@@ -106,7 +106,7 @@ export declare const BondPlanSchema: z.ZodObject<{
|
|
|
106
106
|
export type BondPlan = z.infer<typeof BondPlanSchema>;
|
|
107
107
|
export declare const OpportunitySchema: z.ZodObject<{
|
|
108
108
|
slug: z.ZodString;
|
|
109
|
-
opportunityType: z.ZodEnum<[
|
|
109
|
+
opportunityType: z.ZodEnum<["volunteer" | "internship" | "freelance" | "job", ...("volunteer" | "internship" | "freelance" | "job")[]]>;
|
|
110
110
|
title: z.ZodString;
|
|
111
111
|
skills: z.ZodArray<z.ZodString, "many">;
|
|
112
112
|
description: z.ZodString;
|
|
@@ -116,22 +116,22 @@ export declare const OpportunitySchema: z.ZodObject<{
|
|
|
116
116
|
state: z.ZodString;
|
|
117
117
|
country: z.ZodString;
|
|
118
118
|
address: z.ZodOptional<z.ZodString>;
|
|
119
|
-
workMode: z.ZodOptional<z.ZodEnum<[
|
|
119
|
+
workMode: z.ZodOptional<z.ZodEnum<["onsite" | "remote" | "hybrid", ...("onsite" | "remote" | "hybrid")[]]>>;
|
|
120
120
|
compensation: z.ZodOptional<z.ZodObject<{
|
|
121
|
-
type: z.ZodEnum<[
|
|
121
|
+
type: z.ZodEnum<["free" | "stipend" | "salary" | "project-based", ...("free" | "stipend" | "salary" | "project-based")[]]>;
|
|
122
122
|
amount: z.ZodOptional<z.ZodNumber>;
|
|
123
123
|
currency: z.ZodEnum<[string, ...string[]]>;
|
|
124
|
-
frequency: z.ZodOptional<z.ZodEnum<[
|
|
124
|
+
frequency: z.ZodOptional<z.ZodEnum<["daily" | "weekly" | "monthly" | "yearly" | "one-time", ...("daily" | "weekly" | "monthly" | "yearly" | "one-time")[]]>>;
|
|
125
125
|
}, "strip", z.ZodTypeAny, {
|
|
126
|
-
type:
|
|
126
|
+
type: "free" | "stipend" | "salary" | "project-based";
|
|
127
127
|
currency: string;
|
|
128
128
|
amount?: number | undefined;
|
|
129
|
-
frequency?:
|
|
129
|
+
frequency?: "daily" | "weekly" | "monthly" | "yearly" | "one-time" | undefined;
|
|
130
130
|
}, {
|
|
131
|
-
type:
|
|
131
|
+
type: "free" | "stipend" | "salary" | "project-based";
|
|
132
132
|
currency: string;
|
|
133
133
|
amount?: number | undefined;
|
|
134
|
-
frequency?:
|
|
134
|
+
frequency?: "daily" | "weekly" | "monthly" | "yearly" | "one-time" | undefined;
|
|
135
135
|
}>>;
|
|
136
136
|
bondPlan: z.ZodOptional<z.ZodObject<{
|
|
137
137
|
enabled: z.ZodBoolean;
|
|
@@ -170,6 +170,7 @@ export declare const OpportunitySchema: z.ZodObject<{
|
|
|
170
170
|
answer: string;
|
|
171
171
|
}>, "many">;
|
|
172
172
|
applicationCount: z.ZodNumber;
|
|
173
|
+
pendingApplicationCount: z.ZodOptional<z.ZodNumber>;
|
|
173
174
|
views: z.ZodNumber;
|
|
174
175
|
shares: z.ZodNumber;
|
|
175
176
|
rating: z.ZodNumber;
|
|
@@ -206,7 +207,7 @@ export declare const OpportunitySchema: z.ZodObject<{
|
|
|
206
207
|
verifiedMobile: z.ZodBoolean;
|
|
207
208
|
verifiedIdCard: z.ZodOptional<z.ZodBoolean>;
|
|
208
209
|
role: z.ZodEnum<["host", "user", "admin", "hr", "sales"]>;
|
|
209
|
-
socialLinks: z.ZodOptional<z.ZodRecord<z.ZodEnum<[
|
|
210
|
+
socialLinks: z.ZodOptional<z.ZodRecord<z.ZodEnum<["instagram", "linkedin", "youtube", "googleBusiness"]>, z.ZodString>>;
|
|
210
211
|
userResume: z.ZodOptional<z.ZodString>;
|
|
211
212
|
skills: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
212
213
|
skill: z.ZodString;
|
|
@@ -229,6 +230,11 @@ export declare const OpportunitySchema: z.ZodObject<{
|
|
|
229
230
|
gstNumber: z.ZodOptional<z.ZodString>;
|
|
230
231
|
panCard: z.ZodOptional<z.ZodString>;
|
|
231
232
|
verifiedBusiness: z.ZodOptional<z.ZodEnum<["true", "false", "inProgress"]>>;
|
|
233
|
+
businessDocument: z.ZodOptional<z.ZodString>;
|
|
234
|
+
businessIdType: z.ZodOptional<z.ZodEnum<["PAN", "GST", "Udyam", "PersonalPAN"]>>;
|
|
235
|
+
businessIdNumber: z.ZodOptional<z.ZodString>;
|
|
236
|
+
businessApiVerificationStatus: z.ZodOptional<z.ZodEnum<["pending", "verified", "failed"]>>;
|
|
237
|
+
businessVerificationDenialReason: z.ZodOptional<z.ZodString>;
|
|
232
238
|
}, "strict", z.ZodTypeAny, {
|
|
233
239
|
username: string;
|
|
234
240
|
firstName: string;
|
|
@@ -259,7 +265,7 @@ export declare const OpportunitySchema: z.ZodObject<{
|
|
|
259
265
|
accessToken?: string | undefined;
|
|
260
266
|
refreshToken?: string | undefined;
|
|
261
267
|
verifiedIdCard?: boolean | undefined;
|
|
262
|
-
socialLinks?: Record<
|
|
268
|
+
socialLinks?: Partial<Record<"instagram" | "linkedin" | "youtube" | "googleBusiness", string>> | undefined;
|
|
263
269
|
userResume?: string | undefined;
|
|
264
270
|
skills?: {
|
|
265
271
|
skill: string;
|
|
@@ -276,6 +282,11 @@ export declare const OpportunitySchema: z.ZodObject<{
|
|
|
276
282
|
gstNumber?: string | undefined;
|
|
277
283
|
panCard?: string | undefined;
|
|
278
284
|
verifiedBusiness?: "true" | "false" | "inProgress" | undefined;
|
|
285
|
+
businessDocument?: string | undefined;
|
|
286
|
+
businessIdType?: "PAN" | "GST" | "Udyam" | "PersonalPAN" | undefined;
|
|
287
|
+
businessIdNumber?: string | undefined;
|
|
288
|
+
businessApiVerificationStatus?: "pending" | "verified" | "failed" | undefined;
|
|
289
|
+
businessVerificationDenialReason?: string | undefined;
|
|
279
290
|
}, {
|
|
280
291
|
username: string;
|
|
281
292
|
firstName: string;
|
|
@@ -306,7 +317,7 @@ export declare const OpportunitySchema: z.ZodObject<{
|
|
|
306
317
|
accessToken?: string | undefined;
|
|
307
318
|
refreshToken?: string | undefined;
|
|
308
319
|
verifiedIdCard?: boolean | undefined;
|
|
309
|
-
socialLinks?: Record<
|
|
320
|
+
socialLinks?: Partial<Record<"instagram" | "linkedin" | "youtube" | "googleBusiness", string>> | undefined;
|
|
310
321
|
userResume?: string | undefined;
|
|
311
322
|
skills?: {
|
|
312
323
|
skill: string;
|
|
@@ -323,6 +334,11 @@ export declare const OpportunitySchema: z.ZodObject<{
|
|
|
323
334
|
gstNumber?: string | undefined;
|
|
324
335
|
panCard?: string | undefined;
|
|
325
336
|
verifiedBusiness?: "true" | "false" | "inProgress" | undefined;
|
|
337
|
+
businessDocument?: string | undefined;
|
|
338
|
+
businessIdType?: "PAN" | "GST" | "Udyam" | "PersonalPAN" | undefined;
|
|
339
|
+
businessIdNumber?: string | undefined;
|
|
340
|
+
businessApiVerificationStatus?: "pending" | "verified" | "failed" | undefined;
|
|
341
|
+
businessVerificationDenialReason?: string | undefined;
|
|
326
342
|
}>>;
|
|
327
343
|
applicationObservers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
328
344
|
username: z.ZodString;
|
|
@@ -349,7 +365,7 @@ export declare const OpportunitySchema: z.ZodObject<{
|
|
|
349
365
|
updatedAt: z.ZodOptional<z.ZodDate>;
|
|
350
366
|
}, "strict", z.ZodTypeAny, {
|
|
351
367
|
country: string;
|
|
352
|
-
status: "
|
|
368
|
+
status: "pending" | "draft" | "archived" | "denied" | "open" | "closed" | "deleted";
|
|
353
369
|
rating: number;
|
|
354
370
|
ratingCount: number;
|
|
355
371
|
reviewCount: number;
|
|
@@ -357,7 +373,7 @@ export declare const OpportunitySchema: z.ZodObject<{
|
|
|
357
373
|
title: string;
|
|
358
374
|
description: string;
|
|
359
375
|
slug: string;
|
|
360
|
-
opportunityType:
|
|
376
|
+
opportunityType: "volunteer" | "internship" | "freelance" | "job";
|
|
361
377
|
images: string[];
|
|
362
378
|
city: string;
|
|
363
379
|
state: string;
|
|
@@ -405,7 +421,7 @@ export declare const OpportunitySchema: z.ZodObject<{
|
|
|
405
421
|
accessToken?: string | undefined;
|
|
406
422
|
refreshToken?: string | undefined;
|
|
407
423
|
verifiedIdCard?: boolean | undefined;
|
|
408
|
-
socialLinks?: Record<
|
|
424
|
+
socialLinks?: Partial<Record<"instagram" | "linkedin" | "youtube" | "googleBusiness", string>> | undefined;
|
|
409
425
|
userResume?: string | undefined;
|
|
410
426
|
skills?: {
|
|
411
427
|
skill: string;
|
|
@@ -422,18 +438,23 @@ export declare const OpportunitySchema: z.ZodObject<{
|
|
|
422
438
|
gstNumber?: string | undefined;
|
|
423
439
|
panCard?: string | undefined;
|
|
424
440
|
verifiedBusiness?: "true" | "false" | "inProgress" | undefined;
|
|
441
|
+
businessDocument?: string | undefined;
|
|
442
|
+
businessIdType?: "PAN" | "GST" | "Udyam" | "PersonalPAN" | undefined;
|
|
443
|
+
businessIdNumber?: string | undefined;
|
|
444
|
+
businessApiVerificationStatus?: "pending" | "verified" | "failed" | undefined;
|
|
445
|
+
businessVerificationDenialReason?: string | undefined;
|
|
425
446
|
};
|
|
426
447
|
adminApproval: boolean;
|
|
427
448
|
createdAt?: Date | undefined;
|
|
428
449
|
updatedAt?: Date | undefined;
|
|
429
450
|
categoryId?: string | undefined;
|
|
430
451
|
address?: string | undefined;
|
|
431
|
-
workMode?:
|
|
452
|
+
workMode?: "onsite" | "remote" | "hybrid" | undefined;
|
|
432
453
|
compensation?: {
|
|
433
|
-
type:
|
|
454
|
+
type: "free" | "stipend" | "salary" | "project-based";
|
|
434
455
|
currency: string;
|
|
435
456
|
amount?: number | undefined;
|
|
436
|
-
frequency?:
|
|
457
|
+
frequency?: "daily" | "weekly" | "monthly" | "yearly" | "one-time" | undefined;
|
|
437
458
|
} | undefined;
|
|
438
459
|
bondPlan?: {
|
|
439
460
|
enabled: boolean;
|
|
@@ -442,6 +463,7 @@ export declare const OpportunitySchema: z.ZodObject<{
|
|
|
442
463
|
hostFee?: number | undefined;
|
|
443
464
|
securityDeposit?: number | undefined;
|
|
444
465
|
} | undefined;
|
|
466
|
+
pendingApplicationCount?: number | undefined;
|
|
445
467
|
hostingType?: string | undefined;
|
|
446
468
|
applicationObservers?: {
|
|
447
469
|
username: string;
|
|
@@ -452,7 +474,7 @@ export declare const OpportunitySchema: z.ZodObject<{
|
|
|
452
474
|
}[] | undefined;
|
|
453
475
|
}, {
|
|
454
476
|
country: string;
|
|
455
|
-
status: "
|
|
477
|
+
status: "pending" | "draft" | "archived" | "denied" | "open" | "closed" | "deleted";
|
|
456
478
|
rating: number;
|
|
457
479
|
ratingCount: number;
|
|
458
480
|
reviewCount: number;
|
|
@@ -460,7 +482,7 @@ export declare const OpportunitySchema: z.ZodObject<{
|
|
|
460
482
|
title: string;
|
|
461
483
|
description: string;
|
|
462
484
|
slug: string;
|
|
463
|
-
opportunityType:
|
|
485
|
+
opportunityType: "volunteer" | "internship" | "freelance" | "job";
|
|
464
486
|
images: string[];
|
|
465
487
|
city: string;
|
|
466
488
|
state: string;
|
|
@@ -508,7 +530,7 @@ export declare const OpportunitySchema: z.ZodObject<{
|
|
|
508
530
|
accessToken?: string | undefined;
|
|
509
531
|
refreshToken?: string | undefined;
|
|
510
532
|
verifiedIdCard?: boolean | undefined;
|
|
511
|
-
socialLinks?: Record<
|
|
533
|
+
socialLinks?: Partial<Record<"instagram" | "linkedin" | "youtube" | "googleBusiness", string>> | undefined;
|
|
512
534
|
userResume?: string | undefined;
|
|
513
535
|
skills?: {
|
|
514
536
|
skill: string;
|
|
@@ -525,18 +547,23 @@ export declare const OpportunitySchema: z.ZodObject<{
|
|
|
525
547
|
gstNumber?: string | undefined;
|
|
526
548
|
panCard?: string | undefined;
|
|
527
549
|
verifiedBusiness?: "true" | "false" | "inProgress" | undefined;
|
|
550
|
+
businessDocument?: string | undefined;
|
|
551
|
+
businessIdType?: "PAN" | "GST" | "Udyam" | "PersonalPAN" | undefined;
|
|
552
|
+
businessIdNumber?: string | undefined;
|
|
553
|
+
businessApiVerificationStatus?: "pending" | "verified" | "failed" | undefined;
|
|
554
|
+
businessVerificationDenialReason?: string | undefined;
|
|
528
555
|
};
|
|
529
556
|
adminApproval: boolean;
|
|
530
557
|
createdAt?: Date | undefined;
|
|
531
558
|
updatedAt?: Date | undefined;
|
|
532
559
|
categoryId?: string | undefined;
|
|
533
560
|
address?: string | undefined;
|
|
534
|
-
workMode?:
|
|
561
|
+
workMode?: "onsite" | "remote" | "hybrid" | undefined;
|
|
535
562
|
compensation?: {
|
|
536
|
-
type:
|
|
563
|
+
type: "free" | "stipend" | "salary" | "project-based";
|
|
537
564
|
currency: string;
|
|
538
565
|
amount?: number | undefined;
|
|
539
|
-
frequency?:
|
|
566
|
+
frequency?: "daily" | "weekly" | "monthly" | "yearly" | "one-time" | undefined;
|
|
540
567
|
} | undefined;
|
|
541
568
|
bondPlan?: {
|
|
542
569
|
enabled: boolean;
|
|
@@ -545,6 +572,7 @@ export declare const OpportunitySchema: z.ZodObject<{
|
|
|
545
572
|
securityDeposit?: number | undefined;
|
|
546
573
|
commissionRate?: number | undefined;
|
|
547
574
|
} | undefined;
|
|
575
|
+
pendingApplicationCount?: number | undefined;
|
|
548
576
|
hostingType?: string | undefined;
|
|
549
577
|
applicationObservers?: {
|
|
550
578
|
username: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"opportunity.d.ts","sourceRoot":"","sources":["../../../../src/lib/models/opportunities/opportunity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,WAAW,EAAkB,MAAM,UAAU,CAAC;AAGvD,eAAO,MAAM,YAAY,kCAAmD,CAAC;AAI7E,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;EAKzB,CAAC;AAEX,eAAO,MAAM,eAAe;;;;;;;;;EAIlB,CAAC;AACX,eAAO,MAAM,mBAAmB,
|
|
1
|
+
{"version":3,"file":"opportunity.d.ts","sourceRoot":"","sources":["../../../../src/lib/models/opportunities/opportunity.ts"],"names":[],"mappings":"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"}
|
|
@@ -90,6 +90,7 @@ export const OpportunitySchema = z.object({
|
|
|
90
90
|
responsibilities: z.array(z.string()),
|
|
91
91
|
questions: z.array(QuestionSchema),
|
|
92
92
|
applicationCount: z.number(),
|
|
93
|
+
pendingApplicationCount: z.number().optional(),
|
|
93
94
|
views: z.number(),
|
|
94
95
|
shares: z.number(),
|
|
95
96
|
rating: z.number(),
|