From d5d5fd6f77f2d778ab099d52f1acaad762712822 Mon Sep 17 00:00:00 2001 From: IRONM00N <64110067+IRONM00N@users.noreply.github.com> Date: Fri, 4 Feb 2022 14:08:09 -0500 Subject: explicit member accessibility & jsdocs & typings --- src/lib/models/shared/Global.ts | 3 +++ src/lib/models/shared/Shared.ts | 3 +++ src/lib/models/shared/Stat.ts | 3 +++ 3 files changed, 9 insertions(+) (limited to 'src/lib/models/shared') diff --git a/src/lib/models/shared/Global.ts b/src/lib/models/shared/Global.ts index 6dfc36f..b1aa0cc 100644 --- a/src/lib/models/shared/Global.ts +++ b/src/lib/models/shared/Global.ts @@ -19,6 +19,9 @@ export interface GlobalModelCreationAttributes { blacklistedChannels?: Snowflake[]; } +/** + * Data specific to a certain instance of the bot. + */ export class Global extends BaseModel implements GlobalModel { /** * The bot's environment. diff --git a/src/lib/models/shared/Shared.ts b/src/lib/models/shared/Shared.ts index 642ff85..4d13011 100644 --- a/src/lib/models/shared/Shared.ts +++ b/src/lib/models/shared/Shared.ts @@ -24,6 +24,9 @@ export interface SharedModelCreationAttributes { autoBanCode?: string; } +/** + * Data shared between all bot instances. + */ export class Shared extends BaseModel implements SharedModel { /** * The primary key of the shared model. diff --git a/src/lib/models/shared/Stat.ts b/src/lib/models/shared/Stat.ts index 8f77b58..d138620 100644 --- a/src/lib/models/shared/Stat.ts +++ b/src/lib/models/shared/Stat.ts @@ -14,6 +14,9 @@ export interface StatModelCreationAttributes { commandsUsed?: bigint; } +/** + * Statistics for each instance of the bot. + */ export class Stat extends BaseModel implements StatModel { /** * The bot's environment. -- cgit