Skip to content

Commit ef2ecc8

Browse files
authored
[ENH] Export types from chroma crate (#5676)
## Description of changes For ergonomics, export every type referenced by the chroma::collection crate from chroma::types::*. ## Test plan CI ## Migration plan N/A ## Observability plan N/A ## Documentation Changes N/A
1 parent ed1b2bf commit ef2ecc8

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

rust/chroma/src/types.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,9 @@
11
pub use chroma_api_types::{GetUserIdentityResponse, HeartbeatResponse};
2+
3+
pub use chroma_types::{
4+
plan::SearchPayload, AddCollectionRecordsRequest, AddCollectionRecordsResponse, Collection,
5+
DeleteCollectionRecordsRequest, DeleteCollectionRecordsResponse, ForkCollectionRequest,
6+
GetRequest, GetResponse, IncludeList, InternalSchema, Metadata, QueryRequest, QueryResponse,
7+
SearchRequest, SearchResponse, UpdateCollectionRecordsRequest, UpdateCollectionRecordsResponse,
8+
UpdateMetadata, UpsertCollectionRecordsRequest, UpsertCollectionRecordsResponse, Where,
9+
};

0 commit comments

Comments
 (0)