@posx/core 5.5.311 → 5.5.313

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 CHANGED
@@ -1118,14 +1118,14 @@ declare module '@posx/core/services/app.service' {
1118
1118
  * Changes the sequence of an item for a given service or item list.
1119
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
- * @param sequence - The new sequence number for the item.
1121
+ * @param targetIndex - The target array index (0-based) to move the item to.
1122
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> | T[], item: T, sequence: number): Promise<T[]>;
1124
+ changeSequence<T extends IAppCoreModel & IAppModelSequence>(service: IAppRemoteService<T> | T[], item: T, targetIndex: 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> | T[], item: T, sequence: number): Promise<T[]>;
1128
+ changeSequence<T extends IAppCoreModel & IAppModelSequence>(service: IAppRemoteService<T> | T[], item: T, targetIndex: number): Promise<T[]>;
1129
1129
  }
1130
1130
  /**
1131
1131
  * Represents the interface for the App Report Service.
@@ -3502,6 +3502,7 @@ declare module '@posx/core/types/menu.type' {
3502
3502
  meta: Record<string, any>;
3503
3503
  category_uids: string[];
3504
3504
  online_order_expiry_in_minutes: number;
3505
+ online_order_session_expiry_in_minutes: number;
3505
3506
  }
3506
3507
  export class Menu extends AppBaseModel implements IMenu {
3507
3508
  uid: string;
@@ -3509,6 +3510,7 @@ declare module '@posx/core/types/menu.type' {
3509
3510
  meta: {};
3510
3511
  category_uids: any[];
3511
3512
  online_order_expiry_in_minutes: number;
3513
+ online_order_session_expiry_in_minutes: number;
3512
3514
  }
3513
3515
 
3514
3516
  }