@slonik/types
Advanced tools
Comparing version 43.0.5 to 43.0.6
@@ -1,2 +0,2 @@ | ||
export * from './types'; | ||
export { type ConnectionOptions, type Field, type PrimitiveValueExpression, type Query, type QueryResultRow, type SerializableValue, } from './types'; | ||
//# sourceMappingURL=index.d.ts.map |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__exportStar(require("./types"), exports); | ||
//# sourceMappingURL=index.js.map |
@@ -11,2 +11,19 @@ /// <reference types="node" /> | ||
} | null | undefined; | ||
/** | ||
* @see https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-PARAMKEYWORDS | ||
*/ | ||
export type ConnectionOptions = { | ||
applicationName?: string; | ||
databaseName?: string; | ||
host?: string; | ||
options?: string; | ||
password?: string; | ||
port?: number; | ||
sslMode?: 'disable' | 'no-verify' | 'require'; | ||
username?: string; | ||
}; | ||
export type Field = { | ||
readonly dataTypeId: number; | ||
readonly name: string; | ||
}; | ||
//# sourceMappingURL=types.d.ts.map |
@@ -43,2 +43,8 @@ { | ||
"main": "./dist/index.js", | ||
"exports": { | ||
".": { | ||
"require": "./dist/index.js", | ||
"types": "./dist/index.d.ts" | ||
} | ||
}, | ||
"name": "@slonik/types", | ||
@@ -79,3 +85,3 @@ "nyc": { | ||
"types": "./dist/index.d.ts", | ||
"version": "43.0.5" | ||
"version": "43.0.6" | ||
} |
# Slonik Types | ||
Slonik type primitives. |
@@ -1,1 +0,8 @@ | ||
export * from './types'; | ||
export { | ||
type ConnectionOptions, | ||
type Field, | ||
type PrimitiveValueExpression, | ||
type Query, | ||
type QueryResultRow, | ||
type SerializableValue, | ||
} from './types'; |
@@ -28,1 +28,20 @@ export type PrimitiveValueExpression = | ||
| undefined; | ||
/** | ||
* @see https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-PARAMKEYWORDS | ||
*/ | ||
export type ConnectionOptions = { | ||
applicationName?: string; | ||
databaseName?: string; | ||
host?: string; | ||
options?: string; | ||
password?: string; | ||
port?: number; | ||
sslMode?: 'disable' | 'no-verify' | 'require'; | ||
username?: string; | ||
}; | ||
export type Field = { | ||
readonly dataTypeId: number; | ||
readonly name: string; | ||
}; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
6555
95
4