Skip to content

Commit c7ea238

Browse files
committed
Keep re-exports for enums
1 parent e8adb5f commit c7ea238

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

CHANGELOG.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,6 @@ 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-
3227
- Removed `ArangoError` re-export
3328

3429
The type can still be imported directly from the `error` module.

src/index.ts

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

0 commit comments

Comments
 (0)