@mongosh/shell-api
Advanced tools
Comparing version 0.0.1-alpha.19 to 0.0.1
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
class CommandResult { | ||
constructor({ value }) { | ||
var CommandResult = (function () { | ||
function CommandResult(_a) { | ||
var value = _a.value; | ||
this.value = value; | ||
} | ||
shellApiType() { | ||
CommandResult.prototype.shellApiType = function () { | ||
return 'CommandResult'; | ||
} | ||
toReplString() { | ||
}; | ||
CommandResult.prototype.toReplString = function () { | ||
return this.value; | ||
} | ||
} | ||
}; | ||
return CommandResult; | ||
}()); | ||
exports.CommandResult = CommandResult; | ||
//# sourceMappingURL=command-result.js.map |
@@ -7,2 +7,3 @@ export const unknown: { | ||
type: string; | ||
hasAsyncChild: boolean; | ||
attributes: { | ||
@@ -79,2 +80,3 @@ bsonsize: { | ||
type: string; | ||
hasAsyncChild: boolean; | ||
attributes: {}; | ||
@@ -84,2 +86,3 @@ }; | ||
type: string; | ||
hasAsyncChild: boolean; | ||
attributes: { | ||
@@ -336,2 +339,3 @@ aggregate: { | ||
type: string; | ||
hasAsyncChild: boolean; | ||
attributes: { | ||
@@ -600,2 +604,3 @@ addOption: { | ||
type: string; | ||
hasAsyncChild: boolean; | ||
attributes: { | ||
@@ -624,2 +629,3 @@ runCommand: { | ||
type: string; | ||
hasAsyncChild: boolean; | ||
attributes: {}; | ||
@@ -629,2 +635,3 @@ }; | ||
type: string; | ||
hasAsyncChild: boolean; | ||
attributes: {}; | ||
@@ -634,2 +641,3 @@ }; | ||
type: string; | ||
hasAsyncChild: boolean; | ||
attributes: {}; | ||
@@ -639,2 +647,3 @@ }; | ||
type: string; | ||
hasAsyncChild: boolean; | ||
attributes: {}; | ||
@@ -644,2 +653,3 @@ }; | ||
type: string; | ||
hasAsyncChild: boolean; | ||
attributes: {}; | ||
@@ -649,2 +659,3 @@ }; | ||
type: string; | ||
hasAsyncChild: boolean; | ||
attributes: { | ||
@@ -673,3 +684,4 @@ use: { | ||
type: string; | ||
hasAsyncChild: boolean; | ||
attributes: {}; | ||
}; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const unknown = { | ||
var unknown = { | ||
type: 'unknown', | ||
@@ -8,4 +8,5 @@ attributes: {} | ||
exports.unknown = unknown; | ||
const AggregationCursor = { | ||
var AggregationCursor = { | ||
type: 'AggregationCursor', | ||
hasAsyncChild: false, | ||
attributes: { | ||
@@ -26,9 +27,11 @@ bsonsize: { type: 'function', returnsPromise: false, returnType: 'unknown', serverVersions: ['0.0.0', '4.4.0'] }, | ||
exports.AggregationCursor = AggregationCursor; | ||
const BulkWriteResult = { | ||
var BulkWriteResult = { | ||
type: 'BulkWriteResult', | ||
hasAsyncChild: false, | ||
attributes: {} | ||
}; | ||
exports.BulkWriteResult = BulkWriteResult; | ||
const Collection = { | ||
var Collection = { | ||
type: 'Collection', | ||
hasAsyncChild: true, | ||
attributes: { | ||
@@ -79,4 +82,5 @@ aggregate: { type: 'function', returnsPromise: false, returnType: 'AggregationCursor', serverVersions: ['0.0.0', '4.4.0'] }, | ||
exports.Collection = Collection; | ||
const Cursor = { | ||
var Cursor = { | ||
type: 'Cursor', | ||
hasAsyncChild: false, | ||
attributes: { | ||
@@ -129,4 +133,5 @@ addOption: { type: 'function', returnsPromise: false, returnType: 'unknown', serverVersions: ['0.0.0', '3.2.0'] }, | ||
exports.Cursor = Cursor; | ||
const Database = { | ||
var Database = { | ||
type: 'Database', | ||
hasAsyncChild: true, | ||
attributes: { | ||
@@ -139,29 +144,35 @@ runCommand: { type: 'function', returnsPromise: false, returnType: 'unknown', serverVersions: ['0.0.0', '4.4.0'] }, | ||
exports.Database = Database; | ||
const DeleteResult = { | ||
var DeleteResult = { | ||
type: 'DeleteResult', | ||
hasAsyncChild: false, | ||
attributes: {} | ||
}; | ||
exports.DeleteResult = DeleteResult; | ||
const InsertManyResult = { | ||
var InsertManyResult = { | ||
type: 'InsertManyResult', | ||
hasAsyncChild: false, | ||
attributes: {} | ||
}; | ||
exports.InsertManyResult = InsertManyResult; | ||
const InsertOneResult = { | ||
var InsertOneResult = { | ||
type: 'InsertOneResult', | ||
hasAsyncChild: false, | ||
attributes: {} | ||
}; | ||
exports.InsertOneResult = InsertOneResult; | ||
const ReplicaSet = { | ||
var ReplicaSet = { | ||
type: 'ReplicaSet', | ||
hasAsyncChild: false, | ||
attributes: {} | ||
}; | ||
exports.ReplicaSet = ReplicaSet; | ||
const Shard = { | ||
var Shard = { | ||
type: 'Shard', | ||
hasAsyncChild: false, | ||
attributes: {} | ||
}; | ||
exports.Shard = Shard; | ||
const ShellApi = { | ||
var ShellApi = { | ||
type: 'ShellApi', | ||
hasAsyncChild: false, | ||
attributes: { | ||
@@ -174,4 +185,5 @@ use: { type: 'function', returnsPromise: false, returnType: 'unknown', serverVersions: ['0.0.0', '4.4.0'] }, | ||
exports.ShellApi = ShellApi; | ||
const UpdateResult = { | ||
var UpdateResult = { | ||
type: 'UpdateResult', | ||
hasAsyncChild: false, | ||
attributes: {} | ||
@@ -178,0 +190,0 @@ }; |
{ | ||
"name": "@mongosh/shell-api", | ||
"version": "0.0.1-alpha.19", | ||
"version": "0.0.1", | ||
"description": "MongoDB Shell API Classes Package", | ||
@@ -38,4 +38,4 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"@mongosh/errors": "^0.0.1-alpha.19", | ||
"@mongosh/i18n": "^0.0.1-alpha.19", | ||
"@mongosh/errors": "^0.0.1", | ||
"@mongosh/i18n": "^0.0.1", | ||
"bson": "^4.0.4" | ||
@@ -46,3 +46,3 @@ }, | ||
}, | ||
"gitHead": "8413de42aa5f25f9d9d6923cc2ae7e6af7a43b5e" | ||
"gitHead": "3b44f9589c200426e882b3b2db30594a2c80e6f0" | ||
} |
Sorry, the diff of this file is not supported yet
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
349842
50
4538
Updated@mongosh/errors@^0.0.1
Updated@mongosh/i18n@^0.0.1