fix: properly deprecate payloadSchemaValidation template configuration
[e-mobility-charging-stations-simulator.git] / src / types / Storage.ts
index c20bef20ecbc77864d10eb3f8249f65056335732..afb29e8267fc6d1943e6e0f3a2d8b990d32f00fd 100644 (file)
@@ -1,9 +1,18 @@
+import type { Configuration } from '@mikro-orm/core';
+
+export type MikroOrmDbType = keyof typeof Configuration.PLATFORMS;
+
 export enum StorageType {
   JSON_FILE = 'jsonfile',
-  MONGO_DB = 'mongodb'
+  MONGO_DB = 'mongodb',
+  MYSQL = 'mysql',
+  MARIA_DB = 'mariadb',
+  SQLITE = 'sqlite',
 }
 
-export enum DBType {
-  MONGO_DB = 'MongoDB'
+export enum DBName {
+  MONGO_DB = 'MongoDB',
+  MYSQL = 'MySQL',
+  MARIA_DB = 'MariaDB',
+  SQLITE = 'SQLite',
 }
-