@commitspark/graphql-api
Version:
GraphQL API to store and manage structured data with Git
6 lines • 555 B
TypeScript
import { Entry, GitAdapter } from '@commitspark/git-adapter';
export declare function getTypeById(gitAdapter: GitAdapter, commitHash: string, id: string): Promise<string>;
export declare function findById(gitAdapter: GitAdapter, commitHash: string, id: string): Promise<Entry>;
export declare function findByType(gitAdapter: GitAdapter, commitHash: string, type: string): Promise<Entry[]>;
export declare function findByTypeId(gitAdapter: GitAdapter, commitHash: string, type: string, id: string): Promise<Entry>;
//# sourceMappingURL=persistence.d.ts.map