Licensing updates for environment variables.

This commit is contained in:
mike12345567 2023-01-09 15:42:09 +00:00
parent 150ce28141
commit c9d8668062
3 changed files with 4 additions and 0 deletions

View File

@ -77,6 +77,7 @@ export const StaticDatabases = {
apiKeys: "apikeys", apiKeys: "apikeys",
usageQuota: "usage_quota", usageQuota: "usage_quota",
licenseInfo: "license_info", licenseInfo: "license_info",
environmentVariables: "environmentvariables",
}, },
}, },
// contains information about tenancy and so on // contains information about tenancy and so on

View File

@ -33,6 +33,7 @@ export { default as publicRoutes } from "./public"
const appBackupRoutes = pro.appBackups const appBackupRoutes = pro.appBackups
const scheduleRoutes = pro.schedules const scheduleRoutes = pro.schedules
const environmentVariableRoutes = pro.environmentVariables
export const mainRoutes: Router[] = [ export const mainRoutes: Router[] = [
appBackupRoutes, appBackupRoutes,
@ -63,6 +64,7 @@ export const mainRoutes: Router[] = [
migrationRoutes, migrationRoutes,
pluginRoutes, pluginRoutes,
scheduleRoutes, scheduleRoutes,
environmentVariableRoutes,
// these need to be handled last as they still use /api/:tableId // these need to be handled last as they still use /api/:tableId
// this could be breaking as koa may recognise other routes as this // this could be breaking as koa may recognise other routes as this
tableRoutes, tableRoutes,

View File

@ -1,4 +1,5 @@
export enum Feature { export enum Feature {
USER_GROUPS = "userGroups", USER_GROUPS = "userGroups",
APP_BACKUPS = "appBackups", APP_BACKUPS = "appBackups",
ENVIRONMENT_VARIABLES = "environmentVariables",
} }