@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
|
@@ -118,21 +118,21 @@ export declare const InternshipOpportunitySchema: z.ZodObject<{
|
|
|
118
118
|
pinCode: z.ZodOptional<z.ZodString>;
|
|
119
119
|
registrationNumber: z.ZodOptional<z.ZodString>;
|
|
120
120
|
}, "strip", z.ZodTypeAny, {
|
|
121
|
+
country: string;
|
|
121
122
|
type: string;
|
|
123
|
+
name: string;
|
|
124
|
+
address: string;
|
|
122
125
|
city: string;
|
|
123
126
|
state: string;
|
|
124
|
-
country: string;
|
|
125
|
-
address: string;
|
|
126
|
-
name: string;
|
|
127
127
|
pinCode?: string | undefined;
|
|
128
128
|
registrationNumber?: string | undefined;
|
|
129
129
|
}, {
|
|
130
|
+
country: string;
|
|
130
131
|
type: string;
|
|
132
|
+
name: string;
|
|
133
|
+
address: string;
|
|
131
134
|
city: string;
|
|
132
135
|
state: string;
|
|
133
|
-
country: string;
|
|
134
|
-
address: string;
|
|
135
|
-
name: string;
|
|
136
136
|
pinCode?: string | undefined;
|
|
137
137
|
registrationNumber?: string | undefined;
|
|
138
138
|
}>, "many">>;
|
|
@@ -142,10 +142,6 @@ export declare const InternshipOpportunitySchema: z.ZodObject<{
|
|
|
142
142
|
businessApiVerificationStatus: z.ZodOptional<z.ZodEnum<["pending", "verified", "failed"]>>;
|
|
143
143
|
businessVerificationDenialReason: z.ZodOptional<z.ZodString>;
|
|
144
144
|
}, "strict", z.ZodTypeAny, {
|
|
145
|
-
country: string;
|
|
146
|
-
rating: number;
|
|
147
|
-
ratingCount: number;
|
|
148
|
-
reviewCount: number;
|
|
149
145
|
username: string;
|
|
150
146
|
firstName: string;
|
|
151
147
|
lastName: string;
|
|
@@ -153,17 +149,17 @@ export declare const InternshipOpportunitySchema: z.ZodObject<{
|
|
|
153
149
|
password: string;
|
|
154
150
|
phoneNumber: string;
|
|
155
151
|
countryCode: string;
|
|
152
|
+
country: string;
|
|
156
153
|
gender: "male" | "female" | "other";
|
|
154
|
+
rating: number;
|
|
155
|
+
ratingCount: number;
|
|
156
|
+
reviewCount: number;
|
|
157
157
|
joinedDate: Date;
|
|
158
158
|
isActive: boolean;
|
|
159
159
|
lastActive: Date;
|
|
160
160
|
verifiedEmail: boolean;
|
|
161
161
|
verifiedMobile: boolean;
|
|
162
162
|
role: "host" | "user" | "admin" | "hr" | "sales";
|
|
163
|
-
skills?: {
|
|
164
|
-
skill: string;
|
|
165
|
-
skillExpertise: number;
|
|
166
|
-
}[] | undefined;
|
|
167
163
|
location?: string | undefined;
|
|
168
164
|
pinCode?: string | undefined;
|
|
169
165
|
dob?: Date | undefined;
|
|
@@ -177,6 +173,10 @@ export declare const InternshipOpportunitySchema: z.ZodObject<{
|
|
|
177
173
|
verifiedIdCard?: boolean | undefined;
|
|
178
174
|
socialLinks?: Partial<Record<"instagram" | "linkedin" | "youtube" | "googleBusiness", string>> | undefined;
|
|
179
175
|
userResume?: string | undefined;
|
|
176
|
+
skills?: {
|
|
177
|
+
skill: string;
|
|
178
|
+
skillExpertise: number;
|
|
179
|
+
}[] | undefined;
|
|
180
180
|
wishlist?: string[] | undefined;
|
|
181
181
|
favBlogs?: string[] | undefined;
|
|
182
182
|
favPackages?: string[] | undefined;
|
|
@@ -189,12 +189,12 @@ export declare const InternshipOpportunitySchema: z.ZodObject<{
|
|
|
189
189
|
panCard?: string | undefined;
|
|
190
190
|
verifiedBusiness?: "true" | "false" | "inProgress" | undefined;
|
|
191
191
|
properties?: {
|
|
192
|
+
country: string;
|
|
192
193
|
type: string;
|
|
194
|
+
name: string;
|
|
195
|
+
address: string;
|
|
193
196
|
city: string;
|
|
194
197
|
state: string;
|
|
195
|
-
country: string;
|
|
196
|
-
address: string;
|
|
197
|
-
name: string;
|
|
198
198
|
pinCode?: string | undefined;
|
|
199
199
|
registrationNumber?: string | undefined;
|
|
200
200
|
}[] | undefined;
|
|
@@ -204,10 +204,6 @@ export declare const InternshipOpportunitySchema: z.ZodObject<{
|
|
|
204
204
|
businessApiVerificationStatus?: "pending" | "verified" | "failed" | undefined;
|
|
205
205
|
businessVerificationDenialReason?: string | undefined;
|
|
206
206
|
}, {
|
|
207
|
-
country: string;
|
|
208
|
-
rating: number;
|
|
209
|
-
ratingCount: number;
|
|
210
|
-
reviewCount: number;
|
|
211
207
|
username: string;
|
|
212
208
|
firstName: string;
|
|
213
209
|
lastName: string;
|
|
@@ -215,17 +211,17 @@ export declare const InternshipOpportunitySchema: z.ZodObject<{
|
|
|
215
211
|
password: string;
|
|
216
212
|
phoneNumber: string;
|
|
217
213
|
countryCode: string;
|
|
214
|
+
country: string;
|
|
218
215
|
gender: "male" | "female" | "other";
|
|
216
|
+
rating: number;
|
|
217
|
+
ratingCount: number;
|
|
218
|
+
reviewCount: number;
|
|
219
219
|
joinedDate: Date;
|
|
220
220
|
isActive: boolean;
|
|
221
221
|
lastActive: Date;
|
|
222
222
|
verifiedEmail: boolean;
|
|
223
223
|
verifiedMobile: boolean;
|
|
224
224
|
role: "host" | "user" | "admin" | "hr" | "sales";
|
|
225
|
-
skills?: {
|
|
226
|
-
skill: string;
|
|
227
|
-
skillExpertise: number;
|
|
228
|
-
}[] | undefined;
|
|
229
225
|
location?: string | undefined;
|
|
230
226
|
pinCode?: string | undefined;
|
|
231
227
|
dob?: Date | undefined;
|
|
@@ -239,6 +235,10 @@ export declare const InternshipOpportunitySchema: z.ZodObject<{
|
|
|
239
235
|
verifiedIdCard?: boolean | undefined;
|
|
240
236
|
socialLinks?: Partial<Record<"instagram" | "linkedin" | "youtube" | "googleBusiness", string>> | undefined;
|
|
241
237
|
userResume?: string | undefined;
|
|
238
|
+
skills?: {
|
|
239
|
+
skill: string;
|
|
240
|
+
skillExpertise: number;
|
|
241
|
+
}[] | undefined;
|
|
242
242
|
wishlist?: string[] | undefined;
|
|
243
243
|
favBlogs?: string[] | undefined;
|
|
244
244
|
favPackages?: string[] | undefined;
|
|
@@ -251,12 +251,12 @@ export declare const InternshipOpportunitySchema: z.ZodObject<{
|
|
|
251
251
|
panCard?: string | undefined;
|
|
252
252
|
verifiedBusiness?: "true" | "false" | "inProgress" | undefined;
|
|
253
253
|
properties?: {
|
|
254
|
+
country: string;
|
|
254
255
|
type: string;
|
|
256
|
+
name: string;
|
|
257
|
+
address: string;
|
|
255
258
|
city: string;
|
|
256
259
|
state: string;
|
|
257
|
-
country: string;
|
|
258
|
-
address: string;
|
|
259
|
-
name: string;
|
|
260
260
|
pinCode?: string | undefined;
|
|
261
261
|
registrationNumber?: string | undefined;
|
|
262
262
|
}[] | undefined;
|
|
@@ -321,16 +321,19 @@ export declare const InternshipOpportunitySchema: z.ZodObject<{
|
|
|
321
321
|
payoutToHost: number;
|
|
322
322
|
}>;
|
|
323
323
|
}, "strict", z.ZodTypeAny, {
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
324
|
+
country: string;
|
|
325
|
+
status: "pending" | "denied" | "draft" | "archived" | "open" | "closed" | "deleted";
|
|
326
|
+
rating: number;
|
|
327
|
+
ratingCount: number;
|
|
328
|
+
reviewCount: number;
|
|
328
329
|
skills: string[];
|
|
329
|
-
description: string;
|
|
330
|
-
images: string[];
|
|
331
330
|
city: string;
|
|
332
331
|
state: string;
|
|
333
|
-
|
|
332
|
+
title: string;
|
|
333
|
+
description: string;
|
|
334
|
+
images: string[];
|
|
335
|
+
slug: string;
|
|
336
|
+
opportunityType: "internship";
|
|
334
337
|
compensation: {
|
|
335
338
|
type: "free" | "stipend" | "salary" | "project-based";
|
|
336
339
|
currency: string;
|
|
@@ -351,14 +354,7 @@ export declare const InternshipOpportunitySchema: z.ZodObject<{
|
|
|
351
354
|
applicationCount: number;
|
|
352
355
|
views: number;
|
|
353
356
|
shares: number;
|
|
354
|
-
rating: number;
|
|
355
|
-
ratingCount: number;
|
|
356
|
-
reviewCount: number;
|
|
357
357
|
hostId: {
|
|
358
|
-
country: string;
|
|
359
|
-
rating: number;
|
|
360
|
-
ratingCount: number;
|
|
361
|
-
reviewCount: number;
|
|
362
358
|
username: string;
|
|
363
359
|
firstName: string;
|
|
364
360
|
lastName: string;
|
|
@@ -366,17 +362,17 @@ export declare const InternshipOpportunitySchema: z.ZodObject<{
|
|
|
366
362
|
password: string;
|
|
367
363
|
phoneNumber: string;
|
|
368
364
|
countryCode: string;
|
|
365
|
+
country: string;
|
|
369
366
|
gender: "male" | "female" | "other";
|
|
367
|
+
rating: number;
|
|
368
|
+
ratingCount: number;
|
|
369
|
+
reviewCount: number;
|
|
370
370
|
joinedDate: Date;
|
|
371
371
|
isActive: boolean;
|
|
372
372
|
lastActive: Date;
|
|
373
373
|
verifiedEmail: boolean;
|
|
374
374
|
verifiedMobile: boolean;
|
|
375
375
|
role: "host" | "user" | "admin" | "hr" | "sales";
|
|
376
|
-
skills?: {
|
|
377
|
-
skill: string;
|
|
378
|
-
skillExpertise: number;
|
|
379
|
-
}[] | undefined;
|
|
380
376
|
location?: string | undefined;
|
|
381
377
|
pinCode?: string | undefined;
|
|
382
378
|
dob?: Date | undefined;
|
|
@@ -390,6 +386,10 @@ export declare const InternshipOpportunitySchema: z.ZodObject<{
|
|
|
390
386
|
verifiedIdCard?: boolean | undefined;
|
|
391
387
|
socialLinks?: Partial<Record<"instagram" | "linkedin" | "youtube" | "googleBusiness", string>> | undefined;
|
|
392
388
|
userResume?: string | undefined;
|
|
389
|
+
skills?: {
|
|
390
|
+
skill: string;
|
|
391
|
+
skillExpertise: number;
|
|
392
|
+
}[] | undefined;
|
|
393
393
|
wishlist?: string[] | undefined;
|
|
394
394
|
favBlogs?: string[] | undefined;
|
|
395
395
|
favPackages?: string[] | undefined;
|
|
@@ -402,12 +402,12 @@ export declare const InternshipOpportunitySchema: z.ZodObject<{
|
|
|
402
402
|
panCard?: string | undefined;
|
|
403
403
|
verifiedBusiness?: "true" | "false" | "inProgress" | undefined;
|
|
404
404
|
properties?: {
|
|
405
|
+
country: string;
|
|
405
406
|
type: string;
|
|
407
|
+
name: string;
|
|
408
|
+
address: string;
|
|
406
409
|
city: string;
|
|
407
410
|
state: string;
|
|
408
|
-
country: string;
|
|
409
|
-
address: string;
|
|
410
|
-
name: string;
|
|
411
411
|
pinCode?: string | undefined;
|
|
412
412
|
registrationNumber?: string | undefined;
|
|
413
413
|
}[] | undefined;
|
|
@@ -423,8 +423,10 @@ export declare const InternshipOpportunitySchema: z.ZodObject<{
|
|
|
423
423
|
commissionAmount: number;
|
|
424
424
|
payoutToHost: number;
|
|
425
425
|
};
|
|
426
|
-
categoryId?: string | undefined;
|
|
427
426
|
address?: string | undefined;
|
|
427
|
+
createdAt?: Date | undefined;
|
|
428
|
+
updatedAt?: Date | undefined;
|
|
429
|
+
categoryId?: string | undefined;
|
|
428
430
|
workMode?: "onsite" | "remote" | "hybrid" | undefined;
|
|
429
431
|
bondPlan?: {
|
|
430
432
|
enabled: boolean;
|
|
@@ -442,19 +444,20 @@ export declare const InternshipOpportunitySchema: z.ZodObject<{
|
|
|
442
444
|
countryCode: string;
|
|
443
445
|
role: "host" | "user" | "admin" | "hr" | "sales";
|
|
444
446
|
}[] | undefined;
|
|
445
|
-
createdAt?: Date | undefined;
|
|
446
|
-
updatedAt?: Date | undefined;
|
|
447
447
|
}, {
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
448
|
+
country: string;
|
|
449
|
+
status: "pending" | "denied" | "draft" | "archived" | "open" | "closed" | "deleted";
|
|
450
|
+
rating: number;
|
|
451
|
+
ratingCount: number;
|
|
452
|
+
reviewCount: number;
|
|
452
453
|
skills: string[];
|
|
453
|
-
description: string;
|
|
454
|
-
images: string[];
|
|
455
454
|
city: string;
|
|
456
455
|
state: string;
|
|
457
|
-
|
|
456
|
+
title: string;
|
|
457
|
+
description: string;
|
|
458
|
+
images: string[];
|
|
459
|
+
slug: string;
|
|
460
|
+
opportunityType: "internship";
|
|
458
461
|
compensation: {
|
|
459
462
|
type: "free" | "stipend" | "salary" | "project-based";
|
|
460
463
|
currency: string;
|
|
@@ -475,14 +478,7 @@ export declare const InternshipOpportunitySchema: z.ZodObject<{
|
|
|
475
478
|
applicationCount: number;
|
|
476
479
|
views: number;
|
|
477
480
|
shares: number;
|
|
478
|
-
rating: number;
|
|
479
|
-
ratingCount: number;
|
|
480
|
-
reviewCount: number;
|
|
481
481
|
hostId: {
|
|
482
|
-
country: string;
|
|
483
|
-
rating: number;
|
|
484
|
-
ratingCount: number;
|
|
485
|
-
reviewCount: number;
|
|
486
482
|
username: string;
|
|
487
483
|
firstName: string;
|
|
488
484
|
lastName: string;
|
|
@@ -490,17 +486,17 @@ export declare const InternshipOpportunitySchema: z.ZodObject<{
|
|
|
490
486
|
password: string;
|
|
491
487
|
phoneNumber: string;
|
|
492
488
|
countryCode: string;
|
|
489
|
+
country: string;
|
|
493
490
|
gender: "male" | "female" | "other";
|
|
491
|
+
rating: number;
|
|
492
|
+
ratingCount: number;
|
|
493
|
+
reviewCount: number;
|
|
494
494
|
joinedDate: Date;
|
|
495
495
|
isActive: boolean;
|
|
496
496
|
lastActive: Date;
|
|
497
497
|
verifiedEmail: boolean;
|
|
498
498
|
verifiedMobile: boolean;
|
|
499
499
|
role: "host" | "user" | "admin" | "hr" | "sales";
|
|
500
|
-
skills?: {
|
|
501
|
-
skill: string;
|
|
502
|
-
skillExpertise: number;
|
|
503
|
-
}[] | undefined;
|
|
504
500
|
location?: string | undefined;
|
|
505
501
|
pinCode?: string | undefined;
|
|
506
502
|
dob?: Date | undefined;
|
|
@@ -514,6 +510,10 @@ export declare const InternshipOpportunitySchema: z.ZodObject<{
|
|
|
514
510
|
verifiedIdCard?: boolean | undefined;
|
|
515
511
|
socialLinks?: Partial<Record<"instagram" | "linkedin" | "youtube" | "googleBusiness", string>> | undefined;
|
|
516
512
|
userResume?: string | undefined;
|
|
513
|
+
skills?: {
|
|
514
|
+
skill: string;
|
|
515
|
+
skillExpertise: number;
|
|
516
|
+
}[] | undefined;
|
|
517
517
|
wishlist?: string[] | undefined;
|
|
518
518
|
favBlogs?: string[] | undefined;
|
|
519
519
|
favPackages?: string[] | undefined;
|
|
@@ -526,12 +526,12 @@ export declare const InternshipOpportunitySchema: z.ZodObject<{
|
|
|
526
526
|
panCard?: string | undefined;
|
|
527
527
|
verifiedBusiness?: "true" | "false" | "inProgress" | undefined;
|
|
528
528
|
properties?: {
|
|
529
|
+
country: string;
|
|
529
530
|
type: string;
|
|
531
|
+
name: string;
|
|
532
|
+
address: string;
|
|
530
533
|
city: string;
|
|
531
534
|
state: string;
|
|
532
|
-
country: string;
|
|
533
|
-
address: string;
|
|
534
|
-
name: string;
|
|
535
535
|
pinCode?: string | undefined;
|
|
536
536
|
registrationNumber?: string | undefined;
|
|
537
537
|
}[] | undefined;
|
|
@@ -547,8 +547,10 @@ export declare const InternshipOpportunitySchema: z.ZodObject<{
|
|
|
547
547
|
commissionAmount: number;
|
|
548
548
|
payoutToHost: number;
|
|
549
549
|
};
|
|
550
|
-
categoryId?: string | undefined;
|
|
551
550
|
address?: string | undefined;
|
|
551
|
+
createdAt?: Date | undefined;
|
|
552
|
+
updatedAt?: Date | undefined;
|
|
553
|
+
categoryId?: string | undefined;
|
|
552
554
|
workMode?: "onsite" | "remote" | "hybrid" | undefined;
|
|
553
555
|
bondPlan?: {
|
|
554
556
|
enabled: boolean;
|
|
@@ -566,7 +568,5 @@ export declare const InternshipOpportunitySchema: z.ZodObject<{
|
|
|
566
568
|
countryCode: string;
|
|
567
569
|
role: "host" | "user" | "admin" | "hr" | "sales";
|
|
568
570
|
}[] | undefined;
|
|
569
|
-
createdAt?: Date | undefined;
|
|
570
|
-
updatedAt?: Date | undefined;
|
|
571
571
|
}>;
|
|
572
572
|
//# sourceMappingURL=internship.d.ts.map
|