@minimaltech/ra-infra
Version:
Minimal Technology ReactJS Infrastructure
16 lines (15 loc) • 506 B
TypeScript
import { Context } from '@loopback/context';
import { Store } from '@reduxjs/toolkit';
import { AdminProps, ResourceProps } from 'react-admin';
import { RouteProps } from 'react-router-dom';
export interface IApplication extends Omit<AdminProps, 'children'> {
context: Context;
enableDebug?: boolean;
reduxStore: Store;
suspense: React.ReactNode;
resources: Array<ResourceProps>;
customRoutes?: {
layout?: React.ReactNode | null;
routes: Array<RouteProps>;
};
}