Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion packages/bolt-connection/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"moduleResolution": "node",
"downlevelIteration": true,
"outDir": "lib",
"allowJs": true
"allowJs": true,
"isolatedModules": true
},
"include": ["src/**/*.js"]
}
6 changes: 4 additions & 2 deletions packages/core/src/graph-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -380,8 +380,6 @@ function isPath(obj: object): obj is Path {
}

export {
StandardDate,
NumberOrInteger,
Node,
isNode,
Relationship,
Expand All @@ -393,3 +391,7 @@ export {
PathSegment,
isPathSegment
}
export type {
StandardDate,
NumberOrInteger,
}
15 changes: 9 additions & 6 deletions packages/core/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,6 @@ export {
LocalDateTime,
LocalTime,
Time,
StandardDate,
NumberOrInteger,
Node,
isNode,
Relationship,
Expand All @@ -185,24 +183,29 @@ export {
queryType,
ServerInfo,
Notification,
NotificationPosition,
Plan,
ProfiledPlan,
QueryStatistics,
Stats,
Result,
QueryResult,
ResultObserver,
ConnectionProvider,
Connection,
Transaction,
Session,
TransactionConfig,
Driver,
types,
driver,
json,
auth
}

export type {
StandardDate,
NumberOrInteger,
NotificationPosition,
QueryResult,
ResultObserver,
TransactionConfig,
};

export default forExport
4 changes: 3 additions & 1 deletion packages/core/src/result-summary.ts
Original file line number Diff line number Diff line change
Expand Up @@ -536,11 +536,13 @@ export {
queryType,
ServerInfo,
Notification,
NotificationPosition,
Plan,
ProfiledPlan,
QueryStatistics,
Stats
}
export type {
NotificationPosition,
}

export default ResultSummary
2 changes: 1 addition & 1 deletion packages/core/src/result.ts
Original file line number Diff line number Diff line change
Expand Up @@ -339,4 +339,4 @@ function replaceStacktrace(error: Error, newStack?: string | null) {
}

export default Result
export { QueryResult, ResultObserver }
export type { QueryResult, ResultObserver }
2 changes: 1 addition & 1 deletion packages/core/src/session.ts
Original file line number Diff line number Diff line change
Expand Up @@ -446,4 +446,4 @@ function _createTransactionExecutor(config?: {
}

export default Session
export { TransactionConfig }
export type { TransactionConfig }
3 changes: 2 additions & 1 deletion packages/core/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"downlevelIteration": true,
"outDir": "lib",
"declaration": true,
"declarationDir": "types"
"declarationDir": "types",
"isolatedModules": true
},
"include": ["src/**/*.ts"]
}
18 changes: 10 additions & 8 deletions packages/neo4j-driver-lite/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -473,26 +473,18 @@ export {
temporal,
Driver,
Result,
QueryResult,
Record,
ResultSummary,
AuthToken,
Config,
EncryptionLevel,
TrustStrategy,
SessionMode,
Node,
Relationship,
UnboundRelationship,
PathSegment,
Path,
Integer,
ResultObserver,
Plan,
ProfiledPlan,
QueryStatistics,
Notification,
NotificationPosition,
ServerInfo,
Session,
Transaction,
Expand All @@ -506,4 +498,14 @@ export {
ConnectionProvider,
Connection
}
export type {
QueryResult,
AuthToken,
Config,
EncryptionLevel,
TrustStrategy,
SessionMode,
ResultObserver,
NotificationPosition,
}
export default forExport
3 changes: 2 additions & 1 deletion packages/neo4j-driver-lite/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"downlevelIteration": true,
"outDir": "lib",
"declaration": true,
"declarationDir": "types"
"declarationDir": "types",
"isolatedModules": true
},
"include": ["src/**/*.ts"]
}