-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconstants.js
More file actions
28 lines (25 loc) · 807 Bytes
/
Copy pathconstants.js
File metadata and controls
28 lines (25 loc) · 807 Bytes
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
import constants from '../framework/data/constants'
const CMS_SOURCE_ID = '-1'
const user = 'user'
export default {
...constants,
CLIENTS: 'clients',
NETWORKS: 'networks',
PLANS: 'plans',
TIERS: 'tiers',
ORGANIZATIONS: 'organizations',
ORGANIZATION_LOCATIONS: 'organizationLocations',
PROVIDERS: 'providers',
PROVIDER_LOCATIONS: 'providerLocations',
SPECIALTIES: 'specialties',
ORGANIZATION_TIERS: 'organizationTiers',
PROVIDER_ORGANIZATIONS: 'providerOrganizations',
PROVIDER_ORGANIZATION_TIERS: 'providerOrganizationTiers',
CMS_SOURCE_ID,
PUBLIC_SOURCE_IDS: [CMS_SOURCE_ID],
QUERY_CLIENT_ID: 'source._id',
CONTEXT_CLIENT_ID: `${user}.clientId`,
CONTEXT_USER_NAME: `${user}.userName`,
CONTEXT_USER_ID: `${user}.userId`,
ONLY_CLIENT_CREATED: 'onlyClientCreated'
}