pg-manipulator 1.0.36 → 1.0.37
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/@types/championships/championships_fields.d.ts +0 -1
- package/dist/@types/championships/championships_order.d.ts +0 -1
- package/dist/@types/championships/championships_select.d.ts +0 -1
- package/dist/@types/championships/championships_update.d.ts +0 -1
- package/dist/@types/championships/championships_where.d.ts +0 -1
- package/dist/class/championships/index.d.ts +6 -6
- package/dist/class/championships/index.js +6 -6
- package/dist/mapping/championships/championships.js +1 -12
- package/dist/mapping/championships/index.d.ts +20 -20
- package/dist/mapping/championships/index.js +6 -6
- package/package.json +1 -1
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { PoolClient } from 'pg';
|
|
2
2
|
import { pool_tsx } from '../../@types';
|
|
3
3
|
import championships_users from './championships_users';
|
|
4
|
-
import championships_teams from './championships_teams';
|
|
5
4
|
import championships_matches from './championships_matches';
|
|
6
|
-
import
|
|
7
|
-
import championships from './championships';
|
|
5
|
+
import championships_teams from './championships_teams';
|
|
8
6
|
import teams from './teams';
|
|
7
|
+
import championships from './championships';
|
|
8
|
+
import bet_users from './bet_users';
|
|
9
9
|
declare const _default: {
|
|
10
10
|
query(query_string: string, query_params: Array<any>, transaction?: PoolClient | any): Promise<any>;
|
|
11
11
|
transaction(callback: pool_tsx): Promise<void>;
|
|
12
12
|
championships_users: typeof championships_users;
|
|
13
|
-
championships_teams: typeof championships_teams;
|
|
14
13
|
championships_matches: typeof championships_matches;
|
|
15
|
-
|
|
16
|
-
championships: typeof championships;
|
|
14
|
+
championships_teams: typeof championships_teams;
|
|
17
15
|
teams: typeof teams;
|
|
16
|
+
championships: typeof championships;
|
|
17
|
+
bet_users: typeof bet_users;
|
|
18
18
|
};
|
|
19
19
|
export default _default;
|
|
@@ -5,11 +5,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
const database_1 = __importDefault(require("../../database"));
|
|
7
7
|
const championships_users_1 = __importDefault(require("./championships_users"));
|
|
8
|
-
const championships_teams_1 = __importDefault(require("./championships_teams"));
|
|
9
8
|
const championships_matches_1 = __importDefault(require("./championships_matches"));
|
|
10
|
-
const
|
|
11
|
-
const championships_1 = __importDefault(require("./championships"));
|
|
9
|
+
const championships_teams_1 = __importDefault(require("./championships_teams"));
|
|
12
10
|
const teams_1 = __importDefault(require("./teams"));
|
|
11
|
+
const championships_1 = __importDefault(require("./championships"));
|
|
12
|
+
const bet_users_1 = __importDefault(require("./bet_users"));
|
|
13
13
|
exports.default = {
|
|
14
14
|
async query(query_string, query_params, transaction = undefined) {
|
|
15
15
|
return await database_1.default.query('championships', query_string, query_params, transaction);
|
|
@@ -18,9 +18,9 @@ exports.default = {
|
|
|
18
18
|
return await database_1.default.transaction('championships', callback);
|
|
19
19
|
},
|
|
20
20
|
championships_users: championships_users_1.default,
|
|
21
|
-
championships_teams: championships_teams_1.default,
|
|
22
21
|
championships_matches: championships_matches_1.default,
|
|
23
|
-
|
|
22
|
+
championships_teams: championships_teams_1.default,
|
|
23
|
+
teams: teams_1.default,
|
|
24
24
|
championships: championships_1.default,
|
|
25
|
-
|
|
25
|
+
bet_users: bet_users_1.default
|
|
26
26
|
};
|
|
@@ -38,7 +38,7 @@ exports.default = {
|
|
|
38
38
|
{
|
|
39
39
|
"name": "icon",
|
|
40
40
|
"value": {
|
|
41
|
-
"type": "
|
|
41
|
+
"type": "text",
|
|
42
42
|
"is_null": "YES",
|
|
43
43
|
"maxlength": null
|
|
44
44
|
},
|
|
@@ -79,17 +79,6 @@ exports.default = {
|
|
|
79
79
|
"fk_reference": null,
|
|
80
80
|
"pk": false
|
|
81
81
|
},
|
|
82
|
-
{
|
|
83
|
-
"name": "locale",
|
|
84
|
-
"value": {
|
|
85
|
-
"type": "character varying",
|
|
86
|
-
"is_null": "NO",
|
|
87
|
-
"maxlength": null
|
|
88
|
-
},
|
|
89
|
-
"fk_table": null,
|
|
90
|
-
"fk_reference": null,
|
|
91
|
-
"pk": false
|
|
92
|
-
},
|
|
93
82
|
{
|
|
94
83
|
"name": "user_create",
|
|
95
84
|
"value": {
|
|
@@ -35,7 +35,7 @@ declare const _default: {
|
|
|
35
35
|
childrens: never[];
|
|
36
36
|
name: string;
|
|
37
37
|
};
|
|
38
|
-
|
|
38
|
+
championships_matches: {
|
|
39
39
|
columns: ({
|
|
40
40
|
name: string;
|
|
41
41
|
value: {
|
|
@@ -68,10 +68,20 @@ declare const _default: {
|
|
|
68
68
|
fk_reference: string;
|
|
69
69
|
pk: boolean;
|
|
70
70
|
}[];
|
|
71
|
-
childrens:
|
|
71
|
+
childrens: {
|
|
72
|
+
name: string;
|
|
73
|
+
value: {
|
|
74
|
+
type: string;
|
|
75
|
+
is_null: string;
|
|
76
|
+
maxlength: null;
|
|
77
|
+
};
|
|
78
|
+
fk_table: string;
|
|
79
|
+
fk_reference: string;
|
|
80
|
+
pk: boolean;
|
|
81
|
+
}[];
|
|
72
82
|
name: string;
|
|
73
83
|
};
|
|
74
|
-
|
|
84
|
+
championships_teams: {
|
|
75
85
|
columns: ({
|
|
76
86
|
name: string;
|
|
77
87
|
value: {
|
|
@@ -104,20 +114,10 @@ declare const _default: {
|
|
|
104
114
|
fk_reference: string;
|
|
105
115
|
pk: boolean;
|
|
106
116
|
}[];
|
|
107
|
-
childrens:
|
|
108
|
-
name: string;
|
|
109
|
-
value: {
|
|
110
|
-
type: string;
|
|
111
|
-
is_null: string;
|
|
112
|
-
maxlength: null;
|
|
113
|
-
};
|
|
114
|
-
fk_table: string;
|
|
115
|
-
fk_reference: string;
|
|
116
|
-
pk: boolean;
|
|
117
|
-
}[];
|
|
117
|
+
childrens: never[];
|
|
118
118
|
name: string;
|
|
119
119
|
};
|
|
120
|
-
|
|
120
|
+
teams: {
|
|
121
121
|
columns: ({
|
|
122
122
|
name: string;
|
|
123
123
|
value: {
|
|
@@ -139,7 +139,8 @@ declare const _default: {
|
|
|
139
139
|
fk_reference: null;
|
|
140
140
|
pk: boolean;
|
|
141
141
|
})[];
|
|
142
|
-
fathers:
|
|
142
|
+
fathers: never[];
|
|
143
|
+
childrens: {
|
|
143
144
|
name: string;
|
|
144
145
|
value: {
|
|
145
146
|
type: string;
|
|
@@ -150,7 +151,6 @@ declare const _default: {
|
|
|
150
151
|
fk_reference: string;
|
|
151
152
|
pk: boolean;
|
|
152
153
|
}[];
|
|
153
|
-
childrens: never[];
|
|
154
154
|
name: string;
|
|
155
155
|
};
|
|
156
156
|
championships: {
|
|
@@ -189,7 +189,7 @@ declare const _default: {
|
|
|
189
189
|
}[];
|
|
190
190
|
name: string;
|
|
191
191
|
};
|
|
192
|
-
|
|
192
|
+
bet_users: {
|
|
193
193
|
columns: ({
|
|
194
194
|
name: string;
|
|
195
195
|
value: {
|
|
@@ -211,8 +211,7 @@ declare const _default: {
|
|
|
211
211
|
fk_reference: null;
|
|
212
212
|
pk: boolean;
|
|
213
213
|
})[];
|
|
214
|
-
fathers:
|
|
215
|
-
childrens: {
|
|
214
|
+
fathers: {
|
|
216
215
|
name: string;
|
|
217
216
|
value: {
|
|
218
217
|
type: string;
|
|
@@ -223,6 +222,7 @@ declare const _default: {
|
|
|
223
222
|
fk_reference: string;
|
|
224
223
|
pk: boolean;
|
|
225
224
|
}[];
|
|
225
|
+
childrens: never[];
|
|
226
226
|
name: string;
|
|
227
227
|
};
|
|
228
228
|
};
|
|
@@ -4,16 +4,16 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
const championships_users_1 = __importDefault(require("./championships_users"));
|
|
7
|
-
const championships_teams_1 = __importDefault(require("./championships_teams"));
|
|
8
7
|
const championships_matches_1 = __importDefault(require("./championships_matches"));
|
|
9
|
-
const
|
|
10
|
-
const championships_1 = __importDefault(require("./championships"));
|
|
8
|
+
const championships_teams_1 = __importDefault(require("./championships_teams"));
|
|
11
9
|
const teams_1 = __importDefault(require("./teams"));
|
|
10
|
+
const championships_1 = __importDefault(require("./championships"));
|
|
11
|
+
const bet_users_1 = __importDefault(require("./bet_users"));
|
|
12
12
|
exports.default = {
|
|
13
13
|
championships_users: championships_users_1.default,
|
|
14
|
-
championships_teams: championships_teams_1.default,
|
|
15
14
|
championships_matches: championships_matches_1.default,
|
|
16
|
-
|
|
15
|
+
championships_teams: championships_teams_1.default,
|
|
16
|
+
teams: teams_1.default,
|
|
17
17
|
championships: championships_1.default,
|
|
18
|
-
|
|
18
|
+
bet_users: bet_users_1.default
|
|
19
19
|
};
|