@vendure/common
Advanced tools
Comparing version 2.0.4 to 2.0.5
@@ -13,3 +13,4 @@ export declare const API_PORT = 3000; | ||
export declare const DEFAULT_AUTH_TOKEN_HEADER_KEY = "vendure-auth-token"; | ||
export declare const DEFAULT_CHANNEL_TOKEN_KEY = "vendure-token"; | ||
export type CREATING_VENDURE_APP = 'CREATING_VENDURE_APP'; | ||
export declare const CREATING_VENDURE_APP: CREATING_VENDURE_APP; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.CREATING_VENDURE_APP = exports.DEFAULT_AUTH_TOKEN_HEADER_KEY = exports.ROOT_COLLECTION_NAME = exports.CUSTOMER_ROLE_DESCRIPTION = exports.CUSTOMER_ROLE_CODE = exports.SUPER_ADMIN_USER_PASSWORD = exports.SUPER_ADMIN_USER_IDENTIFIER = exports.SUPER_ADMIN_ROLE_DESCRIPTION = exports.SUPER_ADMIN_ROLE_CODE = exports.DEFAULT_CHANNEL_CODE = exports.SHOP_API_PATH = exports.ADMIN_API_PATH = exports.API_PORT = void 0; | ||
exports.CREATING_VENDURE_APP = exports.DEFAULT_CHANNEL_TOKEN_KEY = exports.DEFAULT_AUTH_TOKEN_HEADER_KEY = exports.ROOT_COLLECTION_NAME = exports.CUSTOMER_ROLE_DESCRIPTION = exports.CUSTOMER_ROLE_CODE = exports.SUPER_ADMIN_USER_PASSWORD = exports.SUPER_ADMIN_USER_IDENTIFIER = exports.SUPER_ADMIN_ROLE_DESCRIPTION = exports.SUPER_ADMIN_ROLE_CODE = exports.DEFAULT_CHANNEL_CODE = exports.SHOP_API_PATH = exports.ADMIN_API_PATH = exports.API_PORT = void 0; | ||
/* | ||
@@ -20,3 +20,4 @@ * This file contains constants which are shared between more than one sub-module | ||
exports.DEFAULT_AUTH_TOKEN_HEADER_KEY = 'vendure-auth-token'; | ||
exports.DEFAULT_CHANNEL_TOKEN_KEY = 'vendure-token'; | ||
exports.CREATING_VENDURE_APP = 'CREATING_VENDURE_APP'; | ||
//# sourceMappingURL=shared-constants.js.map |
@@ -210,4 +210,3 @@ import { LanguageCode, LocalizedString } from './generated-types'; | ||
* The header used when using the 'bearer' auth method. Should match the | ||
* setting of the server's `authOptions.authTokenHeaderKey` config | ||
* option. | ||
* setting of the server's `authOptions.authTokenHeaderKey` config option. | ||
* | ||
@@ -219,2 +218,10 @@ * @default 'vendure-auth-token' | ||
* @description | ||
* The name of the header which contains the channel token. Should match the | ||
* setting of the server's `apiOptions.channelTokenKey` config option. | ||
* | ||
* @default 'vendure-token' | ||
*/ | ||
channelTokenKey: string; | ||
/** | ||
* @description | ||
* The default language for the Admin UI. Must be one of the | ||
@@ -221,0 +228,0 @@ * items specified in the `availableLanguages` property. |
{ | ||
"name": "@vendure/common", | ||
"version": "2.0.4", | ||
"version": "2.0.5", | ||
"main": "index.js", | ||
@@ -25,3 +25,3 @@ "license": "MIT", | ||
}, | ||
"gitHead": "e1713e8c0fd9e32708f7cbe7ac00a5964c3348af" | ||
"gitHead": "2fb595caf6460d6159fe3c62f8975b62e5c3c3d7" | ||
} |
Sorry, the diff of this file is not supported yet
434994
11294