summaryrefslogtreecommitdiff
path: root/src/containers/Service/ServiceContext.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/containers/Service/ServiceContext.tsx')
-rw-r--r--src/containers/Service/ServiceContext.tsx3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/containers/Service/ServiceContext.tsx b/src/containers/Service/ServiceContext.tsx
index f9e1605..68ff907 100644
--- a/src/containers/Service/ServiceContext.tsx
+++ b/src/containers/Service/ServiceContext.tsx
@@ -6,12 +6,15 @@ export interface PanelProps {
mutate: (item: any) => void;
}
+type Route = Record<string, React.FC>;
+
export interface ServiceParams {
route: string;
name: string;
nameSingular: string;
tableFields: any[];
default: Record<string, any>;
+ routes?: Route[];
Form?: React.FC<FormikProps>;
Panel?: React.FC<PanelProps>;
}