@/constants
Shared constants for Custom Applications.
Installation
yarn add @commercetools-frontend/constants# ornpm --save install @commercetools-frontend/constants
Useful variables
GRAPHQL_TARGETS
: Contains the supported GraphQL targets to use in the Apollo Client queries and mutations. See Data Fetching for more information.MC_API_PROXY_TARGETS
: Contains the supported Proxy targets to use in the REST API requests. See Data Fetching for more information.DOMAINS
: Contains the supported notification domains. See Notifications for more information.NOTIFICATION_KINDS_SIDE
: Contains the supported kinds of side notification. See Notifications for more information.NOTIFICATION_KINDS_PAGE
: Contains the supported kinds of page notification. See Notifications for more information.