Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hmcts/ccd-case-ui-toolkit",
"version": "7.3.57",
"version": "7.3.54-pofcc-131",
"engines": {
"node": ">=20.19.0"
},
Expand Down
2 changes: 1 addition & 1 deletion projects/ccd-case-ui-toolkit/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hmcts/ccd-case-ui-toolkit",
"version": "7.3.57",
"version": "7.3.54-pofcc-131",
"engines": {
"node": ">=20.19.0"
},
Expand Down
8 changes: 8 additions & 0 deletions projects/ccd-case-ui-toolkit/src/lib/app-config.mock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,14 @@ export class AppMockConfig implements AbstractAppConfig {
return 'prod';
}

public getWASupportedRoleCategories(): string[] {
return [];
}

public getWASupportedRoleTypes(): string[] {
return [];
}

public getCaseHistoryUrl(caseId: string, eventId: string): string {
return '';
}
Expand Down
9 changes: 9 additions & 0 deletions projects/ccd-case-ui-toolkit/src/lib/app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,13 @@ export abstract class AbstractAppConfig {
return 'prod';
}

public getWASupportedRoleCategories(): string[] {
return [];
}

public getWASupportedRoleTypes(): string[] {
return [];
}

public abstract getRefundsUrl(): string;
public abstract getNotificationUrl(): string;
Expand Down Expand Up @@ -192,4 +199,6 @@ export class CaseEditorConfig {
public icp_jurisdictions: string[];
public events_to_hide: string[];
public enable_service_specific_multi_followups: string[];
public wa_supported_role_categories: string[];
public wa_supported_role_types: string[];
}
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,9 @@ const APP_CONFIG: AbstractAppConfig = {
getIcpJurisdictions: () => ['IA'],
getIcpEnable: () => true,
logMessage: () => {},
getEnableServiceSpecificMultiFollowups: () => ['IA']
getEnableServiceSpecificMultiFollowups: () => ['IA'],
getWASupportedRoleCategories: () => ['LEGAL_OPERATIONS,ADMIN,CTSC,JUDICIAL'],
getWASupportedRoleTypes: () => ['ORGANISATION']
};

let paymentWebComponentMock;
Expand Down
Loading