feat: migration api keys to use kysely (#15206)

This commit is contained in:
Jason Rasmussen
2025-01-10 14:02:12 -05:00
committed by GitHub
parent 3030e74fc3
commit 930f979960
9 changed files with 151 additions and 107 deletions

9
server/src/types.ts Normal file
View File

@@ -0,0 +1,9 @@
import { UserEntity } from 'src/entities/user.entity';
import { Permission } from 'src/enum';
export type AuthApiKey = {
id: string;
key: string;
user: UserEntity;
permissions: Permission[];
};