mirror of https://github.com/rancher/dashboard.git
add missing types for extensions (#12952)
* add mising types for extensions * add missing type
This commit is contained in:
parent
cfd00889aa
commit
e6bb53eadd
|
|
@ -237,6 +237,16 @@ export interface ProductOptions {
|
|||
*/
|
||||
to?: PluginRouteRecordRaw;
|
||||
|
||||
/**
|
||||
* Alternative to the icon property. Uses require
|
||||
*/
|
||||
svg?: Function;
|
||||
|
||||
/**
|
||||
* Product name
|
||||
*/
|
||||
name?: string;
|
||||
|
||||
/**
|
||||
* Leaving these here for completeness but I don't think these should be advertised as useable to plugin creators.
|
||||
*/
|
||||
|
|
@ -383,10 +393,15 @@ export interface ConfigureVirtualTypeOptions extends ConfigureTypeOptions {
|
|||
*/
|
||||
ifHaveType?: string | RegExp | Object;
|
||||
|
||||
/**
|
||||
* The label that this type should display
|
||||
*/
|
||||
label?: string;
|
||||
|
||||
/**
|
||||
* The translation key displayed anywhere this type is referenced
|
||||
*/
|
||||
labelKey: string;
|
||||
labelKey?: string;
|
||||
|
||||
/**
|
||||
* An identifier that should be unique across all types
|
||||
|
|
|
|||
Loading…
Reference in New Issue