chore: dont export them as they're part of the unstable API, just reference inline for now

Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
blam
2022-06-29 13:48:17 +02:00
parent 6ecafa9d3b
commit 9d0db13c22
4 changed files with 8 additions and 14 deletions
+2 -2
View File
@@ -259,10 +259,10 @@ export interface EntityLayoutProps {
children?: React_2.ReactNode;
// (undocumented)
NotFoundComponent?: React_2.ReactNode;
// Warning: (ae-forgotten-export) The symbol "contextMenuOptions" needs to be exported by the entry point index.d.ts
// Warning: (ae-forgotten-export) The symbol "EntityContextMenuOptions" needs to be exported by the entry point index.d.ts
//
// (undocumented)
UNSTABLE_contextMenuOptions?: contextMenuOptions;
UNSTABLE_contextMenuOptions?: EntityContextMenuOptions;
// Warning: (ae-forgotten-export) The symbol "ExtraContextMenuItem" needs to be exported by the entry point index.d.ts
//
// (undocumented)
@@ -144,8 +144,9 @@ interface ExtraContextMenuItem {
type VisibleType = 'visible' | 'hidden' | 'disable';
// NOTE(blam): Intentionally not exported at this point, since it's part of
// unstable context menu option, eg: disable the unregister entity menu
export interface EntityContextMenuOptions {
interface EntityContextMenuOptions {
disableUnregister: boolean | VisibleType;
}
@@ -15,8 +15,4 @@
*/
export { EntityLayout } from './EntityLayout';
export type {
EntityLayoutProps,
EntityLayoutRouteProps,
EntityContextMenuOptions,
} from './EntityLayout';
export type { EntityLayoutProps, EntityLayoutRouteProps } from './EntityLayout';