Tipos do App Bridge
Os tipos usados nas páginas do App Bridge, e todos os tipos a que eles fazem referência, de @shopify/app-bridge-types 0.7.5. polaris-vue-elements/app-bridge reexporta os que o pacote exporta. As descrições são o próprio JSDoc da Shopify, em inglês.
Páginas
- Autenticação e dados:
AppApi,AppBridgeConfig,EnvironmentApi,IdTokenApi,Scopes,UserApi - Interface do usuário e interações:
IntentsApi,LoadingApi,ModalApi,PickerApi,ResourcePickerApi,ReviewsApi,SaveBarApi,SidekickApi,SupportApi,ToastApi,Tools - Integração com dispositivos e plataformas:
PosApi,ScannerApi,WebVitalsApi - Elementos e atributos:
SAppWindowAttributes,SAppWindowElement,UIModalElement,UINavMenuAttributes - Outras APIs e tipos:
AppEventsApi,ShopifyQLApi
ShopifyGlobal
config: AppBridgeConfig
Não descrito nos tipos.
origin: string
Não descrito nos tipos.
ready: Promise<void>
Não descrito nos tipos.
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
Não descrito nos tipos.
loading: LoadingApi
Não descrito nos tipos.
idToken: IdTokenApi
Não descrito nos tipos.
user: UserApi
Não descrito nos tipos.
toast: ToastApi
Não descrito nos tipos.
resourcePicker: ResourcePickerApi
Não descrito nos tipos.
scanner: ScannerApi
Não descrito nos tipos.
modal: ModalApi
Não descrito nos tipos.
saveBar: SaveBarApi
Não descrito nos tipos.
pos: PosApi
Não descrito nos tipos.
intents: IntentsApi
Não descrito nos tipos.
webVitals: WebVitalsApi
Não descrito nos tipos.
support: SupportApi
Não descrito nos tipos.
reviews: ReviewsApi
Não descrito nos tipos.
appEvents: AppEventsApi
Emits app events for the app's Dev Dashboard.
scopes: Scopes
Não descrito nos tipos.
picker: PickerApi
Não descrito nos tipos.
app: AppApi
Não descrito nos tipos.
shopifyQL: ShopifyQLApi
Não descrito nos tipos.
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.
Usado em: useAppBridge()
Índice A–Z
A
C
I
P
R
S
SAppWindowAttributesSAppWindowElement_SAppWindowElementSaveBarApi_SaveBarApiScannerApiScannerPayloadScopeScopesScopesDetailScopesRequestResponseScopesRevokeResponseSelectPayloadShopifyGlobalSHOPIFYQL_AVAILABLE_STATUSSHOPIFYQL_MISSING_PERMISSIONS_STATUSSHOPIFYQL_SERVER_ERROR_STATUSShopifyQLApiShopifyQLStatusSidekickApiSidekickConversationSidekickLaunchRequestSuccessIntentResponseSupportApiSupportCallback
T
U