pg-manipulator 1.0.42 → 1.0.44
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/categoria_fields.d.ts +1 -1
- package/dist/@types/admin/item_fields.d.ts +0 -3
- package/dist/@types/admin/item_order.d.ts +0 -3
- package/dist/@types/admin/item_select.d.ts +0 -3
- package/dist/@types/admin/item_update.d.ts +0 -3
- package/dist/@types/admin/item_variacao_atributo_fields.d.ts +5 -0
- package/dist/@types/admin/item_variacao_atributo_fields.js +2 -0
- package/dist/@types/admin/item_variacao_atributo_order.d.ts +5 -0
- package/dist/@types/admin/item_variacao_atributo_order.js +2 -0
- package/dist/@types/admin/item_variacao_atributo_select.d.ts +9 -0
- package/dist/@types/admin/item_variacao_atributo_select.js +2 -0
- package/dist/@types/admin/item_variacao_atributo_update.d.ts +7 -0
- package/dist/@types/admin/item_variacao_atributo_update.js +2 -0
- package/dist/@types/admin/item_variacao_atributo_where.d.ts +6 -0
- package/dist/@types/admin/item_variacao_atributo_where.js +2 -0
- package/dist/@types/admin/item_where.d.ts +0 -3
- package/dist/class/admin/index.d.ts +18 -16
- package/dist/class/admin/index.js +18 -16
- package/dist/class/admin/item_variacao_atributo.d.ts +13 -0
- package/dist/class/admin/item_variacao_atributo.js +24 -0
- package/dist/mapping/admin/atributo.d.ts +11 -1
- package/dist/mapping/admin/atributo.js +13 -1
- package/dist/mapping/admin/categoria.js +1 -1
- package/dist/mapping/admin/index.d.ts +93 -47
- package/dist/mapping/admin/index.js +18 -16
- package/dist/mapping/admin/item.js +0 -33
- package/dist/mapping/admin/item_variacao.d.ts +11 -1
- package/dist/mapping/admin/item_variacao.js +13 -1
- package/dist/mapping/admin/item_variacao_atributo.d.ts +27 -0
- package/dist/mapping/admin/item_variacao_atributo.js +65 -0
- package/package.json +1 -1
|
@@ -3,9 +3,6 @@ export type item_order = {
|
|
|
3
3
|
nome?: 'desc' | 'asc';
|
|
4
4
|
descricao?: 'desc' | 'asc';
|
|
5
5
|
sku?: 'desc' | 'asc';
|
|
6
|
-
preco?: 'desc' | 'asc';
|
|
7
|
-
preco_personalizacao?: 'desc' | 'asc';
|
|
8
|
-
preco_custo?: 'desc' | 'asc';
|
|
9
6
|
categoria?: 'desc' | 'asc';
|
|
10
7
|
marca?: 'desc' | 'asc';
|
|
11
8
|
unidade_medida?: 'desc' | 'asc';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { item_variacao_atributo_where } from './item_variacao_atributo_where';
|
|
2
|
+
import { item_variacao_atributo_order } from './item_variacao_atributo_order';
|
|
3
|
+
export type item_variacao_atributo_select = {
|
|
4
|
+
id?: number;
|
|
5
|
+
atributo?: number;
|
|
6
|
+
item_variacao?: number;
|
|
7
|
+
where: item_variacao_atributo_where;
|
|
8
|
+
order?: item_variacao_atributo_order;
|
|
9
|
+
};
|
|
@@ -4,9 +4,6 @@ export type item_where = {
|
|
|
4
4
|
nome?: where_string | string;
|
|
5
5
|
descricao?: where_string | string;
|
|
6
6
|
sku?: where_number | number;
|
|
7
|
-
preco?: where_number | number;
|
|
8
|
-
preco_personalizacao?: where_number | number;
|
|
9
|
-
preco_custo?: where_number | number;
|
|
10
7
|
categoria?: where_number | number;
|
|
11
8
|
marca?: where_number | number;
|
|
12
9
|
unidade_medida?: where_string | string;
|
|
@@ -1,35 +1,37 @@
|
|
|
1
1
|
import { PoolClient } from 'pg';
|
|
2
2
|
import { pool_tsx } from '../../@types';
|
|
3
|
-
import
|
|
4
|
-
import
|
|
3
|
+
import ecommerce from './ecommerce';
|
|
4
|
+
import item_variacao_atributo from './item_variacao_atributo';
|
|
5
5
|
import item from './item';
|
|
6
|
-
import categoria from './categoria';
|
|
7
6
|
import entidade from './entidade';
|
|
8
|
-
import
|
|
7
|
+
import categoria from './categoria';
|
|
9
8
|
import marca from './marca';
|
|
10
|
-
import
|
|
11
|
-
import
|
|
9
|
+
import operacao_pagamento from './operacao_pagamento';
|
|
10
|
+
import item_variacao from './item_variacao';
|
|
11
|
+
import usuario from './usuario';
|
|
12
12
|
import ecommerce_item from './ecommerce_item';
|
|
13
|
-
import
|
|
13
|
+
import entidade_endereco from './entidade_endereco';
|
|
14
14
|
import atributo from './atributo';
|
|
15
|
-
import
|
|
15
|
+
import operacao from './operacao';
|
|
16
|
+
import operacao_item from './operacao_item';
|
|
16
17
|
import empresa from './empresa';
|
|
17
18
|
declare const _default: {
|
|
18
19
|
query(query_string: string, query_params: Array<any>, transaction?: PoolClient | any): Promise<any>;
|
|
19
20
|
transaction(callback: pool_tsx): Promise<void>;
|
|
20
|
-
|
|
21
|
-
|
|
21
|
+
ecommerce: typeof ecommerce;
|
|
22
|
+
item_variacao_atributo: typeof item_variacao_atributo;
|
|
22
23
|
item: typeof item;
|
|
23
|
-
categoria: typeof categoria;
|
|
24
24
|
entidade: typeof entidade;
|
|
25
|
-
|
|
25
|
+
categoria: typeof categoria;
|
|
26
26
|
marca: typeof marca;
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
operacao_pagamento: typeof operacao_pagamento;
|
|
28
|
+
item_variacao: typeof item_variacao;
|
|
29
|
+
usuario: typeof usuario;
|
|
29
30
|
ecommerce_item: typeof ecommerce_item;
|
|
30
|
-
|
|
31
|
+
entidade_endereco: typeof entidade_endereco;
|
|
31
32
|
atributo: typeof atributo;
|
|
32
|
-
|
|
33
|
+
operacao: typeof operacao;
|
|
34
|
+
operacao_item: typeof operacao_item;
|
|
33
35
|
empresa: typeof empresa;
|
|
34
36
|
};
|
|
35
37
|
export default _default;
|
|
@@ -4,19 +4,20 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
const database_1 = __importDefault(require("../../database"));
|
|
7
|
-
const
|
|
8
|
-
const
|
|
7
|
+
const ecommerce_1 = __importDefault(require("./ecommerce"));
|
|
8
|
+
const item_variacao_atributo_1 = __importDefault(require("./item_variacao_atributo"));
|
|
9
9
|
const item_1 = __importDefault(require("./item"));
|
|
10
|
-
const categoria_1 = __importDefault(require("./categoria"));
|
|
11
10
|
const entidade_1 = __importDefault(require("./entidade"));
|
|
12
|
-
const
|
|
11
|
+
const categoria_1 = __importDefault(require("./categoria"));
|
|
13
12
|
const marca_1 = __importDefault(require("./marca"));
|
|
14
|
-
const
|
|
15
|
-
const
|
|
13
|
+
const operacao_pagamento_1 = __importDefault(require("./operacao_pagamento"));
|
|
14
|
+
const item_variacao_1 = __importDefault(require("./item_variacao"));
|
|
15
|
+
const usuario_1 = __importDefault(require("./usuario"));
|
|
16
16
|
const ecommerce_item_1 = __importDefault(require("./ecommerce_item"));
|
|
17
|
-
const
|
|
17
|
+
const entidade_endereco_1 = __importDefault(require("./entidade_endereco"));
|
|
18
18
|
const atributo_1 = __importDefault(require("./atributo"));
|
|
19
|
-
const
|
|
19
|
+
const operacao_1 = __importDefault(require("./operacao"));
|
|
20
|
+
const operacao_item_1 = __importDefault(require("./operacao_item"));
|
|
20
21
|
const empresa_1 = __importDefault(require("./empresa"));
|
|
21
22
|
exports.default = {
|
|
22
23
|
async query(query_string, query_params, transaction = undefined) {
|
|
@@ -25,18 +26,19 @@ exports.default = {
|
|
|
25
26
|
async transaction(callback) {
|
|
26
27
|
return await database_1.default.transaction('admin', callback);
|
|
27
28
|
},
|
|
28
|
-
|
|
29
|
-
|
|
29
|
+
ecommerce: ecommerce_1.default,
|
|
30
|
+
item_variacao_atributo: item_variacao_atributo_1.default,
|
|
30
31
|
item: item_1.default,
|
|
31
|
-
categoria: categoria_1.default,
|
|
32
32
|
entidade: entidade_1.default,
|
|
33
|
-
|
|
33
|
+
categoria: categoria_1.default,
|
|
34
34
|
marca: marca_1.default,
|
|
35
|
-
|
|
36
|
-
|
|
35
|
+
operacao_pagamento: operacao_pagamento_1.default,
|
|
36
|
+
item_variacao: item_variacao_1.default,
|
|
37
|
+
usuario: usuario_1.default,
|
|
37
38
|
ecommerce_item: ecommerce_item_1.default,
|
|
38
|
-
|
|
39
|
+
entidade_endereco: entidade_endereco_1.default,
|
|
39
40
|
atributo: atributo_1.default,
|
|
40
|
-
|
|
41
|
+
operacao: operacao_1.default,
|
|
42
|
+
operacao_item: operacao_item_1.default,
|
|
41
43
|
empresa: empresa_1.default
|
|
42
44
|
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import base from '../../base';
|
|
2
|
+
import { PoolClient } from 'pg';
|
|
3
|
+
import { item_variacao_atributo_select } from '../../@types/admin/item_variacao_atributo_select';
|
|
4
|
+
import { item_variacao_atributo_where } from '../../@types/admin/item_variacao_atributo_where';
|
|
5
|
+
import { item_variacao_atributo_update } from '../../@types/admin/item_variacao_atributo_update';
|
|
6
|
+
import { item_variacao_atributo_fields } from '../../@types/admin/item_variacao_atributo_fields';
|
|
7
|
+
export default class item_variacao_atributo extends base {
|
|
8
|
+
static get(fields: item_variacao_atributo_select, transaction?: PoolClient | any): Promise<item_variacao_atributo_fields>;
|
|
9
|
+
static get_all(fields: item_variacao_atributo_select, transaction?: PoolClient | any): Promise<item_variacao_atributo_fields[]>;
|
|
10
|
+
static create(fields: item_variacao_atributo_fields, transaction?: PoolClient | any): Promise<item_variacao_atributo_fields>;
|
|
11
|
+
static update(fields: item_variacao_atributo_update, transaction?: PoolClient | any): Promise<any>;
|
|
12
|
+
static delete(fields: item_variacao_atributo_where, transaction?: PoolClient | any): Promise<any>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
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 item_variacao_atributo extends base_1.default {
|
|
8
|
+
static async get(fields, transaction = undefined) {
|
|
9
|
+
return await super.b_get('admin', fields, 'item_variacao_atributo', transaction);
|
|
10
|
+
}
|
|
11
|
+
static async get_all(fields, transaction = undefined) {
|
|
12
|
+
return await super.b_get_all('admin', fields, 'item_variacao_atributo', transaction);
|
|
13
|
+
}
|
|
14
|
+
static async create(fields, transaction = undefined) {
|
|
15
|
+
return await super.b_create('admin', fields, 'item_variacao_atributo', transaction);
|
|
16
|
+
}
|
|
17
|
+
static async update(fields, transaction = undefined) {
|
|
18
|
+
return await super.b_update('admin', fields, 'item_variacao_atributo', transaction);
|
|
19
|
+
}
|
|
20
|
+
static async delete(fields, transaction = undefined) {
|
|
21
|
+
return await super.b_delete('admin', fields, 'item_variacao_atributo', transaction);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
exports.default = item_variacao_atributo;
|
|
@@ -21,7 +21,17 @@ declare const _default: {
|
|
|
21
21
|
pk: boolean;
|
|
22
22
|
})[];
|
|
23
23
|
fathers: never[];
|
|
24
|
-
childrens:
|
|
24
|
+
childrens: {
|
|
25
|
+
name: string;
|
|
26
|
+
value: {
|
|
27
|
+
type: string;
|
|
28
|
+
is_null: string;
|
|
29
|
+
maxlength: null;
|
|
30
|
+
};
|
|
31
|
+
fk_table: string;
|
|
32
|
+
fk_reference: string;
|
|
33
|
+
pk: boolean;
|
|
34
|
+
}[];
|
|
25
35
|
name: string;
|
|
26
36
|
};
|
|
27
37
|
export default _default;
|
|
@@ -70,6 +70,18 @@ exports.default = {
|
|
|
70
70
|
}
|
|
71
71
|
],
|
|
72
72
|
"fathers": [],
|
|
73
|
-
"childrens": [
|
|
73
|
+
"childrens": [
|
|
74
|
+
{
|
|
75
|
+
"name": "atributo",
|
|
76
|
+
"value": {
|
|
77
|
+
"type": "integer",
|
|
78
|
+
"is_null": "NO",
|
|
79
|
+
"maxlength": null
|
|
80
|
+
},
|
|
81
|
+
"fk_table": "atributo",
|
|
82
|
+
"fk_reference": "id",
|
|
83
|
+
"pk": false
|
|
84
|
+
}
|
|
85
|
+
],
|
|
74
86
|
"name": "atributo"
|
|
75
87
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
-
|
|
2
|
+
ecommerce: {
|
|
3
3
|
columns: ({
|
|
4
4
|
name: string;
|
|
5
5
|
value: {
|
|
@@ -21,12 +21,32 @@ declare const _default: {
|
|
|
21
21
|
fk_reference: null;
|
|
22
22
|
pk: boolean;
|
|
23
23
|
})[];
|
|
24
|
-
fathers:
|
|
25
|
-
|
|
24
|
+
fathers: {
|
|
25
|
+
name: string;
|
|
26
|
+
value: {
|
|
27
|
+
type: string;
|
|
28
|
+
is_null: string;
|
|
29
|
+
maxlength: null;
|
|
30
|
+
};
|
|
31
|
+
fk_table: string;
|
|
32
|
+
fk_reference: string;
|
|
33
|
+
pk: boolean;
|
|
34
|
+
}[];
|
|
35
|
+
childrens: {
|
|
36
|
+
name: string;
|
|
37
|
+
value: {
|
|
38
|
+
type: string;
|
|
39
|
+
is_null: string;
|
|
40
|
+
maxlength: null;
|
|
41
|
+
};
|
|
42
|
+
fk_table: string;
|
|
43
|
+
fk_reference: string;
|
|
44
|
+
pk: boolean;
|
|
45
|
+
}[];
|
|
26
46
|
name: string;
|
|
27
47
|
};
|
|
28
|
-
|
|
29
|
-
columns:
|
|
48
|
+
item_variacao_atributo: {
|
|
49
|
+
columns: {
|
|
30
50
|
name: string;
|
|
31
51
|
value: {
|
|
32
52
|
type: string;
|
|
@@ -36,18 +56,18 @@ declare const _default: {
|
|
|
36
56
|
fk_table: string;
|
|
37
57
|
fk_reference: string;
|
|
38
58
|
pk: boolean;
|
|
39
|
-
}
|
|
59
|
+
}[];
|
|
60
|
+
fathers: {
|
|
40
61
|
name: string;
|
|
41
62
|
value: {
|
|
42
63
|
type: string;
|
|
43
64
|
is_null: string;
|
|
44
65
|
maxlength: null;
|
|
45
66
|
};
|
|
46
|
-
fk_table:
|
|
47
|
-
fk_reference:
|
|
67
|
+
fk_table: string;
|
|
68
|
+
fk_reference: string;
|
|
48
69
|
pk: boolean;
|
|
49
|
-
}
|
|
50
|
-
fathers: never[];
|
|
70
|
+
}[];
|
|
51
71
|
childrens: never[];
|
|
52
72
|
name: string;
|
|
53
73
|
};
|
|
@@ -97,7 +117,7 @@ declare const _default: {
|
|
|
97
117
|
}[];
|
|
98
118
|
name: string;
|
|
99
119
|
};
|
|
100
|
-
|
|
120
|
+
entidade: {
|
|
101
121
|
columns: ({
|
|
102
122
|
name: string;
|
|
103
123
|
value: {
|
|
@@ -133,7 +153,7 @@ declare const _default: {
|
|
|
133
153
|
}[];
|
|
134
154
|
name: string;
|
|
135
155
|
};
|
|
136
|
-
|
|
156
|
+
categoria: {
|
|
137
157
|
columns: ({
|
|
138
158
|
name: string;
|
|
139
159
|
value: {
|
|
@@ -169,7 +189,7 @@ declare const _default: {
|
|
|
169
189
|
}[];
|
|
170
190
|
name: string;
|
|
171
191
|
};
|
|
172
|
-
|
|
192
|
+
marca: {
|
|
173
193
|
columns: ({
|
|
174
194
|
name: string;
|
|
175
195
|
value: {
|
|
@@ -191,7 +211,8 @@ declare const _default: {
|
|
|
191
211
|
fk_reference: null;
|
|
192
212
|
pk: boolean;
|
|
193
213
|
})[];
|
|
194
|
-
fathers:
|
|
214
|
+
fathers: never[];
|
|
215
|
+
childrens: {
|
|
195
216
|
name: string;
|
|
196
217
|
value: {
|
|
197
218
|
type: string;
|
|
@@ -202,10 +223,9 @@ declare const _default: {
|
|
|
202
223
|
fk_reference: string;
|
|
203
224
|
pk: boolean;
|
|
204
225
|
}[];
|
|
205
|
-
childrens: never[];
|
|
206
226
|
name: string;
|
|
207
227
|
};
|
|
208
|
-
|
|
228
|
+
operacao_pagamento: {
|
|
209
229
|
columns: ({
|
|
210
230
|
name: string;
|
|
211
231
|
value: {
|
|
@@ -227,8 +247,7 @@ declare const _default: {
|
|
|
227
247
|
fk_reference: null;
|
|
228
248
|
pk: boolean;
|
|
229
249
|
})[];
|
|
230
|
-
fathers:
|
|
231
|
-
childrens: {
|
|
250
|
+
fathers: {
|
|
232
251
|
name: string;
|
|
233
252
|
value: {
|
|
234
253
|
type: string;
|
|
@@ -239,9 +258,10 @@ declare const _default: {
|
|
|
239
258
|
fk_reference: string;
|
|
240
259
|
pk: boolean;
|
|
241
260
|
}[];
|
|
261
|
+
childrens: never[];
|
|
242
262
|
name: string;
|
|
243
263
|
};
|
|
244
|
-
|
|
264
|
+
item_variacao: {
|
|
245
265
|
columns: ({
|
|
246
266
|
name: string;
|
|
247
267
|
value: {
|
|
@@ -263,7 +283,8 @@ declare const _default: {
|
|
|
263
283
|
fk_reference: null;
|
|
264
284
|
pk: boolean;
|
|
265
285
|
})[];
|
|
266
|
-
fathers:
|
|
286
|
+
fathers: never[];
|
|
287
|
+
childrens: {
|
|
267
288
|
name: string;
|
|
268
289
|
value: {
|
|
269
290
|
type: string;
|
|
@@ -274,10 +295,9 @@ declare const _default: {
|
|
|
274
295
|
fk_reference: string;
|
|
275
296
|
pk: boolean;
|
|
276
297
|
}[];
|
|
277
|
-
childrens: never[];
|
|
278
298
|
name: string;
|
|
279
299
|
};
|
|
280
|
-
|
|
300
|
+
usuario: {
|
|
281
301
|
columns: ({
|
|
282
302
|
name: string;
|
|
283
303
|
value: {
|
|
@@ -299,17 +319,7 @@ declare const _default: {
|
|
|
299
319
|
fk_reference: null;
|
|
300
320
|
pk: boolean;
|
|
301
321
|
})[];
|
|
302
|
-
fathers:
|
|
303
|
-
name: string;
|
|
304
|
-
value: {
|
|
305
|
-
type: string;
|
|
306
|
-
is_null: string;
|
|
307
|
-
maxlength: null;
|
|
308
|
-
};
|
|
309
|
-
fk_table: string;
|
|
310
|
-
fk_reference: string;
|
|
311
|
-
pk: boolean;
|
|
312
|
-
}[];
|
|
322
|
+
fathers: never[];
|
|
313
323
|
childrens: never[];
|
|
314
324
|
name: string;
|
|
315
325
|
};
|
|
@@ -339,7 +349,7 @@ declare const _default: {
|
|
|
339
349
|
childrens: never[];
|
|
340
350
|
name: string;
|
|
341
351
|
};
|
|
342
|
-
|
|
352
|
+
entidade_endereco: {
|
|
343
353
|
columns: ({
|
|
344
354
|
name: string;
|
|
345
355
|
value: {
|
|
@@ -372,17 +382,7 @@ declare const _default: {
|
|
|
372
382
|
fk_reference: string;
|
|
373
383
|
pk: boolean;
|
|
374
384
|
}[];
|
|
375
|
-
childrens:
|
|
376
|
-
name: string;
|
|
377
|
-
value: {
|
|
378
|
-
type: string;
|
|
379
|
-
is_null: string;
|
|
380
|
-
maxlength: null;
|
|
381
|
-
};
|
|
382
|
-
fk_table: string;
|
|
383
|
-
fk_reference: string;
|
|
384
|
-
pk: boolean;
|
|
385
|
-
}[];
|
|
385
|
+
childrens: never[];
|
|
386
386
|
name: string;
|
|
387
387
|
};
|
|
388
388
|
atributo: {
|
|
@@ -408,10 +408,20 @@ declare const _default: {
|
|
|
408
408
|
pk: boolean;
|
|
409
409
|
})[];
|
|
410
410
|
fathers: never[];
|
|
411
|
-
childrens:
|
|
411
|
+
childrens: {
|
|
412
|
+
name: string;
|
|
413
|
+
value: {
|
|
414
|
+
type: string;
|
|
415
|
+
is_null: string;
|
|
416
|
+
maxlength: null;
|
|
417
|
+
};
|
|
418
|
+
fk_table: string;
|
|
419
|
+
fk_reference: string;
|
|
420
|
+
pk: boolean;
|
|
421
|
+
}[];
|
|
412
422
|
name: string;
|
|
413
423
|
};
|
|
414
|
-
|
|
424
|
+
operacao: {
|
|
415
425
|
columns: ({
|
|
416
426
|
name: string;
|
|
417
427
|
value: {
|
|
@@ -457,6 +467,42 @@ declare const _default: {
|
|
|
457
467
|
}[];
|
|
458
468
|
name: string;
|
|
459
469
|
};
|
|
470
|
+
operacao_item: {
|
|
471
|
+
columns: ({
|
|
472
|
+
name: string;
|
|
473
|
+
value: {
|
|
474
|
+
type: string;
|
|
475
|
+
is_null: string;
|
|
476
|
+
maxlength: null;
|
|
477
|
+
};
|
|
478
|
+
fk_table: string;
|
|
479
|
+
fk_reference: string;
|
|
480
|
+
pk: boolean;
|
|
481
|
+
} | {
|
|
482
|
+
name: string;
|
|
483
|
+
value: {
|
|
484
|
+
type: string;
|
|
485
|
+
is_null: string;
|
|
486
|
+
maxlength: null;
|
|
487
|
+
};
|
|
488
|
+
fk_table: null;
|
|
489
|
+
fk_reference: null;
|
|
490
|
+
pk: boolean;
|
|
491
|
+
})[];
|
|
492
|
+
fathers: {
|
|
493
|
+
name: string;
|
|
494
|
+
value: {
|
|
495
|
+
type: string;
|
|
496
|
+
is_null: string;
|
|
497
|
+
maxlength: null;
|
|
498
|
+
};
|
|
499
|
+
fk_table: string;
|
|
500
|
+
fk_reference: string;
|
|
501
|
+
pk: boolean;
|
|
502
|
+
}[];
|
|
503
|
+
childrens: never[];
|
|
504
|
+
name: string;
|
|
505
|
+
};
|
|
460
506
|
empresa: {
|
|
461
507
|
columns: ({
|
|
462
508
|
name: string;
|
|
@@ -3,33 +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
|
|
6
|
+
const ecommerce_1 = __importDefault(require("./ecommerce"));
|
|
7
|
+
const item_variacao_atributo_1 = __importDefault(require("./item_variacao_atributo"));
|
|
8
8
|
const item_1 = __importDefault(require("./item"));
|
|
9
|
-
const categoria_1 = __importDefault(require("./categoria"));
|
|
10
9
|
const entidade_1 = __importDefault(require("./entidade"));
|
|
11
|
-
const
|
|
10
|
+
const categoria_1 = __importDefault(require("./categoria"));
|
|
12
11
|
const marca_1 = __importDefault(require("./marca"));
|
|
13
|
-
const
|
|
14
|
-
const
|
|
12
|
+
const operacao_pagamento_1 = __importDefault(require("./operacao_pagamento"));
|
|
13
|
+
const item_variacao_1 = __importDefault(require("./item_variacao"));
|
|
14
|
+
const usuario_1 = __importDefault(require("./usuario"));
|
|
15
15
|
const ecommerce_item_1 = __importDefault(require("./ecommerce_item"));
|
|
16
|
-
const
|
|
16
|
+
const entidade_endereco_1 = __importDefault(require("./entidade_endereco"));
|
|
17
17
|
const atributo_1 = __importDefault(require("./atributo"));
|
|
18
|
-
const
|
|
18
|
+
const operacao_1 = __importDefault(require("./operacao"));
|
|
19
|
+
const operacao_item_1 = __importDefault(require("./operacao_item"));
|
|
19
20
|
const empresa_1 = __importDefault(require("./empresa"));
|
|
20
21
|
exports.default = {
|
|
21
|
-
|
|
22
|
-
|
|
22
|
+
ecommerce: ecommerce_1.default,
|
|
23
|
+
item_variacao_atributo: item_variacao_atributo_1.default,
|
|
23
24
|
item: item_1.default,
|
|
24
|
-
categoria: categoria_1.default,
|
|
25
25
|
entidade: entidade_1.default,
|
|
26
|
-
|
|
26
|
+
categoria: categoria_1.default,
|
|
27
27
|
marca: marca_1.default,
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
operacao_pagamento: operacao_pagamento_1.default,
|
|
29
|
+
item_variacao: item_variacao_1.default,
|
|
30
|
+
usuario: usuario_1.default,
|
|
30
31
|
ecommerce_item: ecommerce_item_1.default,
|
|
31
|
-
|
|
32
|
+
entidade_endereco: entidade_endereco_1.default,
|
|
32
33
|
atributo: atributo_1.default,
|
|
33
|
-
|
|
34
|
+
operacao: operacao_1.default,
|
|
35
|
+
operacao_item: operacao_item_1.default,
|
|
34
36
|
empresa: empresa_1.default
|
|
35
37
|
};
|
|
@@ -46,39 +46,6 @@ exports.default = {
|
|
|
46
46
|
"fk_reference": null,
|
|
47
47
|
"pk": false
|
|
48
48
|
},
|
|
49
|
-
{
|
|
50
|
-
"name": "preco",
|
|
51
|
-
"value": {
|
|
52
|
-
"type": "numeric",
|
|
53
|
-
"is_null": "NO",
|
|
54
|
-
"maxlength": null
|
|
55
|
-
},
|
|
56
|
-
"fk_table": null,
|
|
57
|
-
"fk_reference": null,
|
|
58
|
-
"pk": false
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
"name": "preco_personalizacao",
|
|
62
|
-
"value": {
|
|
63
|
-
"type": "numeric",
|
|
64
|
-
"is_null": "NO",
|
|
65
|
-
"maxlength": null
|
|
66
|
-
},
|
|
67
|
-
"fk_table": null,
|
|
68
|
-
"fk_reference": null,
|
|
69
|
-
"pk": false
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
"name": "preco_custo",
|
|
73
|
-
"value": {
|
|
74
|
-
"type": "numeric",
|
|
75
|
-
"is_null": "NO",
|
|
76
|
-
"maxlength": null
|
|
77
|
-
},
|
|
78
|
-
"fk_table": null,
|
|
79
|
-
"fk_reference": null,
|
|
80
|
-
"pk": false
|
|
81
|
-
},
|
|
82
49
|
{
|
|
83
50
|
"name": "categoria",
|
|
84
51
|
"value": {
|
|
@@ -21,7 +21,17 @@ declare const _default: {
|
|
|
21
21
|
pk: boolean;
|
|
22
22
|
})[];
|
|
23
23
|
fathers: never[];
|
|
24
|
-
childrens:
|
|
24
|
+
childrens: {
|
|
25
|
+
name: string;
|
|
26
|
+
value: {
|
|
27
|
+
type: string;
|
|
28
|
+
is_null: string;
|
|
29
|
+
maxlength: null;
|
|
30
|
+
};
|
|
31
|
+
fk_table: string;
|
|
32
|
+
fk_reference: string;
|
|
33
|
+
pk: boolean;
|
|
34
|
+
}[];
|
|
25
35
|
name: string;
|
|
26
36
|
};
|
|
27
37
|
export default _default;
|
|
@@ -103,6 +103,18 @@ exports.default = {
|
|
|
103
103
|
}
|
|
104
104
|
],
|
|
105
105
|
"fathers": [],
|
|
106
|
-
"childrens": [
|
|
106
|
+
"childrens": [
|
|
107
|
+
{
|
|
108
|
+
"name": "item_variacao",
|
|
109
|
+
"value": {
|
|
110
|
+
"type": "integer",
|
|
111
|
+
"is_null": "NO",
|
|
112
|
+
"maxlength": null
|
|
113
|
+
},
|
|
114
|
+
"fk_table": "item_variacao",
|
|
115
|
+
"fk_reference": "id",
|
|
116
|
+
"pk": false
|
|
117
|
+
}
|
|
118
|
+
],
|
|
107
119
|
"name": "item_variacao"
|
|
108
120
|
};
|
|
@@ -0,0 +1,27 @@
|
|
|
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
|
+
fathers: {
|
|
14
|
+
name: string;
|
|
15
|
+
value: {
|
|
16
|
+
type: string;
|
|
17
|
+
is_null: string;
|
|
18
|
+
maxlength: null;
|
|
19
|
+
};
|
|
20
|
+
fk_table: string;
|
|
21
|
+
fk_reference: string;
|
|
22
|
+
pk: boolean;
|
|
23
|
+
}[];
|
|
24
|
+
childrens: never[];
|
|
25
|
+
name: string;
|
|
26
|
+
};
|
|
27
|
+
export default _default;
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.default = {
|
|
4
|
+
"columns": [
|
|
5
|
+
{
|
|
6
|
+
"name": "id",
|
|
7
|
+
"value": {
|
|
8
|
+
"type": "integer",
|
|
9
|
+
"is_null": "YES",
|
|
10
|
+
"maxlength": null
|
|
11
|
+
},
|
|
12
|
+
"fk_table": "item_variacao_atributo",
|
|
13
|
+
"fk_reference": "id",
|
|
14
|
+
"pk": true
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"name": "atributo",
|
|
18
|
+
"value": {
|
|
19
|
+
"type": "integer",
|
|
20
|
+
"is_null": "NO",
|
|
21
|
+
"maxlength": null
|
|
22
|
+
},
|
|
23
|
+
"fk_table": "atributo",
|
|
24
|
+
"fk_reference": "id",
|
|
25
|
+
"pk": false
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "item_variacao",
|
|
29
|
+
"value": {
|
|
30
|
+
"type": "integer",
|
|
31
|
+
"is_null": "NO",
|
|
32
|
+
"maxlength": null
|
|
33
|
+
},
|
|
34
|
+
"fk_table": "item_variacao",
|
|
35
|
+
"fk_reference": "id",
|
|
36
|
+
"pk": false
|
|
37
|
+
}
|
|
38
|
+
],
|
|
39
|
+
"fathers": [
|
|
40
|
+
{
|
|
41
|
+
"name": "atributo",
|
|
42
|
+
"value": {
|
|
43
|
+
"type": "integer",
|
|
44
|
+
"is_null": "NO",
|
|
45
|
+
"maxlength": null
|
|
46
|
+
},
|
|
47
|
+
"fk_table": "atributo",
|
|
48
|
+
"fk_reference": "id",
|
|
49
|
+
"pk": false
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"name": "item_variacao",
|
|
53
|
+
"value": {
|
|
54
|
+
"type": "integer",
|
|
55
|
+
"is_null": "NO",
|
|
56
|
+
"maxlength": null
|
|
57
|
+
},
|
|
58
|
+
"fk_table": "item_variacao",
|
|
59
|
+
"fk_reference": "id",
|
|
60
|
+
"pk": false
|
|
61
|
+
}
|
|
62
|
+
],
|
|
63
|
+
"childrens": [],
|
|
64
|
+
"name": "item_variacao_atributo"
|
|
65
|
+
};
|