move overall stats to its own service file

This commit is contained in:
iamBadgers
2024-06-08 12:20:49 -07:00
parent fa17f77e5b
commit 9a20bfb8c8
5 changed files with 149 additions and 123 deletions

View File

@@ -1,5 +1,30 @@
import { Sequelize, Model, DataTypes } from 'sequelize'
export type RoleName =
| 'Fixer'
| 'Tech'
| 'Medtech'
| 'Media'
| 'Netrunner'
| 'Solo'
| 'Nomad'
| 'Exec'
| 'Lawman'
| 'Rocker'
export const roleNames: RoleName[] = [
'Fixer',
'Tech',
'Medtech',
'Media',
'Netrunner',
'Solo',
'Nomad',
'Exec',
'Lawman',
'Rocker'
]
const databasePath = './testdb.db'
export const database = new Sequelize({