mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-14 13:55:03 +00:00
feat: add missing info.configSchemas
This commit is contained in:
parent
db52c61df4
commit
3b0a0b311d
19 changed files with 46 additions and 0 deletions
|
@ -1,6 +1,8 @@
|
|||
import { ZeppelinPluginInfo } from "../../types.js";
|
||||
import { zInternalPosterConfig } from "./types.js";
|
||||
|
||||
export const internalPosterPluginInfo: ZeppelinPluginInfo = {
|
||||
prettyName: "Internal poster",
|
||||
showInDocs: false,
|
||||
configSchema: zInternalPosterConfig,
|
||||
};
|
||||
|
|
|
@ -2,8 +2,12 @@ import { WebhookClient } from "discord.js";
|
|||
import { BasePluginType } from "knub";
|
||||
import { Queue } from "../../Queue.js";
|
||||
import { Webhooks } from "../../data/Webhooks.js";
|
||||
import { z } from "zod";
|
||||
|
||||
export const zInternalPosterConfig = z.strictObject({});
|
||||
|
||||
export interface InternalPosterPluginType extends BasePluginType {
|
||||
config: z.infer<typeof zInternalPosterConfig>;
|
||||
state: {
|
||||
queue: Queue;
|
||||
webhooks: Webhooks;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue