pg-manipulator 1.0.60 → 1.0.62
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/entidade_cartao_fields.d.ts +4 -4
- package/dist/@types/admin/entidade_cartao_order.d.ts +4 -4
- package/dist/@types/admin/entidade_cartao_select.d.ts +4 -4
- package/dist/@types/admin/entidade_cartao_update.d.ts +4 -4
- package/dist/@types/admin/entidade_cartao_where.d.ts +4 -4
- package/dist/@types/admin/item_fields.d.ts +0 -1
- package/dist/@types/admin/item_order.d.ts +0 -1
- package/dist/@types/admin/item_select.d.ts +0 -1
- package/dist/@types/admin/item_update.d.ts +0 -1
- package/dist/@types/admin/item_variacao_fields.d.ts +1 -1
- package/dist/@types/admin/item_variacao_order.d.ts +1 -1
- package/dist/@types/admin/item_variacao_select.d.ts +1 -1
- package/dist/@types/admin/item_variacao_update.d.ts +1 -1
- package/dist/@types/admin/item_variacao_where.d.ts +1 -1
- package/dist/@types/admin/item_where.d.ts +0 -1
- package/dist/class/admin/index.d.ts +22 -22
- package/dist/class/admin/index.js +22 -22
- package/dist/mapping/admin/entidade.js +0 -11
- package/dist/mapping/admin/entidade_cartao.js +5 -5
- package/dist/mapping/admin/index.d.ts +69 -69
- package/dist/mapping/admin/index.js +22 -22
- package/dist/mapping/admin/item.js +0 -11
- package/dist/mapping/admin/item_variacao.js +11 -11
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export type entidade_cartao_order = {
|
|
2
2
|
id?: 'desc' | 'asc';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
ultmos_numeros?: 'desc' | 'asc';
|
|
4
|
+
bandeira?: 'desc' | 'asc';
|
|
5
|
+
nome?: 'desc' | 'asc';
|
|
6
|
+
entidade?: 'desc' | 'asc';
|
|
7
7
|
id_cartao_externo?: 'desc' | 'asc';
|
|
8
8
|
};
|
|
@@ -2,10 +2,10 @@ import { entidade_cartao_where } from './entidade_cartao_where';
|
|
|
2
2
|
import { entidade_cartao_order } from './entidade_cartao_order';
|
|
3
3
|
export type entidade_cartao_select = {
|
|
4
4
|
id?: number;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
ultmos_numeros?: string;
|
|
6
|
+
bandeira?: string;
|
|
7
|
+
nome?: string;
|
|
8
|
+
entidade?: number;
|
|
9
9
|
id_cartao_externo?: string;
|
|
10
10
|
where: entidade_cartao_where;
|
|
11
11
|
order?: entidade_cartao_order;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { entidade_cartao_where } from './entidade_cartao_where';
|
|
2
2
|
export type entidade_cartao_update = {
|
|
3
3
|
id?: number;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
ultmos_numeros?: string;
|
|
5
|
+
bandeira?: string;
|
|
6
|
+
nome?: string;
|
|
7
|
+
entidade?: number;
|
|
8
8
|
id_cartao_externo?: string;
|
|
9
9
|
where: entidade_cartao_where;
|
|
10
10
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { where_number, where_string } from '../';
|
|
2
2
|
export type entidade_cartao_where = {
|
|
3
3
|
id?: where_number | number;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
ultmos_numeros?: where_string | string;
|
|
5
|
+
bandeira?: where_string | string;
|
|
6
|
+
nome?: where_string | string;
|
|
7
|
+
entidade?: where_number | number;
|
|
8
8
|
id_cartao_externo?: where_string | string;
|
|
9
9
|
};
|
|
@@ -4,9 +4,9 @@ export type item_variacao_order = {
|
|
|
4
4
|
descricao?: 'desc' | 'asc';
|
|
5
5
|
icone?: 'desc' | 'asc';
|
|
6
6
|
preco?: 'desc' | 'asc';
|
|
7
|
-
preco_custo?: 'desc' | 'asc';
|
|
8
7
|
preco_personalizacao?: 'desc' | 'asc';
|
|
9
8
|
campos_personalizados?: 'desc' | 'asc';
|
|
10
9
|
ativo?: 'desc' | 'asc';
|
|
11
10
|
item?: 'desc' | 'asc';
|
|
11
|
+
estoque?: 'desc' | 'asc';
|
|
12
12
|
};
|
|
@@ -6,11 +6,11 @@ export type item_variacao_select = {
|
|
|
6
6
|
descricao?: string;
|
|
7
7
|
icone?: string;
|
|
8
8
|
preco?: number;
|
|
9
|
-
preco_custo?: number;
|
|
10
9
|
preco_personalizacao?: number;
|
|
11
10
|
campos_personalizados?: any;
|
|
12
11
|
ativo?: boolean;
|
|
13
12
|
item?: number;
|
|
13
|
+
estoque?: number;
|
|
14
14
|
where: item_variacao_where;
|
|
15
15
|
order?: item_variacao_order;
|
|
16
16
|
};
|
|
@@ -5,10 +5,10 @@ export type item_variacao_update = {
|
|
|
5
5
|
descricao?: string;
|
|
6
6
|
icone?: string;
|
|
7
7
|
preco?: number;
|
|
8
|
-
preco_custo?: number;
|
|
9
8
|
preco_personalizacao?: number;
|
|
10
9
|
campos_personalizados?: any;
|
|
11
10
|
ativo?: boolean;
|
|
12
11
|
item?: number;
|
|
12
|
+
estoque?: number;
|
|
13
13
|
where: item_variacao_where;
|
|
14
14
|
};
|
|
@@ -5,9 +5,9 @@ export type item_variacao_where = {
|
|
|
5
5
|
descricao?: where_string | string;
|
|
6
6
|
icone?: where_string | string;
|
|
7
7
|
preco?: where_number | number;
|
|
8
|
-
preco_custo?: where_number | number;
|
|
9
8
|
preco_personalizacao?: where_number | number;
|
|
10
9
|
campos_personalizados?: any;
|
|
11
10
|
ativo?: where_boolean | boolean;
|
|
12
11
|
item?: where_number | number;
|
|
12
|
+
estoque?: where_number | number;
|
|
13
13
|
};
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import { PoolClient } from 'pg';
|
|
2
2
|
import { pool_tsx } from '../../@types';
|
|
3
|
-
import marca from './marca';
|
|
4
|
-
import operacao from './operacao';
|
|
5
|
-
import atributo from './atributo';
|
|
6
|
-
import usuario from './usuario';
|
|
7
|
-
import item_variacao_imagem from './item_variacao_imagem';
|
|
8
3
|
import entidade_endereco from './entidade_endereco';
|
|
9
|
-
import item_variacao_atributo from './item_variacao_atributo';
|
|
10
|
-
import empresa from './empresa';
|
|
11
|
-
import operacao_pagamento from './operacao_pagamento';
|
|
12
|
-
import entidade from './entidade';
|
|
13
|
-
import entidade_cartao from './entidade_cartao';
|
|
14
4
|
import item_variacao from './item_variacao';
|
|
5
|
+
import entidade from './entidade';
|
|
6
|
+
import operacao_pagamento from './operacao_pagamento';
|
|
7
|
+
import item from './item';
|
|
15
8
|
import categoria from './categoria';
|
|
9
|
+
import usuario from './usuario';
|
|
10
|
+
import item_variacao_atributo from './item_variacao_atributo';
|
|
16
11
|
import operacao_item from './operacao_item';
|
|
17
|
-
import
|
|
12
|
+
import entidade_cartao from './entidade_cartao';
|
|
13
|
+
import atributo from './atributo';
|
|
14
|
+
import marca from './marca';
|
|
15
|
+
import empresa from './empresa';
|
|
16
|
+
import item_variacao_imagem from './item_variacao_imagem';
|
|
17
|
+
import operacao from './operacao';
|
|
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
|
-
marca: typeof marca;
|
|
22
|
-
operacao: typeof operacao;
|
|
23
|
-
atributo: typeof atributo;
|
|
24
|
-
usuario: typeof usuario;
|
|
25
|
-
item_variacao_imagem: typeof item_variacao_imagem;
|
|
26
21
|
entidade_endereco: typeof entidade_endereco;
|
|
27
|
-
item_variacao_atributo: typeof item_variacao_atributo;
|
|
28
|
-
empresa: typeof empresa;
|
|
29
|
-
operacao_pagamento: typeof operacao_pagamento;
|
|
30
|
-
entidade: typeof entidade;
|
|
31
|
-
entidade_cartao: typeof entidade_cartao;
|
|
32
22
|
item_variacao: typeof item_variacao;
|
|
23
|
+
entidade: typeof entidade;
|
|
24
|
+
operacao_pagamento: typeof operacao_pagamento;
|
|
25
|
+
item: typeof item;
|
|
33
26
|
categoria: typeof categoria;
|
|
27
|
+
usuario: typeof usuario;
|
|
28
|
+
item_variacao_atributo: typeof item_variacao_atributo;
|
|
34
29
|
operacao_item: typeof operacao_item;
|
|
35
|
-
|
|
30
|
+
entidade_cartao: typeof entidade_cartao;
|
|
31
|
+
atributo: typeof atributo;
|
|
32
|
+
marca: typeof marca;
|
|
33
|
+
empresa: typeof empresa;
|
|
34
|
+
item_variacao_imagem: typeof item_variacao_imagem;
|
|
35
|
+
operacao: typeof operacao;
|
|
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 marca_1 = __importDefault(require("./marca"));
|
|
8
|
-
const operacao_1 = __importDefault(require("./operacao"));
|
|
9
|
-
const atributo_1 = __importDefault(require("./atributo"));
|
|
10
|
-
const usuario_1 = __importDefault(require("./usuario"));
|
|
11
|
-
const item_variacao_imagem_1 = __importDefault(require("./item_variacao_imagem"));
|
|
12
7
|
const entidade_endereco_1 = __importDefault(require("./entidade_endereco"));
|
|
13
|
-
const item_variacao_atributo_1 = __importDefault(require("./item_variacao_atributo"));
|
|
14
|
-
const empresa_1 = __importDefault(require("./empresa"));
|
|
15
|
-
const operacao_pagamento_1 = __importDefault(require("./operacao_pagamento"));
|
|
16
|
-
const entidade_1 = __importDefault(require("./entidade"));
|
|
17
|
-
const entidade_cartao_1 = __importDefault(require("./entidade_cartao"));
|
|
18
8
|
const item_variacao_1 = __importDefault(require("./item_variacao"));
|
|
9
|
+
const entidade_1 = __importDefault(require("./entidade"));
|
|
10
|
+
const operacao_pagamento_1 = __importDefault(require("./operacao_pagamento"));
|
|
11
|
+
const item_1 = __importDefault(require("./item"));
|
|
19
12
|
const categoria_1 = __importDefault(require("./categoria"));
|
|
13
|
+
const usuario_1 = __importDefault(require("./usuario"));
|
|
14
|
+
const item_variacao_atributo_1 = __importDefault(require("./item_variacao_atributo"));
|
|
20
15
|
const operacao_item_1 = __importDefault(require("./operacao_item"));
|
|
21
|
-
const
|
|
16
|
+
const entidade_cartao_1 = __importDefault(require("./entidade_cartao"));
|
|
17
|
+
const atributo_1 = __importDefault(require("./atributo"));
|
|
18
|
+
const marca_1 = __importDefault(require("./marca"));
|
|
19
|
+
const empresa_1 = __importDefault(require("./empresa"));
|
|
20
|
+
const item_variacao_imagem_1 = __importDefault(require("./item_variacao_imagem"));
|
|
21
|
+
const operacao_1 = __importDefault(require("./operacao"));
|
|
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
|
-
marca: marca_1.default,
|
|
30
|
-
operacao: operacao_1.default,
|
|
31
|
-
atributo: atributo_1.default,
|
|
32
|
-
usuario: usuario_1.default,
|
|
33
|
-
item_variacao_imagem: item_variacao_imagem_1.default,
|
|
34
29
|
entidade_endereco: entidade_endereco_1.default,
|
|
35
|
-
item_variacao_atributo: item_variacao_atributo_1.default,
|
|
36
|
-
empresa: empresa_1.default,
|
|
37
|
-
operacao_pagamento: operacao_pagamento_1.default,
|
|
38
|
-
entidade: entidade_1.default,
|
|
39
|
-
entidade_cartao: entidade_cartao_1.default,
|
|
40
30
|
item_variacao: item_variacao_1.default,
|
|
31
|
+
entidade: entidade_1.default,
|
|
32
|
+
operacao_pagamento: operacao_pagamento_1.default,
|
|
33
|
+
item: item_1.default,
|
|
41
34
|
categoria: categoria_1.default,
|
|
35
|
+
usuario: usuario_1.default,
|
|
36
|
+
item_variacao_atributo: item_variacao_atributo_1.default,
|
|
42
37
|
operacao_item: operacao_item_1.default,
|
|
43
|
-
|
|
38
|
+
entidade_cartao: entidade_cartao_1.default,
|
|
39
|
+
atributo: atributo_1.default,
|
|
40
|
+
marca: marca_1.default,
|
|
41
|
+
empresa: empresa_1.default,
|
|
42
|
+
item_variacao_imagem: item_variacao_imagem_1.default,
|
|
43
|
+
operacao: operacao_1.default
|
|
44
44
|
};
|
|
@@ -159,17 +159,6 @@ exports.default = {
|
|
|
159
159
|
"fk_reference": "id",
|
|
160
160
|
"pk": false
|
|
161
161
|
},
|
|
162
|
-
{
|
|
163
|
-
"name": "id_entidade",
|
|
164
|
-
"value": {
|
|
165
|
-
"type": "integer",
|
|
166
|
-
"is_null": "NO",
|
|
167
|
-
"maxlength": null
|
|
168
|
-
},
|
|
169
|
-
"fk_table": "entidade",
|
|
170
|
-
"fk_reference": "id",
|
|
171
|
-
"pk": false
|
|
172
|
-
},
|
|
173
162
|
{
|
|
174
163
|
"name": "transportadora",
|
|
175
164
|
"value": {
|
|
@@ -14,7 +14,7 @@ exports.default = {
|
|
|
14
14
|
"pk": true
|
|
15
15
|
},
|
|
16
16
|
{
|
|
17
|
-
"name": "
|
|
17
|
+
"name": "ultmos_numeros",
|
|
18
18
|
"value": {
|
|
19
19
|
"type": "character varying",
|
|
20
20
|
"is_null": "NO",
|
|
@@ -25,7 +25,7 @@ exports.default = {
|
|
|
25
25
|
"pk": false
|
|
26
26
|
},
|
|
27
27
|
{
|
|
28
|
-
"name": "
|
|
28
|
+
"name": "bandeira",
|
|
29
29
|
"value": {
|
|
30
30
|
"type": "character varying",
|
|
31
31
|
"is_null": "NO",
|
|
@@ -36,7 +36,7 @@ exports.default = {
|
|
|
36
36
|
"pk": false
|
|
37
37
|
},
|
|
38
38
|
{
|
|
39
|
-
"name": "
|
|
39
|
+
"name": "nome",
|
|
40
40
|
"value": {
|
|
41
41
|
"type": "character varying",
|
|
42
42
|
"is_null": "NO",
|
|
@@ -47,7 +47,7 @@ exports.default = {
|
|
|
47
47
|
"pk": false
|
|
48
48
|
},
|
|
49
49
|
{
|
|
50
|
-
"name": "
|
|
50
|
+
"name": "entidade",
|
|
51
51
|
"value": {
|
|
52
52
|
"type": "integer",
|
|
53
53
|
"is_null": "NO",
|
|
@@ -71,7 +71,7 @@ exports.default = {
|
|
|
71
71
|
],
|
|
72
72
|
"fathers": [
|
|
73
73
|
{
|
|
74
|
-
"name": "
|
|
74
|
+
"name": "entidade",
|
|
75
75
|
"value": {
|
|
76
76
|
"type": "integer",
|
|
77
77
|
"is_null": "NO",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
-
|
|
2
|
+
entidade_endereco: {
|
|
3
3
|
columns: ({
|
|
4
4
|
name: string;
|
|
5
5
|
value: {
|
|
@@ -21,7 +21,17 @@ declare const _default: {
|
|
|
21
21
|
fk_reference: null;
|
|
22
22
|
pk: boolean;
|
|
23
23
|
})[];
|
|
24
|
-
fathers:
|
|
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
|
+
}[];
|
|
25
35
|
childrens: {
|
|
26
36
|
name: string;
|
|
27
37
|
value: {
|
|
@@ -35,7 +45,7 @@ declare const _default: {
|
|
|
35
45
|
}[];
|
|
36
46
|
name: string;
|
|
37
47
|
};
|
|
38
|
-
|
|
48
|
+
item_variacao: {
|
|
39
49
|
columns: ({
|
|
40
50
|
name: string;
|
|
41
51
|
value: {
|
|
@@ -81,7 +91,7 @@ declare const _default: {
|
|
|
81
91
|
}[];
|
|
82
92
|
name: string;
|
|
83
93
|
};
|
|
84
|
-
|
|
94
|
+
entidade: {
|
|
85
95
|
columns: ({
|
|
86
96
|
name: string;
|
|
87
97
|
value: {
|
|
@@ -117,33 +127,7 @@ declare const _default: {
|
|
|
117
127
|
}[];
|
|
118
128
|
name: string;
|
|
119
129
|
};
|
|
120
|
-
|
|
121
|
-
columns: ({
|
|
122
|
-
name: string;
|
|
123
|
-
value: {
|
|
124
|
-
type: string;
|
|
125
|
-
is_null: string;
|
|
126
|
-
maxlength: null;
|
|
127
|
-
};
|
|
128
|
-
fk_table: string;
|
|
129
|
-
fk_reference: string;
|
|
130
|
-
pk: boolean;
|
|
131
|
-
} | {
|
|
132
|
-
name: string;
|
|
133
|
-
value: {
|
|
134
|
-
type: string;
|
|
135
|
-
is_null: string;
|
|
136
|
-
maxlength: null;
|
|
137
|
-
};
|
|
138
|
-
fk_table: null;
|
|
139
|
-
fk_reference: null;
|
|
140
|
-
pk: boolean;
|
|
141
|
-
})[];
|
|
142
|
-
fathers: never[];
|
|
143
|
-
childrens: never[];
|
|
144
|
-
name: string;
|
|
145
|
-
};
|
|
146
|
-
item_variacao_imagem: {
|
|
130
|
+
operacao_pagamento: {
|
|
147
131
|
columns: ({
|
|
148
132
|
name: string;
|
|
149
133
|
value: {
|
|
@@ -179,7 +163,7 @@ declare const _default: {
|
|
|
179
163
|
childrens: never[];
|
|
180
164
|
name: string;
|
|
181
165
|
};
|
|
182
|
-
|
|
166
|
+
item: {
|
|
183
167
|
columns: ({
|
|
184
168
|
name: string;
|
|
185
169
|
value: {
|
|
@@ -225,8 +209,8 @@ declare const _default: {
|
|
|
225
209
|
}[];
|
|
226
210
|
name: string;
|
|
227
211
|
};
|
|
228
|
-
|
|
229
|
-
columns: {
|
|
212
|
+
categoria: {
|
|
213
|
+
columns: ({
|
|
230
214
|
name: string;
|
|
231
215
|
value: {
|
|
232
216
|
type: string;
|
|
@@ -236,8 +220,19 @@ declare const _default: {
|
|
|
236
220
|
fk_table: string;
|
|
237
221
|
fk_reference: string;
|
|
238
222
|
pk: boolean;
|
|
239
|
-
}
|
|
240
|
-
|
|
223
|
+
} | {
|
|
224
|
+
name: string;
|
|
225
|
+
value: {
|
|
226
|
+
type: string;
|
|
227
|
+
is_null: string;
|
|
228
|
+
maxlength: null;
|
|
229
|
+
};
|
|
230
|
+
fk_table: null;
|
|
231
|
+
fk_reference: null;
|
|
232
|
+
pk: boolean;
|
|
233
|
+
})[];
|
|
234
|
+
fathers: never[];
|
|
235
|
+
childrens: {
|
|
241
236
|
name: string;
|
|
242
237
|
value: {
|
|
243
238
|
type: string;
|
|
@@ -248,10 +243,9 @@ declare const _default: {
|
|
|
248
243
|
fk_reference: string;
|
|
249
244
|
pk: boolean;
|
|
250
245
|
}[];
|
|
251
|
-
childrens: never[];
|
|
252
246
|
name: string;
|
|
253
247
|
};
|
|
254
|
-
|
|
248
|
+
usuario: {
|
|
255
249
|
columns: ({
|
|
256
250
|
name: string;
|
|
257
251
|
value: {
|
|
@@ -277,8 +271,8 @@ declare const _default: {
|
|
|
277
271
|
childrens: never[];
|
|
278
272
|
name: string;
|
|
279
273
|
};
|
|
280
|
-
|
|
281
|
-
columns:
|
|
274
|
+
item_variacao_atributo: {
|
|
275
|
+
columns: {
|
|
282
276
|
name: string;
|
|
283
277
|
value: {
|
|
284
278
|
type: string;
|
|
@@ -288,17 +282,7 @@ declare const _default: {
|
|
|
288
282
|
fk_table: string;
|
|
289
283
|
fk_reference: string;
|
|
290
284
|
pk: boolean;
|
|
291
|
-
}
|
|
292
|
-
name: string;
|
|
293
|
-
value: {
|
|
294
|
-
type: string;
|
|
295
|
-
is_null: string;
|
|
296
|
-
maxlength: null;
|
|
297
|
-
};
|
|
298
|
-
fk_table: null;
|
|
299
|
-
fk_reference: null;
|
|
300
|
-
pk: boolean;
|
|
301
|
-
})[];
|
|
285
|
+
}[];
|
|
302
286
|
fathers: {
|
|
303
287
|
name: string;
|
|
304
288
|
value: {
|
|
@@ -313,7 +297,7 @@ declare const _default: {
|
|
|
313
297
|
childrens: never[];
|
|
314
298
|
name: string;
|
|
315
299
|
};
|
|
316
|
-
|
|
300
|
+
operacao_item: {
|
|
317
301
|
columns: ({
|
|
318
302
|
name: string;
|
|
319
303
|
value: {
|
|
@@ -335,8 +319,7 @@ declare const _default: {
|
|
|
335
319
|
fk_reference: null;
|
|
336
320
|
pk: boolean;
|
|
337
321
|
})[];
|
|
338
|
-
fathers:
|
|
339
|
-
childrens: {
|
|
322
|
+
fathers: {
|
|
340
323
|
name: string;
|
|
341
324
|
value: {
|
|
342
325
|
type: string;
|
|
@@ -347,6 +330,7 @@ declare const _default: {
|
|
|
347
330
|
fk_reference: string;
|
|
348
331
|
pk: boolean;
|
|
349
332
|
}[];
|
|
333
|
+
childrens: never[];
|
|
350
334
|
name: string;
|
|
351
335
|
};
|
|
352
336
|
entidade_cartao: {
|
|
@@ -395,7 +379,7 @@ declare const _default: {
|
|
|
395
379
|
}[];
|
|
396
380
|
name: string;
|
|
397
381
|
};
|
|
398
|
-
|
|
382
|
+
atributo: {
|
|
399
383
|
columns: ({
|
|
400
384
|
name: string;
|
|
401
385
|
value: {
|
|
@@ -417,17 +401,7 @@ declare const _default: {
|
|
|
417
401
|
fk_reference: null;
|
|
418
402
|
pk: boolean;
|
|
419
403
|
})[];
|
|
420
|
-
fathers:
|
|
421
|
-
name: string;
|
|
422
|
-
value: {
|
|
423
|
-
type: string;
|
|
424
|
-
is_null: string;
|
|
425
|
-
maxlength: null;
|
|
426
|
-
};
|
|
427
|
-
fk_table: string;
|
|
428
|
-
fk_reference: string;
|
|
429
|
-
pk: boolean;
|
|
430
|
-
}[];
|
|
404
|
+
fathers: never[];
|
|
431
405
|
childrens: {
|
|
432
406
|
name: string;
|
|
433
407
|
value: {
|
|
@@ -441,7 +415,7 @@ declare const _default: {
|
|
|
441
415
|
}[];
|
|
442
416
|
name: string;
|
|
443
417
|
};
|
|
444
|
-
|
|
418
|
+
marca: {
|
|
445
419
|
columns: ({
|
|
446
420
|
name: string;
|
|
447
421
|
value: {
|
|
@@ -477,7 +451,33 @@ declare const _default: {
|
|
|
477
451
|
}[];
|
|
478
452
|
name: string;
|
|
479
453
|
};
|
|
480
|
-
|
|
454
|
+
empresa: {
|
|
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
|
+
item_variacao_imagem: {
|
|
481
481
|
columns: ({
|
|
482
482
|
name: string;
|
|
483
483
|
value: {
|
|
@@ -513,7 +513,7 @@ declare const _default: {
|
|
|
513
513
|
childrens: never[];
|
|
514
514
|
name: string;
|
|
515
515
|
};
|
|
516
|
-
|
|
516
|
+
operacao: {
|
|
517
517
|
columns: ({
|
|
518
518
|
name: string;
|
|
519
519
|
value: {
|
|
@@ -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 marca_1 = __importDefault(require("./marca"));
|
|
7
|
-
const operacao_1 = __importDefault(require("./operacao"));
|
|
8
|
-
const atributo_1 = __importDefault(require("./atributo"));
|
|
9
|
-
const usuario_1 = __importDefault(require("./usuario"));
|
|
10
|
-
const item_variacao_imagem_1 = __importDefault(require("./item_variacao_imagem"));
|
|
11
6
|
const entidade_endereco_1 = __importDefault(require("./entidade_endereco"));
|
|
12
|
-
const item_variacao_atributo_1 = __importDefault(require("./item_variacao_atributo"));
|
|
13
|
-
const empresa_1 = __importDefault(require("./empresa"));
|
|
14
|
-
const operacao_pagamento_1 = __importDefault(require("./operacao_pagamento"));
|
|
15
|
-
const entidade_1 = __importDefault(require("./entidade"));
|
|
16
|
-
const entidade_cartao_1 = __importDefault(require("./entidade_cartao"));
|
|
17
7
|
const item_variacao_1 = __importDefault(require("./item_variacao"));
|
|
8
|
+
const entidade_1 = __importDefault(require("./entidade"));
|
|
9
|
+
const operacao_pagamento_1 = __importDefault(require("./operacao_pagamento"));
|
|
10
|
+
const item_1 = __importDefault(require("./item"));
|
|
18
11
|
const categoria_1 = __importDefault(require("./categoria"));
|
|
12
|
+
const usuario_1 = __importDefault(require("./usuario"));
|
|
13
|
+
const item_variacao_atributo_1 = __importDefault(require("./item_variacao_atributo"));
|
|
19
14
|
const operacao_item_1 = __importDefault(require("./operacao_item"));
|
|
20
|
-
const
|
|
15
|
+
const entidade_cartao_1 = __importDefault(require("./entidade_cartao"));
|
|
16
|
+
const atributo_1 = __importDefault(require("./atributo"));
|
|
17
|
+
const marca_1 = __importDefault(require("./marca"));
|
|
18
|
+
const empresa_1 = __importDefault(require("./empresa"));
|
|
19
|
+
const item_variacao_imagem_1 = __importDefault(require("./item_variacao_imagem"));
|
|
20
|
+
const operacao_1 = __importDefault(require("./operacao"));
|
|
21
21
|
exports.default = {
|
|
22
|
-
marca: marca_1.default,
|
|
23
|
-
operacao: operacao_1.default,
|
|
24
|
-
atributo: atributo_1.default,
|
|
25
|
-
usuario: usuario_1.default,
|
|
26
|
-
item_variacao_imagem: item_variacao_imagem_1.default,
|
|
27
22
|
entidade_endereco: entidade_endereco_1.default,
|
|
28
|
-
item_variacao_atributo: item_variacao_atributo_1.default,
|
|
29
|
-
empresa: empresa_1.default,
|
|
30
|
-
operacao_pagamento: operacao_pagamento_1.default,
|
|
31
|
-
entidade: entidade_1.default,
|
|
32
|
-
entidade_cartao: entidade_cartao_1.default,
|
|
33
23
|
item_variacao: item_variacao_1.default,
|
|
24
|
+
entidade: entidade_1.default,
|
|
25
|
+
operacao_pagamento: operacao_pagamento_1.default,
|
|
26
|
+
item: item_1.default,
|
|
34
27
|
categoria: categoria_1.default,
|
|
28
|
+
usuario: usuario_1.default,
|
|
29
|
+
item_variacao_atributo: item_variacao_atributo_1.default,
|
|
35
30
|
operacao_item: operacao_item_1.default,
|
|
36
|
-
|
|
31
|
+
entidade_cartao: entidade_cartao_1.default,
|
|
32
|
+
atributo: atributo_1.default,
|
|
33
|
+
marca: marca_1.default,
|
|
34
|
+
empresa: empresa_1.default,
|
|
35
|
+
item_variacao_imagem: item_variacao_imagem_1.default,
|
|
36
|
+
operacao: operacao_1.default
|
|
37
37
|
};
|
|
@@ -287,17 +287,6 @@ exports.default = {
|
|
|
287
287
|
"fk_table": null,
|
|
288
288
|
"fk_reference": null,
|
|
289
289
|
"pk": false
|
|
290
|
-
},
|
|
291
|
-
{
|
|
292
|
-
"name": "estoque",
|
|
293
|
-
"value": {
|
|
294
|
-
"type": "integer",
|
|
295
|
-
"is_null": "YES",
|
|
296
|
-
"maxlength": null
|
|
297
|
-
},
|
|
298
|
-
"fk_table": null,
|
|
299
|
-
"fk_reference": null,
|
|
300
|
-
"pk": false
|
|
301
290
|
}
|
|
302
291
|
],
|
|
303
292
|
"fathers": [
|
|
@@ -57,17 +57,6 @@ exports.default = {
|
|
|
57
57
|
"fk_reference": null,
|
|
58
58
|
"pk": false
|
|
59
59
|
},
|
|
60
|
-
{
|
|
61
|
-
"name": "preco_custo",
|
|
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
60
|
{
|
|
72
61
|
"name": "preco_personalizacao",
|
|
73
62
|
"value": {
|
|
@@ -111,6 +100,17 @@ exports.default = {
|
|
|
111
100
|
"fk_table": "item",
|
|
112
101
|
"fk_reference": "id",
|
|
113
102
|
"pk": false
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"name": "estoque",
|
|
106
|
+
"value": {
|
|
107
|
+
"type": "integer",
|
|
108
|
+
"is_null": "YES",
|
|
109
|
+
"maxlength": null
|
|
110
|
+
},
|
|
111
|
+
"fk_table": null,
|
|
112
|
+
"fk_reference": null,
|
|
113
|
+
"pk": false
|
|
114
114
|
}
|
|
115
115
|
],
|
|
116
116
|
"fathers": [
|