@unly/ra-data-graphql-prisma
Version:
A react-admin data provider for Prisma Server
12 lines (11 loc) • 316 B
TypeScript
import { IntrospectionSchema, IntrospectionType } from 'graphql';
export interface Resource {
type: IntrospectionType;
[key: string]: any;
}
export interface IntrospectionResult {
types: IntrospectionType[];
queries: IntrospectionType[];
resources: Resource[];
schema: IntrospectionSchema;
}