sedentary-pg 0.0.24 → 0.0.25

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.
Files changed (3) hide show
  1. package/index.d.ts +2 -2
  2. package/package.json +12 -12
  3. package/pgdb.d.ts +1 -1
package/index.d.ts CHANGED
@@ -1,10 +1,10 @@
1
1
  import { EntryBase, ForeignKeyOptions, Natural, Sedentary, SedentaryOptions, Type } from "sedentary";
2
2
  import { Attribute } from "sedentary/db";
3
3
  import { PoolConfig } from "pg";
4
- import { TransactionPG } from "./pgdb";
4
+ import { PGDB, TransactionPG } from "./pgdb";
5
5
  export { EntryBase, SedentaryOptions, Type } from "sedentary";
6
6
  export { TransactionPG } from "./pgdb";
7
- export declare class SedentaryPG extends Sedentary {
7
+ export declare class SedentaryPG extends Sedentary<PGDB, TransactionPG> {
8
8
  constructor(connection: PoolConfig, options?: SedentaryOptions);
9
9
  FKEY<N extends Natural, E extends EntryBase>(attribute: Attribute<N, E>, options?: ForeignKeyOptions): Type<N, E>;
10
10
  begin(): Promise<TransactionPG>;
package/package.json CHANGED
@@ -6,25 +6,25 @@
6
6
  "yossarian <sergiybiluk@gmail.com> (https://github.com/captain-yossarian)"
7
7
  ],
8
8
  "dependencies": {
9
- "@types/pg": "8.6.3",
10
- "pg": "8.7.1",
9
+ "@types/pg": "8.6.4",
10
+ "pg": "8.7.3",
11
11
  "pg-format": "1.0.4",
12
- "sedentary": "0.0.24"
12
+ "sedentary": "0.0.25"
13
13
  },
14
14
  "description": "The ORM which never needs to migrate - PostgreSQL",
15
15
  "devDependencies": {
16
- "@types/mocha": "9.0.0",
17
- "@types/node": "17.0.8",
16
+ "@types/mocha": "9.1.0",
17
+ "@types/node": "17.0.19",
18
18
  "@types/pg-format": "1.0.2",
19
19
  "@types/yamljs": "0.2.31",
20
- "@typescript-eslint/eslint-plugin": "5.9.0",
21
- "@typescript-eslint/parser": "5.9.0",
22
- "eslint": "8.6.0",
23
- "mocha": "9.1.3",
20
+ "@typescript-eslint/eslint-plugin": "5.12.1",
21
+ "@typescript-eslint/parser": "5.12.1",
22
+ "eslint": "8.9.0",
23
+ "mocha": "9.2.1",
24
24
  "nyc": "15.1.0",
25
25
  "prettier": "2.5.1",
26
- "ts-node": "10.4.0",
27
- "typescript": "4.5.4",
26
+ "ts-node": "10.5.0",
27
+ "typescript": "4.5.5",
28
28
  "yamljs": "0.3.0"
29
29
  },
30
30
  "engines": {
@@ -83,5 +83,5 @@
83
83
  }
84
84
  },
85
85
  "types": "index.d.ts",
86
- "version": "0.0.24"
86
+ "version": "0.0.25"
87
87
  }
package/pgdb.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { PoolClient, PoolConfig } from "pg";
2
2
  import { Attribute, DB, EntryBase, Natural, Table, Transaction } from "sedentary/db";
3
- export declare class PGDB extends DB {
3
+ export declare class PGDB extends DB<TransactionPG> {
4
4
  private client;
5
5
  private indexes;
6
6
  private oidLoad;