From cd8224090f060a1e825311fad6055f4215e073b5 Mon Sep 17 00:00:00 2001 From: Saeed Tabrizi Date: Fri, 18 Sep 2020 12:44:53 +0430 Subject: [PATCH 1/2] Update orientjs.d.ts based on https://github.com/orientechnologies/orientjs/issues/184#issuecomment-694426843 i just a fix for it. Thanks @diegonc @wolf4ood, @lvca --- typescript/orientjs/orientjs.d.ts | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) 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; }); }); =============================================== */ + From 283b6e0f1625b24e98cb144fdb4d61bac0f59cd6 Mon Sep 17 00:00:00 2001 From: Saeed Tabrizi Date: Fri, 18 Sep 2020 12:47:09 +0430 Subject: [PATCH 2/2] Update package.json update saeed tabrizi email address . --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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": {