-
Notifications
You must be signed in to change notification settings - Fork 19
/
additional-env.d.ts
67 lines (56 loc) · 2.1 KB
/
additional-env.d.ts
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
export type DemoStoreEnvs = {
/**
* Base url of your website. This is used when generating the sitemap.
* @url [next-sitemap](https://www.npmjs.com/package/next-sitemap)
* @example 'https://commercelayer.github.io/demo-store'
*/
SITE_URL?: string
/**
* Commerce Layer Sales Channel Client ID. Copy it from your organization dashboard.
* @url [API Clients - Sales channel](https://docs.commercelayer.io/developers/api-clients#sales-channel)
*/
NEXT_PUBLIC_CL_CLIENT_ID?: string
/**
* Commerce Layer Sales Channel Endpoint. Copy it from your organization dashboard.
* @url [API Clients - Sales channel](https://docs.commercelayer.io/developers/api-clients#sales-channel)
*/
NEXT_PUBLIC_CL_ENDPOINT?: string
/**
* Folder in which configuration files are stored.
* @default 'config/'
*/
NEXT_PUBLIC_CONFIG_FOLDER: string
/**
* Folder in which json data files are stored. This could be a local path or a remote URL.
* @example 'https://example.com/data/json' or 'data/json'
* @default 'data/json/'
*/
NEXT_PUBLIC_JSON_DATA_FOLDER: string
/**
* Folder in which locale data files are stored. This could be a local path or a remote URL.
* @example 'https://example.com/data/locale' or 'data/locale'
* @default 'data/locales/'
*/
NEXT_PUBLIC_LOCALES_DATA_FOLDER: string
/**
* Deploy a Next.js application under a sub-path of a domain
* @see [Base path configuration](https://nextjs.org/docs/api-reference/next.config.js/basepath)
* @default ''
*/
NEXT_PUBLIC_BASE_PATH: string
/**
* Default language when translation is not found. This should be a valid language from `languages.json` files.
* @default 'en'
*/
NEXT_PUBLIC_DEFAULT_LANGUAGE: string
/**
* Data fetching in Next.js allows you to render your content in different ways, depending on your application's use case.
* @see [Data Fetching](https://nextjs.org/docs/basic-features/data-fetching/overview)
* @default 'ssg'
*
*/
NEXT_PUBLIC_DATA_FETCHING: 'ssg' | 'ssr'
}
declare namespace NodeJS {
export interface ProcessEnv extends DemoStoreEnvs {}
}