GraphClient is an GraphQL abstraction layer between Nexus Graph and database that store graph data.

interface GraphClient {
    deleteGraphById(graphId): Promise<Graph>;
    getGraphById(graphId): Promise<Graph>;
    getGraphListMetaDataByUserId(userId): Promise<GraphMetaData[]>;
    saveOrUpdate(graph): Promise<Graph>;
}

Implemented by

Methods

Generated using TypeDoc