Merge pull request #18218 from saeedtabrizi/master

orientjs d.ts  update to support version 3.0.0
This commit is contained in:
Wesley Wigham
2017-07-19 15:20:02 -07:00
committed by GitHub
4 changed files with 1100 additions and 426 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -5,22 +5,9 @@ let dbserver = orientjs({
port: 2424,
username: 'root',
password: 'root'
});
});
let db = dbserver.use({
name: 'mytestdb',
username: 'root',
password: 'root'
});
{
var manager = new orientjs.Migration.Manager({
db: db,
dir: __dirname + '/migrations'
});
manager.up(1)
.then(function () {
console.log('migrated up by one!')
});
}
name: 'mytestdb',
username: 'root',
password: 'root'
});

View File

@@ -6,7 +6,7 @@
],
"noImplicitAny": true,
"noImplicitThis": true,
"strictNullChecks": false,
"strictNullChecks": true,
"baseUrl": "../",
"typeRoots": [
"../"

View File

@@ -0,0 +1 @@
{ "extends": "dtslint/dt.json" }