pg-manipulator 1.0.43 → 1.0.45
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/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_fields.d.ts +1 -0
- package/dist/@types/admin/item_variacao_order.d.ts +1 -0
- package/dist/@types/admin/item_variacao_select.d.ts +1 -0
- package/dist/@types/admin/item_variacao_update.d.ts +1 -0
- package/dist/@types/admin/item_variacao_where.d.ts +1 -0
- package/dist/@types/admin/item_where.d.ts +0 -3
- package/dist/class/admin/index.d.ts +20 -20
- package/dist/class/admin/index.js +21 -21
- package/dist/mapping/admin/index.d.ts +87 -77
- package/dist/mapping/admin/index.js +21 -21
- 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 +24 -1
- 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';
|
|
@@ -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,37 +1,37 @@
|
|
|
1
1
|
import { PoolClient } from 'pg';
|
|
2
2
|
import { pool_tsx } from '../../@types';
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
3
|
+
import ecommerce_item from './ecommerce_item';
|
|
4
|
+
import marca from './marca';
|
|
5
|
+
import entidade from './entidade';
|
|
6
|
+
import entidade_endereco from './entidade_endereco';
|
|
6
7
|
import ecommerce from './ecommerce';
|
|
7
|
-
import
|
|
8
|
+
import usuario from './usuario';
|
|
9
|
+
import item_variacao from './item_variacao';
|
|
10
|
+
import item_variacao_atributo from './item_variacao_atributo';
|
|
11
|
+
import operacao_item from './operacao_item';
|
|
8
12
|
import item from './item';
|
|
13
|
+
import operacao_pagamento from './operacao_pagamento';
|
|
9
14
|
import categoria from './categoria';
|
|
10
|
-
import entidade_endereco from './entidade_endereco';
|
|
11
|
-
import entidade from './entidade';
|
|
12
|
-
import marca from './marca';
|
|
13
15
|
import operacao from './operacao';
|
|
14
|
-
import
|
|
16
|
+
import empresa from './empresa';
|
|
15
17
|
import atributo from './atributo';
|
|
16
|
-
import item_variacao_atributo from './item_variacao_atributo';
|
|
17
|
-
import usuario from './usuario';
|
|
18
18
|
declare const _default: {
|
|
19
19
|
query(query_string: string, query_params: Array<any>, transaction?: PoolClient | any): Promise<any>;
|
|
20
20
|
transaction(callback: pool_tsx): Promise<void>;
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
ecommerce_item: typeof ecommerce_item;
|
|
22
|
+
marca: typeof marca;
|
|
23
|
+
entidade: typeof entidade;
|
|
24
|
+
entidade_endereco: typeof entidade_endereco;
|
|
24
25
|
ecommerce: typeof ecommerce;
|
|
25
|
-
|
|
26
|
+
usuario: typeof usuario;
|
|
27
|
+
item_variacao: typeof item_variacao;
|
|
28
|
+
item_variacao_atributo: typeof item_variacao_atributo;
|
|
29
|
+
operacao_item: typeof operacao_item;
|
|
26
30
|
item: typeof item;
|
|
31
|
+
operacao_pagamento: typeof operacao_pagamento;
|
|
27
32
|
categoria: typeof categoria;
|
|
28
|
-
entidade_endereco: typeof entidade_endereco;
|
|
29
|
-
entidade: typeof entidade;
|
|
30
|
-
marca: typeof marca;
|
|
31
33
|
operacao: typeof operacao;
|
|
32
|
-
|
|
34
|
+
empresa: typeof empresa;
|
|
33
35
|
atributo: typeof atributo;
|
|
34
|
-
item_variacao_atributo: typeof item_variacao_atributo;
|
|
35
|
-
usuario: typeof usuario;
|
|
36
36
|
};
|
|
37
37
|
export default _default;
|
|
@@ -4,21 +4,21 @@ 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
|
|
9
|
-
const
|
|
7
|
+
const ecommerce_item_1 = __importDefault(require("./ecommerce_item"));
|
|
8
|
+
const marca_1 = __importDefault(require("./marca"));
|
|
9
|
+
const entidade_1 = __importDefault(require("./entidade"));
|
|
10
|
+
const entidade_endereco_1 = __importDefault(require("./entidade_endereco"));
|
|
10
11
|
const ecommerce_1 = __importDefault(require("./ecommerce"));
|
|
11
|
-
const
|
|
12
|
+
const usuario_1 = __importDefault(require("./usuario"));
|
|
13
|
+
const item_variacao_1 = __importDefault(require("./item_variacao"));
|
|
14
|
+
const item_variacao_atributo_1 = __importDefault(require("./item_variacao_atributo"));
|
|
15
|
+
const operacao_item_1 = __importDefault(require("./operacao_item"));
|
|
12
16
|
const item_1 = __importDefault(require("./item"));
|
|
17
|
+
const operacao_pagamento_1 = __importDefault(require("./operacao_pagamento"));
|
|
13
18
|
const categoria_1 = __importDefault(require("./categoria"));
|
|
14
|
-
const entidade_endereco_1 = __importDefault(require("./entidade_endereco"));
|
|
15
|
-
const entidade_1 = __importDefault(require("./entidade"));
|
|
16
|
-
const marca_1 = __importDefault(require("./marca"));
|
|
17
19
|
const operacao_1 = __importDefault(require("./operacao"));
|
|
18
|
-
const
|
|
20
|
+
const empresa_1 = __importDefault(require("./empresa"));
|
|
19
21
|
const atributo_1 = __importDefault(require("./atributo"));
|
|
20
|
-
const item_variacao_atributo_1 = __importDefault(require("./item_variacao_atributo"));
|
|
21
|
-
const usuario_1 = __importDefault(require("./usuario"));
|
|
22
22
|
exports.default = {
|
|
23
23
|
async query(query_string, query_params, transaction = undefined) {
|
|
24
24
|
return await database_1.default.query('admin', query_string, query_params, transaction);
|
|
@@ -26,19 +26,19 @@ exports.default = {
|
|
|
26
26
|
async transaction(callback) {
|
|
27
27
|
return await database_1.default.transaction('admin', callback);
|
|
28
28
|
},
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
29
|
+
ecommerce_item: ecommerce_item_1.default,
|
|
30
|
+
marca: marca_1.default,
|
|
31
|
+
entidade: entidade_1.default,
|
|
32
|
+
entidade_endereco: entidade_endereco_1.default,
|
|
32
33
|
ecommerce: ecommerce_1.default,
|
|
33
|
-
|
|
34
|
+
usuario: usuario_1.default,
|
|
35
|
+
item_variacao: item_variacao_1.default,
|
|
36
|
+
item_variacao_atributo: item_variacao_atributo_1.default,
|
|
37
|
+
operacao_item: operacao_item_1.default,
|
|
34
38
|
item: item_1.default,
|
|
39
|
+
operacao_pagamento: operacao_pagamento_1.default,
|
|
35
40
|
categoria: categoria_1.default,
|
|
36
|
-
entidade_endereco: entidade_endereco_1.default,
|
|
37
|
-
entidade: entidade_1.default,
|
|
38
|
-
marca: marca_1.default,
|
|
39
41
|
operacao: operacao_1.default,
|
|
40
|
-
|
|
41
|
-
atributo: atributo_1.default
|
|
42
|
-
item_variacao_atributo: item_variacao_atributo_1.default,
|
|
43
|
-
usuario: usuario_1.default
|
|
42
|
+
empresa: empresa_1.default,
|
|
43
|
+
atributo: atributo_1.default
|
|
44
44
|
};
|
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
-
|
|
2
|
+
ecommerce_item: {
|
|
3
|
+
columns: {
|
|
4
|
+
name: string;
|
|
5
|
+
value: {
|
|
6
|
+
type: string;
|
|
7
|
+
is_null: string;
|
|
8
|
+
maxlength: null;
|
|
9
|
+
};
|
|
10
|
+
fk_table: string;
|
|
11
|
+
fk_reference: string;
|
|
12
|
+
pk: boolean;
|
|
13
|
+
}[];
|
|
14
|
+
fathers: {
|
|
15
|
+
name: string;
|
|
16
|
+
value: {
|
|
17
|
+
type: string;
|
|
18
|
+
is_null: string;
|
|
19
|
+
maxlength: null;
|
|
20
|
+
};
|
|
21
|
+
fk_table: string;
|
|
22
|
+
fk_reference: string;
|
|
23
|
+
pk: boolean;
|
|
24
|
+
}[];
|
|
25
|
+
childrens: never[];
|
|
26
|
+
name: string;
|
|
27
|
+
};
|
|
28
|
+
marca: {
|
|
3
29
|
columns: ({
|
|
4
30
|
name: string;
|
|
5
31
|
value: {
|
|
@@ -35,7 +61,7 @@ declare const _default: {
|
|
|
35
61
|
}[];
|
|
36
62
|
name: string;
|
|
37
63
|
};
|
|
38
|
-
|
|
64
|
+
entidade: {
|
|
39
65
|
columns: ({
|
|
40
66
|
name: string;
|
|
41
67
|
value: {
|
|
@@ -57,7 +83,8 @@ declare const _default: {
|
|
|
57
83
|
fk_reference: null;
|
|
58
84
|
pk: boolean;
|
|
59
85
|
})[];
|
|
60
|
-
fathers:
|
|
86
|
+
fathers: never[];
|
|
87
|
+
childrens: {
|
|
61
88
|
name: string;
|
|
62
89
|
value: {
|
|
63
90
|
type: string;
|
|
@@ -68,10 +95,9 @@ declare const _default: {
|
|
|
68
95
|
fk_reference: string;
|
|
69
96
|
pk: boolean;
|
|
70
97
|
}[];
|
|
71
|
-
childrens: never[];
|
|
72
98
|
name: string;
|
|
73
99
|
};
|
|
74
|
-
|
|
100
|
+
entidade_endereco: {
|
|
75
101
|
columns: ({
|
|
76
102
|
name: string;
|
|
77
103
|
value: {
|
|
@@ -93,8 +119,7 @@ declare const _default: {
|
|
|
93
119
|
fk_reference: null;
|
|
94
120
|
pk: boolean;
|
|
95
121
|
})[];
|
|
96
|
-
fathers:
|
|
97
|
-
childrens: {
|
|
122
|
+
fathers: {
|
|
98
123
|
name: string;
|
|
99
124
|
value: {
|
|
100
125
|
type: string;
|
|
@@ -105,6 +130,7 @@ declare const _default: {
|
|
|
105
130
|
fk_reference: string;
|
|
106
131
|
pk: boolean;
|
|
107
132
|
}[];
|
|
133
|
+
childrens: never[];
|
|
108
134
|
name: string;
|
|
109
135
|
};
|
|
110
136
|
ecommerce: {
|
|
@@ -153,7 +179,7 @@ declare const _default: {
|
|
|
153
179
|
}[];
|
|
154
180
|
name: string;
|
|
155
181
|
};
|
|
156
|
-
|
|
182
|
+
usuario: {
|
|
157
183
|
columns: ({
|
|
158
184
|
name: string;
|
|
159
185
|
value: {
|
|
@@ -175,21 +201,11 @@ declare const _default: {
|
|
|
175
201
|
fk_reference: null;
|
|
176
202
|
pk: boolean;
|
|
177
203
|
})[];
|
|
178
|
-
fathers:
|
|
179
|
-
name: string;
|
|
180
|
-
value: {
|
|
181
|
-
type: string;
|
|
182
|
-
is_null: string;
|
|
183
|
-
maxlength: null;
|
|
184
|
-
};
|
|
185
|
-
fk_table: string;
|
|
186
|
-
fk_reference: string;
|
|
187
|
-
pk: boolean;
|
|
188
|
-
}[];
|
|
204
|
+
fathers: never[];
|
|
189
205
|
childrens: never[];
|
|
190
206
|
name: string;
|
|
191
207
|
};
|
|
192
|
-
|
|
208
|
+
item_variacao: {
|
|
193
209
|
columns: ({
|
|
194
210
|
name: string;
|
|
195
211
|
value: {
|
|
@@ -235,8 +251,8 @@ declare const _default: {
|
|
|
235
251
|
}[];
|
|
236
252
|
name: string;
|
|
237
253
|
};
|
|
238
|
-
|
|
239
|
-
columns:
|
|
254
|
+
item_variacao_atributo: {
|
|
255
|
+
columns: {
|
|
240
256
|
name: string;
|
|
241
257
|
value: {
|
|
242
258
|
type: string;
|
|
@@ -246,19 +262,8 @@ declare const _default: {
|
|
|
246
262
|
fk_table: string;
|
|
247
263
|
fk_reference: string;
|
|
248
264
|
pk: boolean;
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
value: {
|
|
252
|
-
type: string;
|
|
253
|
-
is_null: string;
|
|
254
|
-
maxlength: null;
|
|
255
|
-
};
|
|
256
|
-
fk_table: null;
|
|
257
|
-
fk_reference: null;
|
|
258
|
-
pk: boolean;
|
|
259
|
-
})[];
|
|
260
|
-
fathers: never[];
|
|
261
|
-
childrens: {
|
|
265
|
+
}[];
|
|
266
|
+
fathers: {
|
|
262
267
|
name: string;
|
|
263
268
|
value: {
|
|
264
269
|
type: string;
|
|
@@ -269,9 +274,10 @@ declare const _default: {
|
|
|
269
274
|
fk_reference: string;
|
|
270
275
|
pk: boolean;
|
|
271
276
|
}[];
|
|
277
|
+
childrens: never[];
|
|
272
278
|
name: string;
|
|
273
279
|
};
|
|
274
|
-
|
|
280
|
+
operacao_item: {
|
|
275
281
|
columns: ({
|
|
276
282
|
name: string;
|
|
277
283
|
value: {
|
|
@@ -307,7 +313,7 @@ declare const _default: {
|
|
|
307
313
|
childrens: never[];
|
|
308
314
|
name: string;
|
|
309
315
|
};
|
|
310
|
-
|
|
316
|
+
item: {
|
|
311
317
|
columns: ({
|
|
312
318
|
name: string;
|
|
313
319
|
value: {
|
|
@@ -329,7 +335,17 @@ declare const _default: {
|
|
|
329
335
|
fk_reference: null;
|
|
330
336
|
pk: boolean;
|
|
331
337
|
})[];
|
|
332
|
-
fathers:
|
|
338
|
+
fathers: {
|
|
339
|
+
name: string;
|
|
340
|
+
value: {
|
|
341
|
+
type: string;
|
|
342
|
+
is_null: string;
|
|
343
|
+
maxlength: null;
|
|
344
|
+
};
|
|
345
|
+
fk_table: string;
|
|
346
|
+
fk_reference: string;
|
|
347
|
+
pk: boolean;
|
|
348
|
+
}[];
|
|
333
349
|
childrens: {
|
|
334
350
|
name: string;
|
|
335
351
|
value: {
|
|
@@ -343,7 +359,7 @@ declare const _default: {
|
|
|
343
359
|
}[];
|
|
344
360
|
name: string;
|
|
345
361
|
};
|
|
346
|
-
|
|
362
|
+
operacao_pagamento: {
|
|
347
363
|
columns: ({
|
|
348
364
|
name: string;
|
|
349
365
|
value: {
|
|
@@ -365,8 +381,7 @@ declare const _default: {
|
|
|
365
381
|
fk_reference: null;
|
|
366
382
|
pk: boolean;
|
|
367
383
|
})[];
|
|
368
|
-
fathers:
|
|
369
|
-
childrens: {
|
|
384
|
+
fathers: {
|
|
370
385
|
name: string;
|
|
371
386
|
value: {
|
|
372
387
|
type: string;
|
|
@@ -377,9 +392,10 @@ declare const _default: {
|
|
|
377
392
|
fk_reference: string;
|
|
378
393
|
pk: boolean;
|
|
379
394
|
}[];
|
|
395
|
+
childrens: never[];
|
|
380
396
|
name: string;
|
|
381
397
|
};
|
|
382
|
-
|
|
398
|
+
categoria: {
|
|
383
399
|
columns: ({
|
|
384
400
|
name: string;
|
|
385
401
|
value: {
|
|
@@ -401,7 +417,8 @@ declare const _default: {
|
|
|
401
417
|
fk_reference: null;
|
|
402
418
|
pk: boolean;
|
|
403
419
|
})[];
|
|
404
|
-
fathers:
|
|
420
|
+
fathers: never[];
|
|
421
|
+
childrens: {
|
|
405
422
|
name: string;
|
|
406
423
|
value: {
|
|
407
424
|
type: string;
|
|
@@ -412,7 +429,10 @@ declare const _default: {
|
|
|
412
429
|
fk_reference: string;
|
|
413
430
|
pk: boolean;
|
|
414
431
|
}[];
|
|
415
|
-
|
|
432
|
+
name: string;
|
|
433
|
+
};
|
|
434
|
+
operacao: {
|
|
435
|
+
columns: ({
|
|
416
436
|
name: string;
|
|
417
437
|
value: {
|
|
418
438
|
type: string;
|
|
@@ -422,11 +442,18 @@ declare const _default: {
|
|
|
422
442
|
fk_table: string;
|
|
423
443
|
fk_reference: string;
|
|
424
444
|
pk: boolean;
|
|
425
|
-
}
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
445
|
+
} | {
|
|
446
|
+
name: string;
|
|
447
|
+
value: {
|
|
448
|
+
type: string;
|
|
449
|
+
is_null: string;
|
|
450
|
+
maxlength: null;
|
|
451
|
+
};
|
|
452
|
+
fk_table: null;
|
|
453
|
+
fk_reference: null;
|
|
454
|
+
pk: boolean;
|
|
455
|
+
})[];
|
|
456
|
+
fathers: {
|
|
430
457
|
name: string;
|
|
431
458
|
value: {
|
|
432
459
|
type: string;
|
|
@@ -437,7 +464,7 @@ declare const _default: {
|
|
|
437
464
|
fk_reference: string;
|
|
438
465
|
pk: boolean;
|
|
439
466
|
}[];
|
|
440
|
-
|
|
467
|
+
childrens: {
|
|
441
468
|
name: string;
|
|
442
469
|
value: {
|
|
443
470
|
type: string;
|
|
@@ -448,10 +475,9 @@ declare const _default: {
|
|
|
448
475
|
fk_reference: string;
|
|
449
476
|
pk: boolean;
|
|
450
477
|
}[];
|
|
451
|
-
childrens: never[];
|
|
452
478
|
name: string;
|
|
453
479
|
};
|
|
454
|
-
|
|
480
|
+
empresa: {
|
|
455
481
|
columns: ({
|
|
456
482
|
name: string;
|
|
457
483
|
value: {
|
|
@@ -487,8 +513,8 @@ declare const _default: {
|
|
|
487
513
|
}[];
|
|
488
514
|
name: string;
|
|
489
515
|
};
|
|
490
|
-
|
|
491
|
-
columns: {
|
|
516
|
+
atributo: {
|
|
517
|
+
columns: ({
|
|
492
518
|
name: string;
|
|
493
519
|
value: {
|
|
494
520
|
type: string;
|
|
@@ -498,23 +524,19 @@ declare const _default: {
|
|
|
498
524
|
fk_table: string;
|
|
499
525
|
fk_reference: string;
|
|
500
526
|
pk: boolean;
|
|
501
|
-
}
|
|
502
|
-
fathers: {
|
|
527
|
+
} | {
|
|
503
528
|
name: string;
|
|
504
529
|
value: {
|
|
505
530
|
type: string;
|
|
506
531
|
is_null: string;
|
|
507
532
|
maxlength: null;
|
|
508
533
|
};
|
|
509
|
-
fk_table:
|
|
510
|
-
fk_reference:
|
|
534
|
+
fk_table: null;
|
|
535
|
+
fk_reference: null;
|
|
511
536
|
pk: boolean;
|
|
512
|
-
}[];
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
};
|
|
516
|
-
usuario: {
|
|
517
|
-
columns: ({
|
|
537
|
+
})[];
|
|
538
|
+
fathers: never[];
|
|
539
|
+
childrens: {
|
|
518
540
|
name: string;
|
|
519
541
|
value: {
|
|
520
542
|
type: string;
|
|
@@ -524,19 +546,7 @@ declare const _default: {
|
|
|
524
546
|
fk_table: string;
|
|
525
547
|
fk_reference: string;
|
|
526
548
|
pk: boolean;
|
|
527
|
-
}
|
|
528
|
-
name: string;
|
|
529
|
-
value: {
|
|
530
|
-
type: string;
|
|
531
|
-
is_null: string;
|
|
532
|
-
maxlength: null;
|
|
533
|
-
};
|
|
534
|
-
fk_table: null;
|
|
535
|
-
fk_reference: null;
|
|
536
|
-
pk: boolean;
|
|
537
|
-
})[];
|
|
538
|
-
fathers: never[];
|
|
539
|
-
childrens: never[];
|
|
549
|
+
}[];
|
|
540
550
|
name: string;
|
|
541
551
|
};
|
|
542
552
|
};
|
|
@@ -3,35 +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
|
|
6
|
+
const ecommerce_item_1 = __importDefault(require("./ecommerce_item"));
|
|
7
|
+
const marca_1 = __importDefault(require("./marca"));
|
|
8
|
+
const entidade_1 = __importDefault(require("./entidade"));
|
|
9
|
+
const entidade_endereco_1 = __importDefault(require("./entidade_endereco"));
|
|
9
10
|
const ecommerce_1 = __importDefault(require("./ecommerce"));
|
|
10
|
-
const
|
|
11
|
+
const usuario_1 = __importDefault(require("./usuario"));
|
|
12
|
+
const item_variacao_1 = __importDefault(require("./item_variacao"));
|
|
13
|
+
const item_variacao_atributo_1 = __importDefault(require("./item_variacao_atributo"));
|
|
14
|
+
const operacao_item_1 = __importDefault(require("./operacao_item"));
|
|
11
15
|
const item_1 = __importDefault(require("./item"));
|
|
16
|
+
const operacao_pagamento_1 = __importDefault(require("./operacao_pagamento"));
|
|
12
17
|
const categoria_1 = __importDefault(require("./categoria"));
|
|
13
|
-
const entidade_endereco_1 = __importDefault(require("./entidade_endereco"));
|
|
14
|
-
const entidade_1 = __importDefault(require("./entidade"));
|
|
15
|
-
const marca_1 = __importDefault(require("./marca"));
|
|
16
18
|
const operacao_1 = __importDefault(require("./operacao"));
|
|
17
|
-
const
|
|
19
|
+
const empresa_1 = __importDefault(require("./empresa"));
|
|
18
20
|
const atributo_1 = __importDefault(require("./atributo"));
|
|
19
|
-
const item_variacao_atributo_1 = __importDefault(require("./item_variacao_atributo"));
|
|
20
|
-
const usuario_1 = __importDefault(require("./usuario"));
|
|
21
21
|
exports.default = {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
ecommerce_item: ecommerce_item_1.default,
|
|
23
|
+
marca: marca_1.default,
|
|
24
|
+
entidade: entidade_1.default,
|
|
25
|
+
entidade_endereco: entidade_endereco_1.default,
|
|
25
26
|
ecommerce: ecommerce_1.default,
|
|
26
|
-
|
|
27
|
+
usuario: usuario_1.default,
|
|
28
|
+
item_variacao: item_variacao_1.default,
|
|
29
|
+
item_variacao_atributo: item_variacao_atributo_1.default,
|
|
30
|
+
operacao_item: operacao_item_1.default,
|
|
27
31
|
item: item_1.default,
|
|
32
|
+
operacao_pagamento: operacao_pagamento_1.default,
|
|
28
33
|
categoria: categoria_1.default,
|
|
29
|
-
entidade_endereco: entidade_endereco_1.default,
|
|
30
|
-
entidade: entidade_1.default,
|
|
31
|
-
marca: marca_1.default,
|
|
32
34
|
operacao: operacao_1.default,
|
|
33
|
-
|
|
34
|
-
atributo: atributo_1.default
|
|
35
|
-
item_variacao_atributo: item_variacao_atributo_1.default,
|
|
36
|
-
usuario: usuario_1.default
|
|
35
|
+
empresa: empresa_1.default,
|
|
36
|
+
atributo: atributo_1.default
|
|
37
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": {
|
|
@@ -20,7 +20,17 @@ declare const _default: {
|
|
|
20
20
|
fk_reference: null;
|
|
21
21
|
pk: boolean;
|
|
22
22
|
})[];
|
|
23
|
-
fathers:
|
|
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
|
+
}[];
|
|
24
34
|
childrens: {
|
|
25
35
|
name: string;
|
|
26
36
|
value: {
|
|
@@ -100,9 +100,32 @@ exports.default = {
|
|
|
100
100
|
"fk_table": null,
|
|
101
101
|
"fk_reference": null,
|
|
102
102
|
"pk": false
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"name": "item",
|
|
106
|
+
"value": {
|
|
107
|
+
"type": "integer",
|
|
108
|
+
"is_null": "NO",
|
|
109
|
+
"maxlength": null
|
|
110
|
+
},
|
|
111
|
+
"fk_table": "item",
|
|
112
|
+
"fk_reference": "id",
|
|
113
|
+
"pk": false
|
|
114
|
+
}
|
|
115
|
+
],
|
|
116
|
+
"fathers": [
|
|
117
|
+
{
|
|
118
|
+
"name": "item",
|
|
119
|
+
"value": {
|
|
120
|
+
"type": "integer",
|
|
121
|
+
"is_null": "NO",
|
|
122
|
+
"maxlength": null
|
|
123
|
+
},
|
|
124
|
+
"fk_table": "item",
|
|
125
|
+
"fk_reference": "id",
|
|
126
|
+
"pk": false
|
|
103
127
|
}
|
|
104
128
|
],
|
|
105
|
-
"fathers": [],
|
|
106
129
|
"childrens": [
|
|
107
130
|
{
|
|
108
131
|
"name": "item_variacao",
|