From 15c3956c0e9200534d399f1ffcb3a124d7fbe7ea Mon Sep 17 00:00:00 2001 From: Max Bischof <106820326+bischofmax@users.noreply.github.com> Date: Fri, 13 Dec 2024 12:26:50 +0100 Subject: [PATCH] BC-7906 - Remove tldraw envs from generated server config response (#3477) --- src/serverApi/v3/api.ts | 24 ------------------------ src/store/env-config-defaults.ts | 4 ---- 2 files changed, 28 deletions(-) diff --git a/src/serverApi/v3/api.ts b/src/serverApi/v3/api.ts index 4366d4fe13..d83ebe685d 100644 --- a/src/serverApi/v3/api.ts +++ b/src/serverApi/v3/api.ts @@ -1245,30 +1245,6 @@ export interface ConfigResponse { * @memberof ConfigResponse */ FEATURE_TLDRAW_ENABLED: boolean; - /** - * - * @type {string} - * @memberof ConfigResponse - */ - TLDRAW__WEBSOCKET_URL: string; - /** - * - * @type {boolean} - * @memberof ConfigResponse - */ - TLDRAW__ASSETS_ENABLED: boolean; - /** - * - * @type {number} - * @memberof ConfigResponse - */ - TLDRAW__ASSETS_MAX_SIZE_BYTES: number; - /** - * - * @type {Array} - * @memberof ConfigResponse - */ - TLDRAW__ASSETS_ALLOWED_MIME_TYPES_LIST: Array; /** * * @type {boolean} diff --git a/src/store/env-config-defaults.ts b/src/store/env-config-defaults.ts index 28c4cf759f..f546198097 100644 --- a/src/store/env-config-defaults.ts +++ b/src/store/env-config-defaults.ts @@ -34,10 +34,6 @@ export const defaultConfigEnvs: ConfigResponse = { FEATURE_LTI_TOOLS_TAB_ENABLED: true, FEATURE_SHOW_MIGRATION_WIZARD: false, FEATURE_TLDRAW_ENABLED: false, - TLDRAW__ASSETS_ENABLED: false, - TLDRAW__ASSETS_MAX_SIZE_BYTES: -1, - TLDRAW__WEBSOCKET_URL: "https://mock.de", - TLDRAW__ASSETS_ALLOWED_MIME_TYPES_LIST: [], ALERT_STATUS_URL: null, FEATURE_ES_COLLECTIONS_ENABLED: false, FEATURE_EXTENSIONS_ENABLED: false,