-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add pos.cart.update.event.observe
event type
#2608
Add pos.cart.update.event.observe
event type
#2608
Conversation
f676039
to
0775542
Compare
pos.cart update.event.observe
event typepos.cart.update.event.observe
event type
… `CartUpdateInput`
71c2e3d
to
4643bf8
Compare
import {BaseInput} from './BaseInput'; | ||
import {Cart} from '../../api'; | ||
|
||
export interface CartUpdateEventInput extends BaseInput { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
export interface CartUpdateEventInput extends BaseInput { | |
export interface CartUpdatetInput extends BaseInput { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is a name collision with a pre-existing CartUpdateInput
related to bulk cart updates. So both cannot be ultimately exported from the package. See 4643bf8 for reference. With that context do you suggest another alternative name?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a small comment on the input type def
@@ -52,6 +52,7 @@ Refer to the [migration guide](/docs/api/pos-ui-extensions/migrating) for more i | |||
- Added support for cash tracking session. ${TargetLink.PosCashTrackingSessionStartObserve}, ${TargetLink.PosCashTrackingSessionCancelObserve}, ${TargetLink.PosCashTrackingSessionCompleteObserve} targets. | |||
- Added support for the ${TargetLink.PosPrepareReceiptInject} target. | |||
- Added support for adding custom lines to receipts. ${TargetLink.PosPrepareReceiptInject} target. | |||
- Added support for adding custom lines to receipts. ${TargetLink.PosCartUpdateObserve} target. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this sentence better reflect PosCartUpdateObserve
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😂, of course! Looks like I missed a spot from a copy/paste. Addressed in d3cdc1d.
Background
Related Issue: https://github.com/Shopify/retail-hq-store-management/issues/725
Related GSD Project: POS Channel: Add event-initiated extension targets to allow EU partners to build fiscalization compliance Extensions for POS App
This PR provides support for the
pos.cart-update.event.observe
event targetSolution
pos.cart-update.event.observe
pos.cart-update.event.observe
Checklist