@sqrzro/auth 2.0.0-bz.4 → 2.0.0-bz.5

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.
@@ -1,640 +1,592 @@
1
1
 
2
- > @sqrzro/auth@2.0.0-bz.3 dev /Users/richard/Sites/@sqrzro/sqrzro/packages/auth
2
+ > @sqrzro/auth@2.0.0-bz.4 dev /Users/richard/Sites/@sqrzro/sqrzro/packages/auth
3
3
  > tsc -p tsconfig.json --watch
4
4
 
5
- c[8:24:00 AM] Starting compilation in watch mode...
5
+ c[8:09:02 AM] Starting compilation in watch mode...
6
6
 
7
- src/server.ts:90:36 - error TS2345: Argument of type 'PasswordResetFormFields' is not assignable to parameter of type 'import("/Users/richard/Sites/@sqrzro/sqrzro/packages/server/dist/auth/index").PasswordResetFormFields'.
8
- Property 'old' is missing in type 'PasswordResetFormFields' but required in type 'import("/Users/richard/Sites/@sqrzro/sqrzro/packages/server/dist/auth/index").PasswordResetFormFields'.
7
+ [8:09:04 AM] Found 0 errors. Watching for file changes.
9
8
 
10
- 90 return handlePasswordResetForm(formData);
11
-    ~~~~~~~~
9
+ c[8:09:07 AM] File change detected. Starting incremental compilation...
12
10
 
13
- ../server/dist/auth/index.d.ts:18:5
14
- 18 old: string;
15
-    ~~~
16
- 'old' is declared here.
11
+ [8:09:07 AM] Found 0 errors. Watching for file changes.
17
12
 
18
- [8:24:02 AM] Found 1 error. Watching for file changes.
13
+ c[8:09:11 AM] File change detected. Starting incremental compilation...
19
14
 
20
- c[8:24:05 AM] File change detected. Starting incremental compilation...
15
+ [8:09:11 AM] Found 0 errors. Watching for file changes.
21
16
 
22
- src/server.ts:90:36 - error TS2345: Argument of type 'PasswordResetFormFields' is not assignable to parameter of type 'import("/Users/richard/Sites/@sqrzro/sqrzro/packages/server/dist/auth/index").PasswordResetFormFields'.
23
- Property 'old' is missing in type 'PasswordResetFormFields' but required in type 'import("/Users/richard/Sites/@sqrzro/sqrzro/packages/server/dist/auth/index").PasswordResetFormFields'.
17
+ c[8:14:09 AM] File change detected. Starting incremental compilation...
24
18
 
25
- 90 return handlePasswordResetForm(formData);
26
-    ~~~~~~~~
19
+ [8:14:09 AM] Found 0 errors. Watching for file changes.
27
20
 
28
- ../server/dist/auth/index.d.ts:18:5
29
- 18 old: string;
30
-    ~~~
31
- 'old' is declared here.
21
+ c[8:14:25 AM] File change detected. Starting incremental compilation...
32
22
 
33
- [8:24:05 AM] Found 1 error. Watching for file changes.
23
+ src/components/MFASetupForm/index.tsx:18:18 - error TS2322: Type '({ hasAssistiveSubmit }: Readonly<MFAFormProps>) => ReactElement<any, string | JSXElementConstructor<any>>' is not assignable to type 'ReactElement<any, string | JSXElementConstructor<any>>'.
34
24
 
35
- c[8:24:09 AM] File change detected. Starting incremental compilation...
25
+ 18 renderForm = MFAForm,
26
+    ~~~~~~~
36
27
 
37
- src/server.ts:90:36 - error TS2345: Argument of type 'PasswordResetFormFields' is not assignable to parameter of type 'import("/Users/richard/Sites/@sqrzro/sqrzro/packages/server/dist/auth/index").PasswordResetFormFields'.
38
- Property 'old' is missing in type 'PasswordResetFormFields' but required in type 'import("/Users/richard/Sites/@sqrzro/sqrzro/packages/server/dist/auth/index").PasswordResetFormFields'.
28
+ src/components/MFASetupForm/index.tsx:18:18
29
+ 18 renderForm = MFAForm,
30
+    ~~~~~~~
31
+ Did you mean to call this expression?
39
32
 
40
- 90 return handlePasswordResetForm(formData);
41
-    ~~~~~~~~
33
+ [8:14:25 AM] Found 1 error. Watching for file changes.
42
34
 
43
- ../server/dist/auth/index.d.ts:18:5
44
- 18 old: string;
45
-    ~~~
46
- 'old' is declared here.
35
+ c[8:15:09 AM] File change detected. Starting incremental compilation...
47
36
 
48
- [8:24:09 AM] Found 1 error. Watching for file changes.
37
+ [8:15:09 AM] Found 0 errors. Watching for file changes.
49
38
 
50
- c[8:25:15 AM] File change detected. Starting incremental compilation...
39
+ c[8:15:39 AM] File change detected. Starting incremental compilation...
51
40
 
52
- src/server.ts:90:36 - error TS2345: Argument of type 'PasswordResetFormFields' is not assignable to parameter of type 'import("/Users/richard/Sites/@sqrzro/sqrzro/packages/server/dist/auth/index").PasswordResetFormFields'.
53
- Property 'old' is missing in type 'PasswordResetFormFields' but required in type 'import("/Users/richard/Sites/@sqrzro/sqrzro/packages/server/dist/auth/index").PasswordResetFormFields'.
41
+ src/components/MFASetupForm/index.tsx:60:14 - error TS2554: Expected 1 arguments, but got 0.
54
42
 
55
- 90 return handlePasswordResetForm(formData);
56
-    ~~~~~~~~
43
+ 60 {renderForm()}
44
+    ~~~~~~~~~~
57
45
 
58
- ../server/dist/auth/index.d.ts:18:5
59
- 18 old: string;
60
-    ~~~
61
- 'old' is declared here.
46
+ src/components/MFASetupForm/index.tsx:13:19
47
+ 13 renderForm?: (props: MFAFormProps) => React.ReactElement;
48
+    ~~~~~~~~~~~~~~~~~~~
49
+ An argument for 'props' was not provided.
62
50
 
63
- [8:25:15 AM] Found 1 error. Watching for file changes.
51
+ [8:15:39 AM] Found 1 error. Watching for file changes.
64
52
 
65
- c[8:25:16 AM] File change detected. Starting incremental compilation...
53
+ c[8:16:05 AM] File change detected. Starting incremental compilation...
66
54
 
67
- src/server.ts:90:36 - error TS2345: Argument of type 'PasswordResetFormFields' is not assignable to parameter of type 'import("/Users/richard/Sites/@sqrzro/sqrzro/packages/server/dist/auth/index").PasswordResetFormFields'.
68
- Property 'old' is missing in type 'PasswordResetFormFields' but required in type 'import("/Users/richard/Sites/@sqrzro/sqrzro/packages/server/dist/auth/index").PasswordResetFormFields'.
55
+ src/components/MFASetupForm/index.tsx:60:14 - error TS2554: Expected 1 arguments, but got 0.
69
56
 
70
- 90 return handlePasswordResetForm(formData);
71
-    ~~~~~~~~
57
+ 60 {renderForm()}
58
+    ~~~~~~~~~~
72
59
 
73
- ../server/dist/auth/index.d.ts:18:5
74
- 18 old: string;
75
-    ~~~
76
- 'old' is declared here.
60
+ src/components/MFASetupForm/index.tsx:13:19
61
+ 13 renderForm?: (props: MFAFormProps) => React.ReactElement;
62
+    ~~~~~~~~~~~~~~~~~~~
63
+ An argument for 'props' was not provided.
77
64
 
78
- [8:25:16 AM] Found 1 error. Watching for file changes.
65
+ [8:16:05 AM] Found 1 error. Watching for file changes.
79
66
 
80
- c[8:26:29 AM] File change detected. Starting incremental compilation...
67
+ c[8:16:22 AM] File change detected. Starting incremental compilation...
81
68
 
82
- src/server.ts:90:36 - error TS2345: Argument of type 'PasswordResetFormFields' is not assignable to parameter of type 'import("/Users/richard/Sites/@sqrzro/sqrzro/packages/server/dist/auth/index").PasswordResetFormFields'.
83
- Property 'old' is missing in type 'PasswordResetFormFields' but required in type 'import("/Users/richard/Sites/@sqrzro/sqrzro/packages/server/dist/auth/index").PasswordResetFormFields'.
69
+ src/components/MFAPage/index.tsx:37:22 - error TS2322: Type '{ classNames: Partial<AuthClassNames>; hasAssistiveSubmit: true; }' is not assignable to type 'IntrinsicAttributes'.
70
+ Property 'classNames' does not exist on type 'IntrinsicAttributes'.
84
71
 
