@dbpath/tables
Advanced tools
Comparing version 0.3.3 to 0.3.4
@@ -8,3 +8,2 @@ import { NameAnd } from "@dbpath/utils"; | ||
wheres?: string[]; | ||
queryParams?: NameAnd<string>; | ||
} | ||
@@ -15,6 +14,5 @@ export interface PathSpec extends PathSpecForWheres { | ||
id: string | undefined; | ||
queryParams: NameAnd<string>; | ||
limit?: number; | ||
} | ||
export declare function makePathSpec(schema: string, path: string, table2Pk?: NameAnd<HasPk>, id?: string, queryParams?: NameAnd<string>, wheres?: string[]): PathSpec; | ||
export declare function makePathSpec(schema: string, path: string, table2Pk?: NameAnd<HasPk>, id?: string, wheres?: string[]): PathSpec; | ||
export declare function quoteIfNeeded(type: string, s: string): string; |
@@ -5,3 +5,3 @@ "use strict"; | ||
const utils_1 = require("@dbpath/utils"); | ||
function makePathSpec(schema, path, table2Pk, id, queryParams, wheres) { | ||
function makePathSpec(schema, path, table2Pk, id, wheres) { | ||
return { | ||
@@ -13,3 +13,2 @@ schema, | ||
table2Pk, | ||
queryParams: (0, utils_1.safeObject)(queryParams), | ||
wheres: (0, utils_1.safeArray)(wheres) | ||
@@ -16,0 +15,0 @@ }; |
{ | ||
"name": "@dbpath/tables", | ||
"description": "", | ||
"version": "0.3.3", | ||
"version": "0.3.4", | ||
"main": "dist/index", | ||
@@ -20,5 +20,5 @@ "types": "dist/index", | ||
"dependencies": { | ||
"@dbpath/utils": "0.3.3", | ||
"@dbpath/types": "0.3.3", | ||
"@dbpath/fixtures": "0.3.3" | ||
"@dbpath/utils": "0.3.4", | ||
"@dbpath/types": "0.3.4", | ||
"@dbpath/fixtures": "0.3.4" | ||
}, | ||
@@ -25,0 +25,0 @@ "devDependencies": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
19843
363
+ Added@dbpath/fixtures@0.3.4(transitive)
+ Added@dbpath/types@0.3.4(transitive)
+ Added@dbpath/utils@0.3.4(transitive)
- Removed@dbpath/fixtures@0.3.3(transitive)
- Removed@dbpath/types@0.3.3(transitive)
- Removed@dbpath/utils@0.3.3(transitive)
Updated@dbpath/fixtures@0.3.4
Updated@dbpath/types@0.3.4
Updated@dbpath/utils@0.3.4