@myrjfa/state 2.1.3 → 2.1.5
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 +10 -8
- package/dist/lib/actions/actions.d.ts.map +1 -1
- package/dist/lib/actions/actions.js +13 -5
- package/dist/lib/actions/fetcher.d.ts.map +1 -1
- package/dist/lib/actions/fetcher.js +31 -29
- package/dist/lib/authSessionManager.d.ts.map +1 -1
- package/dist/lib/authSessionManager.js +12 -18
- package/dist/lib/models/notifications.d.ts +20 -15
- package/dist/lib/models/notifications.d.ts.map +1 -1
- package/dist/lib/models/notifications.js +4 -1
- package/dist/lib/models/opportunities/freelance.d.ts +82 -82
- package/dist/lib/models/opportunities/internship.d.ts +82 -82
- package/dist/lib/models/opportunities/job.d.ts +82 -82
- package/dist/lib/models/opportunities/opportunity.d.ts +82 -82
- package/dist/lib/models/opportunities/volunteerJob.d.ts +82 -82
- package/dist/lib/models/props.d.ts +13 -2
- package/dist/lib/models/props.d.ts.map +1 -1
- package/dist/lib/models/props.js +20 -0
- package/dist/lib/userAtom.d.ts +48 -48
- package/package.json +1 -1
|
@@ -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;
|
|
138
137
|
type: string;
|
|
139
138
|
name: string;
|
|
140
|
-
address: string;
|
|
141
139
|
city: string;
|
|
142
140
|
state: string;
|
|
141
|
+
country: string;
|
|
142
|
+
address: string;
|
|
143
143
|
pinCode?: string | undefined;
|
|
144
144
|
registrationNumber?: string | undefined;
|
|
145
145
|
}, {
|
|
146
|
-
country: string;
|
|
147
146
|
type: string;
|
|
148
147
|
name: string;
|
|
149
|
-
address: string;
|
|
150
148
|
city: string;
|
|
151
149
|
state: string;
|
|
150
|
+
country: string;
|
|
151
|
+
address: string;
|
|
152
152
|
pinCode?: string | undefined;
|
|
153
153
|
registrationNumber?: string | undefined;
|
|
154
154
|
}>, "many">>;
|
|
@@ -158,6 +158,11 @@ 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
|
+
role: "host" | "user" | "admin" | "hr" | "sales";
|
|
162
|
+
country: string;
|
|
163
|
+
rating: number;
|
|
164
|
+
ratingCount: number;
|
|
165
|
+
reviewCount: number;
|
|
161
166
|
username: string;
|
|
162
167
|
firstName: string;
|
|
163
168
|
lastName: string;
|
|
@@ -165,17 +170,17 @@ export declare const VolunteerOpportunitySchema: z.ZodObject<{
|
|
|
165
170
|
password: string;
|
|
166
171
|
phoneNumber: string;
|
|
167
172
|
countryCode: string;
|
|
168
|
-
country: string;
|
|
169
173
|
gender: "male" | "female" | "other";
|
|
170
|
-
rating: number;
|
|
171
|
-
ratingCount: number;
|
|
172
|
-
reviewCount: number;
|
|
173
174
|
joinedDate: Date;
|
|
174
175
|
isActive: boolean;
|
|
175
176
|
lastActive: Date;
|
|
176
177
|
verifiedEmail: boolean;
|
|
177
178
|
verifiedMobile: boolean;
|
|
178
|
-
|
|
179
|
+
id?: string | undefined;
|
|
180
|
+
skills?: {
|
|
181
|
+
skill: string;
|
|
182
|
+
skillExpertise: number;
|
|
183
|
+
}[] | undefined;
|
|
179
184
|
location?: string | undefined;
|
|
180
185
|
pinCode?: string | undefined;
|
|
181
186
|
dob?: Date | undefined;
|
|
@@ -189,14 +194,9 @@ export declare const VolunteerOpportunitySchema: z.ZodObject<{
|
|
|
189
194
|
verifiedIdCard?: boolean | undefined;
|
|
190
195
|
socialLinks?: Partial<Record<"instagram" | "linkedin" | "youtube" | "googleBusiness", string>> | undefined;
|
|
191
196
|
userResume?: string | undefined;
|
|
192
|
-
skills?: {
|
|
193
|
-
skill: string;
|
|
194
|
-
skillExpertise: number;
|
|
195
|
-
}[] | undefined;
|
|
196
197
|
wishlist?: string[] | undefined;
|
|
197
198
|
favBlogs?: string[] | undefined;
|
|
198
199
|
favPackages?: string[] | undefined;
|
|
199
|
-
id?: string | undefined;
|
|
200
200
|
selfie?: string | undefined;
|
|
201
201
|
selfieAction?: string | undefined;
|
|
202
202
|
jobCount?: number | 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;
|
|
209
208
|
type: string;
|
|
210
209
|
name: string;
|
|
211
|
-
address: string;
|
|
212
210
|
city: string;
|
|
213
211
|
state: string;
|
|
212
|
+
country: string;
|
|
213
|
+
address: string;
|
|
214
214
|
pinCode?: string | undefined;
|
|
215
215
|
registrationNumber?: string | undefined;
|
|
216
216
|
}[] | undefined;
|
|
@@ -220,6 +220,11 @@ export declare const VolunteerOpportunitySchema: z.ZodObject<{
|
|
|
220
220
|
businessApiVerificationStatus?: "pending" | "verified" | "failed" | undefined;
|
|
221
221
|
businessVerificationDenialReason?: string | undefined;
|
|
222
222
|
}, {
|
|
223
|
+
role: "host" | "user" | "admin" | "hr" | "sales";
|
|
224
|
+
country: string;
|
|
225
|
+
rating: number;
|
|
226
|
+
ratingCount: number;
|
|
227
|
+
reviewCount: number;
|
|
223
228
|
username: string;
|
|
224
229
|
firstName: string;
|
|
225
230
|
lastName: string;
|
|
@@ -227,17 +232,17 @@ export declare const VolunteerOpportunitySchema: z.ZodObject<{
|
|
|
227
232
|
password: string;
|
|
228
233
|
phoneNumber: string;
|
|
229
234
|
countryCode: string;
|
|
230
|
-
country: string;
|
|
231
235
|
gender: "male" | "female" | "other";
|
|
232
|
-
rating: number;
|
|
233
|
-
ratingCount: number;
|
|
234
|
-
reviewCount: number;
|
|
235
236
|
joinedDate: Date;
|
|
236
237
|
isActive: boolean;
|
|
237
238
|
lastActive: Date;
|
|
238
239
|
verifiedEmail: boolean;
|
|
239
240
|
verifiedMobile: boolean;
|
|
240
|
-
|
|
241
|
+
id?: string | undefined;
|
|
242
|
+
skills?: {
|
|
243
|
+
skill: string;
|
|
244
|
+
skillExpertise: number;
|
|
245
|
+
}[] | undefined;
|
|
241
246
|
location?: string | undefined;
|
|
242
247
|
pinCode?: string | undefined;
|
|
243
248
|
dob?: Date | undefined;
|
|
@@ -251,14 +256,9 @@ export declare const VolunteerOpportunitySchema: z.ZodObject<{
|
|
|
251
256
|
verifiedIdCard?: boolean | undefined;
|
|
252
257
|
socialLinks?: Partial<Record<"instagram" | "linkedin" | "youtube" | "googleBusiness", string>> | undefined;
|
|
253
258
|
userResume?: string | undefined;
|
|
254
|
-
skills?: {
|
|
255
|
-
skill: string;
|
|
256
|
-
skillExpertise: number;
|
|
257
|
-
}[] | undefined;
|
|
258
259
|
wishlist?: string[] | undefined;
|
|
259
260
|
favBlogs?: string[] | undefined;
|
|
260
261
|
favPackages?: string[] | undefined;
|
|
261
|
-
id?: string | undefined;
|
|
262
262
|
selfie?: string | undefined;
|
|
263
263
|
selfieAction?: string | undefined;
|
|
264
264
|
jobCount?: number | 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;
|
|
271
270
|
type: string;
|
|
272
271
|
name: string;
|
|
273
|
-
address: string;
|
|
274
272
|
city: string;
|
|
275
273
|
state: string;
|
|
274
|
+
country: string;
|
|
275
|
+
address: string;
|
|
276
276
|
pinCode?: string | undefined;
|
|
277
277
|
registrationNumber?: string | undefined;
|
|
278
278
|
}[] | undefined;
|
|
@@ -289,17 +289,17 @@ export declare const VolunteerOpportunitySchema: z.ZodObject<{
|
|
|
289
289
|
phoneNumber: z.ZodString;
|
|
290
290
|
email: z.ZodString;
|
|
291
291
|
}, "strip", z.ZodTypeAny, {
|
|
292
|
+
role: "host" | "user" | "admin" | "hr" | "sales";
|
|
292
293
|
username: string;
|
|
293
294
|
email: string;
|
|
294
295
|
phoneNumber: string;
|
|
295
296
|
countryCode: string;
|
|
296
|
-
role: "host" | "user" | "admin" | "hr" | "sales";
|
|
297
297
|
}, {
|
|
298
|
+
role: "host" | "user" | "admin" | "hr" | "sales";
|
|
298
299
|
username: string;
|
|
299
300
|
email: string;
|
|
300
301
|
phoneNumber: string;
|
|
301
302
|
countryCode: string;
|
|
302
|
-
role: "host" | "user" | "admin" | "hr" | "sales";
|
|
303
303
|
}>, "many">>;
|
|
304
304
|
status: z.ZodEnum<["draft", "archived", "pending", "open", "closed", "denied", "deleted"]>;
|
|
305
305
|
adminApproval: z.ZodBoolean;
|
|
@@ -308,19 +308,16 @@ export declare const VolunteerOpportunitySchema: z.ZodObject<{
|
|
|
308
308
|
} & {
|
|
309
309
|
opportunityType: z.ZodLiteral<"volunteer">;
|
|
310
310
|
}, "strict", z.ZodTypeAny, {
|
|
311
|
-
|
|
312
|
-
status: "pending" | "draft" | "archived" | "denied" | "open" | "closed" | "deleted";
|
|
313
|
-
rating: number;
|
|
314
|
-
ratingCount: number;
|
|
315
|
-
reviewCount: number;
|
|
316
|
-
skills: string[];
|
|
317
|
-
city: string;
|
|
318
|
-
state: string;
|
|
319
|
-
title: string;
|
|
320
|
-
description: string;
|
|
311
|
+
status: "draft" | "archived" | "pending" | "open" | "closed" | "denied" | "deleted";
|
|
321
312
|
slug: string;
|
|
322
313
|
opportunityType: "volunteer";
|
|
314
|
+
title: string;
|
|
315
|
+
skills: string[];
|
|
316
|
+
description: string;
|
|
323
317
|
images: string[];
|
|
318
|
+
city: string;
|
|
319
|
+
state: string;
|
|
320
|
+
country: string;
|
|
324
321
|
availableFrom: Date;
|
|
325
322
|
minDuration: number;
|
|
326
323
|
maxDuration: number;
|
|
@@ -335,7 +332,15 @@ export declare const VolunteerOpportunitySchema: z.ZodObject<{
|
|
|
335
332
|
applicationCount: number;
|
|
336
333
|
views: number;
|
|
337
334
|
shares: number;
|
|
335
|
+
rating: number;
|
|
336
|
+
ratingCount: number;
|
|
337
|
+
reviewCount: number;
|
|
338
338
|
hostId: {
|
|
339
|
+
role: "host" | "user" | "admin" | "hr" | "sales";
|
|
340
|
+
country: string;
|
|
341
|
+
rating: number;
|
|
342
|
+
ratingCount: number;
|
|
343
|
+
reviewCount: number;
|
|
339
344
|
username: string;
|
|
340
345
|
firstName: string;
|
|
341
346
|
lastName: string;
|
|
@@ -343,17 +348,17 @@ export declare const VolunteerOpportunitySchema: z.ZodObject<{
|
|
|
343
348
|
password: string;
|
|
344
349
|
phoneNumber: string;
|
|
345
350
|
countryCode: string;
|
|
346
|
-
country: string;
|
|
347
351
|
gender: "male" | "female" | "other";
|
|
348
|
-
rating: number;
|
|
349
|
-
ratingCount: number;
|
|
350
|
-
reviewCount: number;
|
|
351
352
|
joinedDate: Date;
|
|
352
353
|
isActive: boolean;
|
|
353
354
|
lastActive: Date;
|
|
354
355
|
verifiedEmail: boolean;
|
|
355
356
|
verifiedMobile: boolean;
|
|
356
|
-
|
|
357
|
+
id?: string | undefined;
|
|
358
|
+
skills?: {
|
|
359
|
+
skill: string;
|
|
360
|
+
skillExpertise: number;
|
|
361
|
+
}[] | undefined;
|
|
357
362
|
location?: string | undefined;
|
|
358
363
|
pinCode?: string | undefined;
|
|
359
364
|
dob?: Date | undefined;
|
|
@@ -367,14 +372,9 @@ export declare const VolunteerOpportunitySchema: z.ZodObject<{
|
|
|
367
372
|
verifiedIdCard?: boolean | undefined;
|
|
368
373
|
socialLinks?: Partial<Record<"instagram" | "linkedin" | "youtube" | "googleBusiness", string>> | undefined;
|
|
369
374
|
userResume?: string | undefined;
|
|
370
|
-
skills?: {
|
|
371
|
-
skill: string;
|
|
372
|
-
skillExpertise: number;
|
|
373
|
-
}[] | undefined;
|
|
374
375
|
wishlist?: string[] | undefined;
|
|
375
376
|
favBlogs?: string[] | undefined;
|
|
376
377
|
favPackages?: string[] | undefined;
|
|
377
|
-
id?: string | undefined;
|
|
378
378
|
selfie?: string | undefined;
|
|
379
379
|
selfieAction?: string | undefined;
|
|
380
380
|
jobCount?: number | 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;
|
|
387
386
|
type: string;
|
|
388
387
|
name: string;
|
|
389
|
-
address: string;
|
|
390
388
|
city: string;
|
|
391
389
|
state: string;
|
|
390
|
+
country: string;
|
|
391
|
+
address: string;
|
|
392
392
|
pinCode?: string | undefined;
|
|
393
393
|
registrationNumber?: string | undefined;
|
|
394
394
|
}[] | undefined;
|
|
@@ -399,10 +399,8 @@ export declare const VolunteerOpportunitySchema: z.ZodObject<{
|
|
|
399
399
|
businessVerificationDenialReason?: string | undefined;
|
|
400
400
|
};
|
|
401
401
|
adminApproval: boolean;
|
|
402
|
-
address?: string | undefined;
|
|
403
|
-
createdAt?: Date | undefined;
|
|
404
|
-
updatedAt?: Date | undefined;
|
|
405
402
|
categoryId?: string | undefined;
|
|
403
|
+
address?: string | undefined;
|
|
406
404
|
workMode?: "onsite" | "remote" | "hybrid" | undefined;
|
|
407
405
|
compensation?: {
|
|
408
406
|
type: "free" | "stipend" | "salary" | "project-based";
|
|
@@ -420,26 +418,25 @@ export declare const VolunteerOpportunitySchema: z.ZodObject<{
|
|
|
420
418
|
pendingApplicationCount?: number | undefined;
|
|
421
419
|
hostingType?: string | undefined;
|
|
422
420
|
applicationObservers?: {
|
|
421
|
+
role: "host" | "user" | "admin" | "hr" | "sales";
|
|
423
422
|
username: string;
|
|
424
423
|
email: string;
|
|
425
424
|
phoneNumber: string;
|
|
426
425
|
countryCode: string;
|
|
427
|
-
role: "host" | "user" | "admin" | "hr" | "sales";
|
|
428
426
|
}[] | undefined;
|
|
427
|
+
createdAt?: Date | undefined;
|
|
428
|
+
updatedAt?: Date | undefined;
|
|
429
429
|
}, {
|
|
430
|
-
|
|
431
|
-
status: "pending" | "draft" | "archived" | "denied" | "open" | "closed" | "deleted";
|
|
432
|
-
rating: number;
|
|
433
|
-
ratingCount: number;
|
|
434
|
-
reviewCount: number;
|
|
435
|
-
skills: string[];
|
|
436
|
-
city: string;
|
|
437
|
-
state: string;
|
|
438
|
-
title: string;
|
|
439
|
-
description: string;
|
|
430
|
+
status: "draft" | "archived" | "pending" | "open" | "closed" | "denied" | "deleted";
|
|
440
431
|
slug: string;
|
|
441
432
|
opportunityType: "volunteer";
|
|
433
|
+
title: string;
|
|
434
|
+
skills: string[];
|
|
435
|
+
description: string;
|
|
442
436
|
images: string[];
|
|
437
|
+
city: string;
|
|
438
|
+
state: string;
|
|
439
|
+
country: string;
|
|
443
440
|
availableFrom: Date;
|
|
444
441
|
minDuration: number;
|
|
445
442
|
maxDuration: number;
|
|
@@ -454,7 +451,15 @@ export declare const VolunteerOpportunitySchema: z.ZodObject<{
|
|
|
454
451
|
applicationCount: number;
|
|
455
452
|
views: number;
|
|
456
453
|
shares: number;
|
|
454
|
+
rating: number;
|
|
455
|
+
ratingCount: number;
|
|
456
|
+
reviewCount: number;
|
|
457
457
|
hostId: {
|
|
458
|
+
role: "host" | "user" | "admin" | "hr" | "sales";
|
|
459
|
+
country: string;
|
|
460
|
+
rating: number;
|
|
461
|
+
ratingCount: number;
|
|
462
|
+
reviewCount: number;
|
|
458
463
|
username: string;
|
|
459
464
|
firstName: string;
|
|
460
465
|
lastName: string;
|
|
@@ -462,17 +467,17 @@ export declare const VolunteerOpportunitySchema: z.ZodObject<{
|
|
|
462
467
|
password: string;
|
|
463
468
|
phoneNumber: string;
|
|
464
469
|
countryCode: string;
|
|
465
|
-
country: string;
|
|
466
470
|
gender: "male" | "female" | "other";
|
|
467
|
-
rating: number;
|
|
468
|
-
ratingCount: number;
|
|
469
|
-
reviewCount: number;
|
|
470
471
|
joinedDate: Date;
|
|
471
472
|
isActive: boolean;
|
|
472
473
|
lastActive: Date;
|
|
473
474
|
verifiedEmail: boolean;
|
|
474
475
|
verifiedMobile: boolean;
|
|
475
|
-
|
|
476
|
+
id?: string | undefined;
|
|
477
|
+
skills?: {
|
|
478
|
+
skill: string;
|
|
479
|
+
skillExpertise: number;
|
|
480
|
+
}[] | undefined;
|
|
476
481
|
location?: string | undefined;
|
|
477
482
|
pinCode?: string | undefined;
|
|
478
483
|
dob?: Date | undefined;
|
|
@@ -486,14 +491,9 @@ export declare const VolunteerOpportunitySchema: z.ZodObject<{
|
|
|
486
491
|
verifiedIdCard?: boolean | undefined;
|
|
487
492
|
socialLinks?: Partial<Record<"instagram" | "linkedin" | "youtube" | "googleBusiness", string>> | undefined;
|
|
488
493
|
userResume?: string | undefined;
|
|
489
|
-
skills?: {
|
|
490
|
-
skill: string;
|
|
491
|
-
skillExpertise: number;
|
|
492
|
-
}[] | undefined;
|
|
493
494
|
wishlist?: string[] | undefined;
|
|
494
495
|
favBlogs?: string[] | undefined;
|
|
495
496
|
favPackages?: string[] | undefined;
|
|
496
|
-
id?: string | undefined;
|
|
497
497
|
selfie?: string | undefined;
|
|
498
498
|
selfieAction?: string | undefined;
|
|
499
499
|
jobCount?: number | 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;
|
|
506
505
|
type: string;
|
|
507
506
|
name: string;
|
|
508
|
-
address: string;
|
|
509
507
|
city: string;
|
|
510
508
|
state: string;
|
|
509
|
+
country: string;
|
|
510
|
+
address: string;
|
|
511
511
|
pinCode?: string | undefined;
|
|
512
512
|
registrationNumber?: string | undefined;
|
|
513
513
|
}[] | undefined;
|
|
@@ -518,10 +518,8 @@ export declare const VolunteerOpportunitySchema: z.ZodObject<{
|
|
|
518
518
|
businessVerificationDenialReason?: string | undefined;
|
|
519
519
|
};
|
|
520
520
|
adminApproval: boolean;
|
|
521
|
-
address?: string | undefined;
|
|
522
|
-
createdAt?: Date | undefined;
|
|
523
|
-
updatedAt?: Date | undefined;
|
|
524
521
|
categoryId?: string | undefined;
|
|
522
|
+
address?: string | undefined;
|
|
525
523
|
workMode?: "onsite" | "remote" | "hybrid" | undefined;
|
|
526
524
|
compensation?: {
|
|
527
525
|
type: "free" | "stipend" | "salary" | "project-based";
|
|
@@ -539,11 +537,13 @@ export declare const VolunteerOpportunitySchema: z.ZodObject<{
|
|
|
539
537
|
pendingApplicationCount?: number | undefined;
|
|
540
538
|
hostingType?: string | undefined;
|
|
541
539
|
applicationObservers?: {
|
|
540
|
+
role: "host" | "user" | "admin" | "hr" | "sales";
|
|
542
541
|
username: string;
|
|
543
542
|
email: string;
|
|
544
543
|
phoneNumber: string;
|
|
545
544
|
countryCode: string;
|
|
546
|
-
role: "host" | "user" | "admin" | "hr" | "sales";
|
|
547
545
|
}[] | undefined;
|
|
546
|
+
createdAt?: Date | undefined;
|
|
547
|
+
updatedAt?: Date | undefined;
|
|
548
548
|
}>;
|
|
549
549
|
//# sourceMappingURL=volunteerJob.d.ts.map
|
|
@@ -22,7 +22,7 @@ export interface DisplayItem {
|
|
|
22
22
|
title: string;
|
|
23
23
|
}
|
|
24
24
|
export interface Interest {
|
|
25
|
-
type: 'opportunity' | 'package';
|
|
25
|
+
type: 'opportunity' | 'package' | 'stay' | 'adventure' | 'event' | 'rental';
|
|
26
26
|
description: string;
|
|
27
27
|
preferredLocation?: string;
|
|
28
28
|
skillCategory?: string;
|
|
@@ -32,10 +32,20 @@ export interface Interest {
|
|
|
32
32
|
preferredHostingType?: string;
|
|
33
33
|
availableFrom?: Date;
|
|
34
34
|
packageType?: string;
|
|
35
|
-
travelDates?: Date;
|
|
35
|
+
travelDates?: Date | null;
|
|
36
36
|
groupSize?: number;
|
|
37
37
|
preferredDifficulty?: string;
|
|
38
38
|
preferredActivities?: string[];
|
|
39
|
+
propertyType?: string;
|
|
40
|
+
checkIn?: Date | null;
|
|
41
|
+
checkOut?: Date | null;
|
|
42
|
+
guests?: number;
|
|
43
|
+
amenities?: string[];
|
|
44
|
+
adventureType?: string;
|
|
45
|
+
eventCategory?: string;
|
|
46
|
+
eventDate?: Date | null;
|
|
47
|
+
vehicleType?: string;
|
|
48
|
+
pickupDate?: Date | null;
|
|
39
49
|
budget?: string;
|
|
40
50
|
}
|
|
41
51
|
export declare const skillsData: {
|
|
@@ -48,6 +58,7 @@ export declare const skillsOptions: {
|
|
|
48
58
|
export declare const statesOptions: {
|
|
49
59
|
title: string;
|
|
50
60
|
}[];
|
|
61
|
+
export declare const INDIAN_CITIES: string[];
|
|
51
62
|
export interface DisplayItem {
|
|
52
63
|
icon: string;
|
|
53
64
|
title: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../src/lib/models/props.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,cAAc;;;;;;;;;EAGhB,CAAC;AAEZ,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAEtD,MAAM,WAAW,QAAQ;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AAGD,MAAM,MAAM,QAAQ,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;AAEjD,MAAM,WAAW,WAAW;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,QAAQ;IACrB,IAAI,EAAE,aAAa,GAAG,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../src/lib/models/props.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,cAAc;;;;;;;;;EAGhB,CAAC;AAEZ,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAEtD,MAAM,WAAW,QAAQ;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AAGD,MAAM,MAAM,QAAQ,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;AAEjD,MAAM,WAAW,WAAW;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,QAAQ;IACrB,IAAI,EAAE,aAAa,GAAG,SAAS,GAAG,MAAM,GAAG,WAAW,GAAG,OAAO,GAAG,QAAQ,CAAC;IAC5E,WAAW,EAAE,MAAM,CAAC;IACpB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAE3B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;IAC3B,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,aAAa,CAAC,EAAE,IAAI,CAAC;IAErB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,mBAAmB,CAAC,EAAE,MAAM,EAAE,CAAC;IAE/B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,OAAO,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACtB,QAAQ,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IAErB,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAExB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAEzB,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,eAAO,MAAM,UAAU;;;GA8BtB,CAAC;AAEF,eAAO,MAAM,aAAa;;GA+FzB,CAAC;AAEF,eAAO,MAAM,aAAa;;GAmCzB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,MAAM,EAmBjC,CAAC;AAEF,MAAM,WAAW,WAAW;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,YAAY,qCAAqC,CAAA"}
|
package/dist/lib/models/props.js
CHANGED
|
@@ -168,4 +168,24 @@ export const statesOptions = [
|
|
|
168
168
|
{ title: "Lakshadweep" },
|
|
169
169
|
{ title: "Puducherry" }
|
|
170
170
|
];
|
|
171
|
+
export const INDIAN_CITIES = [
|
|
172
|
+
"Manali", "Shimla", "Spiti Valley", "Kasol", "Mcleod Ganj", "Dharamshala", "Dalhousie", "Kullu", "Kinnaur",
|
|
173
|
+
"Rishikesh", "Haridwar", "Nainital", "Mussoorie", "Dehradun", "Auli", "Lansdowne", "Ranikhet", "Jim Corbett", "Chopta",
|
|
174
|
+
"Darjeeling", "Kalimpong", "Gangtok", "Pelling", "Lachung",
|
|
175
|
+
"Shillong", "Cherrapunji", "Mawlynnong", "Tawang", "Ziro",
|
|
176
|
+
"Srinagar", "Gulmarg", "Pahalgam", "Sonamarg", "Vaishno Devi",
|
|
177
|
+
"Ladakh", "Leh", "Nubra Valley", "Pangong Lake", "Tso Moriri", "Zanskar Valley",
|
|
178
|
+
"Jaipur", "Udaipur", "Jodhpur", "Jaisalmer", "Pushkar", "Ajmer", "Bikaner", "Mount Abu", "Ranthambore", "Bundi", "Chittorgarh",
|
|
179
|
+
"Goa", "Panaji", "Calangute", "Arambol", "Palolem",
|
|
180
|
+
"Munnar", "Alleppey", "Varkala", "Kochi", "Wayanad", "Thekkady", "Kozhikode", "Kovalam", "Kannur", "Vagamon",
|
|
181
|
+
"Ooty", "Kodaikanal", "Chennai", "Madurai", "Coimbatore", "Pondicherry", "Rameswaram", "Kanyakumari", "Mahabalipuram", "Yercaud",
|
|
182
|
+
"Coorg", "Mysore", "Bangalore", "Hampi", "Badami", "Chikmagalur", "Dandeli", "Mangalore", "Udupi", "Gokarna", "Sakleshpur", "Nagarhole",
|
|
183
|
+
"Mumbai", "Pune", "Mahabaleshwar", "Lonavala", "Alibaug", "Aurangabad", "Nagpur", "Nashik", "Shirdi", "Kolhapur", "Matheran", "Tadoba",
|
|
184
|
+
"Ahmedabad", "Surat", "Rann of Kutch", "Dwarka", "Somnath", "Gir", "Vadodara", "Rajkot", "Mandvi", "Saputara",
|
|
185
|
+
"Varanasi", "Agra", "Lucknow", "Prayagraj", "Mathura", "Vrindavan", "Ayodhya", "Kanpur",
|
|
186
|
+
"Delhi", "Kolkata", "Hyderabad", "Chandigarh", "Amritsar", "Bhubaneswar", "Patna",
|
|
187
|
+
"Andaman Islands", "Havelock Island", "Lakshadweep", "Puri", "Vizag", "Tirupati",
|
|
188
|
+
"Khajuraho", "Bhopal", "Indore", "Ujjain", "Orchha", "Pachmarhi", "Bandhavgarh", "Kanha",
|
|
189
|
+
"Kaziranga", "Guwahati", "Majuli", "Imphal", "Kohima", "Shillong",
|
|
190
|
+
];
|
|
171
191
|
export const fallBackIcon = "/images/icons/miscellaneous.webp";
|