feat: initial admin panel

This commit is contained in:
2026-02-19 22:13:11 +03:30
parent 70efff0dfd
commit 9aff48019d
50 changed files with 9604 additions and 1 deletions
+45
View File
@@ -0,0 +1,45 @@
export interface PackageName {
id: number;
name: string | null;
title: string | null;
image: string | null | File | any;
v1_identifier: string | null;
uuid: string;
created_at: string;
updated_at: string;
cafe_config_id: number | null;
myket_access_token: string | null;
web_app_url: string | null;
tries: number | null;
}
export interface CreatePackageData {
name: string;
title: string;
avatar?: File | null;
v1_identifier?: string | null;
myket_access_token?: string | null;
cafe_config_id?: number | null;
web_app_url?: string | null;
tries?: number;
firebase_json?: File | null;
}
export interface UpdatePackageData {
name?: string;
title?: string;
avatar?: File | null;
v1_identifier?: string | null;
myket_access_token?: string | null;
cafe_config_id?: number | null;
web_app_url?: string | null;
tries?: number;
firebase_json?: File | null;
_method?: string; // For Laravel method spoofing
}
export interface ApiResponse<T> {
data: T;
message?: string;
status?: number;
}