Knub 30 conversion base work; Work on Utility plugin Knub 30 conversion
This commit is contained in:
parent
1bf5a7fa28
commit
d62a4e26ae
18 changed files with 585 additions and 324 deletions
12
backend/src/plugins/Utility/commands/SearchCmd.ts
Normal file
12
backend/src/plugins/Utility/commands/SearchCmd.ts
Normal file
|
@ -0,0 +1,12 @@
|
|||
import { utilityCmd } from "../types";
|
||||
import { baseTypeHelpers as t } from "knub";
|
||||
|
||||
export const SearchCmd = utilityCmd(
|
||||
["search", "s"],
|
||||
{
|
||||
query: t.string({ catchAll: true }),
|
||||
|
||||
},
|
||||
{},
|
||||
() => {}
|
||||
);
|
Loading…
Add table
Add a link
Reference in a new issue