aboutsummaryrefslogtreecommitdiffstats
path: root/src/wwwroot/scripts/configuration.js
blob: 418152d1d5007203c6e18ec6f210882cfaa507d7 (plain) (blame)
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
export const configuration = {
	storageKeys: {
		cart: "cart",
		productForm: {
			imageUrls: "productForm.images",
		},
	},
	debug: location.hostname !== "localhost",
	analytics: {
		pageload: false,
		error: true,
	},
	cookies: {
		culture: "vsh_culture",
	},
	paths: {
		products: "/assets/images/products/",
		documents: "/assets/images/documents/",
		swaggerDoc: {
			main: "/swagger/v1/swagger.json",
		},
	},
	defaultParameters: {
		counterControlOptions: {
			min: undefined,
			max: undefined,
			initialCount: undefined,
			onChange: undefined,
		},
	},
	enums: {
		orderStatus: {
			IN_PROGRESS: 0,
			CANCELLED: 0,
			FAILED: 2,
			COMPLETED: 3,
			AWAITING_INVOICE: 4,
			AWAITING_VIPPS: 5,
		},
	},
};