@nodescript/adapter-sql-protocol
Advanced tools
Comparing version 1.1.1 to 1.2.0
import { DomainDef } from '@nodescript/protocomm'; | ||
import { SqlQueryResult } from '../schema/SqlQueryResult.js'; | ||
export interface SqlDomain { | ||
connect(req: { | ||
connectionUrl: string; | ||
}): Promise<{}>; | ||
query(req: { | ||
@@ -8,0 +5,0 @@ connectionUrl: string; |
@@ -5,9 +5,2 @@ import { SqlQueryResultSchema } from '../schema/SqlQueryResult.js'; | ||
methods: { | ||
connect: { | ||
type: 'command', | ||
params: { | ||
connectionUrl: { type: 'string' }, | ||
}, | ||
returns: {}, | ||
}, | ||
query: { | ||
@@ -14,0 +7,0 @@ type: 'command', |
{ | ||
"name": "@nodescript/adapter-sql-protocol", | ||
"version": "1.1.1", | ||
"version": "1.2.0", | ||
"description": "SQL Adapter Protocol", | ||
@@ -5,0 +5,0 @@ "type": "module", |
Sorry, the diff of this file is not supported yet
7237
127