Skip to content

Commit

Permalink
add mising types for extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
aalves08 committed Dec 26, 2024
1 parent 3135635 commit eb709c0
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion shell/core/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,11 @@ export interface ProductOptions {
*/
to?: PluginRouteRecordRaw;

/**
* Alternative to the icon property. Uses require
*/
svg?: Function;

/**
* Leaving these here for completeness but I don't think these should be advertised as useable to plugin creators.
*/
Expand Down Expand Up @@ -383,10 +388,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
Expand Down

0 comments on commit eb709c0

Please sign in to comment.