Skip to content

Commit

Permalink
refactor: export all interfaces from file as is (#267)
Browse files Browse the repository at this point in the history
  • Loading branch information
viladimiru authored Dec 25, 2024
1 parent 39476d3 commit b53b152
Showing 1 changed file with 1 addition and 38 deletions.
39 changes: 1 addition & 38 deletions src/autocomplete/databases/mongo/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,44 +8,7 @@ import {
extractStatementPositionsFromQuery,
} from '../../shared/extract-statement-positions-from-query';

export {
extractMongoCommandsFromQuery,
ParsingError as CommandsParsingError,
UnexpectedError as UnexpectedCommandsParsingError,
FindModifier,
ExtractMongoCommandsFromQueryResult,
Command,
CollectionFindCommand,
CollectionFindOneCommand,
CollectionFindOneAndDeleteCommand,
CollectionFindOneAndReplaceCommand,
CollectionFindOneAndUpdateCommand,
CollectionInsertOneCommand,
CollectionInsertManyCommand,
CollectionBulkWriteCommand,
CollectionUpdateOneCommand,
CollectionUpdateManyCommand,
CollectionReplaceOneCommand,
CollectionDeleteOneCommand,
CollectionDeleteManyCommand,
CollectionRenameCommand,
CollectionDropCommand,
CollectionIsCappedCommand,
CollectionCreateIndexCommand,
CollectionCreateIndexesCommand,
CollectionDropIndexCommand,
CollectionDropIndexesCommand,
CollectionListIndexesCommand,
CollectionIndexesCommand,
CollectionIndexExistsCommand,
CollectionIndexInformationCommand,
CollectionEstimatedDocumentCountCommand,
CollectionCountDocumentsCommand,
CollectionDistinctCommand,
CollectionAggregateCommand,
DatabaseCreateCollectionCommand,
DatabaseCommandCommand,
} from './mongo-extract-commands';
export * from './mongo-extract-commands';

export interface MongoAutocompleteResult extends SqlAutocompleteResult {
suggestCollections?: boolean;
Expand Down

0 comments on commit b53b152

Please sign in to comment.