Skip to content

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

Merged
vctrchu merged 1 commit into
2026-07-rcfrom
vchu/pos-app-background-methods-docs
Jul 7, 2026
Merged

docs(pos): expose app background event methods#4569
vctrchu merged 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
@vctrchu vctrchu merged commit 23d5bfb into 2026-07-rc Jul 7, 2026
6 of 8 checks passed
@vctrchu vctrchu self-assigned this Jul 7, 2026
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.

2 participants