Skip to content

Commit

Permalink
fix: Upgraded API (#188)
Browse files Browse the repository at this point in the history
  • Loading branch information
JigarJoshi authored Dec 20, 2022
1 parent 7261e62 commit 98d2581
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api/proto
Submodule proto updated from d9d260 to 9aac84
4 changes: 3 additions & 1 deletion src/__tests__/test-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,9 @@ export class TestTigrisService {
}
}

public impl: ITigrisServer = {
public impl: {
deleteBranch(call: ServerUnaryCall<DeleteBranchRequest, DeleteBranchResponse>, callback: sendUnaryData<DeleteBranchResponse>): void; read(call: ServerWritableStream<ReadRequest, ReadResponse>): void; describeDatabase(call: ServerUnaryCall<DescribeDatabaseRequest, DescribeDatabaseResponse>, callback: sendUnaryData<DescribeDatabaseResponse>): void; replace(call: ServerUnaryCall<ReplaceRequest, ReplaceResponse>, callback: sendUnaryData<ReplaceResponse>): void; rollbackTransaction(call: ServerUnaryCall<RollbackTransactionRequest, RollbackTransactionResponse>, callback: sendUnaryData<RollbackTransactionResponse>): void; insert(call: ServerUnaryCall<InsertRequest, InsertResponse>, callback: sendUnaryData<InsertResponse>): void; update(call: ServerUnaryCall<UpdateRequest, UpdateResponse>, callback: sendUnaryData<UpdateResponse>): void; createProject(call: ServerUnaryCall<CreateProjectRequest, CreateProjectResponse>, callback: sendUnaryData<CreateProjectResponse>): void; listProjects(call: ServerUnaryCall<ListProjectsRequest, ListProjectsResponse>, callback: sendUnaryData<ListProjectsResponse>): void; delete(call: ServerUnaryCall<DeleteRequest, DeleteResponse>, callback: sendUnaryData<DeleteResponse>): void; describeCollection(_call: ServerUnaryCall<DescribeCollectionRequest, DescribeCollectionResponse>, _callback: sendUnaryData<DescribeCollectionResponse>): void; search(call: ServerWritableStream<SearchRequest, SearchResponse>): void; createOrUpdateCollection(call: ServerUnaryCall<CreateOrUpdateCollectionRequest, CreateOrUpdateCollectionResponse>, callback: sendUnaryData<CreateOrUpdateCollectionResponse>): void; beginTransaction(call: ServerUnaryCall<BeginTransactionRequest, BeginTransactionResponse>, callback: sendUnaryData<BeginTransactionResponse>): void; commitTransaction(call: ServerUnaryCall<CommitTransactionRequest, CommitTransactionResponse>, callback: sendUnaryData<CommitTransactionResponse>): void; dropCollection(call: ServerUnaryCall<DropCollectionRequest, DropCollectionResponse>, callback: sendUnaryData<DropCollectionResponse>): void; deleteProject(call: ServerUnaryCall<DeleteProjectRequest, DeleteProjectResponse>, callback: sendUnaryData<DeleteProjectResponse>): void; createBranch(call: ServerUnaryCall<CreateBranchRequest, CreateBranchResponse>, callback: sendUnaryData<CreateBranchResponse>): void; listCollections(call: ServerUnaryCall<ListCollectionsRequest, ListCollectionsResponse>, callback: sendUnaryData<ListCollectionsResponse>): void
} = {
createBranch(
call: ServerUnaryCall<CreateBranchRequest, CreateBranchResponse>,
callback: sendUnaryData<CreateBranchResponse>
Expand Down

0 comments on commit 98d2581

Please sign in to comment.