Update to Knub 29. Set up config types for Knub.
This commit is contained in:
parent
3e974e84b3
commit
94ef7b8ee0
6 changed files with 28 additions and 6 deletions
14
backend/src/types.ts
Normal file
14
backend/src/types.ts
Normal file
|
@ -0,0 +1,14 @@
|
|||
import { IGlobalConfig, IGuildConfig, Knub } from "knub";
|
||||
|
||||
// Remove this tslint exception once there are properties in the interface
|
||||
// tslint:disable-next-line
|
||||
export interface IZeppelinGuildConfig extends IGuildConfig {
|
||||
// To fill
|
||||
}
|
||||
|
||||
export interface IZeppelinGlobalConfig extends IGlobalConfig {
|
||||
url: string;
|
||||
owners?: string[];
|
||||
}
|
||||
|
||||
export type TZeppelinKnub = Knub<IZeppelinGuildConfig, IZeppelinGlobalConfig>;
|
Loading…
Add table
Add a link
Reference in a new issue