2
0
mirror of https://github.com/frappe/books.git synced 2024-12-22 19:09:01 +00:00

feat: define types for POS emits

This commit is contained in:
AbleKSaju 2024-11-27 12:45:39 +05:30
parent 8d74236d37
commit 126d8b571d

View File

@ -17,6 +17,20 @@ export type ModalName =
| 'Alert'
| 'CouponCode';
export type PosEmits =
| 'addItem'
| 'toggleView'
| 'toggleModal'
| 'setCashAmount'
| 'setCouponsCount'
| 'routeToSinvList'
| 'setTransferRefNo'
| 'setLoyaltyPoints'
| 'setTransferAmount'
| 'createTransaction'
| 'selectedInvoiceName'
| 'setTransferClearanceDate';
export interface POSItem {
id?: number;
image?: string;