pg-manipulator 1.0.50 → 1.0.51
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/admin/operacao_fields.d.ts +12 -12
- package/dist/@types/admin/operacao_item_fields.d.ts +1 -1
- package/dist/@types/admin/operacao_item_order.d.ts +1 -1
- package/dist/@types/admin/operacao_item_select.d.ts +1 -1
- package/dist/@types/admin/operacao_item_update.d.ts +1 -1
- package/dist/@types/admin/operacao_item_where.d.ts +1 -1
- package/dist/@types/admin/operacao_pagamento_fields.d.ts +1 -1
- package/dist/class/admin/index.d.ts +18 -22
- package/dist/class/admin/index.js +18 -22
- package/dist/mapping/admin/empresa.d.ts +1 -11
- package/dist/mapping/admin/empresa.js +1 -13
- package/dist/mapping/admin/entidade.js +4 -4
- package/dist/mapping/admin/index.d.ts +46 -128
- package/dist/mapping/admin/index.js +18 -22
- package/dist/mapping/admin/operacao.js +13 -13
- package/dist/mapping/admin/operacao_item.js +5 -5
- package/dist/mapping/admin/operacao_pagamento.js +1 -1
- package/package.json +1 -1
- package/dist/@types/admin/ecommerce_fields.d.ts +0 -18
- package/dist/@types/admin/ecommerce_fields.js +0 -2
- package/dist/@types/admin/ecommerce_item_fields.d.ts +0 -5
- package/dist/@types/admin/ecommerce_item_fields.js +0 -2
- package/dist/@types/admin/ecommerce_item_order.d.ts +0 -5
- package/dist/@types/admin/ecommerce_item_order.js +0 -2
- package/dist/@types/admin/ecommerce_item_select.d.ts +0 -9
- package/dist/@types/admin/ecommerce_item_select.js +0 -2
- package/dist/@types/admin/ecommerce_item_update.d.ts +0 -7
- package/dist/@types/admin/ecommerce_item_update.js +0 -2
- package/dist/@types/admin/ecommerce_item_where.d.ts +0 -6
- package/dist/@types/admin/ecommerce_item_where.js +0 -2
- package/dist/@types/admin/ecommerce_order.d.ts +0 -18
- package/dist/@types/admin/ecommerce_order.js +0 -2
- package/dist/@types/admin/ecommerce_select.d.ts +0 -22
- package/dist/@types/admin/ecommerce_select.js +0 -2
- package/dist/@types/admin/ecommerce_update.d.ts +0 -20
- package/dist/@types/admin/ecommerce_update.js +0 -2
- package/dist/@types/admin/ecommerce_where.d.ts +0 -19
- package/dist/@types/admin/ecommerce_where.js +0 -2
- package/dist/class/admin/ecommerce.d.ts +0 -13
- package/dist/class/admin/ecommerce.js +0 -24
- package/dist/class/admin/ecommerce_item.d.ts +0 -13
- package/dist/class/admin/ecommerce_item.js +0 -24
- package/dist/mapping/admin/ecommerce.d.ts +0 -47
- package/dist/mapping/admin/ecommerce.js +0 -209
- package/dist/mapping/admin/ecommerce_item.d.ts +0 -27
- package/dist/mapping/admin/ecommerce_item.js +0 -65
|
@@ -3,39 +3,35 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
const entidade_cartao_1 = __importDefault(require("./entidade_cartao"));
|
|
6
|
+
const item_variacao_imagem_1 = __importDefault(require("./item_variacao_imagem"));
|
|
7
|
+
const empresa_1 = __importDefault(require("./empresa"));
|
|
9
8
|
const entidade_endereco_1 = __importDefault(require("./entidade_endereco"));
|
|
9
|
+
const entidade_cartao_1 = __importDefault(require("./entidade_cartao"));
|
|
10
|
+
const operacao_1 = __importDefault(require("./operacao"));
|
|
11
|
+
const operacao_pagamento_1 = __importDefault(require("./operacao_pagamento"));
|
|
10
12
|
const operacao_item_1 = __importDefault(require("./operacao_item"));
|
|
11
|
-
const item_variacao_atributo_1 = __importDefault(require("./item_variacao_atributo"));
|
|
12
|
-
const empresa_1 = __importDefault(require("./empresa"));
|
|
13
13
|
const item_1 = __importDefault(require("./item"));
|
|
14
|
-
const entidade_1 = __importDefault(require("./entidade"));
|
|
15
|
-
const categoria_1 = __importDefault(require("./categoria"));
|
|
16
14
|
const item_variacao_1 = __importDefault(require("./item_variacao"));
|
|
17
|
-
const
|
|
15
|
+
const categoria_1 = __importDefault(require("./categoria"));
|
|
16
|
+
const entidade_1 = __importDefault(require("./entidade"));
|
|
18
17
|
const usuario_1 = __importDefault(require("./usuario"));
|
|
18
|
+
const item_variacao_atributo_1 = __importDefault(require("./item_variacao_atributo"));
|
|
19
19
|
const marca_1 = __importDefault(require("./marca"));
|
|
20
|
-
const
|
|
21
|
-
const ecommerce_item_1 = __importDefault(require("./ecommerce_item"));
|
|
22
|
-
const item_variacao_imagem_1 = __importDefault(require("./item_variacao_imagem"));
|
|
20
|
+
const atributo_1 = __importDefault(require("./atributo"));
|
|
23
21
|
exports.default = {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
entidade_cartao: entidade_cartao_1.default,
|
|
22
|
+
item_variacao_imagem: item_variacao_imagem_1.default,
|
|
23
|
+
empresa: empresa_1.default,
|
|
27
24
|
entidade_endereco: entidade_endereco_1.default,
|
|
25
|
+
entidade_cartao: entidade_cartao_1.default,
|
|
26
|
+
operacao: operacao_1.default,
|
|
27
|
+
operacao_pagamento: operacao_pagamento_1.default,
|
|
28
28
|
operacao_item: operacao_item_1.default,
|
|
29
|
-
item_variacao_atributo: item_variacao_atributo_1.default,
|
|
30
|
-
empresa: empresa_1.default,
|
|
31
29
|
item: item_1.default,
|
|
32
|
-
entidade: entidade_1.default,
|
|
33
|
-
categoria: categoria_1.default,
|
|
34
30
|
item_variacao: item_variacao_1.default,
|
|
35
|
-
|
|
31
|
+
categoria: categoria_1.default,
|
|
32
|
+
entidade: entidade_1.default,
|
|
36
33
|
usuario: usuario_1.default,
|
|
34
|
+
item_variacao_atributo: item_variacao_atributo_1.default,
|
|
37
35
|
marca: marca_1.default,
|
|
38
|
-
|
|
39
|
-
ecommerce_item: ecommerce_item_1.default,
|
|
40
|
-
item_variacao_imagem: item_variacao_imagem_1.default
|
|
36
|
+
atributo: atributo_1.default
|
|
41
37
|
};
|
|
@@ -39,7 +39,7 @@ exports.default = {
|
|
|
39
39
|
"name": "cliente",
|
|
40
40
|
"value": {
|
|
41
41
|
"type": "integer",
|
|
42
|
-
"is_null": "
|
|
42
|
+
"is_null": "YES",
|
|
43
43
|
"maxlength": null
|
|
44
44
|
},
|
|
45
45
|
"fk_table": "entidade",
|
|
@@ -61,7 +61,7 @@ exports.default = {
|
|
|
61
61
|
"name": "valor_frete",
|
|
62
62
|
"value": {
|
|
63
63
|
"type": "numeric",
|
|
64
|
-
"is_null": "
|
|
64
|
+
"is_null": "NO",
|
|
65
65
|
"maxlength": null
|
|
66
66
|
},
|
|
67
67
|
"fk_table": null,
|
|
@@ -72,7 +72,7 @@ exports.default = {
|
|
|
72
72
|
"name": "valor_seguro",
|
|
73
73
|
"value": {
|
|
74
74
|
"type": "numeric",
|
|
75
|
-
"is_null": "
|
|
75
|
+
"is_null": "NO",
|
|
76
76
|
"maxlength": null
|
|
77
77
|
},
|
|
78
78
|
"fk_table": null,
|
|
@@ -83,7 +83,7 @@ exports.default = {
|
|
|
83
83
|
"name": "valor_outros",
|
|
84
84
|
"value": {
|
|
85
85
|
"type": "numeric",
|
|
86
|
-
"is_null": "
|
|
86
|
+
"is_null": "NO",
|
|
87
87
|
"maxlength": null
|
|
88
88
|
},
|
|
89
89
|
"fk_table": null,
|
|
@@ -149,7 +149,7 @@ exports.default = {
|
|
|
149
149
|
"name": "serie",
|
|
150
150
|
"value": {
|
|
151
151
|
"type": "character varying",
|
|
152
|
-
"is_null": "
|
|
152
|
+
"is_null": "YES",
|
|
153
153
|
"maxlength": null
|
|
154
154
|
},
|
|
155
155
|
"fk_table": null,
|
|
@@ -160,7 +160,7 @@ exports.default = {
|
|
|
160
160
|
"name": "numero",
|
|
161
161
|
"value": {
|
|
162
162
|
"type": "integer",
|
|
163
|
-
"is_null": "
|
|
163
|
+
"is_null": "YES",
|
|
164
164
|
"maxlength": null
|
|
165
165
|
},
|
|
166
166
|
"fk_table": null,
|
|
@@ -171,7 +171,7 @@ exports.default = {
|
|
|
171
171
|
"name": "natureza",
|
|
172
172
|
"value": {
|
|
173
173
|
"type": "character varying",
|
|
174
|
-
"is_null": "
|
|
174
|
+
"is_null": "YES",
|
|
175
175
|
"maxlength": null
|
|
176
176
|
},
|
|
177
177
|
"fk_table": null,
|
|
@@ -182,7 +182,7 @@ exports.default = {
|
|
|
182
182
|
"name": "tipo_operacao",
|
|
183
183
|
"value": {
|
|
184
184
|
"type": "character varying",
|
|
185
|
-
"is_null": "
|
|
185
|
+
"is_null": "YES",
|
|
186
186
|
"maxlength": null
|
|
187
187
|
},
|
|
188
188
|
"fk_table": null,
|
|
@@ -193,7 +193,7 @@ exports.default = {
|
|
|
193
193
|
"name": "destinacao",
|
|
194
194
|
"value": {
|
|
195
195
|
"type": "character varying",
|
|
196
|
-
"is_null": "
|
|
196
|
+
"is_null": "YES",
|
|
197
197
|
"maxlength": null
|
|
198
198
|
},
|
|
199
199
|
"fk_table": null,
|
|
@@ -204,7 +204,7 @@ exports.default = {
|
|
|
204
204
|
"name": "tipo_impressao",
|
|
205
205
|
"value": {
|
|
206
206
|
"type": "character varying",
|
|
207
|
-
"is_null": "
|
|
207
|
+
"is_null": "YES",
|
|
208
208
|
"maxlength": null
|
|
209
209
|
},
|
|
210
210
|
"fk_table": null,
|
|
@@ -215,7 +215,7 @@ exports.default = {
|
|
|
215
215
|
"name": "tipo_proposito",
|
|
216
216
|
"value": {
|
|
217
217
|
"type": "character varying",
|
|
218
|
-
"is_null": "
|
|
218
|
+
"is_null": "YES",
|
|
219
219
|
"maxlength": null
|
|
220
220
|
},
|
|
221
221
|
"fk_table": null,
|
|
@@ -226,7 +226,7 @@ exports.default = {
|
|
|
226
226
|
"name": "indicador_presenca",
|
|
227
227
|
"value": {
|
|
228
228
|
"type": "character varying",
|
|
229
|
-
"is_null": "
|
|
229
|
+
"is_null": "YES",
|
|
230
230
|
"maxlength": null
|
|
231
231
|
},
|
|
232
232
|
"fk_table": null,
|
|
@@ -239,7 +239,7 @@ exports.default = {
|
|
|
239
239
|
"name": "cliente",
|
|
240
240
|
"value": {
|
|
241
241
|
"type": "integer",
|
|
242
|
-
"is_null": "
|
|
242
|
+
"is_null": "YES",
|
|
243
243
|
"maxlength": null
|
|
244
244
|
},
|
|
245
245
|
"fk_table": "entidade",
|
|
@@ -25,20 +25,20 @@ exports.default = {
|
|
|
25
25
|
"pk": false
|
|
26
26
|
},
|
|
27
27
|
{
|
|
28
|
-
"name": "
|
|
28
|
+
"name": "item_variacao",
|
|
29
29
|
"value": {
|
|
30
30
|
"type": "integer",
|
|
31
31
|
"is_null": "NO",
|
|
32
32
|
"maxlength": null
|
|
33
33
|
},
|
|
34
|
-
"fk_table": "
|
|
34
|
+
"fk_table": "item_variacao",
|
|
35
35
|
"fk_reference": "id",
|
|
36
36
|
"pk": false
|
|
37
37
|
},
|
|
38
38
|
{
|
|
39
39
|
"name": "quantidade",
|
|
40
40
|
"value": {
|
|
41
|
-
"type": "
|
|
41
|
+
"type": "integer",
|
|
42
42
|
"is_null": "NO",
|
|
43
43
|
"maxlength": null
|
|
44
44
|
},
|
|
@@ -104,13 +104,13 @@ exports.default = {
|
|
|
104
104
|
"pk": false
|
|
105
105
|
},
|
|
106
106
|
{
|
|
107
|
-
"name": "
|
|
107
|
+
"name": "item_variacao",
|
|
108
108
|
"value": {
|
|
109
109
|
"type": "integer",
|
|
110
110
|
"is_null": "NO",
|
|
111
111
|
"maxlength": null
|
|
112
112
|
},
|
|
113
|
-
"fk_table": "
|
|
113
|
+
"fk_table": "item_variacao",
|
|
114
114
|
"fk_reference": "id",
|
|
115
115
|
"pk": false
|
|
116
116
|
}
|
package/package.json
CHANGED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export type ecommerce_fields = {
|
|
2
|
-
id?: number;
|
|
3
|
-
empresa: number;
|
|
4
|
-
nome: string;
|
|
5
|
-
descricao: string;
|
|
6
|
-
politica: string;
|
|
7
|
-
termos: string;
|
|
8
|
-
logo: string;
|
|
9
|
-
favicon: string;
|
|
10
|
-
cor_primaria: string;
|
|
11
|
-
cor_secundaria: string;
|
|
12
|
-
cor_alerta: string;
|
|
13
|
-
whatsapp: string;
|
|
14
|
-
email: string;
|
|
15
|
-
facebook?: string;
|
|
16
|
-
instagram?: string;
|
|
17
|
-
tiktok?: string;
|
|
18
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ecommerce_item_where } from './ecommerce_item_where';
|
|
2
|
-
import { ecommerce_item_order } from './ecommerce_item_order';
|
|
3
|
-
export type ecommerce_item_select = {
|
|
4
|
-
id?: number;
|
|
5
|
-
item?: number;
|
|
6
|
-
ecommerce?: number;
|
|
7
|
-
where: ecommerce_item_where;
|
|
8
|
-
order?: ecommerce_item_order;
|
|
9
|
-
};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export type ecommerce_order = {
|
|
2
|
-
id?: 'desc' | 'asc';
|
|
3
|
-
empresa?: 'desc' | 'asc';
|
|
4
|
-
nome?: 'desc' | 'asc';
|
|
5
|
-
descricao?: 'desc' | 'asc';
|
|
6
|
-
politica?: 'desc' | 'asc';
|
|
7
|
-
termos?: 'desc' | 'asc';
|
|
8
|
-
logo?: 'desc' | 'asc';
|
|
9
|
-
favicon?: 'desc' | 'asc';
|
|
10
|
-
cor_primaria?: 'desc' | 'asc';
|
|
11
|
-
cor_secundaria?: 'desc' | 'asc';
|
|
12
|
-
cor_alerta?: 'desc' | 'asc';
|
|
13
|
-
whatsapp?: 'desc' | 'asc';
|
|
14
|
-
email?: 'desc' | 'asc';
|
|
15
|
-
facebook?: 'desc' | 'asc';
|
|
16
|
-
instagram?: 'desc' | 'asc';
|
|
17
|
-
tiktok?: 'desc' | 'asc';
|
|
18
|
-
};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { ecommerce_where } from './ecommerce_where';
|
|
2
|
-
import { ecommerce_order } from './ecommerce_order';
|
|
3
|
-
export type ecommerce_select = {
|
|
4
|
-
id?: number;
|
|
5
|
-
empresa?: number;
|
|
6
|
-
nome?: string;
|
|
7
|
-
descricao?: string;
|
|
8
|
-
politica?: string;
|
|
9
|
-
termos?: string;
|
|
10
|
-
logo?: string;
|
|
11
|
-
favicon?: string;
|
|
12
|
-
cor_primaria?: string;
|
|
13
|
-
cor_secundaria?: string;
|
|
14
|
-
cor_alerta?: string;
|
|
15
|
-
whatsapp?: string;
|
|
16
|
-
email?: string;
|
|
17
|
-
facebook?: string;
|
|
18
|
-
instagram?: string;
|
|
19
|
-
tiktok?: string;
|
|
20
|
-
where: ecommerce_where;
|
|
21
|
-
order?: ecommerce_order;
|
|
22
|
-
};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { ecommerce_where } from './ecommerce_where';
|
|
2
|
-
export type ecommerce_update = {
|
|
3
|
-
id?: number;
|
|
4
|
-
empresa?: number;
|
|
5
|
-
nome?: string;
|
|
6
|
-
descricao?: string;
|
|
7
|
-
politica?: string;
|
|
8
|
-
termos?: string;
|
|
9
|
-
logo?: string;
|
|
10
|
-
favicon?: string;
|
|
11
|
-
cor_primaria?: string;
|
|
12
|
-
cor_secundaria?: string;
|
|
13
|
-
cor_alerta?: string;
|
|
14
|
-
whatsapp?: string;
|
|
15
|
-
email?: string;
|
|
16
|
-
facebook?: string;
|
|
17
|
-
instagram?: string;
|
|
18
|
-
tiktok?: string;
|
|
19
|
-
where: ecommerce_where;
|
|
20
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { where_number, where_string } from '../';
|
|
2
|
-
export type ecommerce_where = {
|
|
3
|
-
id?: where_number | number;
|
|
4
|
-
empresa?: where_number | number;
|
|
5
|
-
nome?: where_string | string;
|
|
6
|
-
descricao?: where_string | string;
|
|
7
|
-
politica?: where_string | string;
|
|
8
|
-
termos?: where_string | string;
|
|
9
|
-
logo?: where_string | string;
|
|
10
|
-
favicon?: where_string | string;
|
|
11
|
-
cor_primaria?: where_string | string;
|
|
12
|
-
cor_secundaria?: where_string | string;
|
|
13
|
-
cor_alerta?: where_string | string;
|
|
14
|
-
whatsapp?: where_string | string;
|
|
15
|
-
email?: where_string | string;
|
|
16
|
-
facebook?: where_string | string;
|
|
17
|
-
instagram?: where_string | string;
|
|
18
|
-
tiktok?: where_string | string;
|
|
19
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import base from '../../base';
|
|
2
|
-
import { PoolClient } from 'pg';
|
|
3
|
-
import { ecommerce_select } from '../../@types/admin/ecommerce_select';
|
|
4
|
-
import { ecommerce_where } from '../../@types/admin/ecommerce_where';
|
|
5
|
-
import { ecommerce_update } from '../../@types/admin/ecommerce_update';
|
|
6
|
-
import { ecommerce_fields } from '../../@types/admin/ecommerce_fields';
|
|
7
|
-
export default class ecommerce extends base {
|
|
8
|
-
static get(fields: ecommerce_select, transaction?: PoolClient | any): Promise<ecommerce_fields>;
|
|
9
|
-
static get_all(fields: ecommerce_select, transaction?: PoolClient | any): Promise<ecommerce_fields[]>;
|
|
10
|
-
static create(fields: ecommerce_fields, transaction?: PoolClient | any): Promise<ecommerce_fields>;
|
|
11
|
-
static update(fields: ecommerce_update, transaction?: PoolClient | any): Promise<any>;
|
|
12
|
-
static delete(fields: ecommerce_where, transaction?: PoolClient | any): Promise<any>;
|
|
13
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
const base_1 = __importDefault(require("../../base"));
|
|
7
|
-
class ecommerce extends base_1.default {
|
|
8
|
-
static async get(fields, transaction = undefined) {
|
|
9
|
-
return await super.b_get('admin', fields, 'ecommerce', transaction);
|
|
10
|
-
}
|
|
11
|
-
static async get_all(fields, transaction = undefined) {
|
|
12
|
-
return await super.b_get_all('admin', fields, 'ecommerce', transaction);
|
|
13
|
-
}
|
|
14
|
-
static async create(fields, transaction = undefined) {
|
|
15
|
-
return await super.b_create('admin', fields, 'ecommerce', transaction);
|
|
16
|
-
}
|
|
17
|
-
static async update(fields, transaction = undefined) {
|
|
18
|
-
return await super.b_update('admin', fields, 'ecommerce', transaction);
|
|
19
|
-
}
|
|
20
|
-
static async delete(fields, transaction = undefined) {
|
|
21
|
-
return await super.b_delete('admin', fields, 'ecommerce', transaction);
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
exports.default = ecommerce;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import base from '../../base';
|
|
2
|
-
import { PoolClient } from 'pg';
|
|
3
|
-
import { ecommerce_item_select } from '../../@types/admin/ecommerce_item_select';
|
|
4
|
-
import { ecommerce_item_where } from '../../@types/admin/ecommerce_item_where';
|
|
5
|
-
import { ecommerce_item_update } from '../../@types/admin/ecommerce_item_update';
|
|
6
|
-
import { ecommerce_item_fields } from '../../@types/admin/ecommerce_item_fields';
|
|
7
|
-
export default class ecommerce_item extends base {
|
|
8
|
-
static get(fields: ecommerce_item_select, transaction?: PoolClient | any): Promise<ecommerce_item_fields>;
|
|
9
|
-
static get_all(fields: ecommerce_item_select, transaction?: PoolClient | any): Promise<ecommerce_item_fields[]>;
|
|
10
|
-
static create(fields: ecommerce_item_fields, transaction?: PoolClient | any): Promise<ecommerce_item_fields>;
|
|
11
|
-
static update(fields: ecommerce_item_update, transaction?: PoolClient | any): Promise<any>;
|
|
12
|
-
static delete(fields: ecommerce_item_where, transaction?: PoolClient | any): Promise<any>;
|
|
13
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
const base_1 = __importDefault(require("../../base"));
|
|
7
|
-
class ecommerce_item extends base_1.default {
|
|
8
|
-
static async get(fields, transaction = undefined) {
|
|
9
|
-
return await super.b_get('admin', fields, 'ecommerce_item', transaction);
|
|
10
|
-
}
|
|
11
|
-
static async get_all(fields, transaction = undefined) {
|
|
12
|
-
return await super.b_get_all('admin', fields, 'ecommerce_item', transaction);
|
|
13
|
-
}
|
|
14
|
-
static async create(fields, transaction = undefined) {
|
|
15
|
-
return await super.b_create('admin', fields, 'ecommerce_item', transaction);
|
|
16
|
-
}
|
|
17
|
-
static async update(fields, transaction = undefined) {
|
|
18
|
-
return await super.b_update('admin', fields, 'ecommerce_item', transaction);
|
|
19
|
-
}
|
|
20
|
-
static async delete(fields, transaction = undefined) {
|
|
21
|
-
return await super.b_delete('admin', fields, 'ecommerce_item', transaction);
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
exports.default = ecommerce_item;
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
columns: ({
|
|
3
|
-
name: string;
|
|
4
|
-
value: {
|
|
5
|
-
type: string;
|
|
6
|
-
is_null: string;
|
|
7
|
-
maxlength: null;
|
|
8
|
-
};
|
|
9
|
-
fk_table: string;
|
|
10
|
-
fk_reference: string;
|
|
11
|
-
pk: boolean;
|
|
12
|
-
} | {
|
|
13
|
-
name: string;
|
|
14
|
-
value: {
|
|
15
|
-
type: string;
|
|
16
|
-
is_null: string;
|
|
17
|
-
maxlength: null;
|
|
18
|
-
};
|
|
19
|
-
fk_table: null;
|
|
20
|
-
fk_reference: null;
|
|
21
|
-
pk: boolean;
|
|
22
|
-
})[];
|
|
23
|
-
fathers: {
|
|
24
|
-
name: string;
|
|
25
|
-
value: {
|
|
26
|
-
type: string;
|
|
27
|
-
is_null: string;
|
|
28
|
-
maxlength: null;
|
|
29
|
-
};
|
|
30
|
-
fk_table: string;
|
|
31
|
-
fk_reference: string;
|
|
32
|
-
pk: boolean;
|
|
33
|
-
}[];
|
|
34
|
-
childrens: {
|
|
35
|
-
name: string;
|
|
36
|
-
value: {
|
|
37
|
-
type: string;
|
|
38
|
-
is_null: string;
|
|
39
|
-
maxlength: null;
|
|
40
|
-
};
|
|
41
|
-
fk_table: string;
|
|
42
|
-
fk_reference: string;
|
|
43
|
-
pk: boolean;
|
|
44
|
-
}[];
|
|
45
|
-
name: string;
|
|
46
|
-
};
|
|
47
|
-
export default _default;
|