Skip to content

Commit 2a65c3a

Browse files
authored
Merge pull request #181 from authzed/170-fix-client-typing
Add new bulk functions to list of stream endpoints
2 parents 0afb31e + 9a1664e commit 2a65c3a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/v1.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,8 +201,9 @@ class ZedPromiseClient implements ProxyHandler<ZedPromiseClientInterface> {
201201
'lookupResources',
202202
'lookupSubjects',
203203
'bulkExportRelationships',
204+
'exportBulkRelationships',
204205
]);
205-
private writableStreamMethods = new Set(['bulkImportRelationships']);
206+
private writableStreamMethods = new Set(['bulkImportRelationships', 'importBulkRelationships']);
206207

207208
constructor(client: ZedDefaultClientInterface) {
208209
this.client = client;

0 commit comments

Comments
 (0)