@neo4j/graphql-ogm
Version:
GraphQL powered OGM for Neo4j and Javascript applications
31 lines • 699 B
TypeScript
import type { Integer } from "neo4j-driver";
/**
* Whats returned when deleting nodes
*/
export interface DeleteInfo {
nodesDeleted: number;
relationshipsDeleted: number;
}
export interface GraphQLSortArg {
[field: string]: "ASC" | "DESC";
}
/**
* Representation of the options arg
* passed to resolvers.
*/
export interface GraphQLOptionsArg {
limit?: number | Integer;
offset?: number | Integer;
sort?: GraphQLSortArg[];
}
/**
* Representation of the where arg
* passed to resolvers.
*/
export interface GraphQLWhereArg {
[k: string]: any;
AND?: GraphQLWhereArg[];
OR?: GraphQLWhereArg[];
NOT?: GraphQLWhereArg;
}
//# sourceMappingURL=types.d.ts.map