Comparing version 43.0.1 to 43.0.2
@@ -1,35 +0,3 @@ | ||
/// <reference types="node" /> | ||
export { createDriverFactory, type Driver, type DriverClient, type DriverClientEventEmitter, type DriverClientState, type DriverCommand, type DriverConfiguration, type DriverEventEmitter, type DriverFactory, type DriverNotice, type DriverQueryResult, type DriverStreamResult, } from './factories/createDriverFactory'; | ||
export declare const sql: { | ||
array: (values: readonly import("@slonik/sql-tag").PrimitiveValueExpression[], memberType: string | import("@slonik/sql-tag").SqlToken) => import("@slonik/sql-tag").ArraySqlToken; | ||
binary: (data: Buffer) => import("@slonik/sql-tag").BinarySqlToken; | ||
date: (date: Date) => import("@slonik/sql-tag/dist/types").DateSqlToken; | ||
fragment: (parts: readonly string[], ...args: readonly import("@slonik/sql-tag").ValueExpression[]) => import("@slonik/sql-tag").FragmentSqlToken; | ||
identifier: (names: readonly string[]) => import("@slonik/sql-tag").IdentifierSqlToken; | ||
interval: (interval: import("@slonik/sql-tag/dist/types").IntervalInput) => import("@slonik/sql-tag/dist/types").IntervalSqlToken; | ||
join: (members: readonly import("@slonik/sql-tag").ValueExpression[], glue: import("@slonik/sql-tag").SqlFragment) => import("@slonik/sql-tag").ListSqlToken; | ||
json: (value: import("@slonik/sql-tag").SerializableValue) => import("@slonik/sql-tag").JsonSqlToken; | ||
jsonb: (value: import("@slonik/sql-tag").SerializableValue) => import("@slonik/sql-tag").JsonBinarySqlToken; | ||
literalValue: (value: string) => import("@slonik/sql-tag").SqlFragment; | ||
timestamp: (date: Date) => import("@slonik/sql-tag/dist/types").TimestampSqlToken; | ||
type: <T extends import("zod").ZodTypeAny>(parser: T) => (parts: readonly string[], ...args: readonly import("@slonik/sql-tag").ValueExpression[]) => Readonly<{ | ||
parser: T; | ||
type: "SLONIK_TOKEN_QUERY"; | ||
sql: string; | ||
values: import("@slonik/sql-tag").PrimitiveValueExpression[]; | ||
}>; | ||
typeAlias: <Y extends PropertyKey>(parserAlias: Y) => (parts: readonly string[], ...args: readonly import("@slonik/sql-tag").ValueExpression[]) => Readonly<{ | ||
parser: Record<PropertyKey, import("zod").ZodTypeAny>[Y]; | ||
type: "SLONIK_TOKEN_QUERY"; | ||
sql: string; | ||
values: import("@slonik/sql-tag").PrimitiveValueExpression[]; | ||
}>; | ||
unnest: (tuples: readonly (readonly import("@slonik/sql-tag").PrimitiveValueExpression[])[], columnTypes: [...string[], string][] | (string | import("@slonik/sql-tag").SqlFragment)[]) => import("@slonik/sql-tag").UnnestSqlToken; | ||
unsafe: (parts: readonly string[], ...args: readonly import("@slonik/sql-tag").ValueExpression[]) => Readonly<{ | ||
parser: import("zod").ZodAny; | ||
type: "SLONIK_TOKEN_QUERY"; | ||
sql: string; | ||
values: import("@slonik/sql-tag").PrimitiveValueExpression[]; | ||
}>; | ||
}; | ||
export declare const sql: import("@slonik/sql-tag").SqlTag<Record<PropertyKey, import("zod").ZodTypeAny>>; | ||
export { createPool } from './factories/createPool'; | ||
@@ -36,0 +4,0 @@ export { createTypeParserPreset } from './factories/createTypeParserPreset'; |
@@ -8,4 +8,4 @@ { | ||
"dependencies": { | ||
"@slonik/errors": "^43.0.1", | ||
"@slonik/sql-tag": "^43.0.1", | ||
"@slonik/errors": "^43.0.2", | ||
"@slonik/sql-tag": "^43.0.2", | ||
"@types/pg": "^8.11.6", | ||
@@ -90,3 +90,3 @@ "get-stack-trace": "^3.1.1", | ||
"types": "./dist/index.d.ts", | ||
"version": "43.0.1" | ||
"version": "43.0.2" | ||
} |
Sorry, the diff of this file is not supported yet
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
733964
14516
Updated@slonik/errors@^43.0.2
Updated@slonik/sql-tag@^43.0.2