Skip to content

Commit

Permalink
export additional types for documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
austin-denoble committed Sep 14, 2023
1 parent 762e9aa commit 3673f24
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
7 changes: 6 additions & 1 deletion src/data/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@ export type {
RecordMetadataValue,
} from './types';
export { PineconeConfigurationSchema } from './types';
export type { DeleteManyOptions } from './deleteMany';
export type {
DeleteManyOptions,
DeleteManyByFilterOptions,
DeleteManyByVectorIdOptions,
} from './deleteMany';
export type { DeleteOneOptions } from './deleteOne';
export type {
DescribeIndexStatsOptions,
Expand All @@ -41,6 +45,7 @@ export type {
QueryByVectorValues,
QueryOptions,
QueryResponse,
QueryShared,
} from './query';

export class Index<T extends RecordMetadata = RecordMetadata> {
Expand Down
2 changes: 1 addition & 1 deletion src/data/query.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const QueryByVectorValues = Type.Object(

const QuerySchema = Type.Union([QueryByRecordId, QueryByVectorValues]);

type QueryShared = {
export type QueryShared = {
topK: number;
includeValues?: boolean;
includeMetadata?: boolean;
Expand Down
3 changes: 3 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ export type {
PartialCollectionDescription,
} from './control';
export type {
DeleteManyByFilterOptions,
DeleteManyByVectorIdOptions,
DeleteManyOptions,
DeleteOneOptions,
DescribeIndexStatsOptions,
Expand All @@ -36,6 +38,7 @@ export type {
QueryByVectorValues,
QueryOptions,
QueryResponse,
QueryShared,
RecordId,
RecordMetadata,
RecordMetadataValue,
Expand Down

0 comments on commit 3673f24

Please sign in to comment.