sedentary-pg 0.0.18 → 0.0.19
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/index.d.ts +3 -3
- package/index.js +2 -2
- package/package.json +15 -9
package/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EntryBase, ForeignKeyOptions, Natural, SedentaryOptions, Sedentary, Type } from "sedentary";
|
|
2
2
|
import { PoolConfig } from "pg";
|
|
3
|
-
export { AttributeDefinition, AttributeOptions, AttributesDefinition,
|
|
3
|
+
export { AttributeDefinition, AttributeOptions, AttributesDefinition, EntryBase, ForeignKeyActions, ForeignKeyOptions } from "sedentary";
|
|
4
4
|
export { IndexAttributes, IndexDefinition, IndexOptions, IndexesDefinition, ModelOptions, Natural, SedentaryOptions, Type, TypeDefinition } from "sedentary";
|
|
5
5
|
export declare class SedentaryPG extends Sedentary {
|
|
6
6
|
constructor(connection: PoolConfig, options?: SedentaryOptions);
|
|
7
|
-
FKEY<N extends Natural, E extends
|
|
7
|
+
FKEY<N extends Natural, E extends EntryBase>(attribute: Type<N, E>, options?: ForeignKeyOptions): Type<N, E>;
|
|
8
8
|
}
|
|
9
9
|
export declare const Package: typeof SedentaryPG;
|
package/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Package = exports.SedentaryPG = exports.Type = exports.
|
|
3
|
+
exports.Package = exports.SedentaryPG = exports.Type = exports.EntryBase = void 0;
|
|
4
4
|
const sedentary_1 = require("sedentary");
|
|
5
5
|
const pgdb_1 = require("./lib/pgdb");
|
|
6
6
|
var sedentary_2 = require("sedentary");
|
|
7
|
-
Object.defineProperty(exports, "
|
|
7
|
+
Object.defineProperty(exports, "EntryBase", { enumerable: true, get: function () { return sedentary_2.EntryBase; } });
|
|
8
8
|
var sedentary_3 = require("sedentary");
|
|
9
9
|
Object.defineProperty(exports, "Type", { enumerable: true, get: function () { return sedentary_3.Type; } });
|
|
10
10
|
class SedentaryPG extends sedentary_1.Sedentary {
|
package/package.json
CHANGED
|
@@ -2,25 +2,26 @@
|
|
|
2
2
|
"author": "Daniele Ricci <daniele.icc@gmail.com> (https://github.com/iccicci)",
|
|
3
3
|
"bugs": "https://github.com/iccicci/sedentary-pg/issues",
|
|
4
4
|
"dependencies": {
|
|
5
|
-
"@types/pg": "8.6.
|
|
5
|
+
"@types/pg": "8.6.2",
|
|
6
6
|
"@types/pg-format": "1.0.2",
|
|
7
7
|
"pg": "8.7.1",
|
|
8
8
|
"pg-format": "1.0.4",
|
|
9
|
-
"sedentary": "0.0.
|
|
9
|
+
"sedentary": "0.0.19"
|
|
10
10
|
},
|
|
11
11
|
"description": "The ORM which never needs to migrate - PostgreSQL",
|
|
12
12
|
"devDependencies": {
|
|
13
13
|
"@types/mocha": "9.0.0",
|
|
14
|
-
"@types/node": "
|
|
14
|
+
"@types/node": "17.0.0",
|
|
15
15
|
"@types/yamljs": "0.2.31",
|
|
16
|
-
"@typescript-eslint/eslint-plugin": "5.
|
|
17
|
-
"@typescript-eslint/parser": "5.
|
|
18
|
-
"eslint": "8.
|
|
16
|
+
"@typescript-eslint/eslint-plugin": "5.7.0",
|
|
17
|
+
"@typescript-eslint/parser": "5.7.0",
|
|
18
|
+
"eslint": "8.5.0",
|
|
19
19
|
"mocha": "9.1.3",
|
|
20
20
|
"nyc": "15.1.0",
|
|
21
|
-
"prettier": "2.5.
|
|
21
|
+
"prettier": "2.5.1",
|
|
22
22
|
"ts-node": "10.4.0",
|
|
23
|
-
"
|
|
23
|
+
"tsd": "0.19.0",
|
|
24
|
+
"typescript": "4.5.4",
|
|
24
25
|
"yamljs": "0.3.0"
|
|
25
26
|
},
|
|
26
27
|
"engines": {
|
|
@@ -61,6 +62,11 @@
|
|
|
61
62
|
"tsc": "tsc --declaration",
|
|
62
63
|
"version": "node -r ts-node/register utils.ts version"
|
|
63
64
|
},
|
|
65
|
+
"tsd": {
|
|
66
|
+
"compilerOptions": {
|
|
67
|
+
"strict": false
|
|
68
|
+
}
|
|
69
|
+
},
|
|
64
70
|
"types": "index.d.ts",
|
|
65
|
-
"version": "0.0.
|
|
71
|
+
"version": "0.0.19"
|
|
66
72
|
}
|