File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 1
- export function parseQuery ( sql : string ) : Promise < any > ;
1
+ import { ParseResult } from "@pgsql/types" ;
2
+ export function parseQuery ( sql : string ) : Promise < ParseResult > ;
2
3
export function parsePlPgSQL ( funcsSql : string ) : Promise < any > ;
3
- export function parseQuerySync ( sql : string ) : any ;
4
+ export function parseQuerySync ( sql : string ) : ParseResult ;
4
5
export function parsePlPgSQLSync ( funcsSql : string ) : any ;
5
6
export function fingerprint ( sql : string ) : Promise < string > ;
6
7
export function fingerprintSync ( sql : string ) : string ;
Original file line number Diff line number Diff line change 51
51
"url" : " git://github.com/launchql/libpg-query-node.git"
52
52
},
53
53
"devDependencies" : {
54
+ "@pgsql/types" : " ^15.0.0" ,
54
55
"@yamlize/cli" : " ^0.8.0" ,
55
56
"chai" : " ^3.5.0" ,
56
57
"emnapi" : " ^0.43.1" ,
Original file line number Diff line number Diff line change 54
54
dependencies :
55
55
semver "^7.3.5"
56
56
57
+ " @pgsql/types@^15.0.0 " :
58
+ version "15.0.0"
59
+ resolved "https://registry.yarnpkg.com/@pgsql/types/-/types-15.0.0.tgz#99d2c1719fe7b93bd36b88c1e9ccbcc18b23d720"
60
+ integrity sha512-okesxpqEBQGgSP+4FGX9zivDNWM3r803oNxRIXIrayXN3Gfx9Rjom+5h433YcP6RKmPbkKolXgeuKA2i9MQtOQ==
61
+
57
62
" @pkgjs/parseargs@^0.11.0 " :
58
63
version "0.11.0"
59
64
resolved "https://registry.yarnpkg.com/@pkgjs/parseargs/-/parseargs-0.11.0.tgz#a77ea742fab25775145434eb1d2328cf5013ac33"
You can’t perform that action at this time.
0 commit comments