mirror of
https://github.com/frappe/books.git
synced 2024-12-22 02:49:03 +00:00
feat: add modal names type
This commit is contained in:
parent
70e69e623d
commit
4637dd5518
@ -8,15 +8,18 @@ export type ItemSerialNumbers = { [item: string]: string };
|
||||
|
||||
export type DiscountType = 'percent' | 'amount';
|
||||
|
||||
export type ModalName =
|
||||
| 'Keyboard'
|
||||
| 'Payment'
|
||||
| 'ShiftClose'
|
||||
| 'LoyaltyProgram'
|
||||
| 'SavedInvoice'
|
||||
| 'Alert'
|
||||
| 'CouponCode'
|
||||
| 'PriceList';
|
||||
export const modalNames = [
|
||||
'Keyboard',
|
||||
'Payment',
|
||||
'ShiftClose',
|
||||
'LoyaltyProgram',
|
||||
'SavedInvoice',
|
||||
'Alert',
|
||||
'CouponCode',
|
||||
'PriceList',
|
||||
] as const;
|
||||
|
||||
export type ModalName = typeof modalNames[number];
|
||||
|
||||
export type PosEmits =
|
||||
| 'addItem'
|
||||
|
Loading…
Reference in New Issue
Block a user