diff --git a/database_assets/com.nebula.test-2/index.js b/database_assets/com.nebula.test-2/index.js deleted file mode 100644 index 509989d..0000000 --- a/database_assets/com.nebula.test-2/index.js +++ /dev/null @@ -1,12 +0,0 @@ -const example = () => {console.log('Gyatt... 2')}; - -function gyatt2() { - return { - function: example, - name: 'gyatt2', - events: ['fetch'] - }; -} - -//We need to return the refrence to the function and NOT the function itself -self.entryFunc = gyatt2; diff --git a/database_assets/com.nebula.test/gyatt.png b/database_assets/com.nebula.test/gyatt.png deleted file mode 100644 index 3a05bf1..0000000 Binary files a/database_assets/com.nebula.test/gyatt.png and /dev/null differ diff --git a/database_assets/com.nebula.test/index.js b/database_assets/com.nebula.test/index.js deleted file mode 100644 index 1dbe4f1..0000000 --- a/database_assets/com.nebula.test/index.js +++ /dev/null @@ -1,10 +0,0 @@ -function gyatt() { - return { - host: "example.com", - html: '', - injectTo: "head" - }; -} - -//We need to return the refrence to the function and NOT the function itself -self.entryFunc = gyatt; diff --git a/server/dbSetup.ts b/server/dbSetup.ts index f242207..b3138ce 100644 --- a/server/dbSetup.ts +++ b/server/dbSetup.ts @@ -73,29 +73,8 @@ async function setupDB(db: ModelStatic) { tags: ["Theme", "Simple", "Dark", "Retro"], payload: "retro.css", type: "theme" - }, - { - package_name: "com.nebula.test", - title: "GYATT", - image: "gyatt.png", - author: "NBS", - version: "0.0.0", - description: "gyatt", - tags: [], - payload: "index.js", - type: "plugin-page" - }, - { - package_name: "com.nebula.test-2", - title: "GYATT...2", - image: "gyatt.png", - author: "NBS", - version: "0.0.0", - description: "gyatt", - tags: [], - payload: "index.js", - type: "plugin-sw" } + //To add plugins: plugin types consist of plugin-sw (workerware) & plugin-page (uv.config.inject) ]; const dbItems = await db.findAll(); if (dbItems.length === 0) {