@myrjfa/state 2.1.7 → 2.1.9
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 +11 -9
- package/dist/lib/actions/actions.d.ts.map +1 -1
- package/dist/lib/actions/actions.js +21 -2
- package/dist/lib/actions/auth.d.ts +20 -18
- package/dist/lib/actions/auth.d.ts.map +1 -1
- package/dist/lib/actions/auth.js +1 -1
- package/dist/lib/actions/fetcher.d.ts.map +1 -1
- package/dist/lib/actions/fetcher.js +3 -2
- package/dist/lib/models/application.d.ts +1 -1
- package/dist/lib/models/application.d.ts.map +1 -1
- package/dist/lib/models/booking.d.ts +16 -1
- package/dist/lib/models/booking.d.ts.map +1 -1
- package/dist/lib/models/opportunities/freelance.d.ts +18 -18
- package/dist/lib/models/opportunities/internship.d.ts +18 -18
- package/dist/lib/models/opportunities/job.d.ts +20 -20
- package/dist/lib/models/opportunities/opportunity.d.ts +27 -22
- package/dist/lib/models/opportunities/opportunity.d.ts.map +1 -1
- package/dist/lib/models/opportunities/opportunity.js +2 -0
- package/dist/lib/models/opportunities/volunteerJob.d.ts +18 -18
- package/dist/lib/models/review.d.ts +6 -0
- package/dist/lib/models/review.d.ts.map +1 -1
- package/dist/lib/models/review.js +2 -0
- package/dist/lib/userAtom.d.ts +32 -32
- package/package.json +1 -1
package/dist/lib/userAtom.d.ts
CHANGED
|
@@ -2,10 +2,7 @@ export declare const storageInitializedAtom: import("jotai").PrimitiveAtom<boole
|
|
|
2
2
|
init: boolean;
|
|
3
3
|
};
|
|
4
4
|
export declare const userAtom: import("jotai").WritableAtom<{
|
|
5
|
-
country: string;
|
|
6
5
|
rating: number;
|
|
7
|
-
ratingCount: number;
|
|
8
|
-
reviewCount: number;
|
|
9
6
|
username: string;
|
|
10
7
|
firstName: string;
|
|
11
8
|
lastName: string;
|
|
@@ -13,17 +10,20 @@ export declare const userAtom: import("jotai").WritableAtom<{
|
|
|
13
10
|
password: string;
|
|
14
11
|
phoneNumber: string;
|
|
15
12
|
countryCode: string;
|
|
13
|
+
country: string;
|
|
16
14
|
gender: "male" | "female" | "other";
|
|
15
|
+
ratingCount: number;
|
|
16
|
+
reviewCount: number;
|
|
17
17
|
joinedDate: Date;
|
|
18
18
|
isActive: boolean;
|
|
19
19
|
lastActive: Date;
|
|
20
20
|
verifiedEmail: boolean;
|
|
21
21
|
verifiedMobile: boolean;
|
|
22
|
-
role: "
|
|
23
|
-
profilePic?: string | undefined;
|
|
22
|
+
role: "host" | "user" | "admin" | "hr" | "sales";
|
|
24
23
|
location?: string | undefined;
|
|
25
24
|
pinCode?: string | undefined;
|
|
26
25
|
dob?: Date | undefined;
|
|
26
|
+
profilePic?: string | undefined;
|
|
27
27
|
blogsCount?: number | undefined;
|
|
28
28
|
userBio?: string | undefined;
|
|
29
29
|
userIdCard?: string | undefined;
|
|
@@ -50,24 +50,21 @@ export declare const userAtom: import("jotai").WritableAtom<{
|
|
|
50
50
|
verifiedBusiness?: "true" | "false" | "inProgress" | undefined;
|
|
51
51
|
properties?: {
|
|
52
52
|
type: string;
|
|
53
|
-
city: string;
|
|
54
|
-
state: string;
|
|
55
53
|
country: string;
|
|
56
54
|
name: string;
|
|
57
55
|
address: string;
|
|
56
|
+
city: string;
|
|
57
|
+
state: string;
|
|
58
58
|
pinCode?: string | undefined;
|
|
59
59
|
registrationNumber?: string | undefined;
|
|
60
60
|
}[] | undefined;
|
|
61
61
|
businessDocument?: string | undefined;
|
|
62
62
|
businessIdType?: "PAN" | "GST" | "Udyam" | "PersonalPAN" | undefined;
|
|
63
63
|
businessIdNumber?: string | undefined;
|
|
64
|
-
businessApiVerificationStatus?: "pending" | "
|
|
64
|
+
businessApiVerificationStatus?: "pending" | "verified" | "failed" | undefined;
|
|
65
65
|
businessVerificationDenialReason?: string | undefined;
|
|
66
66
|
} | null, [{
|
|
67
|
-
country: string;
|
|
68
67
|
rating: number;
|
|
69
|
-
ratingCount: number;
|
|
70
|
-
reviewCount: number;
|
|
71
68
|
username: string;
|
|
72
69
|
firstName: string;
|
|
73
70
|
lastName: string;
|
|
@@ -75,17 +72,20 @@ export declare const userAtom: import("jotai").WritableAtom<{
|
|
|
75
72
|
password: string;
|
|
76
73
|
phoneNumber: string;
|
|
77
74
|
countryCode: string;
|
|
75
|
+
country: string;
|
|
78
76
|
gender: "male" | "female" | "other";
|
|
77
|
+
ratingCount: number;
|
|
78
|
+
reviewCount: number;
|
|
79
79
|
joinedDate: Date;
|
|
80
80
|
isActive: boolean;
|
|
81
81
|
lastActive: Date;
|
|
82
82
|
verifiedEmail: boolean;
|
|
83
83
|
verifiedMobile: boolean;
|
|
84
|
-
role: "
|
|
85
|
-
profilePic?: string | undefined;
|
|
84
|
+
role: "host" | "user" | "admin" | "hr" | "sales";
|
|
86
85
|
location?: string | undefined;
|
|
87
86
|
pinCode?: string | undefined;
|
|
88
87
|
dob?: Date | undefined;
|
|
88
|
+
profilePic?: string | undefined;
|
|
89
89
|
blogsCount?: number | undefined;
|
|
90
90
|
userBio?: string | undefined;
|
|
91
91
|
userIdCard?: string | undefined;
|
|
@@ -112,24 +112,21 @@ export declare const userAtom: import("jotai").WritableAtom<{
|
|
|
112
112
|
verifiedBusiness?: "true" | "false" | "inProgress" | undefined;
|
|
113
113
|
properties?: {
|
|
114
114
|
type: string;
|
|
115
|
-
city: string;
|
|
116
|
-
state: string;
|
|
117
115
|
country: string;
|
|
118
116
|
name: string;
|
|
119
117
|
address: string;
|
|
118
|
+
city: string;
|
|
119
|
+
state: string;
|
|
120
120
|
pinCode?: string | undefined;
|
|
121
121
|
registrationNumber?: string | undefined;
|
|
122
122
|
}[] | undefined;
|
|
123
123
|
businessDocument?: string | undefined;
|
|
124
124
|
businessIdType?: "PAN" | "GST" | "Udyam" | "PersonalPAN" | undefined;
|
|
125
125
|
businessIdNumber?: string | undefined;
|
|
126
|
-
businessApiVerificationStatus?: "pending" | "
|
|
126
|
+
businessApiVerificationStatus?: "pending" | "verified" | "failed" | undefined;
|
|
127
127
|
businessVerificationDenialReason?: string | undefined;
|
|
128
128
|
} | typeof import("jotai/utils").RESET | ((prev: {
|
|
129
|
-
country: string;
|
|
130
129
|
rating: number;
|
|
131
|
-
ratingCount: number;
|
|
132
|
-
reviewCount: number;
|
|
133
130
|
username: string;
|
|
134
131
|
firstName: string;
|
|
135
132
|
lastName: string;
|
|
@@ -137,17 +134,20 @@ export declare const userAtom: import("jotai").WritableAtom<{
|
|
|
137
134
|
password: string;
|
|
138
135
|
phoneNumber: string;
|
|
139
136
|
countryCode: string;
|
|
137
|
+
country: string;
|
|
140
138
|
gender: "male" | "female" | "other";
|
|
139
|
+
ratingCount: number;
|
|
140
|
+
reviewCount: number;
|
|
141
141
|
joinedDate: Date;
|
|
142
142
|
isActive: boolean;
|
|
143
143
|
lastActive: Date;
|
|
144
144
|
verifiedEmail: boolean;
|
|
145
145
|
verifiedMobile: boolean;
|
|
146
|
-
role: "
|
|
147
|
-
profilePic?: string | undefined;
|
|
146
|
+
role: "host" | "user" | "admin" | "hr" | "sales";
|
|
148
147
|
location?: string | undefined;
|
|
149
148
|
pinCode?: string | undefined;
|
|
150
149
|
dob?: Date | undefined;
|
|
150
|
+
profilePic?: string | undefined;
|
|
151
151
|
blogsCount?: number | undefined;
|
|
152
152
|
userBio?: string | undefined;
|
|
153
153
|
userIdCard?: string | undefined;
|
|
@@ -174,24 +174,21 @@ export declare const userAtom: import("jotai").WritableAtom<{
|
|
|
174
174
|
verifiedBusiness?: "true" | "false" | "inProgress" | undefined;
|
|
175
175
|
properties?: {
|
|
176
176
|
type: string;
|
|
177
|
-
city: string;
|
|
178
|
-
state: string;
|
|
179
177
|
country: string;
|
|
180
178
|
name: string;
|
|
181
179
|
address: string;
|
|
180
|
+
city: string;
|
|
181
|
+
state: string;
|
|
182
182
|
pinCode?: string | undefined;
|
|
183
183
|
registrationNumber?: string | undefined;
|
|
184
184
|
}[] | undefined;
|
|
185
185
|
businessDocument?: string | undefined;
|
|
186
186
|
businessIdType?: "PAN" | "GST" | "Udyam" | "PersonalPAN" | undefined;
|
|
187
187
|
businessIdNumber?: string | undefined;
|
|
188
|
-
businessApiVerificationStatus?: "pending" | "
|
|
188
|
+
businessApiVerificationStatus?: "pending" | "verified" | "failed" | undefined;
|
|
189
189
|
businessVerificationDenialReason?: string | undefined;
|
|
190
190
|
} | null) => {
|
|
191
|
-
country: string;
|
|
192
191
|
rating: number;
|
|
193
|
-
ratingCount: number;
|
|
194
|
-
reviewCount: number;
|
|
195
192
|
username: string;
|
|
196
193
|
firstName: string;
|
|
197
194
|
lastName: string;
|
|
@@ -199,17 +196,20 @@ export declare const userAtom: import("jotai").WritableAtom<{
|
|
|
199
196
|
password: string;
|
|
200
197
|
phoneNumber: string;
|
|
201
198
|
countryCode: string;
|
|
199
|
+
country: string;
|
|
202
200
|
gender: "male" | "female" | "other";
|
|
201
|
+
ratingCount: number;
|
|
202
|
+
reviewCount: number;
|
|
203
203
|
joinedDate: Date;
|
|
204
204
|
isActive: boolean;
|
|
205
205
|
lastActive: Date;
|
|
206
206
|
verifiedEmail: boolean;
|
|
207
207
|
verifiedMobile: boolean;
|
|
208
|
-
role: "
|
|
209
|
-
profilePic?: string | undefined;
|
|
208
|
+
role: "host" | "user" | "admin" | "hr" | "sales";
|
|
210
209
|
location?: string | undefined;
|
|
211
210
|
pinCode?: string | undefined;
|
|
212
211
|
dob?: Date | undefined;
|
|
212
|
+
profilePic?: string | undefined;
|
|
213
213
|
blogsCount?: number | undefined;
|
|
214
214
|
userBio?: string | undefined;
|
|
215
215
|
userIdCard?: string | undefined;
|
|
@@ -236,18 +236,18 @@ export declare const userAtom: import("jotai").WritableAtom<{
|
|
|
236
236
|
verifiedBusiness?: "true" | "false" | "inProgress" | undefined;
|
|
237
237
|
properties?: {
|
|
238
238
|
type: string;
|
|
239
|
-
city: string;
|
|
240
|
-
state: string;
|
|
241
239
|
country: string;
|
|
242
240
|
name: string;
|
|
243
241
|
address: string;
|
|
242
|
+
city: string;
|
|
243
|
+
state: string;
|
|
244
244
|
pinCode?: string | undefined;
|
|
245
245
|
registrationNumber?: string | undefined;
|
|
246
246
|
}[] | undefined;
|
|
247
247
|
businessDocument?: string | undefined;
|
|
248
248
|
businessIdType?: "PAN" | "GST" | "Udyam" | "PersonalPAN" | undefined;
|
|
249
249
|
businessIdNumber?: string | undefined;
|
|
250
|
-
businessApiVerificationStatus?: "pending" | "
|
|
250
|
+
businessApiVerificationStatus?: "pending" | "verified" | "failed" | undefined;
|
|
251
251
|
businessVerificationDenialReason?: string | undefined;
|
|
252
252
|
} | typeof import("jotai/utils").RESET | null) | null], void>;
|
|
253
253
|
export declare const isLoggedInAtom: import("jotai").WritableAtom<boolean, [boolean | typeof import("jotai/utils").RESET | ((prev: boolean) => boolean | typeof import("jotai/utils").RESET)], void>;
|