Skip to content

docs(pos): expose app background event methods#4569

Open
vctrchu wants to merge 1 commit into
2026-07-rcfrom
vchu/pos-app-background-methods-docs
Open

docs(pos): expose app background event methods#4569
vctrchu wants to merge 1 commit into
2026-07-rcfrom
vchu/pos-app-background-methods-docs

Conversation

@vctrchu

@vctrchu vctrchu commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

What

Adds a docs-only Docs_AppBackgroundEventMethods interface that picks addEventListener and removeEventListener from BackgroundShopifyGlobal, then regenerates the POS docs data.

Why

These methods live on the shopify global for app background extensions. They aren't a named target API, so the docs need a named type to render the methods without changing DataTargetApi or the target support mapping.

Testing

  • yarn type-check
  • yarn lint
  • git diff --check

@vctrchu vctrchu marked this pull request as draft July 7, 2026 16:56
Assisted-By: devx/8cc1b236-8bf2-4f7a-b219-2778dd2786b4
@vctrchu vctrchu force-pushed the vchu/pos-app-background-methods-docs branch from 85752d9 to 6c36f83 Compare July 7, 2026 16:57
@vctrchu vctrchu marked this pull request as ready for review July 7, 2026 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant