/** * Common types used throughout the database engine. * * Platform-agnostic types come from brightchain-lib's own interfaces. * Storage/query types come from @digitaldefiance/suite-core-lib. * * This barrel provides a single import point for all db-related types. */ export type { BsonDocument, DocumentId, FieldSchema, ValidationFieldError, } from '../interfaces/storage/documentTypes'; export type { AggregationStage, BulkWriteOperation, BulkWriteOptions, BulkWriteResult, ChangeEvent, ChangeEventType, ChangeListener, ClientSession, CollectionOptions, CollectionSchema, CollectionSchemaFieldType, CursorSession, DeleteResult, FilterOperator, FilterQuery, FindOptions, IClientSession, IndexOptions, InsertManyResult, InsertOneResult, LogicalOperators, ProjectionSpec, ReadPreference, ReplaceResult, SortSpec, TextIndexOptions, UpdateOperators, UpdateOptions, UpdateQuery, UpdateResult, WriteConcern, WriteOptions, } from '@digitaldefiance/suite-core-lib'; /** * Index specification: 1 = ascending, -1 = descending, 'text' = text index * This extends the base type from suite-core-lib to support text indexes. */ export type IndexSpec = Record; //# sourceMappingURL=types.d.ts.map