diff options
| author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-08-20 23:07:02 -0400 |
|---|---|---|
| committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-08-20 23:07:02 -0400 |
| commit | b81f9e8b73cb520ad5ae916c3e571ea55f4ca489 (patch) | |
| tree | 25d7f42d66c3e3190022ece043c86082a9e85709 /lib/models/shared | |
| parent | f2e5cfff7dc275bd93fac446a508b7d18ecd6c58 (diff) | |
| download | tanzanite-b81f9e8b73cb520ad5ae916c3e571ea55f4ca489.tar.gz tanzanite-b81f9e8b73cb520ad5ae916c3e571ea55f4ca489.tar.bz2 tanzanite-b81f9e8b73cb520ad5ae916c3e571ea55f4ca489.zip | |
fix ts composite shit, replace got with native fetch, update deps
Diffstat (limited to 'lib/models/shared')
| -rw-r--r-- | lib/models/shared/Global.ts | 3 | ||||
| -rw-r--r-- | lib/models/shared/Shared.ts | 3 | ||||
| -rw-r--r-- | lib/models/shared/Stat.ts | 3 |
3 files changed, 3 insertions, 6 deletions
diff --git a/lib/models/shared/Global.ts b/lib/models/shared/Global.ts index b1aa0cc..eb6c5dd 100644 --- a/lib/models/shared/Global.ts +++ b/lib/models/shared/Global.ts @@ -1,7 +1,6 @@ import { type Snowflake } from 'discord.js'; -import { type Sequelize } from 'sequelize'; +import { DataTypes, type Sequelize } from 'sequelize'; import { BaseModel } from '../BaseModel.js'; -const { DataTypes } = (await import('sequelize')).default; export interface GlobalModel { environment: 'production' | 'development' | 'beta'; diff --git a/lib/models/shared/Shared.ts b/lib/models/shared/Shared.ts index dec77d1..bf8d461 100644 --- a/lib/models/shared/Shared.ts +++ b/lib/models/shared/Shared.ts @@ -1,8 +1,7 @@ import { Snowflake } from 'discord.js'; -import type { Sequelize } from 'sequelize'; +import { DataTypes, Sequelize } from 'sequelize'; import { BadWords } from '../../automod/AutomodShared.js'; import { BaseModel } from '../BaseModel.js'; -const { DataTypes } = (await import('sequelize')).default; export interface SharedModel { primaryKey: 0; diff --git a/lib/models/shared/Stat.ts b/lib/models/shared/Stat.ts index 8e2e0b3..bce1620 100644 --- a/lib/models/shared/Stat.ts +++ b/lib/models/shared/Stat.ts @@ -1,6 +1,5 @@ -import { type Sequelize } from 'sequelize'; +import { DataTypes, type Sequelize } from 'sequelize'; import { BaseModel } from '../BaseModel.js'; -const { DataTypes } = (await import('sequelize')).default; type Environment = 'production' | 'development' | 'beta'; |
