Complete template files

This commit is contained in:
Cooldude2606 committed 2024-01-22 05:01:09 +00:00
1 parent c81d2b61a6
commit be8bba8ff8
9 files changed
+227 -10

No files matched your search

@@ -4,8 +4,8 @@ import { Type, Static } from "@sinclair/typebox";
export class PluginExampleEvent {
declare ["constructor"]: typeof PluginExampleEvent;
static type = "event" as const;
static src = ["host"] as const;
static dst = "controller" as const;
static src = ["host", "control"] as const;
static dst = ["controller", "host"] as const;
static plugin = "// plugin_name //" as const;
static permission = "// plugin_name //.example.permission.event";
@@ -26,10 +26,10 @@ export class PluginExampleEvent {
}
export class PluginExampleRequest {
declare ["constructor"]: typeof PluginExampleEvent;
declare ["constructor"]: typeof PluginExampleRequest;
static type = "request" as const;
static src = ["host"] as const;
static dst = "controller" as const;
static src = ["host", "control"] as const;
static dst = ["controller", "host"] as const;
static plugin = "// plugin_name //" as const;
static permission = "// plugin_name //.example.permission.request";