@mongosh/types
Advanced tools
Comparing version 0.9.0 to 0.10.0
@@ -43,2 +43,22 @@ export interface ApiEventArguments { | ||
} | ||
export interface ScriptLoadFileEvent { | ||
nested: boolean; | ||
filename: string; | ||
} | ||
export interface StartLoadingCliScriptsEvent { | ||
usesShellOption: boolean; | ||
} | ||
export interface MongocryptdTrySpawnEvent { | ||
spawnPath: string[]; | ||
path: string; | ||
} | ||
export interface MongocryptdErrorEvent { | ||
cause: string; | ||
error?: Error; | ||
stderr?: string; | ||
} | ||
export interface MongocryptdLogEvent { | ||
pid: number; | ||
logEntry: any; | ||
} | ||
export interface MongoshBusEventsMap { | ||
@@ -58,2 +78,11 @@ 'mongosh:connect': (ev: ConnectEvent) => void; | ||
'mongosh:warn': (ev: ApiWarning) => void; | ||
'mongosh:api-load-file': (ev: ScriptLoadFileEvent) => void; | ||
'mongosh:start-loading-cli-scripts': (event: StartLoadingCliScriptsEvent) => void; | ||
'mongosh:start-mongosh-repl': () => void; | ||
'mongosh:mongoshrc-load': () => void; | ||
'mongosh:mongoshrc-mongorc-warn': () => void; | ||
'mongosh:eval-cli-script': () => void; | ||
'mongosh:mongocryptd-tryspawn': (ev: MongocryptdTrySpawnEvent) => void; | ||
'mongosh:mongocryptd-error': (ev: MongocryptdErrorEvent) => void; | ||
'mongosh:mongocryptd-log': (ev: MongocryptdLogEvent) => void; | ||
'mongosh:closed': () => void; | ||
@@ -60,0 +89,0 @@ 'mongosh:eval-complete': () => void; |
{ | ||
"name": "@mongosh/types", | ||
"version": "0.9.0", | ||
"version": "0.10.0", | ||
"description": "Types for mongosh internals", | ||
@@ -30,3 +30,3 @@ "author": "Anna Henningsen <anna.henningsen@mongodb.com>", | ||
}, | ||
"gitHead": "be8b2a857c1a6ea05ec598273c68b4703d7c5a54" | ||
"gitHead": "39036d7555041ed6d9f10d0a65726c2281a5e534" | ||
} |
@@ -51,2 +51,27 @@ /* eslint camelcase: 0 */ | ||
export interface ScriptLoadFileEvent { | ||
nested: boolean; | ||
filename: string; | ||
} | ||
export interface StartLoadingCliScriptsEvent { | ||
usesShellOption: boolean; | ||
} | ||
export interface MongocryptdTrySpawnEvent { | ||
spawnPath: string[]; | ||
path: string; | ||
} | ||
export interface MongocryptdErrorEvent { | ||
cause: string; | ||
error?: Error; | ||
stderr?: string; | ||
} | ||
export interface MongocryptdLogEvent { | ||
pid: number; | ||
logEntry: any; | ||
} | ||
export interface MongoshBusEventsMap { | ||
@@ -66,2 +91,11 @@ 'mongosh:connect': (ev: ConnectEvent) => void; | ||
'mongosh:warn': (ev: ApiWarning) => void; | ||
'mongosh:api-load-file': (ev: ScriptLoadFileEvent) => void; | ||
'mongosh:start-loading-cli-scripts': (event: StartLoadingCliScriptsEvent) => void; | ||
'mongosh:start-mongosh-repl': () => void; | ||
'mongosh:mongoshrc-load': () => void; | ||
'mongosh:mongoshrc-mongorc-warn': () => void; | ||
'mongosh:eval-cli-script': () => void; | ||
'mongosh:mongocryptd-tryspawn': (ev: MongocryptdTrySpawnEvent) => void; | ||
'mongosh:mongocryptd-error': (ev: MongocryptdErrorEvent) => void; | ||
'mongosh:mongocryptd-log': (ev: MongocryptdLogEvent) => void; | ||
'mongosh:closed': () => void; // For testing. | ||
@@ -68,0 +102,0 @@ 'mongosh:eval-complete': () => void; // For testing. |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
19016
11
223