@vendure/common
Advanced tools
Comparing version 2.1.5 to 2.2.0-next.0
@@ -13,4 +13,5 @@ export declare const API_PORT = 3000; | ||
export declare const DEFAULT_AUTH_TOKEN_HEADER_KEY = "vendure-auth-token"; | ||
export declare const DEFAULT_COOKIE_NAME = "session"; | ||
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_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; | ||
exports.CREATING_VENDURE_APP = exports.DEFAULT_CHANNEL_TOKEN_KEY = exports.DEFAULT_COOKIE_NAME = 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,4 +20,5 @@ * This file contains constants which are shared between more than one sub-module | ||
exports.DEFAULT_AUTH_TOKEN_HEADER_KEY = 'vendure-auth-token'; | ||
exports.DEFAULT_COOKIE_NAME = 'session'; | ||
exports.DEFAULT_CHANNEL_TOKEN_KEY = 'vendure-token'; | ||
exports.CREATING_VENDURE_APP = 'CREATING_VENDURE_APP'; | ||
//# sourceMappingURL=shared-constants.js.map |
@@ -234,5 +234,8 @@ import { LanguageCode, LocalizedString } from './generated-types'; | ||
* The default locale for the Admin UI. The locale affects the formatting of | ||
* currencies & dates. | ||
* currencies & dates. Must be one of the items specified | ||
* in the `availableLocales` property. | ||
* | ||
* If not set, the browser default locale will be used. | ||
* | ||
* @since 2.2.0 | ||
*/ | ||
@@ -247,2 +250,9 @@ defaultLocale?: string; | ||
* @description | ||
* An array of locales to be used on Admin UI. | ||
* | ||
* @since 2.2.0 | ||
*/ | ||
availableLocales: string[]; | ||
/** | ||
* @description | ||
* If you are using an external {@link AuthenticationStrategy} for the Admin API, you can configure | ||
@@ -249,0 +259,0 @@ * a custom URL for the login page with this option. On logging out or redirecting an unauthenticated |
{ | ||
"name": "@vendure/common", | ||
"version": "2.1.5", | ||
"version": "2.2.0-next.0", | ||
"main": "index.js", | ||
@@ -25,3 +25,3 @@ "license": "MIT", | ||
}, | ||
"gitHead": "e5ecd1fac86ed8e6f85c39a19b3aa7561dcff3b2" | ||
"gitHead": "3a37a1d245adc88390aa955d4bc621338b737b5f" | ||
} |
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
459217
11432
1