add missing types for extensions (#12952)

* add mising types for extensions

* add missing type
This commit is contained in:
Alexandre Alves 2025-01-06 12:01:07 +00:00 committed by GitHub
parent cfd00889aa
commit e6bb53eadd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 16 additions and 1 deletions

View File

@ -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