Skip to content

Commit

Permalink
Docs
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanJolly committed Dec 17, 2024
1 parent 08a8d4e commit 358facf
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import type {ReferenceEntityTemplateSchema} from '@shopify/generate-docs';
import {generateCodeBlock} from '../helpers/generateCodeBlock';
import {ExtensionTargetType} from '../types/ExtensionTargetType';

const data: ReferenceEntityTemplateSchema = {
name: ExtensionTargetType.PosCustomerDetailsActionMenuItemRender,
description: 'An event extension target that observes completed checkouts',
category: 'Targets',
isVisualComponent: false,
related: [],
type: 'Target',
};

export default data;
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ Refer to the [migration guide](/docs/api/pos-ui-extensions/migrating) for more i
- Added [PrintApi](/docs/api/pos-ui-extensions/apis/print-api) and a [PrintPreview](/docs/api/pos-ui-extensions/components/printpreview) component.
- Added \`currency\` prop to the [SessionApi](/docs/api/pos-ui-extensions/apis/session-api).
- Added the 'pos.purchase-complete.observe' target.
- [Cart API](/docs/api/pos-ui-extensions/apis/cart-api) updates:
- \`addLineItem\` and \`addCustomSale\` now return a UUID for the created item.
`,
Expand Down

0 comments on commit 358facf

Please sign in to comment.