@pfm-platform/users-feature 0.2.1 → 0.3.1
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/useCurrentUser.d.ts +12 -12
- package/dist/hooks/useUserSettings.d.ts +12 -12
- package/package.json +11 -11
|
@@ -70,7 +70,7 @@ export declare function useCurrentUser(options?: Omit<UseQueryOptions<UserProfil
|
|
|
70
70
|
last_name: string;
|
|
71
71
|
postal_code: string;
|
|
72
72
|
birth_year: number | null;
|
|
73
|
-
sex: "Male" | "Female" | null;
|
|
73
|
+
sex: "Male" | "Female" | "Non-binary" | "Prefer not to say" | null;
|
|
74
74
|
city: string | null;
|
|
75
75
|
state: string | null;
|
|
76
76
|
created_at: string | null;
|
|
@@ -89,7 +89,7 @@ export declare function useCurrentUser(options?: Omit<UseQueryOptions<UserProfil
|
|
|
89
89
|
last_name: string;
|
|
90
90
|
postal_code: string;
|
|
91
91
|
birth_year: number | null;
|
|
92
|
-
sex: "Male" | "Female" | null;
|
|
92
|
+
sex: "Male" | "Female" | "Non-binary" | "Prefer not to say" | null;
|
|
93
93
|
city: string | null;
|
|
94
94
|
state: string | null;
|
|
95
95
|
created_at: string | null;
|
|
@@ -131,7 +131,7 @@ export declare function useCurrentUser(options?: Omit<UseQueryOptions<UserProfil
|
|
|
131
131
|
last_name: string;
|
|
132
132
|
postal_code: string;
|
|
133
133
|
birth_year: number | null;
|
|
134
|
-
sex: "Male" | "Female" | null;
|
|
134
|
+
sex: "Male" | "Female" | "Non-binary" | "Prefer not to say" | null;
|
|
135
135
|
city: string | null;
|
|
136
136
|
state: string | null;
|
|
137
137
|
created_at: string | null;
|
|
@@ -150,7 +150,7 @@ export declare function useCurrentUser(options?: Omit<UseQueryOptions<UserProfil
|
|
|
150
150
|
last_name: string;
|
|
151
151
|
postal_code: string;
|
|
152
152
|
birth_year: number | null;
|
|
153
|
-
sex: "Male" | "Female" | null;
|
|
153
|
+
sex: "Male" | "Female" | "Non-binary" | "Prefer not to say" | null;
|
|
154
154
|
city: string | null;
|
|
155
155
|
state: string | null;
|
|
156
156
|
created_at: string | null;
|
|
@@ -192,7 +192,7 @@ export declare function useCurrentUser(options?: Omit<UseQueryOptions<UserProfil
|
|
|
192
192
|
last_name: string;
|
|
193
193
|
postal_code: string;
|
|
194
194
|
birth_year: number | null;
|
|
195
|
-
sex: "Male" | "Female" | null;
|
|
195
|
+
sex: "Male" | "Female" | "Non-binary" | "Prefer not to say" | null;
|
|
196
196
|
city: string | null;
|
|
197
197
|
state: string | null;
|
|
198
198
|
created_at: string | null;
|
|
@@ -211,7 +211,7 @@ export declare function useCurrentUser(options?: Omit<UseQueryOptions<UserProfil
|
|
|
211
211
|
last_name: string;
|
|
212
212
|
postal_code: string;
|
|
213
213
|
birth_year: number | null;
|
|
214
|
-
sex: "Male" | "Female" | null;
|
|
214
|
+
sex: "Male" | "Female" | "Non-binary" | "Prefer not to say" | null;
|
|
215
215
|
city: string | null;
|
|
216
216
|
state: string | null;
|
|
217
217
|
created_at: string | null;
|
|
@@ -253,7 +253,7 @@ export declare function useCurrentUser(options?: Omit<UseQueryOptions<UserProfil
|
|
|
253
253
|
last_name: string;
|
|
254
254
|
postal_code: string;
|
|
255
255
|
birth_year: number | null;
|
|
256
|
-
sex: "Male" | "Female" | null;
|
|
256
|
+
sex: "Male" | "Female" | "Non-binary" | "Prefer not to say" | null;
|
|
257
257
|
city: string | null;
|
|
258
258
|
state: string | null;
|
|
259
259
|
created_at: string | null;
|
|
@@ -272,7 +272,7 @@ export declare function useCurrentUser(options?: Omit<UseQueryOptions<UserProfil
|
|
|
272
272
|
last_name: string;
|
|
273
273
|
postal_code: string;
|
|
274
274
|
birth_year: number | null;
|
|
275
|
-
sex: "Male" | "Female" | null;
|
|
275
|
+
sex: "Male" | "Female" | "Non-binary" | "Prefer not to say" | null;
|
|
276
276
|
city: string | null;
|
|
277
277
|
state: string | null;
|
|
278
278
|
created_at: string | null;
|
|
@@ -314,7 +314,7 @@ export declare function useCurrentUser(options?: Omit<UseQueryOptions<UserProfil
|
|
|
314
314
|
last_name: string;
|
|
315
315
|
postal_code: string;
|
|
316
316
|
birth_year: number | null;
|
|
317
|
-
sex: "Male" | "Female" | null;
|
|
317
|
+
sex: "Male" | "Female" | "Non-binary" | "Prefer not to say" | null;
|
|
318
318
|
city: string | null;
|
|
319
319
|
state: string | null;
|
|
320
320
|
created_at: string | null;
|
|
@@ -333,7 +333,7 @@ export declare function useCurrentUser(options?: Omit<UseQueryOptions<UserProfil
|
|
|
333
333
|
last_name: string;
|
|
334
334
|
postal_code: string;
|
|
335
335
|
birth_year: number | null;
|
|
336
|
-
sex: "Male" | "Female" | null;
|
|
336
|
+
sex: "Male" | "Female" | "Non-binary" | "Prefer not to say" | null;
|
|
337
337
|
city: string | null;
|
|
338
338
|
state: string | null;
|
|
339
339
|
created_at: string | null;
|
|
@@ -375,7 +375,7 @@ export declare function useCurrentUser(options?: Omit<UseQueryOptions<UserProfil
|
|
|
375
375
|
last_name: string;
|
|
376
376
|
postal_code: string;
|
|
377
377
|
birth_year: number | null;
|
|
378
|
-
sex: "Male" | "Female" | null;
|
|
378
|
+
sex: "Male" | "Female" | "Non-binary" | "Prefer not to say" | null;
|
|
379
379
|
city: string | null;
|
|
380
380
|
state: string | null;
|
|
381
381
|
created_at: string | null;
|
|
@@ -394,7 +394,7 @@ export declare function useCurrentUser(options?: Omit<UseQueryOptions<UserProfil
|
|
|
394
394
|
last_name: string;
|
|
395
395
|
postal_code: string;
|
|
396
396
|
birth_year: number | null;
|
|
397
|
-
sex: "Male" | "Female" | null;
|
|
397
|
+
sex: "Male" | "Female" | "Non-binary" | "Prefer not to say" | null;
|
|
398
398
|
city: string | null;
|
|
399
399
|
state: string | null;
|
|
400
400
|
created_at: string | null;
|
|
@@ -75,7 +75,7 @@ export declare function useUserSettings(options?: Omit<UseQueryOptions<UserProfi
|
|
|
75
75
|
last_name: string;
|
|
76
76
|
postal_code: string;
|
|
77
77
|
birth_year: number | null;
|
|
78
|
-
sex: "Male" | "Female" | null;
|
|
78
|
+
sex: "Male" | "Female" | "Non-binary" | "Prefer not to say" | null;
|
|
79
79
|
city: string | null;
|
|
80
80
|
state: string | null;
|
|
81
81
|
created_at: string | null;
|
|
@@ -94,7 +94,7 @@ export declare function useUserSettings(options?: Omit<UseQueryOptions<UserProfi
|
|
|
94
94
|
last_name: string;
|
|
95
95
|
postal_code: string;
|
|
96
96
|
birth_year: number | null;
|
|
97
|
-
sex: "Male" | "Female" | null;
|
|
97
|
+
sex: "Male" | "Female" | "Non-binary" | "Prefer not to say" | null;
|
|
98
98
|
city: string | null;
|
|
99
99
|
state: string | null;
|
|
100
100
|
created_at: string | null;
|
|
@@ -136,7 +136,7 @@ export declare function useUserSettings(options?: Omit<UseQueryOptions<UserProfi
|
|
|
136
136
|
last_name: string;
|
|
137
137
|
postal_code: string;
|
|
138
138
|
birth_year: number | null;
|
|
139
|
-
sex: "Male" | "Female" | null;
|
|
139
|
+
sex: "Male" | "Female" | "Non-binary" | "Prefer not to say" | null;
|
|
140
140
|
city: string | null;
|
|
141
141
|
state: string | null;
|
|
142
142
|
created_at: string | null;
|
|
@@ -155,7 +155,7 @@ export declare function useUserSettings(options?: Omit<UseQueryOptions<UserProfi
|
|
|
155
155
|
last_name: string;
|
|
156
156
|
postal_code: string;
|
|
157
157
|
birth_year: number | null;
|
|
158
|
-
sex: "Male" | "Female" | null;
|
|
158
|
+
sex: "Male" | "Female" | "Non-binary" | "Prefer not to say" | null;
|
|
159
159
|
city: string | null;
|
|
160
160
|
state: string | null;
|
|
161
161
|
created_at: string | null;
|
|
@@ -197,7 +197,7 @@ export declare function useUserSettings(options?: Omit<UseQueryOptions<UserProfi
|
|
|
197
197
|
last_name: string;
|
|
198
198
|
postal_code: string;
|
|
199
199
|
birth_year: number | null;
|
|
200
|
-
sex: "Male" | "Female" | null;
|
|
200
|
+
sex: "Male" | "Female" | "Non-binary" | "Prefer not to say" | null;
|
|
201
201
|
city: string | null;
|
|
202
202
|
state: string | null;
|
|
203
203
|
created_at: string | null;
|
|
@@ -216,7 +216,7 @@ export declare function useUserSettings(options?: Omit<UseQueryOptions<UserProfi
|
|
|
216
216
|
last_name: string;
|
|
217
217
|
postal_code: string;
|
|
218
218
|
birth_year: number | null;
|
|
219
|
-
sex: "Male" | "Female" | null;
|
|
219
|
+
sex: "Male" | "Female" | "Non-binary" | "Prefer not to say" | null;
|
|
220
220
|
city: string | null;
|
|
221
221
|
state: string | null;
|
|
222
222
|
created_at: string | null;
|
|
@@ -258,7 +258,7 @@ export declare function useUserSettings(options?: Omit<UseQueryOptions<UserProfi
|
|
|
258
258
|
last_name: string;
|
|
259
259
|
postal_code: string;
|
|
260
260
|
birth_year: number | null;
|
|
261
|
-
sex: "Male" | "Female" | null;
|
|
261
|
+
sex: "Male" | "Female" | "Non-binary" | "Prefer not to say" | null;
|
|
262
262
|
city: string | null;
|
|
263
263
|
state: string | null;
|
|
264
264
|
created_at: string | null;
|
|
@@ -277,7 +277,7 @@ export declare function useUserSettings(options?: Omit<UseQueryOptions<UserProfi
|
|
|
277
277
|
last_name: string;
|
|
278
278
|
postal_code: string;
|
|
279
279
|
birth_year: number | null;
|
|
280
|
-
sex: "Male" | "Female" | null;
|
|
280
|
+
sex: "Male" | "Female" | "Non-binary" | "Prefer not to say" | null;
|
|
281
281
|
city: string | null;
|
|
282
282
|
state: string | null;
|
|
283
283
|
created_at: string | null;
|
|
@@ -319,7 +319,7 @@ export declare function useUserSettings(options?: Omit<UseQueryOptions<UserProfi
|
|
|
319
319
|
last_name: string;
|
|
320
320
|
postal_code: string;
|
|
321
321
|
birth_year: number | null;
|
|
322
|
-
sex: "Male" | "Female" | null;
|
|
322
|
+
sex: "Male" | "Female" | "Non-binary" | "Prefer not to say" | null;
|
|
323
323
|
city: string | null;
|
|
324
324
|
state: string | null;
|
|
325
325
|
created_at: string | null;
|
|
@@ -338,7 +338,7 @@ export declare function useUserSettings(options?: Omit<UseQueryOptions<UserProfi
|
|
|
338
338
|
last_name: string;
|
|
339
339
|
postal_code: string;
|
|
340
340
|
birth_year: number | null;
|
|
341
|
-
sex: "Male" | "Female" | null;
|
|
341
|
+
sex: "Male" | "Female" | "Non-binary" | "Prefer not to say" | null;
|
|
342
342
|
city: string | null;
|
|
343
343
|
state: string | null;
|
|
344
344
|
created_at: string | null;
|
|
@@ -380,7 +380,7 @@ export declare function useUserSettings(options?: Omit<UseQueryOptions<UserProfi
|
|
|
380
380
|
last_name: string;
|
|
381
381
|
postal_code: string;
|
|
382
382
|
birth_year: number | null;
|
|
383
|
-
sex: "Male" | "Female" | null;
|
|
383
|
+
sex: "Male" | "Female" | "Non-binary" | "Prefer not to say" | null;
|
|
384
384
|
city: string | null;
|
|
385
385
|
state: string | null;
|
|
386
386
|
created_at: string | null;
|
|
@@ -399,7 +399,7 @@ export declare function useUserSettings(options?: Omit<UseQueryOptions<UserProfi
|
|
|
399
399
|
last_name: string;
|
|
400
400
|
postal_code: string;
|
|
401
401
|
birth_year: number | null;
|
|
402
|
-
sex: "Male" | "Female" | null;
|
|
402
|
+
sex: "Male" | "Female" | "Non-binary" | "Prefer not to say" | null;
|
|
403
403
|
city: string | null;
|
|
404
404
|
state: string | null;
|
|
405
405
|
created_at: string | null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pfm-platform/users-feature",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -11,19 +11,19 @@
|
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"react": "19.2.4",
|
|
14
|
-
"@pfm-platform/shared": "0.
|
|
15
|
-
"@pfm-platform/users-data-access": "0.
|
|
14
|
+
"@pfm-platform/shared": "0.3.1",
|
|
15
|
+
"@pfm-platform/users-data-access": "0.3.1"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
|
-
"@tanstack/react-query": "5.
|
|
18
|
+
"@tanstack/react-query": "5.95.2",
|
|
19
19
|
"@testing-library/react": "^16.3.2",
|
|
20
20
|
"@types/react": "^19.2.14",
|
|
21
|
-
"@vitejs/plugin-react": "^
|
|
22
|
-
"@vitest/coverage-v8": "^4.
|
|
23
|
-
"jsdom": "^
|
|
21
|
+
"@vitejs/plugin-react": "^6.0.1",
|
|
22
|
+
"@vitest/coverage-v8": "^4.1.2",
|
|
23
|
+
"jsdom": "^29.0.1",
|
|
24
24
|
"react-dom": "19.2.4",
|
|
25
25
|
"typescript": "5.9.3",
|
|
26
|
-
"vitest": "4.
|
|
26
|
+
"vitest": "4.1.2"
|
|
27
27
|
},
|
|
28
28
|
"main": "./dist/index.js",
|
|
29
29
|
"module": "./dist/index.js",
|
|
@@ -45,11 +45,11 @@
|
|
|
45
45
|
"license": "MIT",
|
|
46
46
|
"repository": {
|
|
47
47
|
"type": "git",
|
|
48
|
-
"url": "https://github.com/lennylmiller/pfm-
|
|
48
|
+
"url": "https://github.com/lennylmiller/pfm-platform",
|
|
49
49
|
"directory": "packages/users/feature"
|
|
50
50
|
},
|
|
51
|
-
"bugs": "https://github.com/lennylmiller/pfm-
|
|
52
|
-
"homepage": "https://github.com/lennylmiller/pfm-
|
|
51
|
+
"bugs": "https://github.com/lennylmiller/pfm-platform/issues",
|
|
52
|
+
"homepage": "https://github.com/lennylmiller/pfm-platform#readme",
|
|
53
53
|
"scripts": {
|
|
54
54
|
"test": "vitest run",
|
|
55
55
|
"test:ui": "vitest --ui",
|