diff options
Diffstat (limited to 'server/typings/models/server/plugin.ts')
-rw-r--r-- | server/typings/models/server/plugin.ts | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/server/typings/models/server/plugin.ts b/server/typings/models/server/plugin.ts index b1e2e149d..94674c318 100644 --- a/server/typings/models/server/plugin.ts +++ b/server/typings/models/server/plugin.ts | |||
@@ -1,3 +1,10 @@ | |||
1 | import { PluginModel } from '@server/models/server/plugin' | 1 | import { PluginModel } from '@server/models/server/plugin' |
2 | 2 | ||
3 | export type MPlugin = PluginModel | 3 | export type MPlugin = PluginModel |
4 | |||
5 | // ############################################################################ | ||
6 | |||
7 | // Format for API or AP object | ||
8 | |||
9 | export type MPluginFormattable = Pick<MPlugin, 'name' | 'type' | 'version' | 'latestVersion' | 'enabled' | 'uninstalled' | ||
10 | | 'peertubeEngine' | 'description' | 'homepage' | 'settings' | 'createdAt' | 'updatedAt'> | ||