@sanity/dashboard

6.0.206.0.21
dist/index.d.ts
~dist/index.d.tsModified
+10−10
Index: package/dist/index.d.ts
===================================================================
--- package/dist/index.d.ts
+++ package/dist/index.d.ts
@@ -1,19 +1,19 @@
 import "@sanity/ui/styles.css";
 import { ComponentClass, ComponentType, FunctionComponent } from "react";
-interface DashboardWidget {
+export interface DashboardWidget {
   name: string;
   type?: '__experimental_group';
   component: FunctionComponent<any> | ComponentClass<any>;
   layout?: LayoutConfig;
   widgets?: DashboardWidget[];
 }
-type LayoutSize = 'auto' | 'small' | 'medium' | 'large' | 'full';
-interface LayoutConfig {
+export type LayoutSize = 'auto' | 'small' | 'medium' | 'large' | 'full';
+export interface LayoutConfig {
   width?: LayoutSize;
   height?: LayoutSize;
 }
-interface DashboardConfig {
+export interface DashboardConfig {
   widgets: DashboardWidget[];
   layout?: LayoutConfig;
 }
 interface DashboardWidgetProps {
@@ -21,16 +21,16 @@
   children: React.ReactNode;
   footer?: React.ReactNode;
   ref?: React.Ref<HTMLDivElement>;
 }
-declare function DashboardWidgetContainer(props: DashboardWidgetProps): import("react").JSX.Element;
-declare function projectInfoWidget(config?: {
+export declare function DashboardWidgetContainer(props: DashboardWidgetProps): import("react").JSX.Element;
+export declare function projectInfoWidget(config?: {
   layout?: LayoutConfig;
 }): DashboardWidget;
-declare function projectUsersWidget(config?: {
+export declare function projectUsersWidget(config?: {
   layout?: LayoutConfig;
 }): DashboardWidget;
-declare function sanityTutorialsWidget(config?: {
+export declare function sanityTutorialsWidget(config?: {
   layout?: LayoutConfig;
 }): DashboardWidget;
 interface DashboardPluginConfig {
   /**
@@ -50,7 +50,7 @@
    * Will be used for widgets that do not define a layout directly.
    */
   defaultLayout?: LayoutConfig;
 }
-declare const dashboardTool: import("sanity").Plugin<DashboardPluginConfig>;
-export { DashboardConfig, type DashboardPluginConfig, DashboardWidget, DashboardWidgetContainer, LayoutConfig, LayoutSize, dashboardTool, projectInfoWidget, projectUsersWidget, sanityTutorialsWidget };
+export declare const dashboardTool: import("sanity").Plugin<DashboardPluginConfig>;
+export type { DashboardPluginConfig };
 //# sourceMappingURL=index.d.ts.map
\ No newline at end of file