@myrjfa/state 2.1.4 → 2.1.6
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 +12 -12
- 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/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 +44 -44
- package/package.json +1 -1
package/dist/lib/userAtom.d.ts
CHANGED
|
@@ -2,7 +2,11 @@ export declare const storageInitializedAtom: import("jotai").PrimitiveAtom<boole
|
|
|
2
2
|
init: boolean;
|
|
3
3
|
};
|
|
4
4
|
export declare const userAtom: import("jotai").WritableAtom<{
|
|
5
|
+
role: "host" | "user" | "admin" | "hr" | "sales";
|
|
6
|
+
country: string;
|
|
5
7
|
rating: number;
|
|
8
|
+
ratingCount: number;
|
|
9
|
+
reviewCount: number;
|
|
6
10
|
username: string;
|
|
7
11
|
firstName: string;
|
|
8
12
|
lastName: string;
|
|
@@ -10,16 +14,17 @@ export declare const userAtom: import("jotai").WritableAtom<{
|
|
|
10
14
|
password: string;
|
|
11
15
|
phoneNumber: string;
|
|
12
16
|
countryCode: string;
|
|
13
|
-
country: string;
|
|
14
17
|
gender: "male" | "female" | "other";
|
|
15
|
-
ratingCount: number;
|
|
16
|
-
reviewCount: number;
|
|
17
18
|
joinedDate: Date;
|
|
18
19
|
isActive: boolean;
|
|
19
20
|
lastActive: Date;
|
|
20
21
|
verifiedEmail: boolean;
|
|
21
22
|
verifiedMobile: boolean;
|
|
22
|
-
|
|
23
|
+
id?: string | undefined;
|
|
24
|
+
skills?: {
|
|
25
|
+
skill: string;
|
|
26
|
+
skillExpertise: number;
|
|
27
|
+
}[] | undefined;
|
|
23
28
|
location?: string | undefined;
|
|
24
29
|
pinCode?: string | undefined;
|
|
25
30
|
dob?: Date | undefined;
|
|
@@ -33,14 +38,9 @@ export declare const userAtom: import("jotai").WritableAtom<{
|
|
|
33
38
|
verifiedIdCard?: boolean | undefined;
|
|
34
39
|
socialLinks?: Partial<Record<"instagram" | "linkedin" | "youtube" | "googleBusiness", string>> | undefined;
|
|
35
40
|
userResume?: string | undefined;
|
|
36
|
-
skills?: {
|
|
37
|
-
skill: string;
|
|
38
|
-
skillExpertise: number;
|
|
39
|
-
}[] | undefined;
|
|
40
41
|
wishlist?: string[] | undefined;
|
|
41
42
|
favBlogs?: string[] | undefined;
|
|
42
43
|
favPackages?: string[] | undefined;
|
|
43
|
-
id?: string | undefined;
|
|
44
44
|
selfie?: string | undefined;
|
|
45
45
|
selfieAction?: string | undefined;
|
|
46
46
|
jobCount?: number | undefined;
|
|
@@ -50,11 +50,11 @@ export declare const userAtom: import("jotai").WritableAtom<{
|
|
|
50
50
|
verifiedBusiness?: "true" | "false" | "inProgress" | undefined;
|
|
51
51
|
properties?: {
|
|
52
52
|
type: string;
|
|
53
|
-
country: string;
|
|
54
53
|
name: string;
|
|
55
|
-
address: string;
|
|
56
54
|
city: string;
|
|
57
55
|
state: string;
|
|
56
|
+
country: string;
|
|
57
|
+
address: string;
|
|
58
58
|
pinCode?: string | undefined;
|
|
59
59
|
registrationNumber?: string | undefined;
|
|
60
60
|
}[] | undefined;
|
|
@@ -64,7 +64,11 @@ export declare const userAtom: import("jotai").WritableAtom<{
|
|
|
64
64
|
businessApiVerificationStatus?: "pending" | "verified" | "failed" | undefined;
|
|
65
65
|
businessVerificationDenialReason?: string | undefined;
|
|
66
66
|
} | null, [{
|
|
67
|
+
role: "host" | "user" | "admin" | "hr" | "sales";
|
|
68
|
+
country: string;
|
|
67
69
|
rating: number;
|
|
70
|
+
ratingCount: number;
|
|
71
|
+
reviewCount: number;
|
|
68
72
|
username: string;
|
|
69
73
|
firstName: string;
|
|
70
74
|
lastName: string;
|
|
@@ -72,16 +76,17 @@ export declare const userAtom: import("jotai").WritableAtom<{
|
|
|
72
76
|
password: string;
|
|
73
77
|
phoneNumber: string;
|
|
74
78
|
countryCode: string;
|
|
75
|
-
country: string;
|
|
76
79
|
gender: "male" | "female" | "other";
|
|
77
|
-
ratingCount: number;
|
|
78
|
-
reviewCount: number;
|
|
79
80
|
joinedDate: Date;
|
|
80
81
|
isActive: boolean;
|
|
81
82
|
lastActive: Date;
|
|
82
83
|
verifiedEmail: boolean;
|
|
83
84
|
verifiedMobile: boolean;
|
|
84
|
-
|
|
85
|
+
id?: string | undefined;
|
|
86
|
+
skills?: {
|
|
87
|
+
skill: string;
|
|
88
|
+
skillExpertise: number;
|
|
89
|
+
}[] | undefined;
|
|
85
90
|
location?: string | undefined;
|
|
86
91
|
pinCode?: string | undefined;
|
|
87
92
|
dob?: Date | undefined;
|
|
@@ -95,14 +100,9 @@ export declare const userAtom: import("jotai").WritableAtom<{
|
|
|
95
100
|
verifiedIdCard?: boolean | undefined;
|
|
96
101
|
socialLinks?: Partial<Record<"instagram" | "linkedin" | "youtube" | "googleBusiness", string>> | undefined;
|
|
97
102
|
userResume?: string | undefined;
|
|
98
|
-
skills?: {
|
|
99
|
-
skill: string;
|
|
100
|
-
skillExpertise: number;
|
|
101
|
-
}[] | undefined;
|
|
102
103
|
wishlist?: string[] | undefined;
|
|
103
104
|
favBlogs?: string[] | undefined;
|
|
104
105
|
favPackages?: string[] | undefined;
|
|
105
|
-
id?: string | undefined;
|
|
106
106
|
selfie?: string | undefined;
|
|
107
107
|
selfieAction?: string | undefined;
|
|
108
108
|
jobCount?: number | undefined;
|
|
@@ -112,11 +112,11 @@ export declare const userAtom: import("jotai").WritableAtom<{
|
|
|
112
112
|
verifiedBusiness?: "true" | "false" | "inProgress" | undefined;
|
|
113
113
|
properties?: {
|
|
114
114
|
type: string;
|
|
115
|
-
country: string;
|
|
116
115
|
name: string;
|
|
117
|
-
address: string;
|
|
118
116
|
city: string;
|
|
119
117
|
state: string;
|
|
118
|
+
country: string;
|
|
119
|
+
address: string;
|
|
120
120
|
pinCode?: string | undefined;
|
|
121
121
|
registrationNumber?: string | undefined;
|
|
122
122
|
}[] | undefined;
|
|
@@ -126,7 +126,11 @@ export declare const userAtom: import("jotai").WritableAtom<{
|
|
|
126
126
|
businessApiVerificationStatus?: "pending" | "verified" | "failed" | undefined;
|
|
127
127
|
businessVerificationDenialReason?: string | undefined;
|
|
128
128
|
} | typeof import("jotai/utils").RESET | ((prev: {
|
|
129
|
+
role: "host" | "user" | "admin" | "hr" | "sales";
|
|
130
|
+
country: string;
|
|
129
131
|
rating: number;
|
|
132
|
+
ratingCount: number;
|
|
133
|
+
reviewCount: number;
|
|
130
134
|
username: string;
|
|
131
135
|
firstName: string;
|
|
132
136
|
lastName: string;
|
|
@@ -134,16 +138,17 @@ export declare const userAtom: import("jotai").WritableAtom<{
|
|
|
134
138
|
password: string;
|
|
135
139
|
phoneNumber: string;
|
|
136
140
|
countryCode: string;
|
|
137
|
-
country: string;
|
|
138
141
|
gender: "male" | "female" | "other";
|
|
139
|
-
ratingCount: number;
|
|
140
|
-
reviewCount: number;
|
|
141
142
|
joinedDate: Date;
|
|
142
143
|
isActive: boolean;
|
|
143
144
|
lastActive: Date;
|
|
144
145
|
verifiedEmail: boolean;
|
|
145
146
|
verifiedMobile: boolean;
|
|
146
|
-
|
|
147
|
+
id?: string | undefined;
|
|
148
|
+
skills?: {
|
|
149
|
+
skill: string;
|
|
150
|
+
skillExpertise: number;
|
|
151
|
+
}[] | undefined;
|
|
147
152
|
location?: string | undefined;
|
|
148
153
|
pinCode?: string | undefined;
|
|
149
154
|
dob?: Date | undefined;
|
|
@@ -157,14 +162,9 @@ export declare const userAtom: import("jotai").WritableAtom<{
|
|
|
157
162
|
verifiedIdCard?: boolean | undefined;
|
|
158
163
|
socialLinks?: Partial<Record<"instagram" | "linkedin" | "youtube" | "googleBusiness", string>> | undefined;
|
|
159
164
|
userResume?: string | undefined;
|
|
160
|
-
skills?: {
|
|
161
|
-
skill: string;
|
|
162
|
-
skillExpertise: number;
|
|
163
|
-
}[] | undefined;
|
|
164
165
|
wishlist?: string[] | undefined;
|
|
165
166
|
favBlogs?: string[] | undefined;
|
|
166
167
|
favPackages?: string[] | undefined;
|
|
167
|
-
id?: string | undefined;
|
|
168
168
|
selfie?: string | undefined;
|
|
169
169
|
selfieAction?: string | undefined;
|
|
170
170
|
jobCount?: number | undefined;
|
|
@@ -174,11 +174,11 @@ export declare const userAtom: import("jotai").WritableAtom<{
|
|
|
174
174
|
verifiedBusiness?: "true" | "false" | "inProgress" | undefined;
|
|
175
175
|
properties?: {
|
|
176
176
|
type: string;
|
|
177
|
-
country: string;
|
|
178
177
|
name: string;
|
|
179
|
-
address: string;
|
|
180
178
|
city: string;
|
|
181
179
|
state: string;
|
|
180
|
+
country: string;
|
|
181
|
+
address: string;
|
|
182
182
|
pinCode?: string | undefined;
|
|
183
183
|
registrationNumber?: string | undefined;
|
|
184
184
|
}[] | undefined;
|
|
@@ -188,7 +188,11 @@ export declare const userAtom: import("jotai").WritableAtom<{
|
|
|
188
188
|
businessApiVerificationStatus?: "pending" | "verified" | "failed" | undefined;
|
|
189
189
|
businessVerificationDenialReason?: string | undefined;
|
|
190
190
|
} | null) => {
|
|
191
|
+
role: "host" | "user" | "admin" | "hr" | "sales";
|
|
192
|
+
country: string;
|
|
191
193
|
rating: number;
|
|
194
|
+
ratingCount: number;
|
|
195
|
+
reviewCount: number;
|
|
192
196
|
username: string;
|
|
193
197
|
firstName: string;
|
|
194
198
|
lastName: string;
|
|
@@ -196,16 +200,17 @@ export declare const userAtom: import("jotai").WritableAtom<{
|
|
|
196
200
|
password: string;
|
|
197
201
|
phoneNumber: string;
|
|
198
202
|
countryCode: string;
|
|
199
|
-
country: string;
|
|
200
203
|
gender: "male" | "female" | "other";
|
|
201
|
-
ratingCount: number;
|
|
202
|
-
reviewCount: number;
|
|
203
204
|
joinedDate: Date;
|
|
204
205
|
isActive: boolean;
|
|
205
206
|
lastActive: Date;
|
|
206
207
|
verifiedEmail: boolean;
|
|
207
208
|
verifiedMobile: boolean;
|
|
208
|
-
|
|
209
|
+
id?: string | undefined;
|
|
210
|
+
skills?: {
|
|
211
|
+
skill: string;
|
|
212
|
+
skillExpertise: number;
|
|
213
|
+
}[] | undefined;
|
|
209
214
|
location?: string | undefined;
|
|
210
215
|
pinCode?: string | undefined;
|
|
211
216
|
dob?: Date | undefined;
|
|
@@ -219,14 +224,9 @@ export declare const userAtom: import("jotai").WritableAtom<{
|
|
|
219
224
|
verifiedIdCard?: boolean | undefined;
|
|
220
225
|
socialLinks?: Partial<Record<"instagram" | "linkedin" | "youtube" | "googleBusiness", string>> | undefined;
|
|
221
226
|
userResume?: string | undefined;
|
|
222
|
-
skills?: {
|
|
223
|
-
skill: string;
|
|
224
|
-
skillExpertise: number;
|
|
225
|
-
}[] | undefined;
|
|
226
227
|
wishlist?: string[] | undefined;
|
|
227
228
|
favBlogs?: string[] | undefined;
|
|
228
229
|
favPackages?: string[] | undefined;
|
|
229
|
-
id?: string | undefined;
|
|
230
230
|
selfie?: string | undefined;
|
|
231
231
|
selfieAction?: string | undefined;
|
|
232
232
|
jobCount?: number | undefined;
|
|
@@ -236,11 +236,11 @@ export declare const userAtom: import("jotai").WritableAtom<{
|
|
|
236
236
|
verifiedBusiness?: "true" | "false" | "inProgress" | undefined;
|
|
237
237
|
properties?: {
|
|
238
238
|
type: string;
|
|
239
|
-
country: string;
|
|
240
239
|
name: string;
|
|
241
|
-
address: string;
|
|
242
240
|
city: string;
|
|
243
241
|
state: string;
|
|
242
|
+
country: string;
|
|
243
|
+
address: string;
|
|
244
244
|
pinCode?: string | undefined;
|
|
245
245
|
registrationNumber?: string | undefined;
|
|
246
246
|
}[] | undefined;
|