diff options
author | Chocobozzz <me@florianbigard.com> | 2021-05-11 12:04:47 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-05-11 13:33:11 +0200 |
commit | 428ccb8b7a44ce60cabb7401a5464cf5fcbd4dba (patch) | |
tree | b75329b64f5e201abdfb39961f2db09a08292b77 /shared/models/plugins/plugin-settings-manager.model.ts | |
parent | 2b02c520e66ea452687cab39401b371711caa9ed (diff) | |
download | PeerTube-428ccb8b7a44ce60cabb7401a5464cf5fcbd4dba.tar.gz PeerTube-428ccb8b7a44ce60cabb7401a5464cf5fcbd4dba.tar.zst PeerTube-428ccb8b7a44ce60cabb7401a5464cf5fcbd4dba.zip |
Reorganize plugin models
Diffstat (limited to 'shared/models/plugins/plugin-settings-manager.model.ts')
-rw-r--r-- | shared/models/plugins/plugin-settings-manager.model.ts | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/shared/models/plugins/plugin-settings-manager.model.ts b/shared/models/plugins/plugin-settings-manager.model.ts deleted file mode 100644 index 3c28c0565..000000000 --- a/shared/models/plugins/plugin-settings-manager.model.ts +++ /dev/null | |||
@@ -1,9 +0,0 @@ | |||
1 | export interface PluginSettingsManager { | ||
2 | getSetting: (name: string) => Promise<string | boolean> | ||
3 | |||
4 | getSettings: (names: string[]) => Promise<{ [settingName: string]: string | boolean }> | ||
5 | |||
6 | setSetting: (name: string, value: string) => Promise<any> | ||
7 | |||
8 | onSettingsChange: (cb: (names: string[]) => Promise<any>) => void | ||
9 | } | ||