userdefined api-keys

This commit is contained in:
Felix Kaspar
2024-06-01 15:11:32 +02:00
parent 28862d70ca
commit a884268d97
11 changed files with 92 additions and 47 deletions

View File

@@ -5,7 +5,8 @@ const sequelize = new Sequelize("sqlite::memory:", {
logging: import.meta.env.VITE_SEQUELIZE_LOGGING === "True" ? console.log : false
});
import { User, AccessRule, APIKey, Password } from "../auth/user/user-model";
import { User, AccessRule, Password } from "../auth/user/user-model";
import { APIKey } from "../auth/apikey/apikey-model";
User.init(
{