From be04c6fdab5d91a7a57fa3ff36cde22a549c29da Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 5 Sep 2019 09:43:35 +0200 Subject: Add hardware information in instance config --- shared/extra-utils/server/config.ts | 1 + shared/models/server/about.model.ts | 1 + shared/models/server/custom-config.model.ts | 1 + 3 files changed, 3 insertions(+) (limited to 'shared') diff --git a/shared/extra-utils/server/config.ts b/shared/extra-utils/server/config.ts index 66e0a008e..578dd35cf 100644 --- a/shared/extra-utils/server/config.ts +++ b/shared/extra-utils/server/config.ts @@ -60,6 +60,7 @@ function updateCustomSubConfig (url: string, token: string, newConfig: DeepParti administrator: 'Kuja', maintenanceLifetime: 'forever', businessModel: 'my super business model', + hardwareInformation: '2vCore 3GB RAM', languages: [ 'en', 'es' ], categories: [ 1, 2 ], diff --git a/shared/models/server/about.model.ts b/shared/models/server/about.model.ts index bde4e0b50..6d4ba63c4 100644 --- a/shared/models/server/about.model.ts +++ b/shared/models/server/about.model.ts @@ -6,6 +6,7 @@ export interface About { terms: string codeOfConduct: string + hardwareInformation: string creationReason: string moderationInformation: string diff --git a/shared/models/server/custom-config.model.ts b/shared/models/server/custom-config.model.ts index a7c2a3bab..c9957f825 100644 --- a/shared/models/server/custom-config.model.ts +++ b/shared/models/server/custom-config.model.ts @@ -13,6 +13,7 @@ export interface CustomConfig { administrator: string maintenanceLifetime: string businessModel: string + hardwareInformation: string languages: string[] categories: number[] -- cgit v1.2.3