From face7926be2d4b217e580e710ca5252248e634a2 Mon Sep 17 00:00:00 2001 From: germanocaumo Date: Mon, 4 May 2026 14:37:18 -0300 Subject: [PATCH] fix(icons): missing PluginIconType in AppsGallery extensible area --- src/extensible-areas/apps-gallery-item/component.ts | 3 ++- src/extensible-areas/apps-gallery-item/types.ts | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/extensible-areas/apps-gallery-item/component.ts b/src/extensible-areas/apps-gallery-item/component.ts index 72735d64..ceb0745d 100644 --- a/src/extensible-areas/apps-gallery-item/component.ts +++ b/src/extensible-areas/apps-gallery-item/component.ts @@ -1,5 +1,6 @@ import { AppsGalleryType } from './enums'; import { AppsGalleryInterface, AppsGalleryItemProps } from './types'; +import { PluginIconType } from '../common/icon'; export class AppsGalleryEntry implements AppsGalleryInterface { id: string = ''; @@ -8,7 +9,7 @@ export class AppsGalleryEntry implements AppsGalleryInterface { type: AppsGalleryType = AppsGalleryType.ENTRY; - icon: string = ''; + icon: PluginIconType = ''; dataTest: string; diff --git a/src/extensible-areas/apps-gallery-item/types.ts b/src/extensible-areas/apps-gallery-item/types.ts index 580f339e..c7a56964 100644 --- a/src/extensible-areas/apps-gallery-item/types.ts +++ b/src/extensible-areas/apps-gallery-item/types.ts @@ -1,5 +1,6 @@ import { PluginProvidedUiItemDescriptor } from '../base'; import { AppsGalleryType } from './enums'; +import { PluginIconType } from '../common/icon'; export interface AppsGalleryInterface extends PluginProvidedUiItemDescriptor { type: AppsGalleryType; @@ -8,7 +9,7 @@ export interface AppsGalleryInterface extends PluginProvidedUiItemDescriptor { export interface AppsGalleryItemProps { id?: string; name: string; - icon: string; + icon: PluginIconType; dataTest?: string; onClick: () => void; }