ofpos-shared-core 2.0.0-alpha.2 → 2.0.0-alpha.4

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.
@@ -5,6 +5,7 @@
5
5
  import { PosCore } from './PosCore';
6
6
  import { IBomService } from './services/bomService';
7
7
  import { ICategoryService } from './services/categoryService';
8
+ import { ICheckoutComputationService } from './services/checkoutComputationService';
8
9
  import { ICustomerService } from './services/customerService';
9
10
  import { ICustomerGroupService } from './services/customerGroupService';
10
11
  import { IHistoryService } from './services/historyService';
@@ -53,6 +54,7 @@ import type { ServiceRuntimeOptions } from './services/runtimeSupport';
53
54
  export type DomainServicesOverride = {
54
55
  bomService: IBomService;
55
56
  categoryService: ICategoryService;
57
+ checkoutComputationService: ICheckoutComputationService;
56
58
  customerService: ICustomerService;
57
59
  customerGroupService: ICustomerGroupService;
58
60
  historyService: IHistoryService;
@@ -102,6 +104,7 @@ export declare class DomainServices {
102
104
  private context;
103
105
  bom: IBomService;
104
106
  category: ICategoryService;
107
+ checkoutComputation: ICheckoutComputationService;
105
108
  customer: ICustomerService;
106
109
  customerGroup: ICustomerGroupService;
107
110
  history: IHistoryService;
@@ -9,4 +9,5 @@ export interface MigrationStep {
9
9
  toVersion: number;
10
10
  up(adapter: DbAdapter): Promise<void>;
11
11
  }
12
+ export declare const POS_SCHEMA_VERSION = 3;
12
13
  export declare const migrations: MigrationStep[];