@myrjfa/state 2.1.9 → 2.2.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/dist/hooks/usePersistentDraftState.d.ts +20 -0
- package/dist/hooks/usePersistentDraftState.d.ts.map +1 -0
- package/dist/hooks/usePersistentDraftState.js +47 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -0
- package/dist/lib/actions/actions.d.ts +17 -19
- package/dist/lib/actions/actions.d.ts.map +1 -1
- package/dist/lib/actions/actions.js +24 -7
- package/dist/lib/actions/auth.d.ts +2 -2
- package/dist/lib/actions/auth.d.ts.map +1 -1
- package/dist/lib/actions/auth.js +9 -0
- package/dist/lib/actions/booking.js +2 -2
- package/dist/lib/actions/fetcher.js +2 -1
- package/dist/lib/actions.d.ts +556 -0
- package/dist/lib/actions.d.ts.map +1 -0
- package/dist/lib/actions.js +1327 -0
- package/dist/lib/adminDashboardActions.d.ts +61 -0
- package/dist/lib/adminDashboardActions.d.ts.map +1 -0
- package/dist/lib/adminDashboardActions.js +89 -0
- package/dist/lib/adventureActions.d.ts +102 -0
- package/dist/lib/adventureActions.d.ts.map +1 -0
- package/dist/lib/adventureActions.js +202 -0
- package/dist/lib/adventureDummyData.d.ts +3 -0
- package/dist/lib/adventureDummyData.d.ts.map +1 -0
- package/dist/lib/adventureDummyData.js +138 -0
- package/dist/lib/adventureFormPage.d.ts +39 -0
- package/dist/lib/adventureFormPage.d.ts.map +1 -0
- package/dist/lib/adventureFormPage.js +70 -0
- package/dist/lib/brandActions.d.ts +83 -0
- package/dist/lib/brandActions.d.ts.map +1 -0
- package/dist/lib/brandActions.js +28 -0
- package/dist/lib/companionActions.d.ts +174 -0
- package/dist/lib/companionActions.d.ts.map +1 -0
- package/dist/lib/companionActions.js +276 -0
- package/dist/lib/companionDummyData.d.ts +99 -0
- package/dist/lib/companionDummyData.d.ts.map +1 -0
- package/dist/lib/companionDummyData.js +203 -0
- package/dist/lib/destinations.d.ts +14 -0
- package/dist/lib/destinations.d.ts.map +1 -0
- package/dist/lib/destinations.js +203 -0
- package/dist/lib/entitySubmission.d.ts +21 -0
- package/dist/lib/entitySubmission.d.ts.map +1 -0
- package/dist/lib/entitySubmission.js +10 -0
- package/dist/lib/eventActions.d.ts +176 -0
- package/dist/lib/eventActions.d.ts.map +1 -0
- package/dist/lib/eventActions.js +222 -0
- package/dist/lib/eventFormPage.d.ts +49 -0
- package/dist/lib/eventFormPage.d.ts.map +1 -0
- package/dist/lib/eventFormPage.js +84 -0
- package/dist/lib/eventsDummyData.d.ts +54 -0
- package/dist/lib/eventsDummyData.d.ts.map +1 -0
- package/dist/lib/eventsDummyData.js +586 -0
- package/dist/lib/guideActions.d.ts +53 -0
- package/dist/lib/guideActions.d.ts.map +1 -0
- package/dist/lib/guideActions.js +127 -0
- package/dist/lib/guideDummyData.d.ts +3 -0
- package/dist/lib/guideDummyData.d.ts.map +1 -0
- package/dist/lib/guideDummyData.js +66 -0
- package/dist/lib/hooks/use-mobile.js +0 -1
- package/dist/lib/hooks/useChatSocket.js +0 -1
- package/dist/lib/hooks/useHostCalendarSelection.d.ts +51 -0
- package/dist/lib/hooks/useHostCalendarSelection.d.ts.map +1 -0
- package/dist/lib/hooks/useHostCalendarSelection.js +200 -0
- package/dist/lib/hostDashboardActions.d.ts +189 -0
- package/dist/lib/hostDashboardActions.d.ts.map +1 -0
- package/dist/lib/hostDashboardActions.js +400 -0
- package/dist/lib/imageUpload.d.ts +4 -0
- package/dist/lib/imageUpload.d.ts.map +1 -0
- package/dist/lib/imageUpload.js +36 -0
- package/dist/lib/locationActions.d.ts +141 -0
- package/dist/lib/locationActions.d.ts.map +1 -0
- package/dist/lib/locationActions.js +113 -0
- package/dist/lib/models/adventure.d.ts +26 -9
- package/dist/lib/models/adventure.d.ts.map +1 -1
- package/dist/lib/models/blog.d.ts +2 -2
- package/dist/lib/models/discount.d.ts +160 -0
- package/dist/lib/models/discount.d.ts.map +1 -0
- package/dist/lib/models/discount.js +106 -0
- package/dist/lib/models/enquiry.d.ts +34 -0
- package/dist/lib/models/enquiry.d.ts.map +1 -0
- package/dist/lib/models/enquiry.js +140 -0
- package/dist/lib/models/guide.d.ts +4 -3
- package/dist/lib/models/guide.d.ts.map +1 -1
- package/dist/lib/models/notifications.d.ts +12 -12
- package/dist/lib/models/opportunities/freelance.d.ts +76 -76
- package/dist/lib/models/opportunities/internship.d.ts +76 -76
- package/dist/lib/models/opportunities/job.d.ts +78 -78
- package/dist/lib/models/opportunities/opportunity.d.ts +76 -76
- package/dist/lib/models/opportunities/volunteerJob.d.ts +76 -76
- package/dist/lib/models/package.d.ts +380 -86
- package/dist/lib/models/package.d.ts.map +1 -1
- package/dist/lib/models/package.js +9 -8
- package/dist/lib/models/pricing.d.ts +255 -0
- package/dist/lib/models/pricing.d.ts.map +1 -0
- package/dist/lib/models/pricing.js +145 -0
- package/dist/lib/models/rental.d.ts +12 -7
- package/dist/lib/models/rental.d.ts.map +1 -1
- package/dist/lib/models/review.d.ts +5 -2
- package/dist/lib/models/review.d.ts.map +1 -1
- package/dist/lib/models/stay.d.ts +11 -8
- package/dist/lib/models/stay.d.ts.map +1 -1
- package/dist/lib/models/stay.js +1 -0
- package/dist/lib/models/tile.d.ts +11 -7
- package/dist/lib/models/tile.d.ts.map +1 -1
- package/dist/lib/models/travelPackage.d.ts +943 -0
- package/dist/lib/models/travelPackage.d.ts.map +1 -0
- package/dist/lib/models/travelPackage.js +326 -0
- package/dist/lib/multistepDraft.d.ts +4 -0
- package/dist/lib/multistepDraft.d.ts.map +1 -0
- package/dist/lib/multistepDraft.js +18 -0
- package/dist/lib/opportunityFormData.d.ts +13 -0
- package/dist/lib/opportunityFormData.d.ts.map +1 -0
- package/dist/lib/opportunityFormData.js +62 -0
- package/dist/lib/opportunityFormPage.d.ts +38 -0
- package/dist/lib/opportunityFormPage.d.ts.map +1 -0
- package/dist/lib/opportunityFormPage.js +33 -0
- package/dist/lib/packageActions.d.ts +86 -0
- package/dist/lib/packageActions.d.ts.map +1 -0
- package/dist/lib/packageActions.js +168 -0
- package/dist/lib/packageDummyData.d.ts +3 -0
- package/dist/lib/packageDummyData.d.ts.map +1 -0
- package/dist/lib/packageDummyData.js +57 -0
- package/dist/lib/placeActions.d.ts +192 -0
- package/dist/lib/placeActions.d.ts.map +1 -0
- package/dist/lib/placeActions.js +57 -0
- package/dist/lib/propertyActions.d.ts +17 -0
- package/dist/lib/propertyActions.d.ts.map +1 -0
- package/dist/lib/propertyActions.js +16 -0
- package/dist/lib/rentalActions.d.ts +86 -0
- package/dist/lib/rentalActions.d.ts.map +1 -0
- package/dist/lib/rentalActions.js +235 -0
- package/dist/lib/rentalDummyData.d.ts +3 -0
- package/dist/lib/rentalDummyData.d.ts.map +1 -0
- package/dist/lib/rentalDummyData.js +402 -0
- package/dist/lib/rentalFormPage.d.ts +48 -0
- package/dist/lib/rentalFormPage.d.ts.map +1 -0
- package/dist/lib/rentalFormPage.js +97 -0
- package/dist/lib/roomActions.d.ts +39 -0
- package/dist/lib/roomActions.d.ts.map +1 -0
- package/dist/lib/roomActions.js +74 -0
- package/dist/lib/stayActions.d.ts +97 -0
- package/dist/lib/stayActions.d.ts.map +1 -0
- package/dist/lib/stayActions.js +138 -0
- package/dist/lib/staysDummyData.d.ts +72 -0
- package/dist/lib/staysDummyData.d.ts.map +1 -0
- package/dist/lib/staysDummyData.js +694 -0
- package/dist/lib/storeDummyData.d.ts +33 -0
- package/dist/lib/storeDummyData.d.ts.map +1 -0
- package/dist/lib/storeDummyData.js +336 -0
- package/dist/lib/travelPackageActions.d.ts +102 -0
- package/dist/lib/travelPackageActions.d.ts.map +1 -0
- package/dist/lib/travelPackageActions.js +487 -0
- package/dist/lib/travelPackageFormData.d.ts +20 -0
- package/dist/lib/travelPackageFormData.d.ts.map +1 -0
- package/dist/lib/travelPackageFormData.js +54 -0
- package/dist/lib/travelPackageFormPage.d.ts +32 -0
- package/dist/lib/travelPackageFormPage.d.ts.map +1 -0
- package/dist/lib/travelPackageFormPage.js +43 -0
- package/dist/lib/userAtom.d.ts +32 -32
- package/dist/lib/userAtom.d.ts.map +1 -1
- package/dist/lib/userAtom.js +17 -1
- package/dist/lib/util.d.ts +11 -0
- package/dist/lib/util.d.ts.map +1 -0
- package/dist/lib/util.js +82 -0
- package/dist/lib/utils.d.ts.map +1 -1
- package/dist/lib/utils.js +1 -0
- package/dist/lib/vehicleData.d.ts +2 -0
- package/dist/lib/vehicleData.d.ts.map +1 -0
- package/dist/lib/vehicleData.js +181 -0
- package/dist/lib/vehicleModels.d.ts +2 -0
- package/dist/lib/vehicleModels.d.ts.map +1 -0
- package/dist/lib/vehicleModels.js +128 -0
- package/package.json +6 -5
|
@@ -134,21 +134,21 @@ export declare const VolunteerOpportunitySchema: z.ZodObject<{
|
|
|
134
134
|
pinCode: z.ZodOptional<z.ZodString>;
|
|
135
135
|
registrationNumber: z.ZodOptional<z.ZodString>;
|
|
136
136
|
}, "strip", z.ZodTypeAny, {
|
|
137
|
+
country: string;
|
|
137
138
|
type: string;
|
|
139
|
+
name: string;
|
|
140
|
+
address: string;
|
|
138
141
|
city: string;
|
|
139
142
|
state: string;
|
|
140
|
-
country: string;
|
|
141
|
-
address: string;
|
|
142
|
-
name: string;
|
|
143
143
|
pinCode?: string | undefined;
|
|
144
144
|
registrationNumber?: string | undefined;
|
|
145
145
|
}, {
|
|
146
|
+
country: string;
|
|
146
147
|
type: string;
|
|
148
|
+
name: string;
|
|
149
|
+
address: string;
|
|
147
150
|
city: string;
|
|
148
151
|
state: string;
|
|
149
|
-
country: string;
|
|
150
|
-
address: string;
|
|
151
|
-
name: string;
|
|
152
152
|
pinCode?: string | undefined;
|
|
153
153
|
registrationNumber?: string | undefined;
|
|
154
154
|
}>, "many">>;
|
|
@@ -158,10 +158,6 @@ export declare const VolunteerOpportunitySchema: z.ZodObject<{
|
|
|
158
158
|
businessApiVerificationStatus: z.ZodOptional<z.ZodEnum<["pending", "verified", "failed"]>>;
|
|
159
159
|
businessVerificationDenialReason: z.ZodOptional<z.ZodString>;
|
|
160
160
|
}, "strict", z.ZodTypeAny, {
|
|
161
|
-
country: string;
|
|
162
|
-
rating: number;
|
|
163
|
-
ratingCount: number;
|
|
164
|
-
reviewCount: number;
|
|
165
161
|
username: string;
|
|
166
162
|
firstName: string;
|
|
167
163
|
lastName: string;
|
|
@@ -169,17 +165,17 @@ export declare const VolunteerOpportunitySchema: z.ZodObject<{
|
|
|
169
165
|
password: string;
|
|
170
166
|
phoneNumber: string;
|
|
171
167
|
countryCode: string;
|
|
168
|
+
country: string;
|
|
172
169
|
gender: "male" | "female" | "other";
|
|
170
|
+
rating: number;
|
|
171
|
+
ratingCount: number;
|
|
172
|
+
reviewCount: number;
|
|
173
173
|
joinedDate: Date;
|
|
174
174
|
isActive: boolean;
|
|
175
175
|
lastActive: Date;
|
|
176
176
|
verifiedEmail: boolean;
|
|
177
177
|
verifiedMobile: boolean;
|
|
178
178
|
role: "host" | "user" | "admin" | "hr" | "sales";
|
|
179
|
-
skills?: {
|
|
180
|
-
skill: string;
|
|
181
|
-
skillExpertise: number;
|
|
182
|
-
}[] | undefined;
|
|
183
179
|
location?: string | undefined;
|
|
184
180
|
pinCode?: string | undefined;
|
|
185
181
|
dob?: Date | undefined;
|
|
@@ -193,6 +189,10 @@ export declare const VolunteerOpportunitySchema: z.ZodObject<{
|
|
|
193
189
|
verifiedIdCard?: boolean | undefined;
|
|
194
190
|
socialLinks?: Partial<Record<"instagram" | "linkedin" | "youtube" | "googleBusiness", string>> | undefined;
|
|
195
191
|
userResume?: string | undefined;
|
|
192
|
+
skills?: {
|
|
193
|
+
skill: string;
|
|
194
|
+
skillExpertise: number;
|
|
195
|
+
}[] | undefined;
|
|
196
196
|
wishlist?: string[] | undefined;
|
|
197
197
|
favBlogs?: string[] | undefined;
|
|
198
198
|
favPackages?: string[] | undefined;
|
|
@@ -205,12 +205,12 @@ export declare const VolunteerOpportunitySchema: z.ZodObject<{
|
|
|
205
205
|
panCard?: string | undefined;
|
|
206
206
|
verifiedBusiness?: "true" | "false" | "inProgress" | undefined;
|
|
207
207
|
properties?: {
|
|
208
|
+
country: string;
|
|
208
209
|
type: string;
|
|
210
|
+
name: string;
|
|
211
|
+
address: string;
|
|
209
212
|
city: string;
|
|
210
213
|
state: string;
|
|
211
|
-
country: string;
|
|
212
|
-
address: string;
|
|
213
|
-
name: string;
|
|
214
214
|
pinCode?: string | undefined;
|
|
215
215
|
registrationNumber?: string | undefined;
|
|
216
216
|
}[] | undefined;
|
|
@@ -220,10 +220,6 @@ export declare const VolunteerOpportunitySchema: z.ZodObject<{
|
|
|
220
220
|
businessApiVerificationStatus?: "pending" | "verified" | "failed" | undefined;
|
|
221
221
|
businessVerificationDenialReason?: string | undefined;
|
|
222
222
|
}, {
|
|
223
|
-
country: string;
|
|
224
|
-
rating: number;
|
|
225
|
-
ratingCount: number;
|
|
226
|
-
reviewCount: number;
|
|
227
223
|
username: string;
|
|
228
224
|
firstName: string;
|
|
229
225
|
lastName: string;
|
|
@@ -231,17 +227,17 @@ export declare const VolunteerOpportunitySchema: z.ZodObject<{
|
|
|
231
227
|
password: string;
|
|
232
228
|
phoneNumber: string;
|
|
233
229
|
countryCode: string;
|
|
230
|
+
country: string;
|
|
234
231
|
gender: "male" | "female" | "other";
|
|
232
|
+
rating: number;
|
|
233
|
+
ratingCount: number;
|
|
234
|
+
reviewCount: number;
|
|
235
235
|
joinedDate: Date;
|
|
236
236
|
isActive: boolean;
|
|
237
237
|
lastActive: Date;
|
|
238
238
|
verifiedEmail: boolean;
|
|
239
239
|
verifiedMobile: boolean;
|
|
240
240
|
role: "host" | "user" | "admin" | "hr" | "sales";
|
|
241
|
-
skills?: {
|
|
242
|
-
skill: string;
|
|
243
|
-
skillExpertise: number;
|
|
244
|
-
}[] | undefined;
|
|
245
241
|
location?: string | undefined;
|
|
246
242
|
pinCode?: string | undefined;
|
|
247
243
|
dob?: Date | undefined;
|
|
@@ -255,6 +251,10 @@ export declare const VolunteerOpportunitySchema: z.ZodObject<{
|
|
|
255
251
|
verifiedIdCard?: boolean | undefined;
|
|
256
252
|
socialLinks?: Partial<Record<"instagram" | "linkedin" | "youtube" | "googleBusiness", string>> | undefined;
|
|
257
253
|
userResume?: string | undefined;
|
|
254
|
+
skills?: {
|
|
255
|
+
skill: string;
|
|
256
|
+
skillExpertise: number;
|
|
257
|
+
}[] | undefined;
|
|
258
258
|
wishlist?: string[] | undefined;
|
|
259
259
|
favBlogs?: string[] | undefined;
|
|
260
260
|
favPackages?: string[] | undefined;
|
|
@@ -267,12 +267,12 @@ export declare const VolunteerOpportunitySchema: z.ZodObject<{
|
|
|
267
267
|
panCard?: string | undefined;
|
|
268
268
|
verifiedBusiness?: "true" | "false" | "inProgress" | undefined;
|
|
269
269
|
properties?: {
|
|
270
|
+
country: string;
|
|
270
271
|
type: string;
|
|
272
|
+
name: string;
|
|
273
|
+
address: string;
|
|
271
274
|
city: string;
|
|
272
275
|
state: string;
|
|
273
|
-
country: string;
|
|
274
|
-
address: string;
|
|
275
|
-
name: string;
|
|
276
276
|
pinCode?: string | undefined;
|
|
277
277
|
registrationNumber?: string | undefined;
|
|
278
278
|
}[] | undefined;
|
|
@@ -308,16 +308,19 @@ export declare const VolunteerOpportunitySchema: z.ZodObject<{
|
|
|
308
308
|
} & {
|
|
309
309
|
opportunityType: z.ZodLiteral<"volunteer">;
|
|
310
310
|
}, "strict", z.ZodTypeAny, {
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
311
|
+
country: string;
|
|
312
|
+
status: "pending" | "denied" | "draft" | "archived" | "open" | "closed" | "deleted";
|
|
313
|
+
rating: number;
|
|
314
|
+
ratingCount: number;
|
|
315
|
+
reviewCount: number;
|
|
315
316
|
skills: string[];
|
|
316
|
-
description: string;
|
|
317
|
-
images: string[];
|
|
318
317
|
city: string;
|
|
319
318
|
state: string;
|
|
320
|
-
|
|
319
|
+
title: string;
|
|
320
|
+
description: string;
|
|
321
|
+
images: string[];
|
|
322
|
+
slug: string;
|
|
323
|
+
opportunityType: "volunteer";
|
|
321
324
|
availableFrom: Date;
|
|
322
325
|
minDuration: number;
|
|
323
326
|
maxDuration: number;
|
|
@@ -332,14 +335,7 @@ export declare const VolunteerOpportunitySchema: z.ZodObject<{
|
|
|
332
335
|
applicationCount: number;
|
|
333
336
|
views: number;
|
|
334
337
|
shares: number;
|
|
335
|
-
rating: number;
|
|
336
|
-
ratingCount: number;
|
|
337
|
-
reviewCount: number;
|
|
338
338
|
hostId: {
|
|
339
|
-
country: string;
|
|
340
|
-
rating: number;
|
|
341
|
-
ratingCount: number;
|
|
342
|
-
reviewCount: number;
|
|
343
339
|
username: string;
|
|
344
340
|
firstName: string;
|
|
345
341
|
lastName: string;
|
|
@@ -347,17 +343,17 @@ export declare const VolunteerOpportunitySchema: z.ZodObject<{
|
|
|
347
343
|
password: string;
|
|
348
344
|
phoneNumber: string;
|
|
349
345
|
countryCode: string;
|
|
346
|
+
country: string;
|
|
350
347
|
gender: "male" | "female" | "other";
|
|
348
|
+
rating: number;
|
|
349
|
+
ratingCount: number;
|
|
350
|
+
reviewCount: number;
|
|
351
351
|
joinedDate: Date;
|
|
352
352
|
isActive: boolean;
|
|
353
353
|
lastActive: Date;
|
|
354
354
|
verifiedEmail: boolean;
|
|
355
355
|
verifiedMobile: boolean;
|
|
356
356
|
role: "host" | "user" | "admin" | "hr" | "sales";
|
|
357
|
-
skills?: {
|
|
358
|
-
skill: string;
|
|
359
|
-
skillExpertise: number;
|
|
360
|
-
}[] | undefined;
|
|
361
357
|
location?: string | undefined;
|
|
362
358
|
pinCode?: string | undefined;
|
|
363
359
|
dob?: Date | undefined;
|
|
@@ -371,6 +367,10 @@ export declare const VolunteerOpportunitySchema: z.ZodObject<{
|
|
|
371
367
|
verifiedIdCard?: boolean | undefined;
|
|
372
368
|
socialLinks?: Partial<Record<"instagram" | "linkedin" | "youtube" | "googleBusiness", string>> | undefined;
|
|
373
369
|
userResume?: string | undefined;
|
|
370
|
+
skills?: {
|
|
371
|
+
skill: string;
|
|
372
|
+
skillExpertise: number;
|
|
373
|
+
}[] | undefined;
|
|
374
374
|
wishlist?: string[] | undefined;
|
|
375
375
|
favBlogs?: string[] | undefined;
|
|
376
376
|
favPackages?: string[] | undefined;
|
|
@@ -383,12 +383,12 @@ export declare const VolunteerOpportunitySchema: z.ZodObject<{
|
|
|
383
383
|
panCard?: string | undefined;
|
|
384
384
|
verifiedBusiness?: "true" | "false" | "inProgress" | undefined;
|
|
385
385
|
properties?: {
|
|
386
|
+
country: string;
|
|
386
387
|
type: string;
|
|
388
|
+
name: string;
|
|
389
|
+
address: string;
|
|
387
390
|
city: string;
|
|
388
391
|
state: string;
|
|
389
|
-
country: string;
|
|
390
|
-
address: string;
|
|
391
|
-
name: string;
|
|
392
392
|
pinCode?: string | undefined;
|
|
393
393
|
registrationNumber?: string | undefined;
|
|
394
394
|
}[] | undefined;
|
|
@@ -399,8 +399,10 @@ export declare const VolunteerOpportunitySchema: z.ZodObject<{
|
|
|
399
399
|
businessVerificationDenialReason?: string | undefined;
|
|
400
400
|
};
|
|
401
401
|
adminApproval: boolean;
|
|
402
|
-
categoryId?: string | undefined;
|
|
403
402
|
address?: string | undefined;
|
|
403
|
+
createdAt?: Date | undefined;
|
|
404
|
+
updatedAt?: Date | undefined;
|
|
405
|
+
categoryId?: string | undefined;
|
|
404
406
|
workMode?: "onsite" | "remote" | "hybrid" | undefined;
|
|
405
407
|
compensation?: {
|
|
406
408
|
type: "free" | "stipend" | "salary" | "project-based";
|
|
@@ -424,19 +426,20 @@ export declare const VolunteerOpportunitySchema: z.ZodObject<{
|
|
|
424
426
|
countryCode: string;
|
|
425
427
|
role: "host" | "user" | "admin" | "hr" | "sales";
|
|
426
428
|
}[] | undefined;
|
|
427
|
-
createdAt?: Date | undefined;
|
|
428
|
-
updatedAt?: Date | undefined;
|
|
429
429
|
}, {
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
430
|
+
country: string;
|
|
431
|
+
status: "pending" | "denied" | "draft" | "archived" | "open" | "closed" | "deleted";
|
|
432
|
+
rating: number;
|
|
433
|
+
ratingCount: number;
|
|
434
|
+
reviewCount: number;
|
|
434
435
|
skills: string[];
|
|
435
|
-
description: string;
|
|
436
|
-
images: string[];
|
|
437
436
|
city: string;
|
|
438
437
|
state: string;
|
|
439
|
-
|
|
438
|
+
title: string;
|
|
439
|
+
description: string;
|
|
440
|
+
images: string[];
|
|
441
|
+
slug: string;
|
|
442
|
+
opportunityType: "volunteer";
|
|
440
443
|
availableFrom: Date;
|
|
441
444
|
minDuration: number;
|
|
442
445
|
maxDuration: number;
|
|
@@ -451,14 +454,7 @@ export declare const VolunteerOpportunitySchema: z.ZodObject<{
|
|
|
451
454
|
applicationCount: number;
|
|
452
455
|
views: number;
|
|
453
456
|
shares: number;
|
|
454
|
-
rating: number;
|
|
455
|
-
ratingCount: number;
|
|
456
|
-
reviewCount: number;
|
|
457
457
|
hostId: {
|
|
458
|
-
country: string;
|
|
459
|
-
rating: number;
|
|
460
|
-
ratingCount: number;
|
|
461
|
-
reviewCount: number;
|
|
462
458
|
username: string;
|
|
463
459
|
firstName: string;
|
|
464
460
|
lastName: string;
|
|
@@ -466,17 +462,17 @@ export declare const VolunteerOpportunitySchema: z.ZodObject<{
|
|
|
466
462
|
password: string;
|
|
467
463
|
phoneNumber: string;
|
|
468
464
|
countryCode: string;
|
|
465
|
+
country: string;
|
|
469
466
|
gender: "male" | "female" | "other";
|
|
467
|
+
rating: number;
|
|
468
|
+
ratingCount: number;
|
|
469
|
+
reviewCount: number;
|
|
470
470
|
joinedDate: Date;
|
|
471
471
|
isActive: boolean;
|
|
472
472
|
lastActive: Date;
|
|
473
473
|
verifiedEmail: boolean;
|
|
474
474
|
verifiedMobile: boolean;
|
|
475
475
|
role: "host" | "user" | "admin" | "hr" | "sales";
|
|
476
|
-
skills?: {
|
|
477
|
-
skill: string;
|
|
478
|
-
skillExpertise: number;
|
|
479
|
-
}[] | undefined;
|
|
480
476
|
location?: string | undefined;
|
|
481
477
|
pinCode?: string | undefined;
|
|
482
478
|
dob?: Date | undefined;
|
|
@@ -490,6 +486,10 @@ export declare const VolunteerOpportunitySchema: z.ZodObject<{
|
|
|
490
486
|
verifiedIdCard?: boolean | undefined;
|
|
491
487
|
socialLinks?: Partial<Record<"instagram" | "linkedin" | "youtube" | "googleBusiness", string>> | undefined;
|
|
492
488
|
userResume?: string | undefined;
|
|
489
|
+
skills?: {
|
|
490
|
+
skill: string;
|
|
491
|
+
skillExpertise: number;
|
|
492
|
+
}[] | undefined;
|
|
493
493
|
wishlist?: string[] | undefined;
|
|
494
494
|
favBlogs?: string[] | undefined;
|
|
495
495
|
favPackages?: string[] | undefined;
|
|
@@ -502,12 +502,12 @@ export declare const VolunteerOpportunitySchema: z.ZodObject<{
|
|
|
502
502
|
panCard?: string | undefined;
|
|
503
503
|
verifiedBusiness?: "true" | "false" | "inProgress" | undefined;
|
|
504
504
|
properties?: {
|
|
505
|
+
country: string;
|
|
505
506
|
type: string;
|
|
507
|
+
name: string;
|
|
508
|
+
address: string;
|
|
506
509
|
city: string;
|
|
507
510
|
state: string;
|
|
508
|
-
country: string;
|
|
509
|
-
address: string;
|
|
510
|
-
name: string;
|
|
511
511
|
pinCode?: string | undefined;
|
|
512
512
|
registrationNumber?: string | undefined;
|
|
513
513
|
}[] | undefined;
|
|
@@ -518,8 +518,10 @@ export declare const VolunteerOpportunitySchema: z.ZodObject<{
|
|
|
518
518
|
businessVerificationDenialReason?: string | undefined;
|
|
519
519
|
};
|
|
520
520
|
adminApproval: boolean;
|
|
521
|
-
categoryId?: string | undefined;
|
|
522
521
|
address?: string | undefined;
|
|
522
|
+
createdAt?: Date | undefined;
|
|
523
|
+
updatedAt?: Date | undefined;
|
|
524
|
+
categoryId?: string | undefined;
|
|
523
525
|
workMode?: "onsite" | "remote" | "hybrid" | undefined;
|
|
524
526
|
compensation?: {
|
|
525
527
|
type: "free" | "stipend" | "salary" | "project-based";
|
|
@@ -543,7 +545,5 @@ export declare const VolunteerOpportunitySchema: z.ZodObject<{
|
|
|
543
545
|
countryCode: string;
|
|
544
546
|
role: "host" | "user" | "admin" | "hr" | "sales";
|
|
545
547
|
}[] | undefined;
|
|
546
|
-
createdAt?: Date | undefined;
|
|
547
|
-
updatedAt?: Date | undefined;
|
|
548
548
|
}>;
|
|
549
549
|
//# sourceMappingURL=volunteerJob.d.ts.map
|