diff --git a/package.json b/package.json index d5dff514..a56acb17 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,7 @@ }, { "name": "Saeed Tabrizi", - "email": "saeed@nowcando.com" + "email": "saeed.tabrizi@gmail.com" } ], "repository": { diff --git a/typescript/orientjs/orientjs.d.ts b/typescript/orientjs/orientjs.d.ts index 0b5ff21a..6d9ebe9b 100644 --- a/typescript/orientjs/orientjs.d.ts +++ b/typescript/orientjs/orientjs.d.ts @@ -1,10 +1,11 @@ // Type definitions for orientjs 3.0 // Project: https://github.com/orientechnologies/orientjs // Definitions by: [Saeed Tabrizi] +// [Aleksey Rezvov] // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 3.6 -// Last Update : 08-11-2019 -// Developed in www.nowcando.com +// Last Update : 09-18-2020 +// Developed in www.nowcando.ir /// @@ -1125,7 +1126,7 @@ declare namespace orientjs { close(): Promise; } - class ODatabaseTransaction { + class ODatabaseTransaction extends OTransaction { /** * Execute an SQL command against the database and retreive the results * @param command The command to execute. @@ -1311,7 +1312,7 @@ declare namespace orientjs { session(options?: ODatabaseSessionOptions): Promise; - sessions(options?: ODatabaseSessionOptions): Promise; + sessions(options?: ODatabaseSessionPoolOptions): Promise; migrator(config?: Migration.MigrationManagerConfig): Migration.MigrationManager; createDatabase(options?: DatabaseOptions): Promise; dropDatabase(options?: DropDatabaseOptions): Promise; @@ -1401,3 +1402,4 @@ export = orientjs; }); }); =============================================== */ +