[MM-47706] Remove exposure of the ipcRenderer methods in the desktop app and only expose specific endpoints (#2387)

This commit is contained in:
Devin Binnie
2022-11-16 10:40:18 -04:00
committed by GitHub
parent 216674a673
commit 791c141aee
9 changed files with 261 additions and 133 deletions

10
src/types/settings.ts Normal file
View File

@@ -0,0 +1,10 @@
// Copyright (c) 2016-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.
import {CombinedConfig} from './config';
export type SaveQueueItem = {
configType: 'updates' | 'appOptions';
key: keyof CombinedConfig;
data: CombinedConfig[keyof CombinedConfig];
};