Skip to content

Regression: Types not exposed #201

Open
@mgagliardo91

Description

@mgagliardo91

The change located at https://github.com/authzed/authzed-node/pull/197/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519R16-R26 led to a break in our usage, as the types are no longer accessible at the previous location.

In our typescript application, we are importing the generated types such as:

import {
  CheckPermissionRequest,
  CheckPermissionResponse,
  CheckPermissionResponse_Permissionship,
  LookupResourcesRequest,
  Relationship,
  RelationshipFilter,
  RelationshipUpdate,
} from '@authzed/authzed-node/dist/src/v1'

With the change that was put in place, these types are no longer accessible via the package exports. I am unsure how to access them at all, in fact.

Any ideas on how we can bump to the latest version with the change that was previously deployed?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions