| Server IP : 13.235.167.51 / Your IP : 216.73.217.116 Web Server : Apache System : Linux machinox-server 6.17.0-1013-aws #13~24.04.1-Ubuntu SMP Fri Apr 24 21:36:58 UTC 2026 aarch64 User : root ( 0) PHP Version : 8.2.29 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/control.machinox.in/src/components/ |
Upload File : |
export interface Access {
can_read?: number;
can_delete?: number;
can_create?: number;
can_update?: number;
can_has_view_access?: number;
}
export interface Address {
address: string;
id: string | null | "";
}
export interface UserList {
uuid: string;
name: string;
email: string;
dial_code: string;
mobile_number: string;
role_name?: string;
status: string;
created_at: string;
updated_by?: string;
added_by?: string;
display_number?: string
}
export interface StoreList {
uuid: string;
order_uuid?: string;
store_name: string;
description: string;
dial_code: string;
mobile_number: string;
status: string;
}
export interface ProductList {
uuid: string;
name: string;
description: string;
category_name: string;
photo: string;
base_price: string;
status: string;
}
export interface UserFormData {
id?: string;
name: string;
password?: string;
email: string;
role_id?: string;
dial_code: string;
country_code: string;
mobile_number: string;
// user_type: string;
status: string;
// address?:string;
}
export interface StoreFormData {
store_name: string;
has_auto_accepted?: any;
has_auto_approve_table_reservation?: any;
description?: string | null;
mobile_number: string;
email: string;
dial_code: string;
no_of_people: any;
country_code: string;
address_line_1: string | null;
address_line_2: string | null;
city: string | null;
state: string | null;
zip_code: string | null;
full_address: string | null;
license_no: string | null;
longitude: any | null;
latitude: any | null;
status: string;
}
export interface ProductFormData {
id?: string;
name: string;
description?: string;
product_vat?: any;
sku?: number;
type?: string;
reward_point?: number;
slug?: string;
dietary_information?: string | null;
base_price: number | null;
category_id: number;
sub_category_id?: string | null;
is_veg?: number | null;
search_tags?: string | null;
expiry_date?: string | null;
display_order?: string | null;
status: string;
}
export interface RolesDropDown {
label: string;
id: number;
}
export interface CategoryDropDown {
label: string;
id: number;
}
export interface StoreDropDown {
label: string;
id: number;
}
export interface PasswordInput {
old_password?: string;
password: string;
confirm_password?: string;
}
export interface AdminPasswordInput {
old_password?: string;
new_password: string;
confirm_password?: string;
}
export interface CMSList {
sr_no: string;
id: number;
code: string;
url: string;
}
export interface CMSFormData {
content: string;
code: string;
}
export interface RoleList {
role: string;
id: number;
status: string;
is_editable: string;
}
export interface Role {
role_name: string;
}
export interface CategoryStruct {
id?: number;
title: string;
description: string;
photo: string;
}
export interface BannerList {
id?: number;
store_name: string;
photo: string;
}
export interface NotificationList {
id?: number;
title: string;
description: string;
image: string;
}
export interface CategoryFormData {
id?: ""
title: string;
description: string;
sub_categories?: [];
}
export interface BannerFormData {
id?: ""
url?: string;
store_id: any;
status: string;
}
export interface SubCategoryFormData {
title: string;
description: string;
}
export interface ImagePreview {
id?: number | null;
mode?: string | null;
url: string;
file?: File | null;
deleteUrl?: string;
}
export interface Subscription {
name: string;
price: string;
additional_price: string;
duration_in_days: string;
}