-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Description
While starting work on a new project that is using weaviate I noticed that the WeaviateClass can only be imported from deep inside the package. And then aren't available to import due to the export rules
import { WeaviateClass } from "weaviate-client/dist/node/esm/openapi/types.js";
import { WeaviateClass } from "weaviate-client/dist/node/cjs/openapi/types.js";This type is exposed on the createFromSchema method of the Collections interface.
https://github.com/weaviate/typescript-client/blob/main/src/collections/index.ts#L153
Please export public types, we have had to mirror this type in our own code base - which could allow for drift we don't mean.
TY
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels