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
|
@@ -2,22 +2,22 @@ export type operacao_fields = {
|
|
|
2
2
|
id?: number;
|
|
3
3
|
txid?: string;
|
|
4
4
|
situacao: string;
|
|
5
|
-
cliente
|
|
5
|
+
cliente?: number;
|
|
6
6
|
transportadora?: number;
|
|
7
|
-
valor_frete
|
|
8
|
-
valor_seguro
|
|
9
|
-
valor_outros
|
|
7
|
+
valor_frete: number;
|
|
8
|
+
valor_seguro: number;
|
|
9
|
+
valor_outros: number;
|
|
10
10
|
is_frete_gratis?: boolean;
|
|
11
11
|
is_consumidor_final?: boolean;
|
|
12
12
|
data_hora_criacao?: Date;
|
|
13
13
|
data_hora_contingencia?: Date;
|
|
14
14
|
justificativa_contingencia?: string;
|
|
15
|
-
serie
|
|
16
|
-
numero
|
|
17
|
-
natureza
|
|
18
|
-
tipo_operacao
|
|
19
|
-
destinacao
|
|
20
|
-
tipo_impressao
|
|
21
|
-
tipo_proposito
|
|
22
|
-
indicador_presenca
|
|
15
|
+
serie?: string;
|
|
16
|
+
numero?: number;
|
|
17
|
+
natureza?: string;
|
|
18
|
+
tipo_operacao?: string;
|
|
19
|
+
destinacao?: string;
|
|
20
|
+
tipo_impressao?: string;
|
|
21
|
+
tipo_proposito?: string;
|
|
22
|
+
indicador_presenca?: string;
|
|
23
23
|
};
|
|
@@ -2,7 +2,7 @@ import { where_number } from '../';
|
|
|
2
2
|
export type operacao_item_where = {
|
|
3
3
|
id?: where_number | number;
|
|
4
4
|
operacao?: where_number | number;
|
|
5
|
-
|
|
5
|
+
item_variacao?: where_number | number;
|
|
6
6
|
quantidade?: where_number | number;
|
|
7
7
|
valor_unitario?: where_number | number;
|
|
8
8
|
valor_desconto_unitario?: where_number | number;
|
|
@@ -1,41 +1,37 @@
|
|
|
1
1
|
import { PoolClient } from 'pg';
|
|
2
2
|
import { pool_tsx } from '../../@types';
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import entidade_cartao from './entidade_cartao';
|
|
3
|
+
import item_variacao_imagem from './item_variacao_imagem';
|
|
4
|
+
import empresa from './empresa';
|
|
6
5
|
import entidade_endereco from './entidade_endereco';
|
|
6
|
+
import entidade_cartao from './entidade_cartao';
|
|
7
|
+
import operacao from './operacao';
|
|
8
|
+
import operacao_pagamento from './operacao_pagamento';
|
|
7
9
|
import operacao_item from './operacao_item';
|
|
8
|
-
import item_variacao_atributo from './item_variacao_atributo';
|
|
9
|
-
import empresa from './empresa';
|
|
10
10
|
import item from './item';
|
|
11
|
-
import entidade from './entidade';
|
|
12
|
-
import categoria from './categoria';
|
|
13
11
|
import item_variacao from './item_variacao';
|
|
14
|
-
import
|
|
12
|
+
import categoria from './categoria';
|
|
13
|
+
import entidade from './entidade';
|
|
15
14
|
import usuario from './usuario';
|
|
15
|
+
import item_variacao_atributo from './item_variacao_atributo';
|
|
16
16
|
import marca from './marca';
|
|
17
|
-
import
|
|
18
|
-
import ecommerce_item from './ecommerce_item';
|
|
19
|
-
import item_variacao_imagem from './item_variacao_imagem';
|
|
17
|
+
import atributo from './atributo';
|
|
20
18
|
declare const _default: {
|
|
21
19
|
query(query_string: string, query_params: Array<any>, transaction?: PoolClient | any): Promise<any>;
|
|
22
20
|
transaction(callback: pool_tsx): Promise<void>;
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
entidade_cartao: typeof entidade_cartao;
|
|
21
|
+
item_variacao_imagem: typeof item_variacao_imagem;
|
|
22
|
+
empresa: typeof empresa;
|
|
26
23
|
entidade_endereco: typeof entidade_endereco;
|
|
24
|
+
entidade_cartao: typeof entidade_cartao;
|
|
25
|
+
operacao: typeof operacao;
|
|
26
|
+
operacao_pagamento: typeof operacao_pagamento;
|
|
27
27
|
operacao_item: typeof operacao_item;
|
|
28
|
-
item_variacao_atributo: typeof item_variacao_atributo;
|
|
29
|
-
empresa: typeof empresa;
|
|
30
28
|
item: typeof item;
|
|
31
|
-
entidade: typeof entidade;
|
|
32
|
-
categoria: typeof categoria;
|
|
33
29
|
item_variacao: typeof item_variacao;
|
|
34
|
-
|
|
30
|
+
categoria: typeof categoria;
|
|
31
|
+
entidade: typeof entidade;
|
|
35
32
|
usuario: typeof usuario;
|
|
33
|
+
item_variacao_atributo: typeof item_variacao_atributo;
|
|
36
34
|
marca: typeof marca;
|
|
37
|
-
|
|
38
|
-
ecommerce_item: typeof ecommerce_item;
|
|
39
|
-
item_variacao_imagem: typeof item_variacao_imagem;
|
|
35
|
+
atributo: typeof atributo;
|
|
40
36
|
};
|
|
41
37
|
export default _default;
|
|
@@ -4,23 +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 entidade_cartao_1 = __importDefault(require("./entidade_cartao"));
|
|
7
|
+
const item_variacao_imagem_1 = __importDefault(require("./item_variacao_imagem"));
|
|
8
|
+
const empresa_1 = __importDefault(require("./empresa"));
|
|
10
9
|
const entidade_endereco_1 = __importDefault(require("./entidade_endereco"));
|
|
10
|
+
const entidade_cartao_1 = __importDefault(require("./entidade_cartao"));
|
|
11
|
+
const operacao_1 = __importDefault(require("./operacao"));
|
|
12
|
+
const operacao_pagamento_1 = __importDefault(require("./operacao_pagamento"));
|
|
11
13
|
const operacao_item_1 = __importDefault(require("./operacao_item"));
|
|
12
|
-
const item_variacao_atributo_1 = __importDefault(require("./item_variacao_atributo"));
|
|
13
|
-
const empresa_1 = __importDefault(require("./empresa"));
|
|
14
14
|
const item_1 = __importDefault(require("./item"));
|
|
15
|
-
const entidade_1 = __importDefault(require("./entidade"));
|
|
16
|
-
const categoria_1 = __importDefault(require("./categoria"));
|
|
17
15
|
const item_variacao_1 = __importDefault(require("./item_variacao"));
|
|
18
|
-
const
|
|
16
|
+
const categoria_1 = __importDefault(require("./categoria"));
|
|
17
|
+
const entidade_1 = __importDefault(require("./entidade"));
|
|
19
18
|
const usuario_1 = __importDefault(require("./usuario"));
|
|
19
|
+
const item_variacao_atributo_1 = __importDefault(require("./item_variacao_atributo"));
|
|
20
20
|
const marca_1 = __importDefault(require("./marca"));
|
|
21
|
-
const
|
|
22
|
-
const ecommerce_item_1 = __importDefault(require("./ecommerce_item"));
|
|
23
|
-
const item_variacao_imagem_1 = __importDefault(require("./item_variacao_imagem"));
|
|
21
|
+
const atributo_1 = __importDefault(require("./atributo"));
|
|
24
22
|
exports.default = {
|
|
25
23
|
async query(query_string, query_params, transaction = undefined) {
|
|
26
24
|
return await database_1.default.query('admin', query_string, query_params, transaction);
|
|
@@ -28,21 +26,19 @@ exports.default = {
|
|
|
28
26
|
async transaction(callback) {
|
|
29
27
|
return await database_1.default.transaction('admin', callback);
|
|
30
28
|
},
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
entidade_cartao: entidade_cartao_1.default,
|
|
29
|
+
item_variacao_imagem: item_variacao_imagem_1.default,
|
|
30
|
+
empresa: empresa_1.default,
|
|
34
31
|
entidade_endereco: entidade_endereco_1.default,
|
|
32
|
+
entidade_cartao: entidade_cartao_1.default,
|
|
33
|
+
operacao: operacao_1.default,
|
|
34
|
+
operacao_pagamento: operacao_pagamento_1.default,
|
|
35
35
|
operacao_item: operacao_item_1.default,
|
|
36
|
-
item_variacao_atributo: item_variacao_atributo_1.default,
|
|
37
|
-
empresa: empresa_1.default,
|
|
38
36
|
item: item_1.default,
|
|
39
|
-
entidade: entidade_1.default,
|
|
40
|
-
categoria: categoria_1.default,
|
|
41
37
|
item_variacao: item_variacao_1.default,
|
|
42
|
-
|
|
38
|
+
categoria: categoria_1.default,
|
|
39
|
+
entidade: entidade_1.default,
|
|
43
40
|
usuario: usuario_1.default,
|
|
41
|
+
item_variacao_atributo: item_variacao_atributo_1.default,
|
|
44
42
|
marca: marca_1.default,
|
|
45
|
-
|
|
46
|
-
ecommerce_item: ecommerce_item_1.default,
|
|
47
|
-
item_variacao_imagem: item_variacao_imagem_1.default
|
|
43
|
+
atributo: atributo_1.default
|
|
48
44
|
};
|
|
@@ -21,17 +21,7 @@ declare const _default: {
|
|
|
21
21
|
pk: boolean;
|
|
22
22
|
})[];
|
|
23
23
|
fathers: never[];
|
|
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
|
-
}[];
|
|
24
|
+
childrens: never[];
|
|
35
25
|
name: string;
|
|
36
26
|
};
|
|
37
27
|
export default _default;
|
|
@@ -433,18 +433,6 @@ exports.default = {
|
|
|
433
433
|
}
|
|
434
434
|
],
|
|
435
435
|
"fathers": [],
|
|
436
|
-
"childrens": [
|
|
437
|
-
{
|
|
438
|
-
"name": "empresa",
|
|
439
|
-
"value": {
|
|
440
|
-
"type": "integer",
|
|
441
|
-
"is_null": "NO",
|
|
442
|
-
"maxlength": null
|
|
443
|
-
},
|
|
444
|
-
"fk_table": "empresa",
|
|
445
|
-
"fk_reference": "id",
|
|
446
|
-
"pk": false
|
|
447
|
-
}
|
|
448
|
-
],
|
|
436
|
+
"childrens": [],
|
|
449
437
|
"name": "empresa"
|
|
450
438
|
};
|
|
@@ -127,10 +127,10 @@ exports.default = {
|
|
|
127
127
|
"pk": false
|
|
128
128
|
},
|
|
129
129
|
{
|
|
130
|
-
"name": "
|
|
130
|
+
"name": "id_entidade",
|
|
131
131
|
"value": {
|
|
132
132
|
"type": "integer",
|
|
133
|
-
"is_null": "
|
|
133
|
+
"is_null": "NO",
|
|
134
134
|
"maxlength": null
|
|
135
135
|
},
|
|
136
136
|
"fk_table": "entidade",
|
|
@@ -138,10 +138,10 @@ exports.default = {
|
|
|
138
138
|
"pk": false
|
|
139
139
|
},
|
|
140
140
|
{
|
|
141
|
-
"name": "
|
|
141
|
+
"name": "transportadora",
|
|
142
142
|
"value": {
|
|
143
143
|
"type": "integer",
|
|
144
|
-
"is_null": "
|
|
144
|
+
"is_null": "YES",
|
|
145
145
|
"maxlength": null
|
|
146
146
|
},
|
|
147
147
|
"fk_table": "entidade",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
-
|
|
2
|
+
item_variacao_imagem: {
|
|
3
3
|
columns: ({
|
|
4
4
|
name: string;
|
|
5
5
|
value: {
|
|
@@ -21,8 +21,7 @@ declare const _default: {
|
|
|
21
21
|
fk_reference: null;
|
|
22
22
|
pk: boolean;
|
|
23
23
|
})[];
|
|
24
|
-
fathers:
|
|
25
|
-
childrens: {
|
|
24
|
+
fathers: {
|
|
26
25
|
name: string;
|
|
27
26
|
value: {
|
|
28
27
|
type: string;
|
|
@@ -33,9 +32,10 @@ declare const _default: {
|
|
|
33
32
|
fk_reference: string;
|
|
34
33
|
pk: boolean;
|
|
35
34
|
}[];
|
|
35
|
+
childrens: never[];
|
|
36
36
|
name: string;
|
|
37
37
|
};
|
|
38
|
-
|
|
38
|
+
empresa: {
|
|
39
39
|
columns: ({
|
|
40
40
|
name: string;
|
|
41
41
|
value: {
|
|
@@ -57,21 +57,11 @@ declare const _default: {
|
|
|
57
57
|
fk_reference: null;
|
|
58
58
|
pk: boolean;
|
|
59
59
|
})[];
|
|
60
|
-
fathers:
|
|
61
|
-
name: string;
|
|
62
|
-
value: {
|
|
63
|
-
type: string;
|
|
64
|
-
is_null: string;
|
|
65
|
-
maxlength: null;
|
|
66
|
-
};
|
|
67
|
-
fk_table: string;
|
|
68
|
-
fk_reference: string;
|
|
69
|
-
pk: boolean;
|
|
70
|
-
}[];
|
|
60
|
+
fathers: never[];
|
|
71
61
|
childrens: never[];
|
|
72
62
|
name: string;
|
|
73
63
|
};
|
|
74
|
-
|
|
64
|
+
entidade_endereco: {
|
|
75
65
|
columns: ({
|
|
76
66
|
name: string;
|
|
77
67
|
value: {
|
|
@@ -107,7 +97,7 @@ declare const _default: {
|
|
|
107
97
|
childrens: never[];
|
|
108
98
|
name: string;
|
|
109
99
|
};
|
|
110
|
-
|
|
100
|
+
entidade_cartao: {
|
|
111
101
|
columns: ({
|
|
112
102
|
name: string;
|
|
113
103
|
value: {
|
|
@@ -143,7 +133,7 @@ declare const _default: {
|
|
|
143
133
|
childrens: never[];
|
|
144
134
|
name: string;
|
|
145
135
|
};
|
|
146
|
-
|
|
136
|
+
operacao: {
|
|
147
137
|
columns: ({
|
|
148
138
|
name: string;
|
|
149
139
|
value: {
|
|
@@ -176,22 +166,7 @@ declare const _default: {
|
|
|
176
166
|
fk_reference: string;
|
|
177
167
|
pk: boolean;
|
|
178
168
|
}[];
|
|
179
|
-
childrens:
|
|
180
|
-
name: string;
|
|
181
|
-
};
|
|
182
|
-
item_variacao_atributo: {
|
|
183
|
-
columns: {
|
|
184
|
-
name: string;
|
|
185
|
-
value: {
|
|
186
|
-
type: string;
|
|
187
|
-
is_null: string;
|
|
188
|
-
maxlength: null;
|
|
189
|
-
};
|
|
190
|
-
fk_table: string;
|
|
191
|
-
fk_reference: string;
|
|
192
|
-
pk: boolean;
|
|
193
|
-
}[];
|
|
194
|
-
fathers: {
|
|
169
|
+
childrens: {
|
|
195
170
|
name: string;
|
|
196
171
|
value: {
|
|
197
172
|
type: string;
|
|
@@ -202,10 +177,9 @@ declare const _default: {
|
|
|
202
177
|
fk_reference: string;
|
|
203
178
|
pk: boolean;
|
|
204
179
|
}[];
|
|
205
|
-
childrens: never[];
|
|
206
180
|
name: string;
|
|
207
181
|
};
|
|
208
|
-
|
|
182
|
+
operacao_pagamento: {
|
|
209
183
|
columns: ({
|
|
210
184
|
name: string;
|
|
211
185
|
value: {
|
|
@@ -227,8 +201,7 @@ declare const _default: {
|
|
|
227
201
|
fk_reference: null;
|
|
228
202
|
pk: boolean;
|
|
229
203
|
})[];
|
|
230
|
-
fathers:
|
|
231
|
-
childrens: {
|
|
204
|
+
fathers: {
|
|
232
205
|
name: string;
|
|
233
206
|
value: {
|
|
234
207
|
type: string;
|
|
@@ -239,9 +212,10 @@ declare const _default: {
|
|
|
239
212
|
fk_reference: string;
|
|
240
213
|
pk: boolean;
|
|
241
214
|
}[];
|
|
215
|
+
childrens: never[];
|
|
242
216
|
name: string;
|
|
243
217
|
};
|
|
244
|
-
|
|
218
|
+
operacao_item: {
|
|
245
219
|
columns: ({
|
|
246
220
|
name: string;
|
|
247
221
|
value: {
|
|
@@ -274,20 +248,10 @@ declare const _default: {
|
|
|
274
248
|
fk_reference: string;
|
|
275
249
|
pk: boolean;
|
|
276
250
|
}[];
|
|
277
|
-
childrens:
|
|
278
|
-
name: string;
|
|
279
|
-
value: {
|
|
280
|
-
type: string;
|
|
281
|
-
is_null: string;
|
|
282
|
-
maxlength: null;
|
|
283
|
-
};
|
|
284
|
-
fk_table: string;
|
|
285
|
-
fk_reference: string;
|
|
286
|
-
pk: boolean;
|
|
287
|
-
}[];
|
|
251
|
+
childrens: never[];
|
|
288
252
|
name: string;
|
|
289
253
|
};
|
|
290
|
-
|
|
254
|
+
item: {
|
|
291
255
|
columns: ({
|
|
292
256
|
name: string;
|
|
293
257
|
value: {
|
|
@@ -309,8 +273,7 @@ declare const _default: {
|
|
|
309
273
|
fk_reference: null;
|
|
310
274
|
pk: boolean;
|
|
311
275
|
})[];
|
|
312
|
-
fathers:
|
|
313
|
-
childrens: {
|
|
276
|
+
fathers: {
|
|
314
277
|
name: string;
|
|
315
278
|
value: {
|
|
316
279
|
type: string;
|
|
@@ -321,31 +284,6 @@ declare const _default: {
|
|
|
321
284
|
fk_reference: string;
|
|
322
285
|
pk: boolean;
|
|
323
286
|
}[];
|
|
324
|
-
name: string;
|
|
325
|
-
};
|
|
326
|
-
categoria: {
|
|
327
|
-
columns: ({
|
|
328
|
-
name: string;
|
|
329
|
-
value: {
|
|
330
|
-
type: string;
|
|
331
|
-
is_null: string;
|
|
332
|
-
maxlength: null;
|
|
333
|
-
};
|
|
334
|
-
fk_table: string;
|
|
335
|
-
fk_reference: string;
|
|
336
|
-
pk: boolean;
|
|
337
|
-
} | {
|
|
338
|
-
name: string;
|
|
339
|
-
value: {
|
|
340
|
-
type: string;
|
|
341
|
-
is_null: string;
|
|
342
|
-
maxlength: null;
|
|
343
|
-
};
|
|
344
|
-
fk_table: null;
|
|
345
|
-
fk_reference: null;
|
|
346
|
-
pk: boolean;
|
|
347
|
-
})[];
|
|
348
|
-
fathers: never[];
|
|
349
287
|
childrens: {
|
|
350
288
|
name: string;
|
|
351
289
|
value: {
|
|
@@ -405,7 +343,7 @@ declare const _default: {
|
|
|
405
343
|
}[];
|
|
406
344
|
name: string;
|
|
407
345
|
};
|
|
408
|
-
|
|
346
|
+
categoria: {
|
|
409
347
|
columns: ({
|
|
410
348
|
name: string;
|
|
411
349
|
value: {
|
|
@@ -427,17 +365,7 @@ declare const _default: {
|
|
|
427
365
|
fk_reference: null;
|
|
428
366
|
pk: boolean;
|
|
429
367
|
})[];
|
|
430
|
-
fathers:
|
|
431
|
-
name: string;
|
|
432
|
-
value: {
|
|
433
|
-
type: string;
|
|
434
|
-
is_null: string;
|
|
435
|
-
maxlength: null;
|
|
436
|
-
};
|
|
437
|
-
fk_table: string;
|
|
438
|
-
fk_reference: string;
|
|
439
|
-
pk: boolean;
|
|
440
|
-
}[];
|
|
368
|
+
fathers: never[];
|
|
441
369
|
childrens: {
|
|
442
370
|
name: string;
|
|
443
371
|
value: {
|
|
@@ -451,33 +379,7 @@ declare const _default: {
|
|
|
451
379
|
}[];
|
|
452
380
|
name: string;
|
|
453
381
|
};
|
|
454
|
-
|
|
455
|
-
columns: ({
|
|
456
|
-
name: string;
|
|
457
|
-
value: {
|
|
458
|
-
type: string;
|
|
459
|
-
is_null: string;
|
|
460
|
-
maxlength: null;
|
|
461
|
-
};
|
|
462
|
-
fk_table: string;
|
|
463
|
-
fk_reference: string;
|
|
464
|
-
pk: boolean;
|
|
465
|
-
} | {
|
|
466
|
-
name: string;
|
|
467
|
-
value: {
|
|
468
|
-
type: string;
|
|
469
|
-
is_null: string;
|
|
470
|
-
maxlength: null;
|
|
471
|
-
};
|
|
472
|
-
fk_table: null;
|
|
473
|
-
fk_reference: null;
|
|
474
|
-
pk: boolean;
|
|
475
|
-
})[];
|
|
476
|
-
fathers: never[];
|
|
477
|
-
childrens: never[];
|
|
478
|
-
name: string;
|
|
479
|
-
};
|
|
480
|
-
marca: {
|
|
382
|
+
entidade: {
|
|
481
383
|
columns: ({
|
|
482
384
|
name: string;
|
|
483
385
|
value: {
|
|
@@ -513,7 +415,7 @@ declare const _default: {
|
|
|
513
415
|
}[];
|
|
514
416
|
name: string;
|
|
515
417
|
};
|
|
516
|
-
|
|
418
|
+
usuario: {
|
|
517
419
|
columns: ({
|
|
518
420
|
name: string;
|
|
519
421
|
value: {
|
|
@@ -535,7 +437,12 @@ declare const _default: {
|
|
|
535
437
|
fk_reference: null;
|
|
536
438
|
pk: boolean;
|
|
537
439
|
})[];
|
|
538
|
-
fathers:
|
|
440
|
+
fathers: never[];
|
|
441
|
+
childrens: never[];
|
|
442
|
+
name: string;
|
|
443
|
+
};
|
|
444
|
+
item_variacao_atributo: {
|
|
445
|
+
columns: {
|
|
539
446
|
name: string;
|
|
540
447
|
value: {
|
|
541
448
|
type: string;
|
|
@@ -546,7 +453,7 @@ declare const _default: {
|
|
|
546
453
|
fk_reference: string;
|
|
547
454
|
pk: boolean;
|
|
548
455
|
}[];
|
|
549
|
-
|
|
456
|
+
fathers: {
|
|
550
457
|
name: string;
|
|
551
458
|
value: {
|
|
552
459
|
type: string;
|
|
@@ -557,10 +464,11 @@ declare const _default: {
|
|
|
557
464
|
fk_reference: string;
|
|
558
465
|
pk: boolean;
|
|
559
466
|
}[];
|
|
467
|
+
childrens: never[];
|
|
560
468
|
name: string;
|
|
561
469
|
};
|
|
562
|
-
|
|
563
|
-
columns: {
|
|
470
|
+
marca: {
|
|
471
|
+
columns: ({
|
|
564
472
|
name: string;
|
|
565
473
|
value: {
|
|
566
474
|
type: string;
|
|
@@ -570,8 +478,19 @@ declare const _default: {
|
|
|
570
478
|
fk_table: string;
|
|
571
479
|
fk_reference: string;
|
|
572
480
|
pk: boolean;
|
|
573
|
-
}
|
|
574
|
-
|
|
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: never[];
|
|
493
|
+
childrens: {
|
|
575
494
|
name: string;
|
|
576
495
|
value: {
|
|
577
496
|
type: string;
|
|
@@ -582,10 +501,9 @@ declare const _default: {
|
|
|
582
501
|
fk_reference: string;
|
|
583
502
|
pk: boolean;
|
|
584
503
|
}[];
|
|
585
|
-
childrens: never[];
|
|
586
504
|
name: string;
|
|
587
505
|
};
|
|
588
|
-
|
|
506
|
+
atributo: {
|
|
589
507
|
columns: ({
|
|
590
508
|
name: string;
|
|
591
509
|
value: {
|
|
@@ -607,7 +525,8 @@ declare const _default: {
|
|
|
607
525
|
fk_reference: null;
|
|
608
526
|
pk: boolean;
|
|
609
527
|
})[];
|
|
610
|
-
fathers:
|
|
528
|
+
fathers: never[];
|
|
529
|
+
childrens: {
|
|
611
530
|
name: string;
|
|
612
531
|
value: {
|
|
613
532
|
type: string;
|
|
@@ -618,7 +537,6 @@ declare const _default: {
|
|
|
618
537
|
fk_reference: string;
|
|
619
538
|
pk: boolean;
|
|
620
539
|
}[];
|
|
621
|
-
childrens: never[];
|
|
622
540
|
name: string;
|
|
623
541
|
};
|
|
624
542
|
};
|