85
- 90 return handlePasswordResetForm(formData);
86
-    ~~~~~~~~
72
+ 37 <MFAForm classNames={classNames} hasAssistiveSubmit />
73
+    ~~~~~~~~~~
87
74
 
88
- ../server/dist/auth/index.d.ts:18:5
89
- 18 old: string;
90
-    ~~~
91
- 'old' is declared here.
75
+ src/components/MFASetupForm/index.tsx:60:14 - error TS2554: Expected 1 arguments, but got 0.
92
76
 
93
- [8:26:29 AM] Found 1 error. Watching for file changes.
77
+ 60 {renderForm()}
78
+    ~~~~~~~~~~
94
79
 
95
- c[8:26:31 AM] File change detected. Starting incremental compilation...
80
+ src/components/MFASetupForm/index.tsx:13:19
81
+ 13 renderForm?: (props: MFAFormProps) => React.ReactElement;
82
+    ~~~~~~~~~~~~~~~~~~~
83
+ An argument for 'props' was not provided.
96
84
 
97
- src/server.ts:90:36 - error TS2345: Argument of type 'PasswordResetFormFields' is not assignable to parameter of type 'import("/Users/richard/Sites/@sqrzro/sqrzro/packages/server/dist/auth/index").PasswordResetFormFields'.
98
- Property 'old' is missing in type 'PasswordResetFormFields' but required in type 'import("/Users/richard/Sites/@sqrzro/sqrzro/packages/server/dist/auth/index").PasswordResetFormFields'.
85
+ [8:16:22 AM] Found 2 errors. Watching for file changes.
99
86
 
100
- 90 return handlePasswordResetForm(formData);
101
-    ~~~~~~~~
87
+ c[8:16:26 AM] File change detected. Starting incremental compilation...
102
88
 
103
- ../server/dist/auth/index.d.ts:18:5
104
- 18 old: string;
105
-    ~~~
106
- 'old' is declared here.
89
+ src/components/MFAPage/index.tsx:37:22 - error TS2322: Type '{ classNames: Partial<AuthClassNames>; hasAssistiveSubmit: true; }' is not assignable to type 'IntrinsicAttributes'.
90
+ Property 'classNames' does not exist on type 'IntrinsicAttributes'.
107
91
 
108
- [8:26:31 AM] Found 1 error. Watching for file changes.
92
+ 37 <MFAForm classNames={classNames} hasAssistiveSubmit />
93
+    ~~~~~~~~~~
109
94
 
110
- c[8:59:42 AM] File change detected. Starting incremental compilation...
95
+ src/components/MFASetupForm/index.tsx:60:14 - error TS2554: Expected 1 arguments, but got 0.
111
96
 
112
- src/server.ts:90:36 - error TS2345: Argument of type 'PasswordResetFormFields' is not assignable to parameter of type 'import("/Users/richard/Sites/@sqrzro/sqrzro/packages/server/dist/auth/index").PasswordResetFormFields'.
113
- Property 'old' is missing in type 'PasswordResetFormFields' but required in type 'import("/Users/richard/Sites/@sqrzro/sqrzro/packages/server/dist/auth/index").PasswordResetFormFields'.
97
+ 60 {renderForm()}
98
+    ~~~~~~~~~~
114
99
 
115
- 90 return handlePasswordResetForm(formData);
116
-    ~~~~~~~~
100
+ src/components/MFASetupForm/index.tsx:13:19
101
+ 13 renderForm?: (props: MFAFormProps) => React.ReactElement;
102
+    ~~~~~~~~~~~~~~~~~~~
103
+ An argument for 'props' was not provided.
117
104
 
118
- ../server/dist/auth/index.d.ts:18:5
119
- 18 old: string;
120
-    ~~~
121
- 'old' is declared here.
105
+ [8:16:26 AM] Found 2 errors. Watching for file changes.
122
106
 
123
- [8:59:42 AM] Found 1 error. Watching for file changes.
107
+ c[8:16:26 AM] File change detected. Starting incremental compilation...
124
108
 
125
- c[9:01:14 AM] File change detected. Starting incremental compilation...
109
+ src/components/MFAPage/index.tsx:37:22 - error TS2322: Type '{ classNames: Partial<AuthClassNames>; hasAssistiveSubmit: true; }' is not assignable to type 'IntrinsicAttributes'.
110
+ Property 'classNames' does not exist on type 'IntrinsicAttributes'.
126
111
 
127
- src/server.ts:90:36 - error TS2345: Argument of type 'PasswordResetFormFields' is not assignable to parameter of type 'import("/Users/richard/Sites/@sqrzro/sqrzro/packages/server/dist/auth/index").PasswordResetFormFields'.
128
- Property 'old' is missing in type 'PasswordResetFormFields' but required in type 'import("/Users/richard/Sites/@sqrzro/sqrzro/packages/server/dist/auth/index").PasswordResetFormFields'.
112
+ 37 <MFAForm classNames={classNames} hasAssistiveSubmit />
113
+    ~~~~~~~~~~
129
114
 
130
- 90 return handlePasswordResetForm(formData);
131
-    ~~~~~~~~
115
+ src/components/MFASetupForm/index.tsx:60:14 - error TS2554: Expected 1 arguments, but got 0.
132
116
 
133
- ../server/dist/auth/index.d.ts:18:5
134
- 18 old: string;
135
-    ~~~
136
- 'old' is declared here.
117
+ 60 {renderForm()}
118
+    ~~~~~~~~~~
137
119
 
138
- [9:01:14 AM] Found 1 error. Watching for file changes.
120
+ src/components/MFASetupForm/index.tsx:13:19
121
+ 13 renderForm?: (props: MFAFormProps) => React.ReactElement;
122
+    ~~~~~~~~~~~~~~~~~~~
123
+ An argument for 'props' was not provided.
139
124
 
140
- c[9:03:32 AM] File change detected. Starting incremental compilation...
125
+ [8:16:26 AM] Found 2 errors. Watching for file changes.
141
126
 
142
- src/components/PasswordPage/index.tsx:3:31 - error TS2307: Cannot find module '../PasswordResetForm' or its corresponding type declarations.
127
+ c[8:16:36 AM] File change detected. Starting incremental compilation...
143
128
 
144
- 3 import PasswordResetForm from '../PasswordResetForm';
145
-    ~~~~~~~~~~~~~~~~~~~~~~
129
+ src/components/MFAPage/index.tsx:37:22 - error TS2322: Type '{ classNames: Partial<AuthClassNames>; hasAssistiveSubmit: true; }' is not assignable to type 'IntrinsicAttributes'.
130
+ Property 'classNames' does not exist on type 'IntrinsicAttributes'.
146
131
 
147
- src/components/TokenPasswordResetForm/index.tsx:6:15 - error TS2305: Module '"@sqrzro/server/auth"' has no exported member 'TokenPasswordResetFormFields'.
132
+ 37 <MFAForm classNames={classNames} hasAssistiveSubmit />
133
+    ~~~~~~~~~~
148
134
 
149
- 6 import type { TokenPasswordResetFormFields } from '@sqrzro/server/auth';
150
-    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
135
+ [8:16:36 AM] Found 1 error. Watching for file changes.
151
136
 
152
- src/components/TokenPasswordResetForm/index.tsx:31:19 - error TS2552: Cannot find name 'submitTokenPasswordResetForm'. Did you mean 'submitPasswordResetForm'?
137
+ c[8:19:59 AM] File change detected. Starting incremental compilation...
153
138
 
154
- 31 onSubmit: submitTokenPasswordResetForm,
155
-    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
139
+ src/components/MFAPage/index.tsx:37:22 - error TS2322: Type '{ classNames: Partial<AuthClassNames>; hasAssistiveSubmit: true; }' is not assignable to type 'IntrinsicAttributes'.
140
+ Property 'classNames' does not exist on type 'IntrinsicAttributes'.
156
141
 
