@@ -65,7 +65,7 @@ export type CommandFormData = {
6565 pageAlert : PageAlertData | null ;
6666} ;
6767export type CommandResponseData =
68- | { action : "link" ; link : string }
68+ | { action : "link" ; link : string ; openInNewTab : boolean }
6969 | { action : "info" ; message : string ; reload : boolean }
7070 | { action : "refresh" ; items ?: Array < { [ key : string ] : any } > }
7171 | { action : "reload" }
@@ -140,9 +140,6 @@ export type EmbedFormData = {
140140 fields : { [ key : string ] : FormFieldData } ;
141141 layout : FormLayoutData | null ;
142142} ;
143- export type EmbeddedFieldAuthorizationsData = {
144- view : boolean ;
145- } ;
146143export type EntityListAuthorizationsData = {
147144 create : boolean ;
148145 reorder : boolean ;
@@ -811,7 +808,7 @@ export type ShowDashboardFieldData = {
811808 dashboardKey : string ;
812809 hiddenCommands : Array < string > ;
813810 endpointUrl : string ;
814- authorizations : EmbeddedFieldAuthorizationsData ;
811+ authorizations : ShowFieldAuthorizationsData ;
815812 label : string | null ;
816813 hiddenFilters : { [ key : string ] : any } | null ;
817814} ;
@@ -838,10 +835,13 @@ export type ShowEntityListFieldData = {
838835 showSearchField : boolean ;
839836 showCount : boolean ;
840837 endpointUrl : string ;
841- authorizations : EmbeddedFieldAuthorizationsData ;
838+ authorizations : ShowFieldAuthorizationsData ;
842839 label : string | null ;
843840 hiddenFilters : { [ key : string ] : any } | null ;
844841} ;
842+ export type ShowFieldAuthorizationsData = {
843+ view : boolean ;
844+ } ;
845845export type ShowFieldData =
846846 | ShowDashboardFieldData
847847 | ShowEntityListFieldData
0 commit comments