|
| 1 | +declare global { |
| 2 | + const use: ShellApi['use']; |
| 3 | + const show: ShellApi['show']; |
| 4 | + const exit: ShellApi['exit']; |
| 5 | + const quit: ShellApi['quit']; |
| 6 | + const Mongo: ShellApi['Mongo']; |
| 7 | + const connect: ShellApi['connect']; |
| 8 | + // TODO: mocha is making ts or eslint think this is a duplicate variable |
| 9 | + //const it: ShellApi['it']; |
| 10 | + const version: ShellApi['version']; |
| 11 | + const load: ShellApi['load']; |
| 12 | + const enableTelemetry: ShellApi['enableTelemetry']; |
| 13 | + const disableTelemetry: ShellApi['disableTelemetry']; |
| 14 | + const passwordPrompt: ShellApi['passwordPrompt']; |
| 15 | + const sleep: ShellApi['sleep']; |
| 16 | + const print: ShellApi['print']; |
| 17 | + const printjson: ShellApi['printjson']; |
| 18 | + const convertShardKeyToHashed: ShellApi['convertShardKeyToHashed']; |
| 19 | + const cls: ShellApi['cls']; |
| 20 | + const isInteractive: ShellApi['isInteractive']; |
| 21 | + |
| 22 | + const DBRef: ShellBson['DBRef']; |
| 23 | + const bsonsize: ShellBson['bsonsize']; |
| 24 | + const MaxKey: ShellBson['MaxKey']; |
| 25 | + const MinKey: ShellBson['MinKey']; |
| 26 | + const ObjectId: ShellBson['ObjectId']; |
| 27 | + const Timestamp: ShellBson['Timestamp']; |
| 28 | + const Code: ShellBson['Code']; |
| 29 | + const NumberDecimal: ShellBson['NumberDecimal']; |
| 30 | + const NumberInt: ShellBson['NumberInt']; |
| 31 | + const NumberLong: ShellBson['NumberLong']; |
| 32 | + const ISODate: ShellBson['ISODate']; |
| 33 | + const BinData: ShellBson['BinData']; |
| 34 | + const HexData: ShellBson['HexData']; |
| 35 | + const UUID: ShellBson['UUID']; |
| 36 | + const MD5: ShellBson['MD5']; |
| 37 | + const Decimal128: ShellBson['Decimal128']; |
| 38 | + const BSONSymbol: ShellBson['BSONSymbol']; |
| 39 | + const Int32: ShellBson['Int32']; |
| 40 | + const Long: ShellBson['Long']; |
| 41 | + const Binary: ShellBson['Binary']; |
| 42 | + const Double: ShellBson['Double']; |
| 43 | + const EJSON: ShellBson['EJSON']; |
| 44 | + const BSONRegExp: ShellBson['BSONRegExp']; |
| 45 | +} |
0 commit comments