+1
-1
@@ -5,7 +5,7 @@ import eslintPluginPrettierRecommended from "eslint-plugin-prettier/recommended"
|
||||
|
||||
export default tsEslint.config(
|
||||
{
|
||||
ignores: ["node_modules", "!.*", "**/dist", "**/build", "docs"],
|
||||
ignores: ["node_modules", "**/.pnpm-store/**", "**/dist", "**/build", "docs"],
|
||||
},
|
||||
{
|
||||
extends: [js.configs.recommended, ...tsEslint.configs.recommended],
|
||||
|
||||
@@ -27,11 +27,12 @@ export enum ManagementMethod {
|
||||
BlockIp = "blockip",
|
||||
UnblockIp = "unblockip",
|
||||
ListBlockedIps = "listblockedips",
|
||||
SignEvent = "signevent",
|
||||
}
|
||||
|
||||
export type ManagementRequest = {
|
||||
method: ManagementMethod
|
||||
params: string[]
|
||||
params: any[]
|
||||
}
|
||||
|
||||
export type ManagementResponse = {
|
||||
|
||||
Reference in New Issue
Block a user