Skip to content

Commit

Permalink
Merge pull request #181 from authzed/170-fix-client-typing
Browse files Browse the repository at this point in the history
Add new bulk functions to list of stream endpoints
  • Loading branch information
tstirrat15 authored Nov 13, 2024
2 parents 0afb31e + 9a1664e commit 2a65c3a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,9 @@ class ZedPromiseClient implements ProxyHandler<ZedPromiseClientInterface> {
'lookupResources',
'lookupSubjects',
'bulkExportRelationships',
'exportBulkRelationships',
]);
private writableStreamMethods = new Set(['bulkImportRelationships']);
private writableStreamMethods = new Set(['bulkImportRelationships', 'importBulkRelationships']);

constructor(client: ZedDefaultClientInterface) {
this.client = client;
Expand Down

0 comments on commit 2a65c3a

Please sign in to comment.