Repository navigation
Expand file tree
/
Copy pathenv.d.ts
More file actions
168 lines (149 loc) · 6.54 KB
/
Copy pathenv.d.ts
File metadata and controls
168 lines (149 loc) · 6.54 KB
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
declare namespace NodeJS {
interface ProcessEnv {
// Environment. Read-only, as next/types/global.d.ts declares it: whichever declaration
// the compiler meets first wins, and that changes once `pnpm dev` writes next-env.d.ts.
// Tests set it with vi.stubEnv("NODE_ENV", ...).
readonly NODE_ENV: "development" | "production" | "test";
/** Inlined at build through next.config.ts `env`. Read only from server code, so never in the client bundle. */
HUB_VERSION?: string;
HUB_BRANCH?: string;
HUB_COMMIT?: string;
/** GitHub Actions ref, read at build to name a detached checkout's branch. */
GITHUB_REF_TYPE?: string;
GITHUB_HEAD_REF?: string;
GITHUB_REF_NAME?: string;
REMOTE_IMAGE_HOSTNAMES?: string;
ROBOTS_ALLOWED_DOMAINS?: string;
ENDATIX_BASE_URL?: string;
ENDATIX_API_URL?: string;
ENDATIX_API_PREFIX?: string;
/** Comma-separated proxy IPs/CIDRs whose X-Forwarded-For Hub trusts. */
ENDATIX_TRUSTED_PROXIES?: string;
AI_API_BASE_URL?: string;
// Experimental features
ENDATIX_ENABLE_EXTENSIONS?: string;
// Public, request-time client config. Projected to the browser by
// `getClientEndatixConfig()` from `@/features/config/server` — deliberately NOT
// `NEXT_PUBLIC_*`, which Next inlines into the client bundle at build time.
ENDATIX_RECAPTCHA_SITE_KEY?: string;
POSTHOG_PROJECT_TOKEN?: string;
POSTHOG_HOST?: string;
POSTHOG_UI_HOST?: string;
/** Server-only. Not part of the client config projection. */
POSTHOG_PROJECT_ID?: string;
/** Server-only. Read-only personal API key (`person:read`, `query:read`).https://posthog.com/docs/api/personal-api-keys. */
POSTHOG_PERSONAL_API_KEY?: string;
ENDATIX_IS_DEBUG_MODE?: string;
ENDATIX_SUBMITTER_PRIMARY_FILTER_LABEL?: string;
ENDATIX_SUBMITTER_GRID_PROFILE_FIELDS?: string;
ENDATIX_SHOW_POWERED_BY?: string;
/**
* SurveyJS Creator licence key. NOT part of the shared projection above: that object
* is serialised into the HTML of every page mounting AppProvider, including the
* anonymous public form routes. Read server-side and provided only to the
* authenticated shell, via SurveyLicenseProvider.
*
* Perpetual: the embedded date governs eligibility for updates and support, not the
* right to run, so an existing deployment keeps working. A new key is needed when
* upgrading the SurveyJS packages beyond the window it covers — and replacing it must
* be a config change, never an image rebuild.
*/
ENDATIX_SURVEY_LICENSE_KEY?: string;
// Session
SESSION_SECRET?: string;
SESSION_MAX_AGE_IN_MINUTES?: string;
// Auth Providers
AUTH_KEYCLOAK_ENABLED?: string;
AUTH_KEYCLOAK_CLIENT_ID?: string;
AUTH_KEYCLOAK_CLIENT_SECRET?: string;
AUTH_KEYCLOAK_ISSUER?: string;
AUTH_GOOGLE_ENABLED?: string;
AUTH_GOOGLE_CLIENT_ID?: string;
AUTH_GOOGLE_CLIENT_SECRET?: string;
// Data Collection
NEXT_FORMS_COOKIE_NAME?: string;
NEXT_FORMS_COOKIE_DURATION_DAYS?: string;
// ReCaptcha
/** @deprecated Build-time inlined. Use ENDATIX_RECAPTCHA_SITE_KEY. */
NEXT_PUBLIC_RECAPTCHA_SITE_KEY?: string;
// Slack
SLACK_CLIENT_ID?: string;
SLACK_CLIENT_SECRET?: string;
SLACK_REDIRECT_URI?: string;
// Storage:General
/** Set to `azure`, `s3`, or `none`. Required for storage registration (no credential-only auto mode). */
STORAGE_PROVIDER?: string;
/** Defaults to true. Set to "false" only for public storage. */
STORAGE_IS_PRIVATE?: string;
STORAGE_USER_FILES_CONTAINER_NAME?: string;
STORAGE_CONTENT_FILES_CONTAINER_NAME?: string;
// Storage: S3-compatible (RustFS)
STORAGE_S3_ENDPOINT?: string;
STORAGE_S3_ACCESS_KEY_ID?: string;
STORAGE_S3_SECRET_ACCESS_KEY?: string;
STORAGE_S3_REGION?: string;
STORAGE_S3_FORCE_PATH_STYLE?: string;
STORAGE_S3_READ_EXPIRY_MINUTES?: string;
STORAGE_S3_WRITE_EXPIRY_SECONDS?: string;
// Storage:Azure
STORAGE_AZURE_ACCOUNT_NAME?: string;
STORAGE_AZURE_ACCOUNT_KEY?: string;
STORAGE_AZURE_ENDPOINT?: string;
STORAGE_AZURE_SAS_READ_EXPIRY_MINUTES?: string;
STORAGE_AZURE_SAS_WRITE_EXPIRY_SECONDS?: string;
// Storage:Azure legacy fallbacks
AZURE_STORAGE_ACCOUNT_NAME?: string;
AZURE_STORAGE_ACCOUNT_KEY?: string;
AZURE_STORAGE_CUSTOM_DOMAIN?: string;
AZURE_STORAGE_IS_PRIVATE?: string;
AZURE_STORAGE_SAS_TOKEN_EXPIRY_MINUTES?: string;
USER_FILES_STORAGE_CONTAINER_NAME?: string;
CONTENT_STORAGE_CONTAINER_NAME?: string;
// Image Resize
RESIZE_IMAGES?: string;
RESIZE_IMAGES_WIDTH?: string;
// Public
/** @deprecated Build-time inlined. Use ENDATIX_SURVEY_LICENSE_KEY. */
NEXT_PUBLIC_SLK?: string;
/** @deprecated Build-time inlined. Use ENDATIX_SUBMITTER_PRIMARY_FILTER_LABEL. */
NEXT_PUBLIC_SUBMITTER_PRIMARY_FILTER_LABEL?: string;
/** @deprecated Build-time inlined. Use ENDATIX_SUBMITTER_GRID_PROFILE_FIELDS. */
NEXT_PUBLIC_SUBMITTER_GRID_PROFILE_FIELDS?: string;
NEXT_PUBLIC_NAME?: string;
// Telemetry
OTEL_LOG_LEVEL?: string;
OTEL_EXPORTER_OTLP_ENDPOINT?: string;
OTEL_EXPORTER_OTLP_TRACES_ENDPOINT?: string;
OTEL_EXPORTER_OTLP_LOGS_ENDPOINT?: string;
OTEL_EXPORTER_OTLP_PROTOCOL?: string;
OTEL_EXPORTER_OTLP_TRACES_PROTOCOL?: string;
OTEL_EXPORTER_OTLP_LOGS_PROTOCOL?: string;
OTEL_EXPORTER_OTLP_HEADERS?: string;
OTEL_RESOURCE_ATTRIBUTES?: string;
OTEL_SERVICE_NAME?: string;
OTEL_SDK_DISABLED?: string;
OTEL_EXPORTER_OTLP_INSECURE?: string;
APPLICATIONINSIGHTS_CONNECTION_STRING?: string;
TELEMETRY_CONSOLE_FALLBACK?: string;
TELEMETRY_TRACES_PER_SECOND?: string;
OTEL_TRACES_SAMPLER?: string;
OTEL_TRACES_SAMPLER_ARG?: string;
NEXT_OTEL_FETCH_DISABLED?: string;
// Feature-flag provider: `posthog` or omit/`environment` for FLAG_* env vars.
FLAG_PROVIDER?: string;
// Application settings
/** @deprecated Build-time inlined. Use ENDATIX_IS_DEBUG_MODE. */
NEXT_PUBLIC_IS_DEBUG_MODE?: string; // Application-level debug flag
// Hub maintenance (see docs — proxy rewrite + /maintenance page)
MAINTENANCE_MODE?: string;
MAINTENANCE_RETRY_AFTER_SECONDS?: string;
/** @deprecated Ignored since the maintenance page became a public status page (no badge). */
MAINTENANCE_BADGE_LABEL?: string;
MAINTENANCE_TITLE?: string;
MAINTENANCE_CARD_DESCRIPTION?: string;
MAINTENANCE_BODY?: string;
MAINTENANCE_FOOTER?: string;
MAINTENANCE_METADATA_TITLE?: string;
MAINTENANCE_METADATA_DESCRIPTION?: string;
}
}