refactor: api key spec to use factories (#16776)

This commit is contained in:
Jason Rasmussen
2025-03-10 12:04:35 -04:00
committed by GitHub
parent fe959b2f05
commit e97df503f2
9 changed files with 150 additions and 82 deletions

View File

@@ -29,6 +29,15 @@ export type AuthApiKey = {
permissions: Permission[];
};
export type ApiKey = {
id: string;
name: string;
userId: string;
createdAt: Date;
updatedAt: Date;
permissions: Permission[];
};
export type User = {
id: string;
name: string;