From 2540766403864af119ba65d44acf6b97d85320d0 Mon Sep 17 00:00:00 2001 From: Oleksandr Nykytenko Date: Mon, 17 Feb 2025 00:15:26 +0200 Subject: [PATCH] first release of example plugin --- src/another plugin.ts | 29 ----------------------------- src/example_plugin.ts | 2 +- 2 files changed, 1 insertion(+), 30 deletions(-) delete mode 100644 src/another plugin.ts diff --git a/src/another plugin.ts b/src/another plugin.ts deleted file mode 100644 index 72ea6da..0000000 --- a/src/another plugin.ts +++ /dev/null @@ -1,29 +0,0 @@ -import {FDO_SDK, FDOInterface, PluginMetadata} from '@anikitenko/fdo-sdk'; - -class AnotherPlugin extends FDO_SDK implements FDOInterface { - private readonly _metadata: PluginMetadata = { - name: "My Another Plugin", - version: "1.0.0", - author: "AleXvWaN", - description: "A test FDO plugin", - icon: "COG", - }; - - constructor() { - super(); - } - - public get metadata(): PluginMetadata { - return this._metadata; - } - - public init(sdk: FDO_SDK): void { - sdk.log("AnotherPlugin initialized!"); - } - - public render(): string { - return "Rendered AnotherPlugin content!"; - } -} - -export default AnotherPlugin; \ No newline at end of file diff --git a/src/example_plugin.ts b/src/example_plugin.ts index b4f3b78..d2527ca 100644 --- a/src/example_plugin.ts +++ b/src/example_plugin.ts @@ -3,7 +3,7 @@ import {FDO_SDK, FDOInterface, PluginMetadata} from '@anikitenko/fdo-sdk'; class MyPlugin extends FDO_SDK implements FDOInterface { private readonly _metadata: PluginMetadata = { name: "MyPlugin", - version: "1.0.2", + version: "1.0.0", author: "AleXvWaN", description: "A sample FDO plugin", icon: "COG",