aboutsummaryrefslogtreecommitdiff
path: root/src/lib/models/Stat.ts
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-11-01 15:40:31 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-11-01 15:40:31 -0400
commit13894f2beffc776a56ac03868613b4313dfb57bf (patch)
tree028c229b42c2a74a3c511386f594385d3ed77dd5 /src/lib/models/Stat.ts
parent914c4d3cb7f02a0c74b677e67a47fb66a65fb724 (diff)
downloadtanzanite-13894f2beffc776a56ac03868613b4313dfb57bf.tar.gz
tanzanite-13894f2beffc776a56ac03868613b4313dfb57bf.tar.bz2
tanzanite-13894f2beffc776a56ac03868613b4313dfb57bf.zip
convert to esm
Diffstat (limited to 'src/lib/models/Stat.ts')
-rw-r--r--src/lib/models/Stat.ts8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/lib/models/Stat.ts b/src/lib/models/Stat.ts
index a6e8f19..c5f02b8 100644
--- a/src/lib/models/Stat.ts
+++ b/src/lib/models/Stat.ts
@@ -1,6 +1,8 @@
-import { DataTypes, type Sequelize } from 'sequelize';
-import { BaseModel } from './BaseModel';
-import { jsonBigint } from './__helpers';
+import { type Sequelize } from 'sequelize';
+import { BaseModel } from './BaseModel.js';
+import { jsonBigint } from './__helpers.js';
+
+const { DataTypes } = (await import('sequelize')).default
type Environment = 'production' | 'development' | 'beta';