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
14
frontend/src/api/entities/api-token.ts
Normal file
14
frontend/src/api/entities/api-token.ts
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
export interface ApiToken {
|
||||
id: string;
|
||||
description: string;
|
||||
prefix: string;
|
||||
createdAt: string;
|
||||
revokedAt: string | null;
|
||||
}
|
||||
|
||||
export interface NewApiToken {
|
||||
id: string;
|
||||
description: string;
|
||||
token: string;
|
||||
createdAt: string;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue