UNPKG

@terabits/grapi

Version:

Grapi Schema Generator For GraphQL Server

12 lines (11 loc) 663 B
import { Model } from '../dataModel'; export { default as BiOneToOneRelation } from './biOneToOne'; export { default as ManyToManyRelation } from './manyToMany'; export { default as OneToManyRelation } from './oneToMany'; export { default as UniToOneRelation } from './uniToOne'; export declare const InputMultipleFields: (fieldOne: any, fieldTo: any, fieldName: any) => void; export declare const InputRecursiveRelation: (rootData: any, nextRelation: Model, context: any, execution?: (data: any) => Promise<any> | undefined) => Promise<{ rootData: Record<string, any>; createdData: Record<string, any>; executed: Record<string, any> | undefined; }>;