@luminix/mui-cms 0.2.8 → 0.2.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/types/dist.d.ts
CHANGED
|
@@ -28,3 +28,4 @@ import { default as Icon } from './facades/Icon';
|
|
|
28
28
|
import { default as Filter } from './facades/Filter';
|
|
29
29
|
export { CmsServiceProvider, i18NextServiceProvider, LuminixCms, Link, Cms, Filter, Icon, useActionEvent, useBackButton, useCurrentModel, useDialog, useDisplaceNotifications, useHandleError, useHasSearch, useIsDesktopMode, useLayoutConfig, useMenu, useNotify, usePageTitle, useSearch, useSelection, useSetPageTitle, useTable, DialogProvider, LayoutProvider, ModelProvider, NotificationProvider, TableProvider, };
|
|
30
30
|
export type { RouteObject, } from './types/Reducers';
|
|
31
|
+
export type { InstanceAction, StaticAction, MassAction, ActionCallbackEvent, InstanceActionCallbackEvent, MassActionCallbackEvent, Column, } from './types/Table';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ModelType as Model } from '@luminix/core';
|
|
2
2
|
import { RouteObject as BaseRouteObject } from 'react-router-dom';
|
|
3
3
|
export type ComponentMapReducer = (components: Record<string, React.FunctionComponent>) => Record<string, React.FunctionComponent>;
|
|
4
|
-
export type RouteObject = BaseRouteObject & {
|
|
4
|
+
export type RouteObject = Omit<BaseRouteObject, 'children'> & {
|
|
5
5
|
name?: string;
|
|
6
6
|
children?: RouteObject[];
|
|
7
7
|
};
|