WInners Voucher

This commit is contained in:
Aditya Siregar
2025-09-13 16:06:49 +07:00
parent 5de78cb78f
commit fb6e2571a5
3 changed files with 677 additions and 458 deletions
+23
View File
@@ -0,0 +1,23 @@
export interface Voucher {
voucher_code: string
name: string
phone_number: string
is_winner: boolean
}
export interface VoucherRow {
row_number: number
vouchers: Voucher[]
}
export interface VoucherRowsResponse {
rows: VoucherRow[]
total_rows: number
total_vouchers: number
}
export interface VoucherApiResponse {
success: boolean
data: VoucherRowsResponse
errors: any
}