release: 1.1.0
TallyNote release / linux-x64 (push) Successful in 6m24s

This commit is contained in:
Qiufeng
2026-08-31 20:11:34 +08:00
parent cbe0d65320
commit 12495fb6a4
66 changed files with 4315 additions and 77 deletions
+41
View File
@@ -0,0 +1,41 @@
export type AdminStatus = "active" | "disabled";
export interface Admin {
id: string;
username: string;
displayName: string;
status: AdminStatus;
mustChangePassword: boolean;
version: number;
createdAt: number;
lastLoginAt: number | null;
disabledAt: number | null;
}
export interface AuthStatus {
initialized: boolean;
timezone: string;
}
export interface AuthResponse {
admin: Admin;
}
export interface LoginCredentials {
username: string;
password: string;
}
export interface ChangePasswordInput {
currentPassword: string;
newPassword: string;
}
export interface ApiErrorBody {
error?: {
code?: string;
message?: string;
requestId?: string;
details?: unknown;
};
}