App Bridge types
The types used on the App Bridge pages, and every type they reference, from @shopify/app-bridge-types 0.7.5. polaris-vue-elements/app-bridge re-exports the ones the package exports. The descriptions are Shopify's own JSDoc, in English.
Pages
- Authentication and data:
AppApi,AppBridgeConfig,EnvironmentApi,IdTokenApi,Scopes,UserApi - User interface and interactions:
IntentsApi,LoadingApi,ModalApi,PickerApi,ResourcePickerApi,ReviewsApi,SaveBarApi,SidekickApi,SupportApi,ToastApi,Tools - Device and platform integration:
PosApi,ScannerApi,WebVitalsApi - Elements and attributes:
SAppWindowAttributes,SAppWindowElement,UIModalElement,UINavMenuAttributes - Other APIs and types:
AppEventsApi,ShopifyQLApi
ShopifyGlobal
config: AppBridgeConfig
Not described in the types.
origin: string
Not described in the types.
ready: Promise<void>
Not described in the types.
setSignals(RealSignal: any): void
Registers a signals implementation (e.g. from @preact/signals) so that reactive values returned by App Bridge use the app's own Signal class instead of the built-in lightweight shim. Any signals created before this call are migrated to the provided implementation.
environment: EnvironmentApi
Not described in the types.
loading: LoadingApi
Not described in the types.
idToken: IdTokenApi
Not described in the types.
user: UserApi
Not described in the types.
toast: ToastApi
Not described in the types.
resourcePicker: ResourcePickerApi
Not described in the types.
scanner: ScannerApi
Not described in the types.
modal: ModalApi
Not described in the types.
saveBar: SaveBarApi
Not described in the types.
pos: PosApi
Not described in the types.
intents: IntentsApi
Not described in the types.
webVitals: WebVitalsApi
Not described in the types.
support: SupportApi
Not described in the types.
reviews: ReviewsApi
Not described in the types.
appEvents: AppEventsApi
Emits app events for the app's Dev Dashboard.
scopes: Scopes
Not described in the types.
picker: PickerApi
Not described in the types.
app: AppApi
Not described in the types.
shopifyQL: ShopifyQLApi
Not described in the types.
sidekick: SidekickApi
Start Sidekick conversations for the merchant from your app.
shopify.sidekick is always defined, but its methods reject when Sidekick isn't available to the app, for example in the Shopify mobile app or on a store without Sidekick. Feature-detect with isEnabled() and treat a rejection as unavailable.
tools: Tools
Entry point for Shopify tools.
Enables apps to bind runtime handler functions for tools already declared in app extension configuration, which can be invoked by the platform on behalf of the app. Registered tools are scoped to the current app and persist for the lifetime of the app or until explicitly removed.
Used in: useAppBridge()
A–Z index
A
C
I
P
R
S
SAppWindowAttributesSAppWindowElement_SAppWindowElementSaveBarApi_SaveBarApiScannerApiScannerPayloadScopeScopesScopesDetailScopesRequestResponseScopesRevokeResponseSelectPayloadShopifyGlobalSHOPIFYQL_AVAILABLE_STATUSSHOPIFYQL_MISSING_PERMISSIONS_STATUSSHOPIFYQL_SERVER_ERROR_STATUSShopifyQLApiShopifyQLStatusSidekickApiSidekickConversationSidekickLaunchRequestSuccessIntentResponseSupportApiSupportCallback
T
U