update to 1.1.0 #1
|
@ -1,5 +1,8 @@
|
|||
/** Models exported from backend */
|
||||
declare namespace FG {
|
||||
interface UserSettings {
|
||||
display_name: string;
|
||||
}
|
||||
interface Notification {
|
||||
id: number;
|
||||
plugin: string;
|
||||
|
|
|
@ -20,6 +20,8 @@ export namespace FG_Plugin {
|
|||
version: string;
|
||||
/** Widgets provided by this plugin */
|
||||
widgets: Widget[];
|
||||
/** Widget for settings provided by this plugin **/
|
||||
settingsWidgets?: Widget[];
|
||||
/** Backend modules needed for this plugin to work correctly */
|
||||
requiredModules: [string, PEP440Version?][];
|
||||
/** Menu entries for authenticated users */
|
||||
|
@ -141,3 +143,4 @@ export namespace FG_Plugin {
|
|||
widget: Component;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue