WInners Voucher
This commit is contained in:
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user