Skip to content

Commit e8adb5f

Browse files
committed
Fewer re-exports
1 parent 723efec commit e8adb5f

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,15 @@ This driver uses semantic versioning:
2424
property. For `ArangoError` the true HTTP status code may be different and
2525
can still be accessed using the `response.statusCode` property.
2626

27+
- Removed `CollectionStatus`, `CollectionType` and `ViewType` re-exports
28+
29+
These enums can still be imported directly from the `collection` and `view`
30+
modules.
31+
32+
- Removed `ArangoError` re-export
33+
34+
The type can still be imported directly from the `error` module.
35+
2736
### Changed
2837

2938
- Renamed `cursor.nextBatch` to `cursor.batches.next`

src/index.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,4 @@ export function arangojs(config?: string | string[] | Config) {
4242
}
4343
export default arangojs;
4444
export { aql } from "./aql";
45-
export { CollectionStatus, CollectionType } from "./collection";
4645
export { Database } from "./database";
47-
export { ArangoError } from "./error";
48-
export { ViewType } from "./view";

0 commit comments

Comments
 (0)