diff options
author | Chocobozzz <me@florianbigard.com> | 2019-07-24 11:17:42 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-07-24 11:17:42 +0200 |
commit | 9ae88819c202a6ce4a36b56506f508a5603e8eab (patch) | |
tree | 4936990dff918ceabe835dfa7192e5e4c6211dc6 /shared/models/plugins/register-server-setting.model.ts | |
parent | 5f189c9c85449951254646ddf6cd6c84bc4c06ff (diff) | |
download | PeerTube-9ae88819c202a6ce4a36b56506f508a5603e8eab.tar.gz PeerTube-9ae88819c202a6ce4a36b56506f508a5603e8eab.tar.zst PeerTube-9ae88819c202a6ce4a36b56506f508a5603e8eab.zip |
Change plugin models names
Diffstat (limited to 'shared/models/plugins/register-server-setting.model.ts')
-rw-r--r-- | shared/models/plugins/register-server-setting.model.ts | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/shared/models/plugins/register-server-setting.model.ts b/shared/models/plugins/register-server-setting.model.ts new file mode 100644 index 000000000..5dea93c39 --- /dev/null +++ b/shared/models/plugins/register-server-setting.model.ts | |||
@@ -0,0 +1,10 @@ | |||
1 | export interface RegisterServerSettingOptions { | ||
2 | name: string | ||
3 | label: string | ||
4 | type: 'input' | ||
5 | default?: string | ||
6 | } | ||
7 | |||
8 | export interface RegisteredServerSettings { | ||
9 | settings: RegisterServerSettingOptions[] | ||
10 | } | ||