fix: widget type not exported from core (#23416)

This commit is contained in:
markkaylor 2025-04-24 10:41:40 +02:00 committed by GitHub
parent 76f429d635
commit 0abebb3869
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View File

@ -68,6 +68,7 @@ export type {
Entity,
} from '../../shared/contracts/shared';
export type { RBACContext, RBACMiddleware } from './core/apis/rbac';
export type { Widget as WidgetType } from './core/apis/Widgets';
/**
* Utils

View File

@ -14,7 +14,7 @@ import { useStrapiApp } from '../../features/StrapiApp';
import { LastEditedWidget, LastPublishedWidget } from './components/ContentManagerWidgets';
import { GuidedTour } from './components/GuidedTour';
import type { Widget as WidgetType } from 'src/core/apis/Widgets';
import type { WidgetType } from '@strapi/admin/strapi-admin';
/* -------------------------------------------------------------------------------------------------
* WidgetRoot