Fix build errors
This commit is contained in:
parent
785d0965e3
commit
d0f1c1337c
28 changed files with 268 additions and 112 deletions
|
|
@ -1,7 +1,7 @@
|
|||
import pgDataProvider from "ra-postgraphile";
|
||||
import schema from "./graphql-schema.json";
|
||||
|
||||
export const metamigoDataProvider = async (client) => {
|
||||
export const metamigoDataProvider = async (client: any) => {
|
||||
const graphqlDataProvider = await pgDataProvider(
|
||||
client,
|
||||
// @ts-expect-error: Missing property
|
||||
|
|
@ -9,7 +9,7 @@ export const metamigoDataProvider = async (client) => {
|
|||
{ introspection: { schema: schema.data.__schema } }
|
||||
);
|
||||
|
||||
const dataProvider = async (type, resource, params) => {
|
||||
const dataProvider = async (type: any, resource: any, params: any) => {
|
||||
return graphqlDataProvider(type, resource, params);
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue