mirror of
https://github.com/apricote/Listory.git
synced 2026-01-13 21:21:02 +00:00
feat(frontend): manage API tokens in Frontend
This commit is contained in:
parent
d0ca2b967e
commit
ac0f9ff5d3
13 changed files with 484 additions and 33 deletions
7
src/auth/dto/api-token.dto.ts
Normal file
7
src/auth/dto/api-token.dto.ts
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
export interface ApiTokenDto {
|
||||
id: string;
|
||||
description: string;
|
||||
prefix: string;
|
||||
createdAt: Date;
|
||||
revokedAt: Date | null;
|
||||
}
|
||||
6
src/auth/dto/new-api-token.dto.ts
Normal file
6
src/auth/dto/new-api-token.dto.ts
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
export interface NewApiTokenDto {
|
||||
id: string;
|
||||
description: string;
|
||||
token: string;
|
||||
createdAt: Date;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue