Build fixes
This commit is contained in:
parent
be835c7759
commit
fc3eb1f7d9
6 changed files with 6 additions and 8 deletions
|
|
@ -3,7 +3,7 @@ import { IAppConfig } from "@digiresilience/metamigo-config";
|
|||
import { postgraphile, HttpRequestHandler } from "postgraphile";
|
||||
import { getPostGraphileOptions } from "@digiresilience/metamigo-db";
|
||||
|
||||
export interface HapiPostgraphileOptions {}
|
||||
export interface HapiPostgraphileOptions { }
|
||||
|
||||
const PostgraphilePlugin: Hapi.Plugin<HapiPostgraphileOptions> = {
|
||||
name: "postgraphilePlugin",
|
||||
|
|
@ -29,7 +29,7 @@ const PostgraphilePlugin: Hapi.Plugin<HapiPostgraphileOptions> = {
|
|||
};
|
||||
}
|
||||
},
|
||||
}
|
||||
} as any
|
||||
);
|
||||
|
||||
server.route({
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
"use client";
|
||||
|
||||
import { FC, useEffect, PropsWithChildren } from "react";
|
||||
import { FC, useEffect } from "react";
|
||||
import { CircularProgress, Typography, Grid } from "@mui/material";
|
||||
import { signIn, signOut, getSession } from "next-auth/react";
|
||||
import { useLogin, useTranslate } from "react-admin";
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
import { Layout as RaLayout, LayoutProps, Sidebar } from "react-admin";
|
||||
import AppBar from "./AppBar";
|
||||
import Menu from "./Menu";
|
||||
import { Menu } from "./Menu";
|
||||
import { theme } from "./themes";
|
||||
|
||||
const CustomSidebar = (props: any) => <Sidebar {...props} size={200} />;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
const languages = {
|
||||
const languages = {
|
||||
languages: [
|
||||
{ id: "arb", name: "Arabic" },
|
||||
{ id: "cy-GB", name: "Welsh" },
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
export default function Page() {
|
||||
return null;
|
||||
return undefined;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,12 +12,10 @@ import * as pino from "pino";
|
|||
|
||||
declare module "@hapi/hapi" {
|
||||
interface Server {
|
||||
// @ts-expect-error
|
||||
logger: pino.Logger;
|
||||
}
|
||||
|
||||
interface Request {
|
||||
// @ts-expect-error
|
||||
logger: pino.Logger;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue