mirror of
https://github.com/immich-app/immich
synced 2025-10-17 18:19:27 +00:00
feat: migration api keys to use kysely (#15206)
This commit is contained in:
parent
3030e74fc3
commit
930f979960
9 changed files with 151 additions and 107 deletions
9
server/src/types.ts
Normal file
9
server/src/types.ts
Normal 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[];
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue