|
@@ -29,6 +29,8 @@ export const CONFIG_KEYS = [
|
|
|
|
|
|
|
|
// App Settings
|
|
// App Settings
|
|
|
'app:installed',
|
|
'app:installed',
|
|
|
|
|
+ 'app:isV5Compatible',
|
|
|
|
|
+ 'app:isMaintenanceMode',
|
|
|
'app:confidential',
|
|
'app:confidential',
|
|
|
'app:globalLang',
|
|
'app:globalLang',
|
|
|
'app:fileUpload',
|
|
'app:fileUpload',
|
|
@@ -39,8 +41,6 @@ export const CONFIG_KEYS = [
|
|
|
'app:siteUrl',
|
|
'app:siteUrl',
|
|
|
'app:aiEnabled',
|
|
'app:aiEnabled',
|
|
|
'app:publishOpenAPI',
|
|
'app:publishOpenAPI',
|
|
|
- 'app:isV5Compatible',
|
|
|
|
|
- 'app:isMaintenanceMode',
|
|
|
|
|
'app:maxFileSize',
|
|
'app:maxFileSize',
|
|
|
'app:fileUploadTotalLimit',
|
|
'app:fileUploadTotalLimit',
|
|
|
'app:fileUploadDisabled',
|
|
'app:fileUploadDisabled',
|
|
@@ -328,6 +328,12 @@ export const CONFIG_DEFINITIONS = {
|
|
|
'app:installed': defineConfig<boolean>({
|
|
'app:installed': defineConfig<boolean>({
|
|
|
defaultValue: false,
|
|
defaultValue: false,
|
|
|
}),
|
|
}),
|
|
|
|
|
+ 'app:isV5Compatible': defineConfig<boolean>({
|
|
|
|
|
+ defaultValue: false,
|
|
|
|
|
+ }),
|
|
|
|
|
+ 'app:isMaintenanceMode': defineConfig<boolean>({
|
|
|
|
|
+ defaultValue: false,
|
|
|
|
|
+ }),
|
|
|
'app:confidential': defineConfig<string | undefined>({
|
|
'app:confidential': defineConfig<string | undefined>({
|
|
|
defaultValue: undefined,
|
|
defaultValue: undefined,
|
|
|
}),
|
|
}),
|
|
@@ -365,14 +371,6 @@ export const CONFIG_DEFINITIONS = {
|
|
|
envVarName: 'PUBLISH_OPEN_API',
|
|
envVarName: 'PUBLISH_OPEN_API',
|
|
|
defaultValue: false,
|
|
defaultValue: false,
|
|
|
}),
|
|
}),
|
|
|
- 'app:isV5Compatible': defineConfig<boolean | undefined>({
|
|
|
|
|
- envVarName: 'IS_V5_COMPATIBLE',
|
|
|
|
|
- defaultValue: undefined,
|
|
|
|
|
- }),
|
|
|
|
|
- 'app:isMaintenanceMode': defineConfig<boolean>({
|
|
|
|
|
- envVarName: 'IS_MAINTENANCE_MODE',
|
|
|
|
|
- defaultValue: false,
|
|
|
|
|
- }),
|
|
|
|
|
'app:maxFileSize': defineConfig<number>({
|
|
'app:maxFileSize': defineConfig<number>({
|
|
|
envVarName: 'MAX_FILE_SIZE',
|
|
envVarName: 'MAX_FILE_SIZE',
|
|
|
defaultValue: Infinity,
|
|
defaultValue: Infinity,
|