File tree Expand file tree Collapse file tree
device-client/src/lib/types Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ ' @forgerock/journey-client ' : minor
3+ ' @forgerock/device-client ' : minor
4+ ' @forgerock/oidc-client ' : minor
5+ ---
6+
7+ Expose return types for clients
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+ import { deviceClient } from '../device.store.js' ;
8+
9+ export type DeviceClient = ReturnType < typeof deviceClient > ;
710
811// Re-export types from external dependencies that consumers need
912export type { ConfigOptions } from '@forgerock/javascript-sdk' ;
Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright (c) 2025 Ping Identity Corporation. All rights reserved.
3+ *
4+ * This software may be modified and distributed under the terms
5+ * of the MIT license. See the LICENSE file for details.
6+ */
7+ import { journey } from './client.store.js' ;
8+
9+ export type JourneyClient = Awaited < ReturnType < typeof journey > > ;
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ export type {
1919} from '@forgerock/sdk-types' ;
2020
2121// Re-export local types
22+ export * from './lib/client.types.js' ;
2223export * from './lib/config.types.js' ;
2324export * from './lib/interfaces.js' ;
2425export * from './lib/step.types.js' ;
Original file line number Diff line number Diff line change 77import type { GenericError , GetAuthorizationUrlOptions } from '@forgerock/sdk-types' ;
88import type { StorageConfig } from '@forgerock/storage' ;
99import { createClientStore } from './client.store.utils.js' ;
10+ import { oidc } from './client.store.js' ;
11+
12+ export type OidcClient = Awaited < ReturnType < typeof oidc > > ;
1013
1114export type ClientStore = ReturnType < typeof createClientStore > ;
1215
You can’t perform that action at this time.
0 commit comments