@myrjfa/state 1.0.1 → 1.0.3

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.
@@ -1,377 +1,380 @@
1
- import { z } from "zod";
2
- import { DisplayItem } from "./props";
3
- export declare const OpportunitySchema: z.ZodObject<{
4
- slug: z.ZodString;
5
- title: z.ZodString;
6
- skills: z.ZodArray<z.ZodString, "many">;
7
- description: z.ZodString;
8
- images: z.ZodArray<z.ZodString, "many">;
9
- categoryId: z.ZodOptional<z.ZodString>;
10
- city: z.ZodString;
11
- state: z.ZodString;
12
- address: z.ZodOptional<z.ZodString>;
13
- availableFrom: z.ZodDate;
14
- minDuration: z.ZodNumber;
15
- maxDuration: z.ZodNumber;
16
- urgent: z.ZodBoolean;
17
- applicationCount: z.ZodNumber;
18
- peopleRequired: z.ZodNumber;
19
- facilities: z.ZodArray<z.ZodString, "many">;
20
- responsibilities: z.ZodArray<z.ZodString, "many">;
21
- questions: z.ZodArray<z.ZodObject<{
22
- question: z.ZodString;
23
- answer: z.ZodString;
24
- }, "strict", z.ZodTypeAny, {
25
- question: string;
26
- answer: string;
27
- }, {
28
- question: string;
29
- answer: string;
30
- }>, "many">;
31
- rating: z.ZodNumber;
32
- ratingCount: z.ZodNumber;
33
- reviewCount: z.ZodNumber;
34
- hostId: z.ZodLazy<z.ZodObject<{
35
- username: z.ZodString;
36
- firstName: z.ZodString;
37
- lastName: z.ZodString;
38
- email: z.ZodString;
39
- password: z.ZodString;
40
- phoneNumber: z.ZodString;
41
- location: z.ZodOptional<z.ZodString>;
42
- pinCode: z.ZodOptional<z.ZodString>;
43
- dob: z.ZodOptional<z.ZodDate>;
44
- gender: z.ZodEnum<["male", "female", "other"]>;
45
- profilePic: z.ZodOptional<z.ZodString>;
46
- rating: z.ZodNumber;
47
- ratingCount: z.ZodNumber;
48
- reviewCount: z.ZodNumber;
49
- blogsCount: z.ZodOptional<z.ZodNumber>;
50
- joinedDate: z.ZodDate;
51
- isActive: z.ZodBoolean;
52
- lastActive: z.ZodDate;
53
- userBio: z.ZodOptional<z.ZodString>;
54
- userIdCard: z.ZodOptional<z.ZodString>;
55
- watchHistory: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
56
- accessToken: z.ZodOptional<z.ZodString>;
57
- refreshToken: z.ZodOptional<z.ZodString>;
58
- verifiedEmail: z.ZodBoolean;
59
- verifiedMobile: z.ZodBoolean;
60
- verifiedIdCard: z.ZodOptional<z.ZodBoolean>;
61
- role: z.ZodEnum<["host", "user", "admin", "hr", "sales"]>;
62
- socialLinks: z.ZodOptional<z.ZodRecord<z.ZodEnum<[string, ...string[]]>, z.ZodString>>;
63
- userResume: z.ZodOptional<z.ZodString>;
64
- skills: z.ZodOptional<z.ZodArray<z.ZodObject<{
65
- skill: z.ZodString;
66
- skillExpertise: z.ZodNumber;
67
- }, "strip", z.ZodTypeAny, {
68
- skill: string;
69
- skillExpertise: number;
70
- }, {
71
- skill: string;
72
- skillExpertise: number;
73
- }>, "many">>;
74
- wishlist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
75
- favBlogs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
76
- favPackages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
77
- id: z.ZodOptional<z.ZodString>;
78
- selfie: z.ZodOptional<z.ZodString>;
79
- selfieAction: z.ZodOptional<z.ZodString>;
80
- jobCount: z.ZodOptional<z.ZodNumber>;
81
- travelPackageCount: z.ZodOptional<z.ZodNumber>;
82
- gstNumber: z.ZodOptional<z.ZodString>;
83
- panCard: z.ZodOptional<z.ZodString>;
84
- verifiedBusiness: z.ZodOptional<z.ZodEnum<["true", "false", "inProgress"]>>;
85
- }, "strict", z.ZodTypeAny, {
86
- username: string;
87
- firstName: string;
88
- lastName: string;
89
- email: string;
90
- password: string;
91
- phoneNumber: string;
92
- gender: "male" | "female" | "other";
93
- rating: number;
94
- ratingCount: number;
95
- reviewCount: number;
96
- joinedDate: Date;
97
- isActive: boolean;
98
- lastActive: Date;
99
- verifiedEmail: boolean;
100
- verifiedMobile: boolean;
101
- role: "host" | "user" | "admin" | "hr" | "sales";
102
- location?: string | undefined;
103
- pinCode?: string | undefined;
104
- dob?: Date | undefined;
105
- profilePic?: string | undefined;
106
- blogsCount?: number | undefined;
107
- userBio?: string | undefined;
108
- userIdCard?: string | undefined;
109
- watchHistory?: string[] | undefined;
110
- accessToken?: string | undefined;
111
- refreshToken?: string | undefined;
112
- verifiedIdCard?: boolean | undefined;
113
- socialLinks?: Record<string, string> | undefined;
114
- userResume?: string | undefined;
115
- skills?: {
116
- skill: string;
117
- skillExpertise: number;
118
- }[] | undefined;
119
- wishlist?: string[] | undefined;
120
- favBlogs?: string[] | undefined;
121
- favPackages?: string[] | undefined;
122
- id?: string | undefined;
123
- selfie?: string | undefined;
124
- selfieAction?: string | undefined;
125
- jobCount?: number | undefined;
126
- travelPackageCount?: number | undefined;
127
- gstNumber?: string | undefined;
128
- panCard?: string | undefined;
129
- verifiedBusiness?: "true" | "false" | "inProgress" | undefined;
130
- }, {
131
- username: string;
132
- firstName: string;
133
- lastName: string;
134
- email: string;
135
- password: string;
136
- phoneNumber: string;
137
- gender: "male" | "female" | "other";
138
- rating: number;
139
- ratingCount: number;
140
- reviewCount: number;
141
- joinedDate: Date;
142
- isActive: boolean;
143
- lastActive: Date;
144
- verifiedEmail: boolean;
145
- verifiedMobile: boolean;
146
- role: "host" | "user" | "admin" | "hr" | "sales";
147
- location?: string | undefined;
148
- pinCode?: string | undefined;
149
- dob?: Date | undefined;
150
- profilePic?: string | undefined;
151
- blogsCount?: number | undefined;
152
- userBio?: string | undefined;
153
- userIdCard?: string | undefined;
154
- watchHistory?: string[] | undefined;
155
- accessToken?: string | undefined;
156
- refreshToken?: string | undefined;
157
- verifiedIdCard?: boolean | undefined;
158
- socialLinks?: Record<string, string> | undefined;
159
- userResume?: string | undefined;
160
- skills?: {
161
- skill: string;
162
- skillExpertise: number;
163
- }[] | undefined;
164
- wishlist?: string[] | undefined;
165
- favBlogs?: string[] | undefined;
166
- favPackages?: string[] | undefined;
167
- id?: string | undefined;
168
- selfie?: string | undefined;
169
- selfieAction?: string | undefined;
170
- jobCount?: number | undefined;
171
- travelPackageCount?: number | undefined;
172
- gstNumber?: string | undefined;
173
- panCard?: string | undefined;
174
- verifiedBusiness?: "true" | "false" | "inProgress" | undefined;
175
- }>>;
176
- applicationObservers: z.ZodOptional<z.ZodArray<z.ZodObject<{
177
- username: z.ZodString;
178
- role: z.ZodEnum<["host", "user", "admin", "hr", "sales"]>;
179
- phoneNumber: z.ZodString;
180
- email: z.ZodString;
181
- }, "strip", z.ZodTypeAny, {
182
- username: string;
183
- email: string;
184
- phoneNumber: string;
185
- role: "host" | "user" | "admin" | "hr" | "sales";
186
- }, {
187
- username: string;
188
- email: string;
189
- phoneNumber: string;
190
- role: "host" | "user" | "admin" | "hr" | "sales";
191
- }>, "many">>;
192
- hostingType: z.ZodOptional<z.ZodString>;
193
- views: z.ZodNumber;
194
- status: z.ZodEnum<["draft", "archived", "pending", "open", "closed", "denied", "deleted"]>;
195
- createdAt: z.ZodOptional<z.ZodDate>;
196
- updatedAt: z.ZodOptional<z.ZodDate>;
197
- adminApproval: z.ZodBoolean;
198
- }, "strict", z.ZodTypeAny, {
199
- status: "draft" | "archived" | "pending" | "denied" | "open" | "closed" | "deleted";
200
- rating: number;
201
- ratingCount: number;
202
- reviewCount: number;
203
- skills: string[];
204
- title: string;
205
- description: string;
206
- slug: string;
207
- views: number;
208
- images: string[];
209
- city: string;
210
- state: string;
211
- availableFrom: Date;
212
- minDuration: number;
213
- maxDuration: number;
214
- urgent: boolean;
215
- applicationCount: number;
216
- peopleRequired: number;
217
- facilities: string[];
218
- responsibilities: string[];
219
- questions: {
220
- question: string;
221
- answer: string;
222
- }[];
223
- hostId: {
224
- username: string;
225
- firstName: string;
226
- lastName: string;
227
- email: string;
228
- password: string;
229
- phoneNumber: string;
230
- gender: "male" | "female" | "other";
231
- rating: number;
232
- ratingCount: number;
233
- reviewCount: number;
234
- joinedDate: Date;
235
- isActive: boolean;
236
- lastActive: Date;
237
- verifiedEmail: boolean;
238
- verifiedMobile: boolean;
239
- role: "host" | "user" | "admin" | "hr" | "sales";
240
- location?: string | undefined;
241
- pinCode?: string | undefined;
242
- dob?: Date | undefined;
243
- profilePic?: string | undefined;
244
- blogsCount?: number | undefined;
245
- userBio?: string | undefined;
246
- userIdCard?: string | undefined;
247
- watchHistory?: string[] | undefined;
248
- accessToken?: string | undefined;
249
- refreshToken?: string | undefined;
250
- verifiedIdCard?: boolean | undefined;
251
- socialLinks?: Record<string, string> | undefined;
252
- userResume?: string | undefined;
253
- skills?: {
254
- skill: string;
255
- skillExpertise: number;
256
- }[] | undefined;
257
- wishlist?: string[] | undefined;
258
- favBlogs?: string[] | undefined;
259
- favPackages?: string[] | undefined;
260
- id?: string | undefined;
261
- selfie?: string | undefined;
262
- selfieAction?: string | undefined;
263
- jobCount?: number | undefined;
264
- travelPackageCount?: number | undefined;
265
- gstNumber?: string | undefined;
266
- panCard?: string | undefined;
267
- verifiedBusiness?: "true" | "false" | "inProgress" | undefined;
268
- };
269
- adminApproval: boolean;
270
- createdAt?: Date | undefined;
271
- updatedAt?: Date | undefined;
272
- categoryId?: string | undefined;
273
- address?: string | undefined;
274
- applicationObservers?: {
275
- username: string;
276
- email: string;
277
- phoneNumber: string;
278
- role: "host" | "user" | "admin" | "hr" | "sales";
279
- }[] | undefined;
280
- hostingType?: string | undefined;
281
- }, {
282
- status: "draft" | "archived" | "pending" | "denied" | "open" | "closed" | "deleted";
283
- rating: number;
284
- ratingCount: number;
285
- reviewCount: number;
286
- skills: string[];
287
- title: string;
288
- description: string;
289
- slug: string;
290
- views: number;
291
- images: string[];
292
- city: string;
293
- state: string;
294
- availableFrom: Date;
295
- minDuration: number;
296
- maxDuration: number;
297
- urgent: boolean;
298
- applicationCount: number;
299
- peopleRequired: number;
300
- facilities: string[];
301
- responsibilities: string[];
302
- questions: {
303
- question: string;
304
- answer: string;
305
- }[];
306
- hostId: {
307
- username: string;
308
- firstName: string;
309
- lastName: string;
310
- email: string;
311
- password: string;
312
- phoneNumber: string;
313
- gender: "male" | "female" | "other";
314
- rating: number;
315
- ratingCount: number;
316
- reviewCount: number;
317
- joinedDate: Date;
318
- isActive: boolean;
319
- lastActive: Date;
320
- verifiedEmail: boolean;
321
- verifiedMobile: boolean;
322
- role: "host" | "user" | "admin" | "hr" | "sales";
323
- location?: string | undefined;
324
- pinCode?: string | undefined;
325
- dob?: Date | undefined;
326
- profilePic?: string | undefined;
327
- blogsCount?: number | undefined;
328
- userBio?: string | undefined;
329
- userIdCard?: string | undefined;
330
- watchHistory?: string[] | undefined;
331
- accessToken?: string | undefined;
332
- refreshToken?: string | undefined;
333
- verifiedIdCard?: boolean | undefined;
334
- socialLinks?: Record<string, string> | undefined;
335
- userResume?: string | undefined;
336
- skills?: {
337
- skill: string;
338
- skillExpertise: number;
339
- }[] | undefined;
340
- wishlist?: string[] | undefined;
341
- favBlogs?: string[] | undefined;
342
- favPackages?: string[] | undefined;
343
- id?: string | undefined;
344
- selfie?: string | undefined;
345
- selfieAction?: string | undefined;
346
- jobCount?: number | undefined;
347
- travelPackageCount?: number | undefined;
348
- gstNumber?: string | undefined;
349
- panCard?: string | undefined;
350
- verifiedBusiness?: "true" | "false" | "inProgress" | undefined;
351
- };
352
- adminApproval: boolean;
353
- createdAt?: Date | undefined;
354
- updatedAt?: Date | undefined;
355
- categoryId?: string | undefined;
356
- address?: string | undefined;
357
- applicationObservers?: {
358
- username: string;
359
- email: string;
360
- phoneNumber: string;
361
- role: "host" | "user" | "admin" | "hr" | "sales";
362
- }[] | undefined;
363
- hostingType?: string | undefined;
364
- }>;
365
- export type OppMetaData = {
366
- image: string;
367
- title: string;
368
- location: string;
369
- skills: string[];
370
- hostingType: string;
371
- };
372
- export type Opportunity = z.infer<typeof OpportunitySchema>;
373
- export declare const facilitiesOptions: DisplayItem[];
374
- export declare const otherFacilitiesOptions: DisplayItem[];
375
- export declare const responsibilitiesOptions: DisplayItem[];
376
- export declare const otherResponsibilitiesOptions: DisplayItem[];
1
+ import { z } from "zod";
2
+ import { DisplayItem } from "./props";
3
+ export declare const OpportunitySchema: z.ZodObject<{
4
+ slug: z.ZodString;
5
+ title: z.ZodString;
6
+ skills: z.ZodArray<z.ZodString, "many">;
7
+ description: z.ZodString;
8
+ images: z.ZodArray<z.ZodString, "many">;
9
+ categoryId: z.ZodOptional<z.ZodString>;
10
+ city: z.ZodString;
11
+ state: z.ZodString;
12
+ address: z.ZodOptional<z.ZodString>;
13
+ availableFrom: z.ZodDate;
14
+ minDuration: z.ZodNumber;
15
+ maxDuration: z.ZodNumber;
16
+ urgent: z.ZodBoolean;
17
+ applicationCount: z.ZodNumber;
18
+ peopleRequired: z.ZodNumber;
19
+ facilities: z.ZodArray<z.ZodString, "many">;
20
+ responsibilities: z.ZodArray<z.ZodString, "many">;
21
+ questions: z.ZodArray<z.ZodObject<{
22
+ question: z.ZodString;
23
+ answer: z.ZodString;
24
+ }, "strict", z.ZodTypeAny, {
25
+ question: string;
26
+ answer: string;
27
+ }, {
28
+ question: string;
29
+ answer: string;
30
+ }>, "many">;
31
+ rating: z.ZodNumber;
32
+ ratingCount: z.ZodNumber;
33
+ reviewCount: z.ZodNumber;
34
+ hostId: z.ZodLazy<z.ZodObject<{
35
+ username: z.ZodString;
36
+ firstName: z.ZodString;
37
+ lastName: z.ZodString;
38
+ email: z.ZodString;
39
+ password: z.ZodString;
40
+ phoneNumber: z.ZodString;
41
+ location: z.ZodOptional<z.ZodString>;
42
+ pinCode: z.ZodOptional<z.ZodString>;
43
+ dob: z.ZodOptional<z.ZodDate>;
44
+ gender: z.ZodEnum<["male", "female", "other"]>;
45
+ profilePic: z.ZodOptional<z.ZodString>;
46
+ rating: z.ZodNumber;
47
+ ratingCount: z.ZodNumber;
48
+ reviewCount: z.ZodNumber;
49
+ blogsCount: z.ZodOptional<z.ZodNumber>;
50
+ joinedDate: z.ZodDate;
51
+ isActive: z.ZodBoolean;
52
+ lastActive: z.ZodDate;
53
+ userBio: z.ZodOptional<z.ZodString>;
54
+ userIdCard: z.ZodOptional<z.ZodString>;
55
+ watchHistory: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
56
+ accessToken: z.ZodOptional<z.ZodString>;
57
+ refreshToken: z.ZodOptional<z.ZodString>;
58
+ verifiedEmail: z.ZodBoolean;
59
+ verifiedMobile: z.ZodBoolean;
60
+ verifiedIdCard: z.ZodOptional<z.ZodBoolean>;
61
+ role: z.ZodEnum<["host", "user", "admin", "hr", "sales"]>;
62
+ socialLinks: z.ZodOptional<z.ZodRecord<z.ZodEnum<[string, ...string[]]>, z.ZodString>>;
63
+ userResume: z.ZodOptional<z.ZodString>;
64
+ skills: z.ZodOptional<z.ZodArray<z.ZodObject<{
65
+ skill: z.ZodString;
66
+ skillExpertise: z.ZodNumber;
67
+ }, "strip", z.ZodTypeAny, {
68
+ skill: string;
69
+ skillExpertise: number;
70
+ }, {
71
+ skill: string;
72
+ skillExpertise: number;
73
+ }>, "many">>;
74
+ wishlist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
75
+ favBlogs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
76
+ favPackages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
77
+ id: z.ZodOptional<z.ZodString>;
78
+ selfie: z.ZodOptional<z.ZodString>;
79
+ selfieAction: z.ZodOptional<z.ZodString>;
80
+ jobCount: z.ZodOptional<z.ZodNumber>;
81
+ travelPackageCount: z.ZodOptional<z.ZodNumber>;
82
+ gstNumber: z.ZodOptional<z.ZodString>;
83
+ panCard: z.ZodOptional<z.ZodString>;
84
+ verifiedBusiness: z.ZodOptional<z.ZodEnum<["true", "false", "inProgress"]>>;
85
+ }, "strict", z.ZodTypeAny, {
86
+ username: string;
87
+ firstName: string;
88
+ lastName: string;
89
+ email: string;
90
+ password: string;
91
+ phoneNumber: string;
92
+ gender: "male" | "female" | "other";
93
+ rating: number;
94
+ ratingCount: number;
95
+ reviewCount: number;
96
+ joinedDate: Date;
97
+ isActive: boolean;
98
+ lastActive: Date;
99
+ verifiedEmail: boolean;
100
+ verifiedMobile: boolean;
101
+ role: "host" | "user" | "admin" | "hr" | "sales";
102
+ location?: string | undefined;
103
+ pinCode?: string | undefined;
104
+ dob?: Date | undefined;
105
+ profilePic?: string | undefined;
106
+ blogsCount?: number | undefined;
107
+ userBio?: string | undefined;
108
+ userIdCard?: string | undefined;
109
+ watchHistory?: string[] | undefined;
110
+ accessToken?: string | undefined;
111
+ refreshToken?: string | undefined;
112
+ verifiedIdCard?: boolean | undefined;
113
+ socialLinks?: Record<string, string> | undefined;
114
+ userResume?: string | undefined;
115
+ skills?: {
116
+ skill: string;
117
+ skillExpertise: number;
118
+ }[] | undefined;
119
+ wishlist?: string[] | undefined;
120
+ favBlogs?: string[] | undefined;
121
+ favPackages?: string[] | undefined;
122
+ id?: string | undefined;
123
+ selfie?: string | undefined;
124
+ selfieAction?: string | undefined;
125
+ jobCount?: number | undefined;
126
+ travelPackageCount?: number | undefined;
127
+ gstNumber?: string | undefined;
128
+ panCard?: string | undefined;
129
+ verifiedBusiness?: "true" | "false" | "inProgress" | undefined;
130
+ }, {
131
+ username: string;
132
+ firstName: string;
133
+ lastName: string;
134
+ email: string;
135
+ password: string;
136
+ phoneNumber: string;
137
+ gender: "male" | "female" | "other";
138
+ rating: number;
139
+ ratingCount: number;
140
+ reviewCount: number;
141
+ joinedDate: Date;
142
+ isActive: boolean;
143
+ lastActive: Date;
144
+ verifiedEmail: boolean;
145
+ verifiedMobile: boolean;
146
+ role: "host" | "user" | "admin" | "hr" | "sales";
147
+ location?: string | undefined;
148
+ pinCode?: string | undefined;
149
+ dob?: Date | undefined;
150
+ profilePic?: string | undefined;
151
+ blogsCount?: number | undefined;
152
+ userBio?: string | undefined;
153
+ userIdCard?: string | undefined;
154
+ watchHistory?: string[] | undefined;
155
+ accessToken?: string | undefined;
156
+ refreshToken?: string | undefined;
157
+ verifiedIdCard?: boolean | undefined;
158
+ socialLinks?: Record<string, string> | undefined;
159
+ userResume?: string | undefined;
160
+ skills?: {
161
+ skill: string;
162
+ skillExpertise: number;
163
+ }[] | undefined;
164
+ wishlist?: string[] | undefined;
165
+ favBlogs?: string[] | undefined;
166
+ favPackages?: string[] | undefined;
167
+ id?: string | undefined;
168
+ selfie?: string | undefined;
169
+ selfieAction?: string | undefined;
170
+ jobCount?: number | undefined;
171
+ travelPackageCount?: number | undefined;
172
+ gstNumber?: string | undefined;
173
+ panCard?: string | undefined;
174
+ verifiedBusiness?: "true" | "false" | "inProgress" | undefined;
175
+ }>>;
176
+ applicationObservers: z.ZodOptional<z.ZodArray<z.ZodObject<{
177
+ username: z.ZodString;
178
+ role: z.ZodEnum<["host", "user", "admin", "hr", "sales"]>;
179
+ phoneNumber: z.ZodString;
180
+ email: z.ZodString;
181
+ }, "strip", z.ZodTypeAny, {
182
+ username: string;
183
+ email: string;
184
+ phoneNumber: string;
185
+ role: "host" | "user" | "admin" | "hr" | "sales";
186
+ }, {
187
+ username: string;
188
+ email: string;
189
+ phoneNumber: string;
190
+ role: "host" | "user" | "admin" | "hr" | "sales";
191
+ }>, "many">>;
192
+ hostingType: z.ZodOptional<z.ZodString>;
193
+ views: z.ZodNumber;
194
+ shares: z.ZodNumber;
195
+ status: z.ZodEnum<["draft", "archived", "pending", "open", "closed", "denied", "deleted"]>;
196
+ createdAt: z.ZodOptional<z.ZodDate>;
197
+ updatedAt: z.ZodOptional<z.ZodDate>;
198
+ adminApproval: z.ZodBoolean;
199
+ }, "strict", z.ZodTypeAny, {
200
+ status: "draft" | "archived" | "pending" | "denied" | "open" | "closed" | "deleted";
201
+ rating: number;
202
+ ratingCount: number;
203
+ reviewCount: number;
204
+ skills: string[];
205
+ title: string;
206
+ description: string;
207
+ slug: string;
208
+ views: number;
209
+ shares: number;
210
+ images: string[];
211
+ city: string;
212
+ state: string;
213
+ availableFrom: Date;
214
+ minDuration: number;
215
+ maxDuration: number;
216
+ urgent: boolean;
217
+ applicationCount: number;
218
+ peopleRequired: number;
219
+ facilities: string[];
220
+ responsibilities: string[];
221
+ questions: {
222
+ question: string;
223
+ answer: string;
224
+ }[];
225
+ hostId: {
226
+ username: string;
227
+ firstName: string;
228
+ lastName: string;
229
+ email: string;
230
+ password: string;
231
+ phoneNumber: string;
232
+ gender: "male" | "female" | "other";
233
+ rating: number;
234
+ ratingCount: number;
235
+ reviewCount: number;
236
+ joinedDate: Date;
237
+ isActive: boolean;
238
+ lastActive: Date;
239
+ verifiedEmail: boolean;
240
+ verifiedMobile: boolean;
241
+ role: "host" | "user" | "admin" | "hr" | "sales";
242
+ location?: string | undefined;
243
+ pinCode?: string | undefined;
244
+ dob?: Date | undefined;
245
+ profilePic?: string | undefined;
246
+ blogsCount?: number | undefined;
247
+ userBio?: string | undefined;
248
+ userIdCard?: string | undefined;
249
+ watchHistory?: string[] | undefined;
250
+ accessToken?: string | undefined;
251
+ refreshToken?: string | undefined;
252
+ verifiedIdCard?: boolean | undefined;
253
+ socialLinks?: Record<string, string> | undefined;
254
+ userResume?: string | undefined;
255
+ skills?: {
256
+ skill: string;
257
+ skillExpertise: number;
258
+ }[] | undefined;
259
+ wishlist?: string[] | undefined;
260
+ favBlogs?: string[] | undefined;
261
+ favPackages?: string[] | undefined;
262
+ id?: string | undefined;
263
+ selfie?: string | undefined;
264
+ selfieAction?: string | undefined;
265
+ jobCount?: number | undefined;
266
+ travelPackageCount?: number | undefined;
267
+ gstNumber?: string | undefined;
268
+ panCard?: string | undefined;
269
+ verifiedBusiness?: "true" | "false" | "inProgress" | undefined;
270
+ };
271
+ adminApproval: boolean;
272
+ createdAt?: Date | undefined;
273
+ updatedAt?: Date | undefined;
274
+ categoryId?: string | undefined;
275
+ address?: string | undefined;
276
+ applicationObservers?: {
277
+ username: string;
278
+ email: string;
279
+ phoneNumber: string;
280
+ role: "host" | "user" | "admin" | "hr" | "sales";
281
+ }[] | undefined;
282
+ hostingType?: string | undefined;
283
+ }, {
284
+ status: "draft" | "archived" | "pending" | "denied" | "open" | "closed" | "deleted";
285
+ rating: number;
286
+ ratingCount: number;
287
+ reviewCount: number;
288
+ skills: string[];
289
+ title: string;
290
+ description: string;
291
+ slug: string;
292
+ views: number;
293
+ shares: number;
294
+ images: string[];
295
+ city: string;
296
+ state: string;
297
+ availableFrom: Date;
298
+ minDuration: number;
299
+ maxDuration: number;
300
+ urgent: boolean;
301
+ applicationCount: number;
302
+ peopleRequired: number;
303
+ facilities: string[];
304
+ responsibilities: string[];
305
+ questions: {
306
+ question: string;
307
+ answer: string;
308
+ }[];
309
+ hostId: {
310
+ username: string;
311
+ firstName: string;
312
+ lastName: string;
313
+ email: string;
314
+ password: string;
315
+ phoneNumber: string;
316
+ gender: "male" | "female" | "other";
317
+ rating: number;
318
+ ratingCount: number;
319
+ reviewCount: number;
320
+ joinedDate: Date;
321
+ isActive: boolean;
322
+ lastActive: Date;
323
+ verifiedEmail: boolean;
324
+ verifiedMobile: boolean;
325
+ role: "host" | "user" | "admin" | "hr" | "sales";
326
+ location?: string | undefined;
327
+ pinCode?: string | undefined;
328
+ dob?: Date | undefined;
329
+ profilePic?: string | undefined;
330
+ blogsCount?: number | undefined;
331
+ userBio?: string | undefined;
332
+ userIdCard?: string | undefined;
333
+ watchHistory?: string[] | undefined;
334
+ accessToken?: string | undefined;
335
+ refreshToken?: string | undefined;
336
+ verifiedIdCard?: boolean | undefined;
337
+ socialLinks?: Record<string, string> | undefined;
338
+ userResume?: string | undefined;
339
+ skills?: {
340
+ skill: string;
341
+ skillExpertise: number;
342
+ }[] | undefined;
343
+ wishlist?: string[] | undefined;
344
+ favBlogs?: string[] | undefined;
345
+ favPackages?: string[] | undefined;
346
+ id?: string | undefined;
347
+ selfie?: string | undefined;
348
+ selfieAction?: string | undefined;
349
+ jobCount?: number | undefined;
350
+ travelPackageCount?: number | undefined;
351
+ gstNumber?: string | undefined;
352
+ panCard?: string | undefined;
353
+ verifiedBusiness?: "true" | "false" | "inProgress" | undefined;
354
+ };
355
+ adminApproval: boolean;
356
+ createdAt?: Date | undefined;
357
+ updatedAt?: Date | undefined;
358
+ categoryId?: string | undefined;
359
+ address?: string | undefined;
360
+ applicationObservers?: {
361
+ username: string;
362
+ email: string;
363
+ phoneNumber: string;
364
+ role: "host" | "user" | "admin" | "hr" | "sales";
365
+ }[] | undefined;
366
+ hostingType?: string | undefined;
367
+ }>;
368
+ export type OppMetaData = {
369
+ image: string;
370
+ title: string;
371
+ location: string;
372
+ skills: string[];
373
+ hostingType: string;
374
+ };
375
+ export type Opportunity = z.infer<typeof OpportunitySchema>;
376
+ export declare const facilitiesOptions: DisplayItem[];
377
+ export declare const otherFacilitiesOptions: DisplayItem[];
378
+ export declare const responsibilitiesOptions: DisplayItem[];
379
+ export declare const otherResponsibilitiesOptions: DisplayItem[];
377
380
  //# sourceMappingURL=volunteerJob.d.ts.map