File tree Expand file tree Collapse file tree 3 files changed +14
-5
lines changed 
packages/ui-extensions/src/surfaces/admin Expand file tree Collapse file tree 3 files changed +14
-5
lines changed Original file line number Diff line number Diff line change 1+ --- 
2+ ' @shopify/ui-extensions ' patch 
3+ --- 
4+ 
5+ Add app home target
Original file line number Diff line number Diff line change 1- import  { StandardComponents }  from  './StandardComponents ' ; 
1+ import  { FormExtensionComponents }  from  './FormExtensionComponents ' ; 
22
3- export  type  BlockExtensionComponents  = 
4-   |  StandardComponents 
5-   |  'AdminBlock' 
6-   |  'Form' ; 
3+ export  type  BlockExtensionComponents  =  FormExtensionComponents  |  'AdminBlock' ; 
74
85export  default  BlockExtensionComponents ; 
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ import type {
1212  DiscountFunctionSettingsApi , 
1313  CustomerSegmentTemplateApi , 
1414  CustomerSegmentTemplate , 
15+   StandardApi , 
1516}  from  './api' ; 
1617import  { 
1718  ShouldRenderApi , 
@@ -21,6 +22,7 @@ import type {BlockExtensionComponents} from './components/BlockExtensionComponen
2122import  type  { ActionExtensionComponents }  from  './components/ActionExtensionComponents' ; 
2223import  type  { PrintActionExtensionComponents }  from  './components/PrintActionExtensionComponents' ; 
2324import  type  { FunctionSettingsComponents }  from  './components/FunctionSettingsComponents' ; 
25+ import  { FormExtensionComponents }  from  './components/FormExtensionComponents' ; 
2426
2527export  interface  ExtensionTargets  { 
2628  /** 
@@ -725,6 +727,11 @@ export interface ExtensionTargets {
725727    ShouldRenderApi < 'admin.product-index.selection-print-action.should-render' > , 
726728    ShouldRenderOutput 
727729  > ; 
730+ 
731+   'admin.app.home.render' : RenderExtension < 
732+     StandardApi < 'admin.app.home.render' > , 
733+     FormExtensionComponents 
734+   > ; 
728735} 
729736
730737export  type  ExtensionTarget  =  keyof  ExtensionTargets ; 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments