@myrjfa/state 1.0.1 → 1.0.3
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.d.ts +6 -6
- package/dist/lib/actions.d.ts.map +1 -1
- package/dist/lib/models/blog.d.ts +64 -62
- package/dist/lib/models/blog.d.ts.map +1 -1
- package/dist/lib/models/blog.js +134 -143
- package/dist/lib/models/portfolio.d.ts +42 -31
- package/dist/lib/models/portfolio.d.ts.map +1 -1
- package/dist/lib/models/portfolio.js +59 -55
- package/dist/lib/models/review.d.ts +3 -2
- package/dist/lib/models/review.d.ts.map +1 -1
- package/dist/lib/models/volunteerJob.d.ts +379 -376
- package/dist/lib/models/volunteerJob.d.ts.map +1 -1
- package/dist/lib/models/volunteerJob.js +1 -0
- package/dist/lib/userAtom.d.ts +4 -4
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"volunteerJob.d.ts","sourceRoot":"","sources":["../../../src/lib/models/volunteerJob.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,WAAW,EAAkB,MAAM,SAAS,CAAC;AAEtD,eAAO,MAAM,iBAAiB
|
|
1
|
+
{"version":3,"file":"volunteerJob.d.ts","sourceRoot":"","sources":["../../../src/lib/models/volunteerJob.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,WAAW,EAAkB,MAAM,SAAS,CAAC;AAEtD,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoCnB,CAAC;AAEZ,MAAM,MAAM,WAAW,GAAG;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAG5D,eAAO,MAAM,iBAAiB,EAuBzB,WAAW,EAAE,CAAC;AAEnB,eAAO,MAAM,sBAAsB,EAqC9B,WAAW,EAAE,CAAC;AAGnB,eAAO,MAAM,uBAAuB,EAiB/B,WAAW,EAAE,CAAC;AAEnB,eAAO,MAAM,4BAA4B,EA2BpC,WAAW,EAAE,CAAC"}
|
|
@@ -32,6 +32,7 @@ export const OpportunitySchema = z.object({
|
|
|
32
32
|
})).optional(),
|
|
33
33
|
hostingType: z.string().optional(),
|
|
34
34
|
views: z.number(),
|
|
35
|
+
shares: z.number(),
|
|
35
36
|
status: z.enum(['draft', 'archived', 'pending', 'open', 'closed', 'denied', 'deleted']),
|
|
36
37
|
createdAt: z.date().optional(),
|
|
37
38
|
updatedAt: z.date().optional(),
|
package/dist/lib/userAtom.d.ts
CHANGED
|
@@ -2,6 +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
|
+
rating: number;
|
|
5
6
|
username: string;
|
|
6
7
|
firstName: string;
|
|
7
8
|
lastName: string;
|
|
@@ -9,7 +10,6 @@ export declare const userAtom: import("jotai").WritableAtom<{
|
|
|
9
10
|
password: string;
|
|
10
11
|
phoneNumber: string;
|
|
11
12
|
gender: "male" | "female" | "other";
|
|
12
|
-
rating: number;
|
|
13
13
|
ratingCount: number;
|
|
14
14
|
reviewCount: number;
|
|
15
15
|
joinedDate: Date;
|
|
@@ -47,6 +47,7 @@ export declare const userAtom: import("jotai").WritableAtom<{
|
|
|
47
47
|
panCard?: string | undefined;
|
|
48
48
|
verifiedBusiness?: "true" | "false" | "inProgress" | undefined;
|
|
49
49
|
} | null, [{
|
|
50
|
+
rating: number;
|
|
50
51
|
username: string;
|
|
51
52
|
firstName: string;
|
|
52
53
|
lastName: string;
|
|
@@ -54,7 +55,6 @@ export declare const userAtom: import("jotai").WritableAtom<{
|
|
|
54
55
|
password: string;
|
|
55
56
|
phoneNumber: string;
|
|
56
57
|
gender: "male" | "female" | "other";
|
|
57
|
-
rating: number;
|
|
58
58
|
ratingCount: number;
|
|
59
59
|
reviewCount: number;
|
|
60
60
|
joinedDate: Date;
|
|
@@ -92,6 +92,7 @@ export declare const userAtom: import("jotai").WritableAtom<{
|
|
|
92
92
|
panCard?: string | undefined;
|
|
93
93
|
verifiedBusiness?: "true" | "false" | "inProgress" | undefined;
|
|
94
94
|
} | typeof import("jotai/utils").RESET | ((prev: {
|
|
95
|
+
rating: number;
|
|
95
96
|
username: string;
|
|
96
97
|
firstName: string;
|
|
97
98
|
lastName: string;
|
|
@@ -99,7 +100,6 @@ export declare const userAtom: import("jotai").WritableAtom<{
|
|
|
99
100
|
password: string;
|
|
100
101
|
phoneNumber: string;
|
|
101
102
|
gender: "male" | "female" | "other";
|
|
102
|
-
rating: number;
|
|
103
103
|
ratingCount: number;
|
|
104
104
|
reviewCount: number;
|
|
105
105
|
joinedDate: Date;
|
|
@@ -137,6 +137,7 @@ export declare const userAtom: import("jotai").WritableAtom<{
|
|
|
137
137
|
panCard?: string | undefined;
|
|
138
138
|
verifiedBusiness?: "true" | "false" | "inProgress" | undefined;
|
|
139
139
|
} | null) => {
|
|
140
|
+
rating: number;
|
|
140
141
|
username: string;
|
|
141
142
|
firstName: string;
|
|
142
143
|
lastName: string;
|
|
@@ -144,7 +145,6 @@ export declare const userAtom: import("jotai").WritableAtom<{
|
|
|
144
145
|
password: string;
|
|
145
146
|
phoneNumber: string;
|
|
146
147
|
gender: "male" | "female" | "other";
|
|
147
|
-
rating: number;
|
|
148
148
|
ratingCount: number;
|
|
149
149
|
reviewCount: number;
|
|
150
150
|
joinedDate: Date;
|