@atscript/db-postgres 0.1.71 → 0.1.73

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { t as PostgresPlugin } from "./index-Tl2u3rTo.cjs";
2
2
  import { BaseDbAdapter, DbQuery, DbSpace, FilterExpr, TColumnDiff, TDbDefaultFn, TDbDeleteResult, TDbFieldMeta, TDbInsertManyResult, TDbInsertResult, TDbUpdateResult, TExistingColumn, TFieldOps, TSearchIndexInfo, TSyncColumnResult, TValueFormatterPair } from "@atscript/db";
3
3
  import { TMetadataMap } from "@atscript/typescript/utils";
4
- import * as pg from "pg";
4
+ import * as _$pg from "pg";
5
5
  import { TSqlFragment } from "@atscript/db-sql-tools";
6
6
 
7
7
  //#region src/types.d.ts
@@ -243,7 +243,7 @@ declare class PostgresAdapter extends BaseDbAdapter {
243
243
  declare class PgDriver implements TPgDriver {
244
244
  private pool;
245
245
  private poolInit;
246
- constructor(poolOrConfig: string | pg.Pool | pg.PoolConfig);
246
+ constructor(poolOrConfig: string | _$pg.Pool | _$pg.PoolConfig);
247
247
  private getPool;
248
248
  run(sql: string, params?: unknown[]): Promise<TPgRunResult>;
249
249
  all<T = Record<string, unknown>>(sql: string, params?: unknown[]): Promise<T[]>;
package/dist/index.d.mts CHANGED
@@ -2,7 +2,7 @@ import { t as PostgresPlugin } from "./index-HFavdjnf.mjs";
2
2
  import { BaseDbAdapter, DbQuery, DbSpace, FilterExpr, TColumnDiff, TDbDefaultFn, TDbDeleteResult, TDbFieldMeta, TDbInsertManyResult, TDbInsertResult, TDbUpdateResult, TExistingColumn, TFieldOps, TSearchIndexInfo, TSyncColumnResult, TValueFormatterPair } from "@atscript/db";
3
3
  import { TSqlFragment } from "@atscript/db-sql-tools";
4
4
  import { TMetadataMap } from "@atscript/typescript/utils";
5
- import * as pg from "pg";
5
+ import * as _$pg from "pg";
6
6
 
7
7
  //#region src/types.d.ts
8
8
  /**
@@ -243,7 +243,7 @@ declare class PostgresAdapter extends BaseDbAdapter {
243
243
  declare class PgDriver implements TPgDriver {
244
244
  private pool;
245
245
  private poolInit;
246
- constructor(poolOrConfig: string | pg.Pool | pg.PoolConfig);
246
+ constructor(poolOrConfig: string | _$pg.Pool | _$pg.PoolConfig);
247
247
  private getPool;
248
248
  run(sql: string, params?: unknown[]): Promise<TPgRunResult>;
249
249
  all<T = Record<string, unknown>>(sql: string, params?: unknown[]): Promise<T[]>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atscript/db-postgres",
3
- "version": "0.1.71",
3
+ "version": "0.1.73",
4
4
  "description": "PostgreSQL adapter for @atscript/db with pg (node-postgres) driver support.",
5
5
  "keywords": [
6
6
  "atscript",
@@ -55,8 +55,8 @@
55
55
  "@atscript/typescript": "^0.1.53",
56
56
  "@uniqu/core": "^0.1.6",
57
57
  "pg": ">=8.0.0",
58
- "@atscript/db": "^0.1.71",
59
- "@atscript/db-sql-tools": "^0.1.71"
58
+ "@atscript/db-sql-tools": "^0.1.73",
59
+ "@atscript/db": "^0.1.73"
60
60
  },
61
61
  "peerDependenciesMeta": {
62
62
  "pg": {