|
4 | 4 | * This software may be modified and distributed under the terms |
5 | 5 | * of the MIT license. See the LICENSE file for details. |
6 | 6 | */ |
7 | | -import './style.css'; |
8 | | - |
9 | 7 | import { davinci } from '@forgerock/davinci-client'; |
10 | 8 | import { oidc } from '@forgerock/oidc-client'; |
11 | | -import type { OidcConfig } from '@forgerock/oidc-client/types'; |
| 9 | +import { protect } from '@forgerock/protect'; |
| 10 | + |
| 11 | +import './style.css'; |
| 12 | +import booleanComponent from './components/boolean.js'; |
| 13 | +import fidoComponent from './components/fido.js'; |
| 14 | +import flowLinkComponent from './components/flow-link.js'; |
| 15 | +import multiValueComponent from './components/multi-value.js'; |
| 16 | +import objectValueComponent from './components/object-value.js'; |
| 17 | +import passwordComponent from './components/password.js'; |
| 18 | +import pollingComponent from './components/polling.js'; |
| 19 | +import protectComponent from './components/protect.js'; |
| 20 | +import qrCodeComponent from './components/qr-code.js'; |
| 21 | +import readOnlyComponent from './components/read-only.js'; |
| 22 | +import singleValueComponent from './components/single-value.js'; |
| 23 | +import socialLoginButtonComponent from './components/social-login-button.js'; |
| 24 | +import submitButtonComponent from './components/submit-button.js'; |
| 25 | +import textComponent from './components/text.js'; |
| 26 | +import { serverConfigs } from './server-configs.js'; |
| 27 | + |
12 | 28 | import type { |
13 | 29 | Collectors, |
14 | 30 | CustomLogger, |
15 | | - DaVinciConfig, |
16 | 31 | DavinciClient, |
| 32 | + DaVinciConfig, |
17 | 33 | GetClient, |
18 | 34 | InternalErrorResponse, |
19 | 35 | NodeStates, |
20 | 36 | ProtectCollector, |
21 | 37 | RequestMiddleware, |
22 | 38 | } from '@forgerock/davinci-client/types'; |
23 | | -import { protect } from '@forgerock/protect'; |
24 | | - |
25 | | -import textComponent from './components/text.js'; |
26 | | -import passwordComponent from './components/password.js'; |
27 | | -import submitButtonComponent from './components/submit-button.js'; |
28 | | -import protectComponent from './components/protect.js'; |
29 | | -import flowLinkComponent from './components/flow-link.js'; |
30 | | -import socialLoginButtonComponent from './components/social-login-button.js'; |
31 | | -import { serverConfigs } from './server-configs.js'; |
32 | | -import singleValueComponent from './components/single-value.js'; |
33 | | -import multiValueComponent from './components/multi-value.js'; |
34 | | -import readOnlyComponent from './components/read-only.js'; |
35 | | -import objectValueComponent from './components/object-value.js'; |
36 | | -import fidoComponent from './components/fido.js'; |
37 | | -import qrCodeComponent from './components/qr-code.js'; |
38 | | -import pollingComponent from './components/polling.js'; |
39 | | -import booleanComponent from './components/boolean.js'; |
| 39 | +import type { OidcConfig } from '@forgerock/oidc-client/types'; |
40 | 40 |
|
41 | 41 | const loggerFn = { |
42 | 42 | error: () => { |
|
0 commit comments