@posx/core 5.5.308 → 5.5.309
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/index.d.ts +5 -8
- package/build/index.js +1 -1
- package/package.json +1 -1
- package/package.publish.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -1115,17 +1115,17 @@ declare module '@posx/core/services/app.service' {
|
|
|
1115
1115
|
*/
|
|
1116
1116
|
calibrateSequence<T extends IAppCoreModel & IAppModelSequence>(service: IAppRemoteService<T>): Promise<void>;
|
|
1117
1117
|
/**
|
|
1118
|
-
* Changes the sequence of an item for a given service.
|
|
1119
|
-
* @param service - The service to change the sequence for.
|
|
1118
|
+
* Changes the sequence of an item for a given service or item list.
|
|
1119
|
+
* @param service - The service to change the sequence for, or an array of items.
|
|
1120
1120
|
* @param item - The item to change the sequence of.
|
|
1121
1121
|
* @param sequence - The new sequence number for the item.
|
|
1122
|
-
* @returns A promise that resolves with the updated
|
|
1122
|
+
* @returns A promise that resolves with the array of items that were updated.
|
|
1123
1123
|
*/
|
|
1124
|
-
changeSequence<T extends IAppCoreModel & IAppModelSequence>(service: IAppRemoteService<T
|
|
1124
|
+
changeSequence<T extends IAppCoreModel & IAppModelSequence>(service: IAppRemoteService<T> | T[], item: T, sequence: number): Promise<T[]>;
|
|
1125
1125
|
}
|
|
1126
1126
|
export class AppMiscService implements IAppMiscService {
|
|
1127
1127
|
calibrateSequence<T extends IAppCoreModel & IAppModelSequence>(service: IAppRemoteService<T>): Promise<void>;
|
|
1128
|
-
changeSequence<T extends IAppCoreModel & IAppModelSequence>(service: IAppRemoteService<T
|
|
1128
|
+
changeSequence<T extends IAppCoreModel & IAppModelSequence>(service: IAppRemoteService<T> | T[], item: T, sequence: number): Promise<T[]>;
|
|
1129
1129
|
}
|
|
1130
1130
|
/**
|
|
1131
1131
|
* Represents the interface for the App Report Service.
|
|
@@ -2696,8 +2696,6 @@ declare module '@posx/core/types/config.type' {
|
|
|
2696
2696
|
hide_categories_when_ordering: boolean;
|
|
2697
2697
|
/** Flag to end shift with open tables */
|
|
2698
2698
|
end_shift_with_open_tables: boolean;
|
|
2699
|
-
/** Flag to show original amount on table display instead of rounded amount */
|
|
2700
|
-
show_original_amount_on_table: boolean;
|
|
2701
2699
|
}
|
|
2702
2700
|
export class OrderConfig implements IOrderConfig {
|
|
2703
2701
|
separation_line: boolean;
|
|
@@ -2709,7 +2707,6 @@ declare module '@posx/core/types/config.type' {
|
|
|
2709
2707
|
hide_combo_item_on_interactive_view: boolean;
|
|
2710
2708
|
hide_categories_when_ordering: boolean;
|
|
2711
2709
|
end_shift_with_open_tables: boolean;
|
|
2712
|
-
show_original_amount_on_table: boolean;
|
|
2713
2710
|
constructor();
|
|
2714
2711
|
}
|
|
2715
2712
|
export interface IPaymentConfig {
|