-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.js
More file actions
42 lines (38 loc) · 1.82 KB
/
Copy pathconfig.js
File metadata and controls
42 lines (38 loc) · 1.82 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
// Deployment-specific configuration for the Curam Evidence Validator.
//
// Every value below depends on how YOUR Curam instance is deployed. The
// defaults shown are the values used by the original DC deployment and
// serve as worked examples. Adopters should review and update them to
// match their own Curam installation.
//
// You will also need to update the URL patterns under `content_scripts.matches`
// in manifest.json so the extension activates on your Curam domain.
const CONFIG = {
// Page-title strings that trigger each validator. The extension matches
// each value with `startsWith`, so include enough of the title to uniquely
// identify the page in your deployment.
pageTitles: {
address: 'Addresses - Income Support',
livingArrangement: 'Living Arrangement - Income Support',
householdMealGroup: 'Household Meal Group Member - Income Support',
},
// Curam evidence-type IDs used in the evidence-list URLs. Find these by
// opening DevTools on your Curam instance and inspecting the network
// request made when loading each evidence page.
evidenceTypes: {
householdMember: 'ET10066',
address: 'PDC0000261',
livingArrangement: 'ET10069',
householdMealGroup: 'ET10116',
},
// DOM-selector prefix used to identify Curam tab elements in your
// deployment's HTML. Look for the prefix that appears in the `id`
// attribute of `.tabLabel` elements on a case page.
//
// REQUIRED: replace this placeholder before the extension will work.
domSelectorPrefix: 'YOUR_DEPLOYMENT_PREFIX',
// Relative path to Curam's evidence-list endpoint. This is generally
// consistent across Curam installations but the language segment
// ("en_US") may differ.
evidenceEndpoint: 'en_US/Evidence_workspaceTypeListPage.do',
};