File tree Expand file tree Collapse file tree
packages/ui-extensions-server-kit/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ ' @shopify/ui-extensions-server-kit ' : minor
3+ ---
4+
5+ Added supportedFeatures to ExtensionPayload
Original file line number Diff line number Diff line change @@ -54,6 +54,7 @@ export function mockExtension(obj: DeepPartial<ExtensionPayload> = {}): Extensio
5454 // in a generalized, non-surprising way
5555 extensionPoints : obj . extensionPoints as any ,
5656 capabilities : obj . capabilities as any ,
57+ supportedFeatures : obj . supportedFeatures as any ,
5758 localization : obj . localization as any ,
5859 authenticatedRedirectStartUrl : obj . authenticatedRedirectStartUrl as any ,
5960 authenticatedRedirectRedirectUrls : obj . authenticatedRedirectRedirectUrls as any ,
Original file line number Diff line number Diff line change @@ -143,6 +143,7 @@ export interface ExtensionPayload {
143143 handle : string
144144 extensionPoints : ExtensionPoints
145145 capabilities ?: Capabilities
146+ supportedFeatures : ExtensionSupportedFeatures
146147 authenticatedRedirectStartUrl ?: string
147148 authenticatedRedirectRedirectUrls ?: string [ ]
148149 localization ?: FlattenedLocalization | Localization | null
@@ -158,6 +159,10 @@ export interface ExtensionPayload {
158159 }
159160}
160161
162+ export interface ExtensionSupportedFeatures {
163+ offlineMode : boolean
164+ }
165+
161166export enum Status {
162167 Success = 'success' ,
163168}
You can’t perform that action at this time.
0 commit comments