@ministryofjustice/hmpps-connect-dps-components 3.0.0-beta.2 → 3.0.0-beta.3
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/index.d.ts
CHANGED
|
@@ -71,7 +71,7 @@ declare class ComponentsService {
|
|
|
71
71
|
getFrontendComponents(requestOptions: FrontentComponentRequestOptions): RequestHandler;
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
-
declare function getFrontendComponents({ logger, componentApiConfig, authenticationClient, dpsUrl, }: Parameters<typeof ComponentsService.create>[0]): (requestOptions: FrontentComponentRequestOptions) => RequestHandler;
|
|
74
|
+
declare function getFrontendComponents$1({ logger, componentApiConfig, authenticationClient, dpsUrl, }: Parameters<typeof ComponentsService.create>[0]): (requestOptions: FrontentComponentRequestOptions) => RequestHandler;
|
|
75
75
|
|
|
76
76
|
declare class PrisonApiClient extends RestClient {
|
|
77
77
|
constructor(logger: ConnectDpsComponentLogger, config: ApiConfig, authenticationClient: AuthenticationClient);
|
|
@@ -90,6 +90,8 @@ declare class CaseLoadService {
|
|
|
90
90
|
retrieveCaseLoadData(): RequestHandler;
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
+
declare function retrieveCaseLoadData({ logger, prisonApiConfig, authenticationClient, }: Parameters<typeof CaseLoadService.create>[0]): () => RequestHandler;
|
|
94
|
+
|
|
93
95
|
type AuthSource = 'nomis' | 'delius' | 'external' | 'azuread';
|
|
94
96
|
/**
|
|
95
97
|
* These are the details that all user types share.
|
|
@@ -139,4 +141,6 @@ declare class AllocationService {
|
|
|
139
141
|
retrieveAllocationJobResponsibilities(): RequestHandler;
|
|
140
142
|
}
|
|
141
143
|
|
|
142
|
-
|
|
144
|
+
declare function getFrontendComponents({ logger, allocationsApiConfig, authenticationClient, }: Parameters<typeof AllocationService.create>[0]): () => RequestHandler;
|
|
145
|
+
|
|
146
|
+
export { AllocationService, CaseLoadService, ComponentsService, getFrontendComponents$1 as getFrontendComponents, getFrontendComponents as retrieveAllocationJobResponsibilities, retrieveCaseLoadData };
|
|
@@ -1 +1,3 @@
|
|
|
1
1
|
export type { default as getFrontendComponents } from '../../../middleware/getFrontendComponents';
|
|
2
|
+
export type { default as retrieveCaseLoadData } from '../../../middleware/retrieveCaseLoadData';
|
|
3
|
+
export type { default as retrieveAllocationJobResponsibilities } from '../../../middleware/retrieveAllocationJobResponsibilities';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ministryofjustice/hmpps-connect-dps-components",
|
|
3
|
-
"version": "3.0.0-beta.
|
|
3
|
+
"version": "3.0.0-beta.3",
|
|
4
4
|
"description": "A package to allow the inclusion of connect dps micro frontend components within dps applications",
|
|
5
5
|
"main": "./dist/index.cjs",
|
|
6
6
|
"module": "./dist/index.esm.js",
|