mirror of
https://github.com/frappe/books.git
synced 2024-12-22 10:58:59 +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 DiscountType = 'percent' | 'amount';
|
||||||
|
|
||||||
export type ModalName =
|
export const modalNames = [
|
||||||
| 'Keyboard'
|
'Keyboard',
|
||||||
| 'Payment'
|
'Payment',
|
||||||
| 'ShiftClose'
|
'ShiftClose',
|
||||||
| 'LoyaltyProgram'
|
'LoyaltyProgram',
|
||||||
| 'SavedInvoice'
|
'SavedInvoice',
|
||||||
| 'Alert'
|
'Alert',
|
||||||
| 'CouponCode'
|
'CouponCode',
|
||||||
| 'PriceList';
|
'PriceList',
|
||||||
|
] as const;
|
||||||
|
|
||||||
|
export type ModalName = typeof modalNames[number];
|
||||||
|
|
||||||
export type PosEmits =
|
export type PosEmits =
|
||||||
| 'addItem'
|
| 'addItem'
|
||||||
|
Loading…
Reference in New Issue
Block a user