Skip to content

Commit

Permalink
update BaseInput to BaseMetaInput.
Browse files Browse the repository at this point in the history
  • Loading branch information
fatbattk committed Jan 24, 2025
1 parent 747718d commit 6da9857
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
import type {ConnectivityState, Device, Session} from '../../../point-of-sale';

export interface BaseInput {
// meta-type data that's automatically included by POS.
export interface BaseMetaInput {
connectivity: ConnectivityState;
device: Device;
locale: string;
session: Session;
}

// required input by all event targets.
export interface BaseInput {}
2 changes: 1 addition & 1 deletion packages/ui-extensions/src/surfaces/point-of-sale/input.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export type {BaseInput} from './event/input/BaseInput';
export type {BaseInput, BaseMetaInput} from './event/input/BaseInput';
export type {TransactionCompleteInput} from './event/input/TransactionCompleteInput';

export type {Device} from './types/device';

0 comments on commit 6da9857

Please sign in to comment.