157
- src/components/TokenPasswordResetForm/index.tsx:51:16 - error TS2552: Cannot find name 'PasswordResetForm'. Did you mean 'TokenPasswordResetForm'?
142
+ 37 <MFAForm classNames={classNames} hasAssistiveSubmit />
143
+    ~~~~~~~~~~
158
144
 
159
- 51 export default PasswordResetForm;
160
-    ~~~~~~~~~~~~~~~~~
145
+ [8:20:00 AM] Found 1 error. Watching for file changes.
161
146
 
162
- src/components/TokenPasswordResetForm/index.tsx:22:10
163
- 22 function TokenPasswordResetForm({
164
-    ~~~~~~~~~~~~~~~~~~~~~~
165
- 'TokenPasswordResetForm' is declared here.
147
+ c[8:20:32 AM] File change detected. Starting incremental compilation...
166
148
 
167
- src/server.ts:90:36 - error TS2345: Argument of type 'PasswordResetFormFields' is not assignable to parameter of type 'import("/Users/richard/Sites/@sqrzro/sqrzro/packages/server/dist/auth/index").PasswordResetFormFields'.
168
- Property 'old' is missing in type 'PasswordResetFormFields' but required in type 'import("/Users/richard/Sites/@sqrzro/sqrzro/packages/server/dist/auth/index").PasswordResetFormFields'.
149
+ src/components/MFAPage/index.tsx:37:22 - error TS2322: Type '{ classNames: Partial<AuthClassNames>; hasAssistiveSubmit: true; }' is not assignable to type 'IntrinsicAttributes'.
150
+ Property 'classNames' does not exist on type 'IntrinsicAttributes'.
169
151
 
170
- 90 return handlePasswordResetForm(formData);
171
-    ~~~~~~~~
152
+ 37 <MFAForm classNames={classNames} hasAssistiveSubmit />
153
+    ~~~~~~~~~~
172
154
 
173
- ../server/dist/auth/index.d.ts:18:5
174
- 18 old: string;
175
-    ~~~
176
- 'old' is declared here.
155
+ [8:20:32 AM] Found 1 error. Watching for file changes.
177
156
 
178
- [9:03:32 AM] Found 5 errors. Watching for file changes.
157
+ c[8:24:31 AM] File change detected. Starting incremental compilation...
179
158
 
180
- c[9:03:45 AM] File change detected. Starting incremental compilation...
159
+ src/components/MFAPage/index.tsx:37:22 - error TS2322: Type '{ classNames: Partial<AuthClassNames>; hasAssistiveSubmit: true; }' is not assignable to type 'IntrinsicAttributes'.
160
+ Property 'classNames' does not exist on type 'IntrinsicAttributes'.
181
161
 
182
- src/components/PasswordPage/index.tsx:3:31 - error TS2307: Cannot find module '../PasswordResetForm' or its corresponding type declarations.
162
+ 37 <MFAForm classNames={classNames} hasAssistiveSubmit />
163
+    ~~~~~~~~~~
183
164
 
184
- 3 import PasswordResetForm from '../PasswordResetForm';
185
-    ~~~~~~~~~~~~~~~~~~~~~~
165
+ src/hooks/useMFAForm.ts:6:15 - error TS2459: Module '"@sqrzro/hooks"' declares 'UseFormArgs' locally, but it is not exported.
186
166
 
187
- src/components/TokenPasswordResetForm/index.tsx:6:15 - error TS2305: Module '"@sqrzro/server/auth"' has no exported member 'TokenPasswordResetFormFields'.
167
+ 6 import type { UseFormArgs } from '@sqrzro/hooks';
168
+    ~~~~~~~~~~~
188
169
 
189
- 6 import type { TokenPasswordResetFormFields } from '@sqrzro/server/auth';
190
-    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
170
+ ../hooks/dist/index.d.ts:423:11
171
+ 423 interface UseFormArgs<Request, Response> {
172
+    ~~~~~~~~~~~
173
+ 'UseFormArgs' is declared here.
191
174
 
192
- src/components/TokenPasswordResetForm/index.tsx:8:10 - error TS2724: '"../../server"' has no exported member named 'submitTokenPasswordResetForm'. Did you mean 'submitPasswordResetForm'?
175
+ src/hooks/useMFAForm.ts:38:9 - error TS2304: Cannot find name 'resetForm'.
193
176
 
194
- 8 import { submitTokenPasswordResetForm } from '../../server';
195
-    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
177
+ 38 resetForm();
178
+    ~~~~~~~~~
196
179
 
197
- src/server.ts:87:23
198
- 87 export async function submitPasswordResetForm(
199
-    ~~~~~~~~~~~~~~~~~~~~~~~
200
- 'submitPasswordResetForm' is declared here.
180
+ [8:24:31 AM] Found 3 errors. Watching for file changes.
201
181
 
202
- src/server.ts:90:36 - error TS2345: Argument of type 'PasswordResetFormFields' is not assignable to parameter of type 'import("/Users/richard/Sites/@sqrzro/sqrzro/packages/server/dist/auth/index").PasswordResetFormFields'.
203
- Property 'old' is missing in type 'PasswordResetFormFields' but required in type 'import("/Users/richard/Sites/@sqrzro/sqrzro/packages/server/dist/auth/index").PasswordResetFormFields'.
182
+ c[8:24:44 AM] File change detected. Starting incremental compilation...
204
183
 
205
- 90 return handlePasswordResetForm(formData);
206
-    ~~~~~~~~
184
+ src/components/MFAPage/index.tsx:37:22 - error TS2322: Type '{ classNames: Partial<AuthClassNames>; hasAssistiveSubmit: true; }' is not assignable to type 'IntrinsicAttributes'.
185
+ Property 'classNames' does not exist on type 'IntrinsicAttributes'.
207
186
 
208
- ../server/dist/auth/index.d.ts:18:5
209
- 18 old: string;
210
-    ~~~
211
- 'old' is declared here.
187
+ 37 <MFAForm classNames={classNames} hasAssistiveSubmit />
188
+    ~~~~~~~~~~
212
189
 
213
- [9:03:45 AM] Found 4 errors. Watching for file changes.
190
+ src/hooks/useMFAForm.ts:6:15 - error TS2459: Module '"@sqrzro/hooks"' declares 'UseFormArgs' locally, but it is not exported.
214
191
 
215
- c[9:04:10 AM] File change detected. Starting incremental compilation...
192
+ 6 import type { UseFormArgs } from '@sqrzro/hooks';
193
+    ~~~~~~~~~~~
216
194
 
217
- src/components/PasswordResetForm/index.tsx:6:15 - error TS2305: Module '"@sqrzro/server/auth"' has no exported member 'TokenPasswordResetFormFields'.
195
+ ../hooks/dist/index.d.ts:423:11
196
+ 423 interface UseFormArgs<Request, Response> {
197
+    ~~~~~~~~~~~
198
+ 'UseFormArgs' is declared here.
218
199
 
219
- 6 import type { TokenPasswordResetFormFields } from '@sqrzro/server/auth';
220
-    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
200
+ [8:24:44 AM] Found 2 errors. Watching for file changes.
221
201
 
222
- src/components/PasswordResetForm/index.tsx:8:10 - error TS2724: '"../../server"' has no exported member named 'submitTokenPasswordResetForm'. Did you mean 'submitPasswordResetForm'?
202
+ c[8:25:06 AM] File change detected. Starting incremental compilation...
223
203
 
224
- 8 import { submitTokenPasswordResetForm } from '../../server';
225
-    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
204
+ src/components/MFAPage/index.tsx:37:22 - error TS2322: Type '{ classNames: Partial<AuthClassNames>; hasAssistiveSubmit: true; }' is not assignable to type 'IntrinsicAttributes'.
205
+ Property 'classNames' does not exist on type 'IntrinsicAttributes'.
226
206
 
227
- src/server.ts:87:23
228
- 87 export async function submitPasswordResetForm(
229
-    ~~~~~~~~~~~~~~~~~~~~~~~
230
- 'submitPasswordResetForm' is declared here.
207
+ 37 <MFAForm classNames={classNames} hasAssistiveSubmit />
208
+    ~~~~~~~~~~
231
209
 
232
- src/server.ts:90:36 - error TS2345: Argument of type 'PasswordResetFormFields' is not assignable to parameter of type 'import("/Users/richard/Sites/@sqrzro/sqrzro/packages/server/dist/auth/index").PasswordResetFormFields'.
233
- Property 'old' is missing in type 'PasswordResetFormFields' but required in type 'import("/Users/richard/Sites/@sqrzro/sqrzro/packages/server/dist/auth/index").PasswordResetFormFields'.
210
+ src/hooks/useMFAForm.ts:6:15 - error TS2459: Module '"@sqrzro/hooks"' declares 'UseFormArgs' locally, but it is not exported.
234
211
 
235
- 90 return handlePasswordResetForm(formData);
236
-    ~~~~~~~~
212
+ 6 import type { UseFormArgs } from '@sqrzro/hooks';
213
+    ~~~~~~~~~~~
237
214
 
238
- ../server/dist/auth/index.d.ts:18:5
239
- 18 old: string;
240
-    ~~~
241
- 'old' is declared here.
215
+ ../hooks/dist/index.d.ts:423:11
216
+ 423 interface UseFormArgs<Request, Response> {
217
+    ~~~~~~~~~~~
218
+ 'UseFormArgs' is declared here.
242
219
 
243
- [9:04:10 AM] Found 3 errors. Watching for file changes.
220
+ [8:25:07 AM] Found 2 errors. Watching for file changes.
244
221
 
245
- c[9:04:43 AM] File change detected. Starting incremental compilation...
222
+ c[8:26:10 AM] File change detected. Starting incremental compilation...
246
223
 
247
- src/components/PasswordResetForm/index.tsx:7:10 - error TS2724: '"../../server"' has no exported member named 'submitTokenPasswordResetForm'. Did you mean 'submitPasswordResetForm'?
224
+ src/components/MFAPage/index.tsx:37:22 - error TS2322: Type '{ classNames: Partial<AuthClassNames>; hasAssistiveSubmit: true; }' is not assignable to type 'IntrinsicAttributes'.
225
+ Property 'classNames' does not exist on type 'IntrinsicAttributes'.
248
226
 
249
- 7 import { submitTokenPasswordResetForm } from '../../server';
250
-    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
227
+ 37 <MFAForm classNames={classNames} hasAssistiveSubmit />
228
+    ~~~~~~~~~~
251
229
 
252
- src/server.ts:87:23
253
- 87 export async function submitPasswordResetForm(
254
-    ~~~~~~~~~~~~~~~~~~~~~~~
255
- 'submitPasswordResetForm' is declared here.
230
+ src/hooks/useMFAForm.ts:6:15 - error TS2459: Module '"@sqrzro/hooks"' declares 'UseFormArgs' locally, but it is not exported.
256
231
 
257
- src/components/PasswordResetForm/index.tsx:27:25 - error TS2345: Argument of type '{ token: string; } | "/"' is not assignable to parameter of type 'string'.
258
- Type '{ token: string; }' is not assignable to type 'string'.
232
+ 6 import type { UseFormArgs, UseFormReturn } from '@sqrzro/hooks';
233
+    ~~~~~~~~~~~
259
234
 
260
- 27 router.push(response || '/');
261
-    ~~~~~~~~~~~~~~~
235
+ ../hooks/dist/index.d.ts:423:11
236
+ 423 interface UseFormArgs<Request, Response> {
237
+    ~~~~~~~~~~~
238
+ 'UseFormArgs' is declared here.
262
239
 
263
- src/components/PasswordResetForm/index.tsx:36:51 - error TS2345: Argument of type '"password"' is not assignable to parameter of type '"token"'.
240
+ [8:26:10 AM] Found 2 errors. Watching for file changes.
264
241
 
265
- 36 <PasswordFormField {...fieldProps('password', 'New Password')} />
266
-    ~~~~~~~~~~
267
-
268
- src/server.ts:90:36 - error TS2345: Argument of type 'PasswordResetFormFields' is not assignable to parameter of type 'import("/Users/richard/Sites/@sqrzro/sqrzro/packages/server/dist/auth/index").PasswordResetFormFields'.
269
- Property 'old' is missing in type 'PasswordResetFormFields' but required in type 'import("/Users/richard/Sites/@sqrzro/sqrzro/packages/server/dist/auth/index").PasswordResetFormFields'.
270
-
271
- 90 return handlePasswordResetForm(formData);
272
-    ~~~~~~~~
273
-
274
- ../server/dist/auth/index.d.ts:18:5
275
- 18 old: string;
276
-    ~~~
277
- 'old' is declared here.
278
-
279
- [9:04:43 AM] Found 4 errors. Watching for file changes.
280
-
281
- c[9:04:51 AM] File change detected. Starting incremental compilation...
282
-
283
- src/server.ts:90:36 - error TS2345: Argument of type 'PasswordResetFormFields' is not assignable to parameter of type 'import("/Users/richard/Sites/@sqrzro/sqrzro/packages/server/dist/auth/index").PasswordResetFormFields'.
284
- Property 'old' is missing in type 'PasswordResetFormFields' but required in type 'import("/Users/richard/Sites/@sqrzro/sqrzro/packages/server/dist/auth/index").PasswordResetFormFields'.
285
-
286
- 90 return handlePasswordResetForm(formData);
287
-    ~~~~~~~~
288
-
289
- ../server/dist/auth/index.d.ts:18:5
290
- 18 old: string;
291
-    ~~~
292
- 'old' is declared here.
293
-
294
- [9:04:51 AM] Found 1 error. Watching for file changes.
295
-
296
- c[9:05:06 AM] File change detected. Starting incremental compilation...
297
-
298
- src/server.ts:4:5 - error TS2305: Module '"@sqrzro/server/auth"' has no exported member 'handleLoginForm'.
299
-
300
- 4 handleLoginForm,
301
-    ~~~~~~~~~~~~~~~
302
-
303
- src/server.ts:5:5 - error TS2305: Module '"@sqrzro/server/auth"' has no exported member 'handleLogout'.
304
-
305
- 5 handleLogout,
306
-    ~~~~~~~~~~~~
307
-
308
- src/server.ts:6:5 - error TS2305: Module '"@sqrzro/server/auth"' has no exported member 'handleMFAForm'.
309
-
310
- 6 handleMFAForm,
311
-    ~~~~~~~~~~~~~
312
-
313
- src/server.ts:7:5 - error TS2305: Module '"@sqrzro/server/auth"' has no exported member 'handlePasswordForm'.
314
-
315
- 7 handlePasswordForm,
316
-    ~~~~~~~~~~~~~~~~~~
317
-
318
- src/server.ts:8:5 - error TS2305: Module '"@sqrzro/server/auth"' has no exported member 'handleTokenPasswordResetForm'.
319
-
320
- 8 handleTokenPasswordResetForm,
321
-    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
322
-
323
- src/server.ts:9:5 - error TS2305: Module '"@sqrzro/server/auth"' has no exported member 'checkUserHasMFA'.
324
-
325
- 9 checkUserHasMFA as serverCheckUserHasMFA,
326
-    ~~~~~~~~~~~~~~~
327
-
328
- src/server.ts:10:5 - error TS2305: Module '"@sqrzro/server/auth"' has no exported member 'generateMFA'.
242
+ c[8:26:30 AM] File change detected. Starting incremental compilation...
329
243
 
330
- 10 generateMFA as serverGenerateMFA,
331
-    ~~~~~~~~~~~
244
+ src/components/MFAForm/index.tsx:10:19 - error TS2304: Cannot find name 'formProps'.
332
245
 
333
- src/server.ts:11:5 - error TS2305: Module '"@sqrzro/server/auth"' has no exported member 'getSessionUser'.
246
+ 10 <Form {...formProps}>
247
+    ~~~~~~~~~
334
248
 
335
- 11 getSessionUser as serverGetSessionUser,
336
-    ~~~~~~~~~~~~~~
249
+ src/components/MFAForm/index.tsx:12:22 - error TS2304: Cannot find name 'errorCount'.
337
250
 
338
- src/server.ts:12:5 - error TS2305: Module '"@sqrzro/server/auth"' has no exported member 'checkMFAEnabled'.
251
+ 12 key={errorCount}
252
+    ~~~~~~~~~~
339
253
 
340
- 12 checkMFAEnabled as syncCheckMFAEnabled,
341
-    ~~~~~~~~~~~~~~~
254
+ src/components/MFAForm/index.tsx:13:21 - error TS2304: Cannot find name 'fieldProps'.
342
255
 
343
- src/server.ts:14:15 - error TS2305: Module '"@sqrzro/server/auth"' has no exported member 'LoginFormFields'.
256
+ 13 {...fieldProps('token')}
257
+    ~~~~~~~~~~
344
258
 
345
- 14 import type { LoginFormFields, MFAFormFields, UserObject } from '@sqrzro/server/auth';
346
-    ~~~~~~~~~~~~~~~
259
+ src/components/MFAForm/index.tsx:14:32 - error TS2552: Cannot find name 'submitForm'. Did you mean 'submitMFAForm'?
347
260
 
348
- src/server.ts:14:32 - error TS2305: Module '"@sqrzro/server/auth"' has no exported member 'MFAFormFields'.
261
+ 14 onFinalChange={submitForm}
262
+    ~~~~~~~~~~
349
263
 
350
- 14 import type { LoginFormFields, MFAFormFields, UserObject } from '@sqrzro/server/auth';
351
-    ~~~~~~~~~~~~~
264
+ src/components/MFAPage/index.tsx:37:22 - error TS2322: Type '{ classNames: Partial<AuthClassNames>; hasAssistiveSubmit: true; }' is not assignable to type 'IntrinsicAttributes'.
265
+ Property 'classNames' does not exist on type 'IntrinsicAttributes'.
352
266
 
353
- src/server.ts:14:47 - error TS2305: Module '"@sqrzro/server/auth"' has no exported member 'UserObject'.
267
+ 37 <MFAForm classNames={classNames} hasAssistiveSubmit />
268
+    ~~~~~~~~~~
354
269
 
355
- 14 import type { LoginFormFields, MFAFormFields, UserObject } from '@sqrzro/server/auth';
356
-    ~~~~~~~~~~
270
+ src/hooks/useMFAForm.ts:6:15 - error TS2459: Module '"@sqrzro/hooks"' declares 'UseFormArgs' locally, but it is not exported.
357
271
 
358
- src/server.ts:17:15 - error TS2305: Module '"@sqrzro/server/auth"' has no exported member 'MFAFormFields'.
272
+ 6 import type { UseFormArgs, UseFormReturn } from '@sqrzro/hooks';
273
+    ~~~~~~~~~~~
359
274
 
360
- 17 export type { MFAFormFields, ScopeObject } from '@sqrzro/server/auth';
361
-    ~~~~~~~~~~~~~
275
+ ../hooks/dist/index.d.ts:423:11
276
+ 423 interface UseFormArgs<Request, Response> {
277
+    ~~~~~~~~~~~
278
+ 'UseFormArgs' is declared here.
362
279
 
363
- src/server.ts:17:30 - error TS2305: Module '"@sqrzro/server/auth"' has no exported member 'ScopeObject'.
280
+ [8:26:30 AM] Found 6 errors. Watching for file changes.
364
281
 
365
- 17 export type { MFAFormFields, ScopeObject } from '@sqrzro/server/auth';
366
-    ~~~~~~~~~~~
282
+ c[8:26:54 AM] File change detected. Starting incremental compilation...
367
283
 
368
- [9:05:06 AM] Found 14 errors. Watching for file changes.
284
+ src/components/MFAPage/index.tsx:37:22 - error TS2322: Type '{ classNames: Partial<AuthClassNames>; hasAssistiveSubmit: true; }' is not assignable to type 'IntrinsicAttributes'.
285
+ Property 'classNames' does not exist on type 'IntrinsicAttributes'.
369
286
 
370
- c[9:05:29 AM] File change detected. Starting incremental compilation...
287
+ 37 <MFAForm classNames={classNames} hasAssistiveSubmit />
288
+    ~~~~~~~~~~
371
289
 
372
- src/server.ts:4:5 - error TS2305: Module '"@sqrzro/server/auth"' has no exported member 'handleLoginForm'.
290
+ src/hooks/useMFAForm.ts:6:15 - error TS2459: Module '"@sqrzro/hooks"' declares 'UseFormArgs' locally, but it is not exported.
373
291
 
374
- 4 handleLoginForm,
375
-    ~~~~~~~~~~~~~~~
292
+ 6 import type { UseFormArgs, UseFormReturn } from '@sqrzro/hooks';
293
+    ~~~~~~~~~~~
376
294
 
377
- src/server.ts:5:5 - error TS2305: Module '"@sqrzro/server/auth"' has no exported member 'handleLogout'.
295
+ ../hooks/dist/index.d.ts:423:11
296
+ 423 interface UseFormArgs<Request, Response> {
297
+    ~~~~~~~~~~~
298
+ 'UseFormArgs' is declared here.
378
299
 
379
- 5 handleLogout,
380
-    ~~~~~~~~~~~~
300
+ [8:26:54 AM] Found 2 errors. Watching for file changes.
381
301
 
382
- src/server.ts:6:5 - error TS2305: Module '"@sqrzro/server/auth"' has no exported member 'handleMFAForm'.
302
+ c[8:27:40 AM] File change detected. Starting incremental compilation...
383
303
 
384
- 6 handleMFAForm,
385
-    ~~~~~~~~~~~~~
304
+ src/components/MFAPage/index.tsx:37:22 - error TS2322: Type '{ classNames: Partial<AuthClassNames>; hasAssistiveSubmit: true; }' is not assignable to type 'IntrinsicAttributes'.
305
+ Property 'classNames' does not exist on type 'IntrinsicAttributes'.
386
306
 
387
- src/server.ts:7:5 - error TS2305: Module '"@sqrzro/server/auth"' has no exported member 'handlePasswordForm'.
307
+ 37 <MFAForm classNames={classNames} hasAssistiveSubmit />
308
+    ~~~~~~~~~~
388
309
 
389
- 7 handlePasswordForm,
390
-    ~~~~~~~~~~~~~~~~~~
310
+ src/hooks/useMFAForm.ts:6:15 - error TS2459: Module '"@sqrzro/hooks"' declares 'UseFormArgs' locally, but it is not exported.
391
311
 
392
- src/server.ts:8:5 - error TS2305: Module '"@sqrzro/server/auth"' has no exported member 'handlePasswordResetFormWithToken'.
312
+ 6 import type { UseFormArgs, UseFormReturn } from '@sqrzro/hooks';
313
+    ~~~~~~~~~~~
393
314
 
394
- 8 handlePasswordResetFormWithToken,
395
-    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
315
+ ../hooks/dist/index.d.ts:423:11
316
+ 423 interface UseFormArgs<Request, Response> {
317
+    ~~~~~~~~~~~
318
+ 'UseFormArgs' is declared here.
396
319
 
397
- src/server.ts:9:5 - error TS2305: Module '"@sqrzro/server/auth"' has no exported member 'checkUserHasMFA'.
320
+ [8:27:40 AM] Found 2 errors. Watching for file changes.
398
321
 
399
- 9 checkUserHasMFA as serverCheckUserHasMFA,
400
-    ~~~~~~~~~~~~~~~
322
+ c[8:27:56 AM] File change detected. Starting incremental compilation...
401
323
 
402
- src/server.ts:10:5 - error TS2305: Module '"@sqrzro/server/auth"' has no exported member 'generateMFA'.
324
+ src/components/MFAPage/index.tsx:37:22 - error TS2322: Type '{ classNames: Partial<AuthClassNames>; hasAssistiveSubmit: true; }' is not assignable to type 'IntrinsicAttributes'.
325
+ Property 'classNames' does not exist on type 'IntrinsicAttributes'.
403
326
 
404
- 10 generateMFA as serverGenerateMFA,
405
-    ~~~~~~~~~~~
327
+ 37 <MFAForm classNames={classNames} hasAssistiveSubmit />
328
+    ~~~~~~~~~~
406
329
 
407
- src/server.ts:11:5 - error TS2305: Module '"@sqrzro/server/auth"' has no exported member 'getSessionUser'.
330
+ src/hooks/useMFAForm.ts:6:15 - error TS2459: Module '"@sqrzro/hooks"' declares 'UseFormArgs' locally, but it is not exported.
408
331
 
409
- 11 getSessionUser as serverGetSessionUser,
410
-    ~~~~~~~~~~~~~~
332
+ 6 import type { UseFormArgs, UseFormReturn } from '@sqrzro/hooks';
333
+    ~~~~~~~~~~~
411
334
 
412
- src/server.ts:12:5 - error TS2305: Module '"@sqrzro/server/auth"' has no exported member 'checkMFAEnabled'.
335
+ ../hooks/dist/index.d.ts:423:11
336
+ 423 interface UseFormArgs<Request, Response> {
337
+    ~~~~~~~~~~~
338
+ 'UseFormArgs' is declared here.
413
339
 
414
- 12 checkMFAEnabled as syncCheckMFAEnabled,
415
-    ~~~~~~~~~~~~~~~
340
+ src/index.ts:7:15 - error TS2724: '"./components/MFASetupForm"' has no exported member named 'MFASetupFormProps'. Did you mean 'MFASetupProps'?
416
341
 
417
- src/server.ts:14:15 - error TS2305: Module '"@sqrzro/server/auth"' has no exported member 'LoginFormFields'.
342
+ 7 export type { MFASetupFormProps } from './components/MFASetupForm';
343
+    ~~~~~~~~~~~~~~~~~
418
344
 
419
- 14 import type { LoginFormFields, MFAFormFields, UserObject } from '@sqrzro/server/auth';
420
-    ~~~~~~~~~~~~~~~
345
+ [8:27:56 AM] Found 3 errors. Watching for file changes.
421
346
 
422
- src/server.ts:14:32 - error TS2305: Module '"@sqrzro/server/auth"' has no exported member 'MFAFormFields'.
347
+ c[8:28:14 AM] File change detected. Starting incremental compilation...
423
348
 
424
- 14 import type { LoginFormFields, MFAFormFields, UserObject } from '@sqrzro/server/auth';
425
-    ~~~~~~~~~~~~~
349
+ src/components/MFAPage/index.tsx:37:22 - error TS2322: Type '{ classNames: Partial<AuthClassNames>; hasAssistiveSubmit: true; }' is not assignable to type 'IntrinsicAttributes'.
350
+ Property 'classNames' does not exist on type 'IntrinsicAttributes'.
426
351
 
427
- src/server.ts:14:47 - error TS2305: Module '"@sqrzro/server/auth"' has no exported member 'UserObject'.
352
+ 37 <MFAForm classNames={classNames} hasAssistiveSubmit />
353
+    ~~~~~~~~~~
428
354
 
429
- 14 import type { LoginFormFields, MFAFormFields, UserObject } from '@sqrzro/server/auth';
430
-    ~~~~~~~~~~
355
+ src/hooks/useMFAForm.ts:6:15 - error TS2459: Module '"@sqrzro/hooks"' declares 'UseFormArgs' locally, but it is not exported.
431
356
 
432
- src/server.ts:17:15 - error TS2305: Module '"@sqrzro/server/auth"' has no exported member 'MFAFormFields'.
357
+ 6 import type { UseFormArgs, UseFormReturn } from '@sqrzro/hooks';
358
+    ~~~~~~~~~~~
433
359
 
434
- 17 export type { MFAFormFields, ScopeObject } from '@sqrzro/server/auth';
435
-    ~~~~~~~~~~~~~
360
+ ../hooks/dist/index.d.ts:423:11
361
+ 423 interface UseFormArgs<Request, Response> {
362
+    ~~~~~~~~~~~
363
+ 'UseFormArgs' is declared here.
436
364
 
437
- src/server.ts:17:30 - error TS2305: Module '"@sqrzro/server/auth"' has no exported member 'ScopeObject'.
365
+ [8:28:14 AM] Found 2 errors. Watching for file changes.
438
366
 
439
- 17 export type { MFAFormFields, ScopeObject } from '@sqrzro/server/auth';
440
-    ~~~~~~~~~~~
367
+ c[8:29:38 AM] File change detected. Starting incremental compilation...
441
368
 
442
- [9:05:29 AM] Found 14 errors. Watching for file changes.
369
+ src/components/MFAPage/index.tsx:37:22 - error TS2322: Type '{ classNames: Partial<AuthClassNames>; hasAssistiveSubmit: true; }' is not assignable to type 'IntrinsicAttributes'.
370
+ Property 'classNames' does not exist on type 'IntrinsicAttributes'.
443
371
 
444
- c[9:08:07 AM] File change detected. Starting incremental compilation...
372
+ 37 <MFAForm classNames={classNames} hasAssistiveSubmit />
373
+    ~~~~~~~~~~
445
374
 
446
- [9:08:08 AM] Found 0 errors. Watching for file changes.
375
+ src/hooks/useMFAForm.ts:6:15 - error TS2459: Module '"@sqrzro/hooks"' declares 'UseFormArgs' locally, but it is not exported.
447
376
 
448
- c[9:08:26 AM] File change detected. Starting incremental compilation...
377
+ 6 import type { UseFormArgs, UseFormReturn } from '@sqrzro/hooks';
378
+    ~~~~~~~~~~~
449
379
 
450
- [9:08:26 AM] Found 0 errors. Watching for file changes.
380
+ ../hooks/dist/index.d.ts:423:11
381
+ 423 interface UseFormArgs<Request, Response> {
382
+    ~~~~~~~~~~~
383
+ 'UseFormArgs' is declared here.
451
384
 
452
- c[9:08:28 AM] File change detected. Starting incremental compilation...
385
+ [8:29:38 AM] Found 2 errors. Watching for file changes.
453
386
 
454
- [9:08:28 AM] Found 0 errors. Watching for file changes.
387
+ c[8:29:49 AM] File change detected. Starting incremental compilation...
455
388
 
456
- c[9:08:51 AM] File change detected. Starting incremental compilation...
389
+ src/components/MFAPage/index.tsx:37:22 - error TS2322: Type '{ classNames: Partial<AuthClassNames>; hasAssistiveSubmit: true; }' is not assignable to type 'IntrinsicAttributes'.
390
+ Property 'classNames' does not exist on type 'IntrinsicAttributes'.
457
391
 
458
- [9:08:51 AM] Found 0 errors. Watching for file changes.
392
+ 37 <MFAForm classNames={classNames} hasAssistiveSubmit />
393
+    ~~~~~~~~~~
459
394
 
460
- c[9:08:53 AM] File change detected. Starting incremental compilation...
395
+ src/hooks/useMFAForm.ts:6:15 - error TS2459: Module '"@sqrzro/hooks"' declares 'UseFormArgs' locally, but it is not exported.
461
396
 
462
- src/server.ts:8:5 - error TS2724: '"@sqrzro/server/auth"' has no exported member named 'handlePasswordResetFormWithToken'. Did you mean 'handlePasswordResetWithTokenForm'?
397
+ 6 import type { UseFormArgs, UseFormReturn } from '@sqrzro/hooks';
398
+    ~~~~~~~~~~~
463
399
 
464
- 8 handlePasswordResetFormWithToken,
465
-    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
400
+ ../hooks/dist/index.d.ts:423:11
401
+ 423 interface UseFormArgs<Request, Response> {
402
+    ~~~~~~~~~~~
403
+ 'UseFormArgs' is declared here.
466
404
 
467
- [9:08:53 AM] Found 1 error. Watching for file changes.
405
+ [8:29:49 AM] Found 2 errors. Watching for file changes.
468
406
 
469
- c[9:09:17 AM] File change detected. Starting incremental compilation...
407
+ c[8:33:29 AM] File change detected. Starting incremental compilation...
470
408
 
471
- [9:09:17 AM] Found 0 errors. Watching for file changes.
409
+ src/components/MFAPage/index.tsx:37:22 - error TS2322: Type '{ classNames: Partial<AuthClassNames>; hasAssistiveSubmit: true; }' is not assignable to type 'IntrinsicAttributes'.
410
+ Property 'classNames' does not exist on type 'IntrinsicAttributes'.
472
411
 
473
- c[9:10:53 AM] File change detected. Starting incremental compilation...
412
+ 37 <MFAForm classNames={classNames} hasAssistiveSubmit />
413
+    ~~~~~~~~~~
474
414
 
475
- [9:10:53 AM] Found 0 errors. Watching for file changes.
415
+ src/components/MFASetupForm/index.tsx:56:18 - error TS2322: Type '(props: MFAFormProps) => ReactElement<any, string | JSXElementConstructor<any>>' is not assignable to type 'ReactNode'.
476
416
 
477
- c[9:10:54 AM] File change detected. Starting incremental compilation...
417
+ 56 {renderForm}
418
+    ~~~~~~~~~~
478
419
 
479
- [9:10:55 AM] Found 0 errors. Watching for file changes.
420
+ src/components/MFASetupForm/index.tsx:56:18
421
+ 56 {renderForm}
422
+    ~~~~~~~~~~
423
+ Did you mean to call this expression?
480
424
 
481
- c[9:11:14 AM] File change detected. Starting incremental compilation...
425
+ src/hooks/useMFAForm.ts:6:15 - error TS2459: Module '"@sqrzro/hooks"' declares 'UseFormArgs' locally, but it is not exported.
482
426
 
483
- [9:11:14 AM] Found 0 errors. Watching for file changes.
427
+ 6 import type { UseFormArgs, UseFormReturn } from '@sqrzro/hooks';
428
+    ~~~~~~~~~~~
484
429
 
485
- c[9:11:16 AM] File change detected. Starting incremental compilation...
430
+ ../hooks/dist/index.d.ts:423:11
431
+ 423 interface UseFormArgs<Request, Response> {
432
+    ~~~~~~~~~~~
433
+ 'UseFormArgs' is declared here.
486
434
 
487
- [9:11:16 AM] Found 0 errors. Watching for file changes.
435
+ [8:33:29 AM] Found 3 errors. Watching for file changes.
488
436
 
489
- c[9:12:41 AM] File change detected. Starting incremental compilation...
437
+ c[8:33:53 AM] File change detected. Starting incremental compilation...
490
438
 
491
- [9:12:41 AM] Found 0 errors. Watching for file changes.
439
+ src/components/MFAPage/index.tsx:37:22 - error TS2322: Type '{ classNames: Partial<AuthClassNames>; hasAssistiveSubmit: true; }' is not assignable to type 'IntrinsicAttributes'.
440
+ Property 'classNames' does not exist on type 'IntrinsicAttributes'.
492
441
 
493
- c[9:12:42 AM] File change detected. Starting incremental compilation...
442
+ 37 <MFAForm classNames={classNames} hasAssistiveSubmit />
443
+    ~~~~~~~~~~
494
444
 
495
- [9:12:42 AM] Found 0 errors. Watching for file changes.
445
+ src/components/MFASetup/index.tsx:39:62 - error TS2322: Type '(props: MFAFormProps) => ReactElement<any, string | JSXElementConstructor<any>>' is not assignable to type 'ReactElement<any, string | JSXElementConstructor<any>>'.
496
446
 
497
- c[9:13:23 AM] File change detected. Starting incremental compilation...
447
+ 39 <MFASetupForm classNames={classNames} renderForm={renderForm} url={url} />
448
+    ~~~~~~~~~~~~
498
449
 
499
- [9:13:23 AM] Found 0 errors. Watching for file changes.
450
+ src/components/MFASetup/index.tsx:39:62
451
+ 39 <MFASetupForm classNames={classNames} renderForm={renderForm} url={url} />
452
+    ~~~~~~~~~~~~
453
+ Did you mean to call this expression?
500
454
 
501
- c[9:13:24 AM] File change detected. Starting incremental compilation...
455
+ src/hooks/useMFAForm.ts:6:15 - error TS2459: Module '"@sqrzro/hooks"' declares 'UseFormArgs' locally, but it is not exported.
502
456
 
503
- [9:13:25 AM] Found 0 errors. Watching for file changes.
457
+ 6 import type { UseFormArgs, UseFormReturn } from '@sqrzro/hooks';
458
+    ~~~~~~~~~~~
504
459
 
505
- c[9:42:55 AM] File change detected. Starting incremental compilation...
460
+ ../hooks/dist/index.d.ts:423:11
461
+ 423 interface UseFormArgs<Request, Response> {
462
+    ~~~~~~~~~~~
463
+ 'UseFormArgs' is declared here.
506
464
 
507
- [9:42:55 AM] Found 0 errors. Watching for file changes.
465
+ [8:33:53 AM] Found 3 errors. Watching for file changes.
508
466
 
509
- c[9:42:57 AM] File change detected. Starting incremental compilation...
467
+ c[8:34:00 AM] File change detected. Starting incremental compilation...
510
468
 
511
- [9:42:57 AM] Found 0 errors. Watching for file changes.
469
+ src/components/MFAPage/index.tsx:37:22 - error TS2322: Type '{ classNames: Partial<AuthClassNames>; hasAssistiveSubmit: true; }' is not assignable to type 'IntrinsicAttributes'.
470
+ Property 'classNames' does not exist on type 'IntrinsicAttributes'.
512
471
 
513
- c[9:43:01 AM] File change detected. Starting incremental compilation...
472
+ 37 <MFAForm classNames={classNames} hasAssistiveSubmit />
473
+    ~~~~~~~~~~
514
474
 
515
- [9:43:01 AM] Found 0 errors. Watching for file changes.
475
+ src/components/MFASetup/index.tsx:39:62 - error TS2322: Type '(props: MFAFormProps) => ReactElement<any, string | JSXElementConstructor<any>>' is not assignable to type 'ReactElement<any, string | JSXElementConstructor<any>>'.
516
476
 
517
- c[9:43:02 AM] File change detected. Starting incremental compilation...
477
+ 39 <MFASetupForm classNames={classNames} renderForm={renderForm} url={url} />
478
+    ~~~~~~~~~~~~
518
479
 
519
- [9:43:03 AM] Found 0 errors. Watching for file changes.
480
+ src/components/MFASetup/index.tsx:39:62
481
+ 39 <MFASetupForm classNames={classNames} renderForm={renderForm} url={url} />
482
+    ~~~~~~~~~~~~
483
+ Did you mean to call this expression?
520
484
 
521
- c[9:43:25 AM] File change detected. Starting incremental compilation...
485
+ src/hooks/useMFAForm.ts:6:15 - error TS2459: Module '"@sqrzro/hooks"' declares 'UseFormArgs' locally, but it is not exported.
522
486
 
523
- [9:43:25 AM] Found 0 errors. Watching for file changes.
487
+ 6 import type { UseFormArgs, UseFormReturn } from '@sqrzro/hooks';
488
+    ~~~~~~~~~~~
524
489
 
525
- c[9:43:27 AM] File change detected. Starting incremental compilation...
490
+ ../hooks/dist/index.d.ts:423:11
491
+ 423 interface UseFormArgs<Request, Response> {
492
+    ~~~~~~~~~~~
493
+ 'UseFormArgs' is declared here.
526
494
 
527
- [9:43:27 AM] Found 0 errors. Watching for file changes.
495
+ [8:34:00 AM] Found 3 errors. Watching for file changes.
528
496
 
529
- c[11:38:35 AM] File change detected. Starting incremental compilation...
497
+ c[8:38:09 AM] File change detected. Starting incremental compilation...
530
498
 
531
- [11:38:35 AM] Found 0 errors. Watching for file changes.
499
+ src/components/MFAPage/index.tsx:37:22 - error TS2322: Type '{ classNames: Partial<AuthClassNames>; hasAssistiveSubmit: true; }' is not assignable to type 'IntrinsicAttributes'.
500
+ Property 'classNames' does not exist on type 'IntrinsicAttributes'.
532
501
 
533
- c[11:39:22 AM] File change detected. Starting incremental compilation...
502
+ 37 <MFAForm classNames={classNames} hasAssistiveSubmit />
503
+    ~~~~~~~~~~
534
504
 
535
- [11:39:23 AM] Found 0 errors. Watching for file changes.
505
+ src/components/MFASetup/index.tsx:39:64 - error TS2604: JSX element type 'RenderedForm' does not have any construct or call signatures.
536
506
 
537
- c[11:39:40 AM] File change detected. Starting incremental compilation...
507
+ 39 <MFASetupForm classNames={classNames} renderForm={<RenderedForm />} url={url} />
508
+    ~~~~~~~~~~~~
538
509
 
539
- [11:39:40 AM] Found 0 errors. Watching for file changes.
510
+ src/components/MFASetup/index.tsx:39:64 - error TS2786: 'RenderedForm' cannot be used as a JSX component.
511
+ Its type 'ReactElement<any, string | JSXElementConstructor<any>>' is not a valid JSX element type.
540
512
 
541
- c[11:40:02 AM] File change detected. Starting incremental compilation...
513
+ 39 <MFASetupForm classNames={classNames} renderForm={<RenderedForm />} url={url} />
514
+    ~~~~~~~~~~~~
542
515
 
543
- [11:40:02 AM] Found 0 errors. Watching for file changes.
516
+ src/hooks/useMFAForm.ts:6:15 - error TS2459: Module '"@sqrzro/hooks"' declares 'UseFormArgs' locally, but it is not exported.
544
517
 
545
- c[11:40:46 AM] File change detected. Starting incremental compilation...
518
+ 6 import type { UseFormArgs, UseFormReturn } from '@sqrzro/hooks';
519
+    ~~~~~~~~~~~
546
520
 
547
- [11:40:46 AM] Found 0 errors. Watching for file changes.
521
+ ../hooks/dist/index.d.ts:423:11
522
+ 423 interface UseFormArgs<Request, Response> {
523
+    ~~~~~~~~~~~
524
+ 'UseFormArgs' is declared here.
548
525
 
549
- c[11:40:52 AM] File change detected. Starting incremental compilation...
526
+ [8:38:09 AM] Found 4 errors. Watching for file changes.
550
527
 
551
- [11:40:53 AM] Found 0 errors. Watching for file changes.
528
+ c[8:40:07 AM] File change detected. Starting incremental compilation...
552
529
 
553
- c[11:48:43 AM] File change detected. Starting incremental compilation...
530
+ src/components/MFAPage/index.tsx:37:22 - error TS2322: Type '{ classNames: Partial<AuthClassNames>; hasAssistiveSubmit: true; }' is not assignable to type 'IntrinsicAttributes'.
531
+ Property 'classNames' does not exist on type 'IntrinsicAttributes'.
554
532
 
555
- [11:48:43 AM] Found 0 errors. Watching for file changes.
533
+ 37 <MFAForm classNames={classNames} hasAssistiveSubmit />
534
+    ~~~~~~~~~~
556
535
 
557
- c[2:00:33 PM] File change detected. Starting incremental compilation...
536
+ src/components/MFASetup/index.tsx:39:51 - error TS2322: Type 'ComponentType<{}>' is not assignable to type 'ReactElement<any, string | JSXElementConstructor<any>>'.
537
+ Type 'ComponentClass<{}, any>' is missing the following properties from type 'ReactElement<any, string | JSXElementConstructor<any>>': type, props, key
558
538
 
559
- [2:00:33 PM] Found 0 errors. Watching for file changes.
560
-
561
- c[2:01:10 PM] File change detected. Starting incremental compilation...
562
-
563
- [2:01:11 PM] Found 0 errors. Watching for file changes.
564
-
565
- c[2:01:30 PM] File change detected. Starting incremental compilation...
566
-
567
- [2:01:30 PM] Found 0 errors. Watching for file changes.
568
-
569
- c[2:01:32 PM] File change detected. Starting incremental compilation...
570
-
571
- [2:01:32 PM] Found 0 errors. Watching for file changes.
572
-
573
- c[2:02:21 PM] File change detected. Starting incremental compilation...
574
-
575
- [2:02:21 PM] Found 0 errors. Watching for file changes.
576
-
577
- c[2:02:23 PM] File change detected. Starting incremental compilation...
578
-
579
- [2:02:23 PM] Found 0 errors. Watching for file changes.
580
-
581
- c[2:04:32 PM] File change detected. Starting incremental compilation...
582
-
583
- [2:04:32 PM] Found 0 errors. Watching for file changes.
584
-
585
- c[2:04:34 PM] File change detected. Starting incremental compilation...
586
-
587
- [2:04:34 PM] Found 0 errors. Watching for file changes.
588
-
589
- c[2:04:58 PM] File change detected. Starting incremental compilation...
590
-
591
- [2:04:59 PM] Found 0 errors. Watching for file changes.
592
-
593
- c[2:05:05 PM] File change detected. Starting incremental compilation...
594
-
595
- [2:05:05 PM] Found 0 errors. Watching for file changes.
596
-
597
- c[2:05:41 PM] File change detected. Starting incremental compilation...
598
-
599
- [2:05:41 PM] Found 0 errors. Watching for file changes.
600
-
601
- c[2:05:55 PM] File change detected. Starting incremental compilation...
602
-
603
- [2:05:55 PM] Found 0 errors. Watching for file changes.
604
-
605
- c[2:08:37 PM] File change detected. Starting incremental compilation...
539
+ 39 <MFASetupForm classNames={classNames} renderForm={renderForm} url={url} />
540
+    ~~~~~~~~~~
606
541
 
607
- [2:08:37 PM] Found 0 errors. Watching for file changes.
542
+ src/components/MFASetupForm/index.tsx:12:5
543
+ 12 renderForm?: React.ReactElement;
544
+    ~~~~~~~~~~
545
+ The expected type comes from property 'renderForm' which is declared here on type 'IntrinsicAttributes & Readonly<MFASetupFormProps>'
608
546
 
609
- c[2:08:39 PM] File change detected. Starting incremental compilation...
547
+ src/hooks/useMFAForm.ts:6:15 - error TS2459: Module '"@sqrzro/hooks"' declares 'UseFormArgs' locally, but it is not exported.
610
548
 
611
- [2:08:39 PM] Found 0 errors. Watching for file changes.
549
+ 6 import type { UseFormArgs, UseFormReturn } from '@sqrzro/hooks';
550
+    ~~~~~~~~~~~
612
551
 
613
- c[2:37:30 PM] File change detected. Starting incremental compilation...
552
+ ../hooks/dist/index.d.ts:423:11
553
+ 423 interface UseFormArgs<Request, Response> {
554
+    ~~~~~~~~~~~
555
+ 'UseFormArgs' is declared here.
614
556
 
615
- [2:37:30 PM] Found 0 errors. Watching for file changes.
557
+ [8:40:07 AM] Found 3 errors. Watching for file changes.
616
558
 
617
- c[2:37:54 PM] File change detected. Starting incremental compilation...
559
+ c[8:40:47 AM] File change detected. Starting incremental compilation...
618
560
 
619
- [2:37:54 PM] Found 0 errors. Watching for file changes.
561
+ src/components/MFAPage/index.tsx:37:22 - error TS2322: Type '{ classNames: Partial<AuthClassNames>; hasAssistiveSubmit: true; }' is not assignable to type 'IntrinsicAttributes'.
562
+ Property 'classNames' does not exist on type 'IntrinsicAttributes'.
620
563
 
621
- c[2:38:58 PM] File change detected. Starting incremental compilation...
564
+ 37 <MFAForm classNames={classNames} hasAssistiveSubmit />
565
+    ~~~~~~~~~~
622
566
 
623
- [2:38:58 PM] Found 0 errors. Watching for file changes.
567
+ src/hooks/useMFAForm.ts:6:15 - error TS2459: Module '"@sqrzro/hooks"' declares 'UseFormArgs' locally, but it is not exported.
624
568
 
625
- c[2:39:00 PM] File change detected. Starting incremental compilation...
569
+ 6 import type { UseFormArgs, UseFormReturn } from '@sqrzro/hooks';
570
+    ~~~~~~~~~~~
626
571
 
627
- [2:39:00 PM] Found 0 errors. Watching for file changes.
572
+ ../hooks/dist/index.d.ts:423:11
573
+ 423 interface UseFormArgs<Request, Response> {
574
+    ~~~~~~~~~~~
575
+ 'UseFormArgs' is declared here.
628
576
 
629
- c[2:39:36 PM] File change detected. Starting incremental compilation...
577
+ [8:40:47 AM] Found 2 errors. Watching for file changes.
630
578
 
631
- [2:39:36 PM] Found 0 errors. Watching for file changes.
579
+ c[8:41:41 AM] File change detected. Starting incremental compilation...
632
580
 
633
- c[2:39:38 PM] File change detected. Starting incremental compilation...
581
+ src/hooks/useMFAForm.ts:6:15 - error TS2459: Module '"@sqrzro/hooks"' declares 'UseFormArgs' locally, but it is not exported.
634
582
 
635
- [2:39:38 PM] Found 0 errors. Watching for file changes.
583
+ 6 import type { UseFormArgs, UseFormReturn } from '@sqrzro/hooks';
584
+    ~~~~~~~~~~~
636
585
 
637
- c[2:55:34 PM] File change detected. Starting incremental compilation...
586
+ ../hooks/dist/index.d.ts:423:11
587
+ 423 interface UseFormArgs<Request, Response> {
588
+    ~~~~~~~~~~~
589
+ 'UseFormArgs' is declared here.
638
590
 
639
- [2:55:34 PM] Found 0 errors. Watching for file changes.
591
+ [8:41:41 AM] Found 1 error. Watching for file changes.
640
592