Skip to content

Commit

Permalink
fix: improve exports
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexStormwood committed Oct 19, 2024
1 parent 0158b6c commit d9658ed
Showing 1 changed file with 30 additions and 1 deletion.
31 changes: 30 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,33 @@ import * as NedbClientErrors from "./structures/errors/NedbClientErrors";
export { NedbClientErrors }

import * as NedbBaseDocumentErrors from "./structures/errors/NedbBaseDocumentErrors";
export { NedbBaseDocumentErrors }
export { NedbBaseDocumentErrors }

import { DocumentBaseData, DocumentConstructorData, DocumentObjectData } from "./structures/interfaces/DocumentBaseDataInterface";
import { BaseDocument } from "./structures/interfaces/BaseDocumentInterface";
import { CollectionAccessor } from "./structures/interfaces/CollectionAccessorInterface";
import { CollectionsListEntry } from "./structures/interfaces/CollectionsListEntryInterface";
import { DocumentKeyRule } from "./structures/interfaces/DocumentKeyRuleInterface";
import { NedbClientEntry } from "./structures/interfaces/NedbClientEntryInterface";
import { findManyDocumentsOptions, findManyObjectsOptions, findOneObjectOptions, updateManyOptions, updateOptions } from "./structures/interfaces/QueryOptions";


interface SuperCamoInterfaces {
DocumentConstructorData: DocumentConstructorData,
DocumentObjectData: DocumentObjectData,
DocumentBaseData: DocumentBaseData,
BaseDocument: BaseDocument,
CollectionAccessor: CollectionAccessor,
CollectionsListEntry: CollectionsListEntry,
DocumentKeyRule: DocumentKeyRule,
NedbClientEntry: NedbClientEntry,
QueryOptions: {
findOneObjectOptions: findOneObjectOptions,
findManyObjectsOptions: findManyObjectsOptions,
findManyDocumentsOptions: findManyDocumentsOptions,
updateOptions: updateOptions,
updateManyOptions: updateManyOptions
}
}

export {SuperCamoInterfaces}

0 comments on commit d9658ed

Please sign in to comment.