mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-17 16:24:25 +08:00
migrate services.js to ts
This commit is contained in:
@@ -1,5 +1,14 @@
|
||||
import type { UserBasicInfo } from './user.ts';
|
||||
|
||||
export const TOKEN_CLI_USER_AGENT: string = 'ezbookkeeping Cli';
|
||||
|
||||
export interface TokenRefreshResponse {
|
||||
readonly newToken?: string;
|
||||
readonly oldTokenId?: string;
|
||||
readonly user: UserBasicInfo;
|
||||
readonly notificationContent?: string;
|
||||
}
|
||||
|
||||
export interface TokenInfoResponse {
|
||||
readonly tokenId: string;
|
||||
readonly tokenType: number;
|
||||
|
||||
Reference in New Issue
Block a user