File tree Expand file tree Collapse file tree 5 files changed +30
-5
lines changed
Expand file tree Collapse file tree 5 files changed +30
-5
lines changed Original file line number Diff line number Diff line change 55 */
66import 'immer' ; // Side-effect needed only for getting types in workspace
77
8- import type { RequestMiddleware } from '@forgerock/sdk-request-middleware' ;
98import type { FidoClient } from './lib/fido/fido.js' ;
109import type * as collectors from './lib/collector.types.js' ;
1110import type * as config from './lib/config.types.js' ;
@@ -14,7 +13,7 @@ import type * as client from './lib/client.types.js';
1413import { davinci } from './lib/client.store.js' ;
1514import { nodeSlice } from './lib/node.slice.js' ;
1615
17- export type { CustomLogger } from '@forgerock/sdk-logger/types ' ;
16+ export type { CustomLogger , LogLevel } from '@forgerock/sdk-logger' ;
1817
1918export type DaVinciConfig = config . DaVinciConfig ;
2019
@@ -54,5 +53,5 @@ export type FidoRegistrationCollector = collectors.FidoRegistrationCollector;
5453export type FidoAuthenticationCollector = collectors . FidoAuthenticationCollector ;
5554
5655export type InternalErrorResponse = client . InternalErrorResponse ;
57- export type { RequestMiddleware } ;
56+ export type { RequestMiddleware , ActionTypes } from '@forgerock/sdk-request-middleware' ;
5857export type { FidoClient } ;
Original file line number Diff line number Diff line change 1313 "exports" : {
1414 "." : " ./dist/src/index.js" ,
1515 "./package.json" : " ./package.json" ,
16- "./types" : " ./dist/src/lib/ types/index .d.ts"
16+ "./types" : " ./dist/src/types.d.ts"
1717 },
1818 "main" : " ./dist/src/index.js" ,
1919 "module" : " ./dist/src/index.js" ,
Original file line number Diff line number Diff line change 44 * This software may be modified and distributed under the terms
55 * of the MIT license. See the LICENSE file for details.
66 */
7+
8+ // Re-export types from external dependencies that consumers need
9+ export type { ConfigOptions } from '@forgerock/javascript-sdk' ;
10+
11+ // Re-export local types
712export * from './oath.types.js' ;
813export * from './webauthn.types.js' ;
914export * from './profile-device.types.js' ;
Original file line number Diff line number Diff line change 55 * of the MIT license. See the LICENSE file for details.
66 */
77
8+ // Re-export types from internal packages that consumers need
9+ export type { LogLevel , CustomLogger } from '@forgerock/sdk-logger' ;
10+ export type { RequestMiddleware } from '@forgerock/sdk-request-middleware' ;
11+ export type {
12+ Step ,
13+ Callback ,
14+ CallbackType ,
15+ StepType ,
16+ callbackType ,
17+ GenericError ,
18+ PolicyRequirement ,
19+ FailedPolicyRequirement ,
20+ } from '@forgerock/sdk-types' ;
21+
22+ // Re-export local types
823export * from './lib/config.types.js' ;
924export * from './lib/interfaces.js' ;
1025export * from './lib/step.types.js' ;
Original file line number Diff line number Diff line change 33 * This software may be modified and distributed under the terms
44 * of the MIT license. See the LICENSE file for details.
55 */
6- export { GenericError , GetAuthorizationUrlOptions } from '@forgerock/sdk-types' ;
76
7+ // Re-export types from internal packages that consumers need
8+ export type { LogLevel , CustomLogger } from '@forgerock/sdk-logger' ;
9+ export type { RequestMiddleware } from '@forgerock/sdk-request-middleware' ;
10+ export type { GenericError , GetAuthorizationUrlOptions } from '@forgerock/sdk-types' ;
11+ export type { StorageConfig } from '@forgerock/storage' ;
12+
13+ // Re-export local types
814export * from './lib/client.types.js' ;
915export * from './lib/config.types.js' ;
1016export * from './lib/authorize.request.types.js' ;
You can’t perform that action at this time.
0 commit comments