mirror of
https://github.com/umami-software/umami.git
synced 2026-02-07 14:17:13 +01:00
Converted user and website settings.
This commit is contained in:
parent
4c24e54fdd
commit
b5c6194f36
59 changed files with 363 additions and 554 deletions
|
|
@ -1,10 +1,18 @@
|
|||
import { buildUrl } from '@/lib/url';
|
||||
|
||||
export interface ErrorResponse {
|
||||
error: {
|
||||
status: number;
|
||||
message: string;
|
||||
code?: string;
|
||||
};
|
||||
}
|
||||
|
||||
export interface FetchResponse {
|
||||
ok: boolean;
|
||||
status: number;
|
||||
data?: any;
|
||||
error?: any;
|
||||
error?: ErrorResponse;
|
||||
}
|
||||
|
||||
export async function request(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue