pg-manipulator 1.0.52 → 1.0.54
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_endereco_fields.d.ts +2 -1
- package/dist/@types/admin/entidade_endereco_order.d.ts +2 -1
- package/dist/@types/admin/entidade_endereco_select.d.ts +2 -1
- package/dist/@types/admin/entidade_endereco_update.d.ts +2 -1
- package/dist/@types/admin/entidade_endereco_where.d.ts +2 -1
- package/dist/@types/admin/operacao_fields.d.ts +1 -0
- package/dist/@types/admin/operacao_order.d.ts +1 -0
- package/dist/@types/admin/operacao_select.d.ts +1 -0
- package/dist/@types/admin/operacao_update.d.ts +1 -0
- package/dist/@types/admin/operacao_where.d.ts +1 -0
- package/dist/class/admin/index.d.ts +18 -18
- package/dist/class/admin/index.js +19 -19
- package/dist/mapping/admin/entidade.js +12 -1
- package/dist/mapping/admin/entidade_endereco.d.ts +11 -1
- package/dist/mapping/admin/entidade_endereco.js +26 -3
- package/dist/mapping/admin/index.d.ts +88 -78
- package/dist/mapping/admin/index.js +19 -19
- package/dist/mapping/admin/operacao.js +22 -0
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export type entidade_endereco_fields = {
|
|
2
2
|
id?: number;
|
|
3
|
-
|
|
3
|
+
entidade: number;
|
|
4
4
|
descricao?: string;
|
|
5
5
|
nome?: string;
|
|
6
6
|
cep: string;
|
|
@@ -15,4 +15,5 @@ export type entidade_endereco_fields = {
|
|
|
15
15
|
numero: string;
|
|
16
16
|
complemento: string;
|
|
17
17
|
telefone: string;
|
|
18
|
+
cidade?: string;
|
|
18
19
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export type entidade_endereco_order = {
|
|
2
2
|
id?: 'desc' | 'asc';
|
|
3
|
-
|
|
3
|
+
entidade?: 'desc' | 'asc';
|
|
4
4
|
descricao?: 'desc' | 'asc';
|
|
5
5
|
nome?: 'desc' | 'asc';
|
|
6
6
|
cep?: 'desc' | 'asc';
|
|
@@ -15,4 +15,5 @@ export type entidade_endereco_order = {
|
|
|
15
15
|
numero?: 'desc' | 'asc';
|
|
16
16
|
complemento?: 'desc' | 'asc';
|
|
17
17
|
telefone?: 'desc' | 'asc';
|
|
18
|
+
cidade?: 'desc' | 'asc';
|
|
18
19
|
};
|
|
@@ -2,7 +2,7 @@ import { entidade_endereco_where } from './entidade_endereco_where';
|
|
|
2
2
|
import { entidade_endereco_order } from './entidade_endereco_order';
|
|
3
3
|
export type entidade_endereco_select = {
|
|
4
4
|
id?: number;
|
|
5
|
-
|
|
5
|
+
entidade?: number;
|
|
6
6
|
descricao?: string;
|
|
7
7
|
nome?: string;
|
|
8
8
|
cep?: string;
|
|
@@ -17,6 +17,7 @@ export type entidade_endereco_select = {
|
|
|
17
17
|
numero?: string;
|
|
18
18
|
complemento?: string;
|
|
19
19
|
telefone?: string;
|
|
20
|
+
cidade?: string;
|
|
20
21
|
where: entidade_endereco_where;
|
|
21
22
|
order?: entidade_endereco_order;
|
|
22
23
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { entidade_endereco_where } from './entidade_endereco_where';
|
|
2
2
|
export type entidade_endereco_update = {
|
|
3
3
|
id?: number;
|
|
4
|
-
|
|
4
|
+
entidade?: number;
|
|
5
5
|
descricao?: string;
|
|
6
6
|
nome?: string;
|
|
7
7
|
cep?: string;
|
|
@@ -16,5 +16,6 @@ export type entidade_endereco_update = {
|
|
|
16
16
|
numero?: string;
|
|
17
17
|
complemento?: string;
|
|
18
18
|
telefone?: string;
|
|
19
|
+
cidade?: string;
|
|
19
20
|
where: entidade_endereco_where;
|
|
20
21
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { where_number, where_string } from '../';
|
|
2
2
|
export type entidade_endereco_where = {
|
|
3
3
|
id?: where_number | number;
|
|
4
|
-
|
|
4
|
+
entidade?: where_number | number;
|
|
5
5
|
descricao?: where_string | string;
|
|
6
6
|
nome?: where_string | string;
|
|
7
7
|
cep?: where_string | string;
|
|
@@ -16,4 +16,5 @@ export type entidade_endereco_where = {
|
|
|
16
16
|
numero?: where_string | string;
|
|
17
17
|
complemento?: where_string | string;
|
|
18
18
|
telefone?: where_string | string;
|
|
19
|
+
cidade?: where_string | string;
|
|
19
20
|
};
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import { PoolClient } from 'pg';
|
|
2
2
|
import { pool_tsx } from '../../@types';
|
|
3
|
-
import entidade from './entidade';
|
|
4
|
-
import item_variacao from './item_variacao';
|
|
5
|
-
import operacao_pagamento from './operacao_pagamento';
|
|
6
|
-
import categoria from './categoria';
|
|
7
3
|
import operacao from './operacao';
|
|
4
|
+
import usuario from './usuario';
|
|
5
|
+
import operacao_pagamento from './operacao_pagamento';
|
|
8
6
|
import item_variacao_atributo from './item_variacao_atributo';
|
|
7
|
+
import item from './item';
|
|
8
|
+
import categoria from './categoria';
|
|
9
9
|
import entidade_cartao from './entidade_cartao';
|
|
10
|
-
import atributo from './atributo';
|
|
11
|
-
import operacao_item from './operacao_item';
|
|
12
10
|
import entidade_endereco from './entidade_endereco';
|
|
13
|
-
import
|
|
11
|
+
import operacao_item from './operacao_item';
|
|
12
|
+
import atributo from './atributo';
|
|
14
13
|
import marca from './marca';
|
|
14
|
+
import item_variacao from './item_variacao';
|
|
15
|
+
import item_variacao_imagem from './item_variacao_imagem';
|
|
16
|
+
import entidade from './entidade';
|
|
15
17
|
import empresa from './empresa';
|
|
16
|
-
import usuario from './usuario';
|
|
17
|
-
import item from './item';
|
|
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
|
-
entidade: typeof entidade;
|
|
22
|
-
item_variacao: typeof item_variacao;
|
|
23
|
-
operacao_pagamento: typeof operacao_pagamento;
|
|
24
|
-
categoria: typeof categoria;
|
|
25
21
|
operacao: typeof operacao;
|
|
22
|
+
usuario: typeof usuario;
|
|
23
|
+
operacao_pagamento: typeof operacao_pagamento;
|
|
26
24
|
item_variacao_atributo: typeof item_variacao_atributo;
|
|
25
|
+
item: typeof item;
|
|
26
|
+
categoria: typeof categoria;
|
|
27
27
|
entidade_cartao: typeof entidade_cartao;
|
|
28
|
-
atributo: typeof atributo;
|
|
29
|
-
operacao_item: typeof operacao_item;
|
|
30
28
|
entidade_endereco: typeof entidade_endereco;
|
|
31
|
-
|
|
29
|
+
operacao_item: typeof operacao_item;
|
|
30
|
+
atributo: typeof atributo;
|
|
32
31
|
marca: typeof marca;
|
|
32
|
+
item_variacao: typeof item_variacao;
|
|
33
|
+
item_variacao_imagem: typeof item_variacao_imagem;
|
|
34
|
+
entidade: typeof entidade;
|
|
33
35
|
empresa: typeof empresa;
|
|
34
|
-
usuario: typeof usuario;
|
|
35
|
-
item: typeof item;
|
|
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 entidade_1 = __importDefault(require("./entidade"));
|
|
8
|
-
const item_variacao_1 = __importDefault(require("./item_variacao"));
|
|
9
|
-
const operacao_pagamento_1 = __importDefault(require("./operacao_pagamento"));
|
|
10
|
-
const categoria_1 = __importDefault(require("./categoria"));
|
|
11
7
|
const operacao_1 = __importDefault(require("./operacao"));
|
|
8
|
+
const usuario_1 = __importDefault(require("./usuario"));
|
|
9
|
+
const operacao_pagamento_1 = __importDefault(require("./operacao_pagamento"));
|
|
12
10
|
const item_variacao_atributo_1 = __importDefault(require("./item_variacao_atributo"));
|
|
11
|
+
const item_1 = __importDefault(require("./item"));
|
|
12
|
+
const categoria_1 = __importDefault(require("./categoria"));
|
|
13
13
|
const entidade_cartao_1 = __importDefault(require("./entidade_cartao"));
|
|
14
|
-
const atributo_1 = __importDefault(require("./atributo"));
|
|
15
|
-
const operacao_item_1 = __importDefault(require("./operacao_item"));
|
|
16
14
|
const entidade_endereco_1 = __importDefault(require("./entidade_endereco"));
|
|
17
|
-
const
|
|
15
|
+
const operacao_item_1 = __importDefault(require("./operacao_item"));
|
|
16
|
+
const atributo_1 = __importDefault(require("./atributo"));
|
|
18
17
|
const marca_1 = __importDefault(require("./marca"));
|
|
18
|
+
const item_variacao_1 = __importDefault(require("./item_variacao"));
|
|
19
|
+
const item_variacao_imagem_1 = __importDefault(require("./item_variacao_imagem"));
|
|
20
|
+
const entidade_1 = __importDefault(require("./entidade"));
|
|
19
21
|
const empresa_1 = __importDefault(require("./empresa"));
|
|
20
|
-
const usuario_1 = __importDefault(require("./usuario"));
|
|
21
|
-
const item_1 = __importDefault(require("./item"));
|
|
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
|
-
entidade: entidade_1.default,
|
|
30
|
-
item_variacao: item_variacao_1.default,
|
|
31
|
-
operacao_pagamento: operacao_pagamento_1.default,
|
|
32
|
-
categoria: categoria_1.default,
|
|
33
29
|
operacao: operacao_1.default,
|
|
30
|
+
usuario: usuario_1.default,
|
|
31
|
+
operacao_pagamento: operacao_pagamento_1.default,
|
|
34
32
|
item_variacao_atributo: item_variacao_atributo_1.default,
|
|
33
|
+
item: item_1.default,
|
|
34
|
+
categoria: categoria_1.default,
|
|
35
35
|
entidade_cartao: entidade_cartao_1.default,
|
|
36
|
-
atributo: atributo_1.default,
|
|
37
|
-
operacao_item: operacao_item_1.default,
|
|
38
36
|
entidade_endereco: entidade_endereco_1.default,
|
|
39
|
-
|
|
37
|
+
operacao_item: operacao_item_1.default,
|
|
38
|
+
atributo: atributo_1.default,
|
|
40
39
|
marca: marca_1.default,
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
40
|
+
item_variacao: item_variacao_1.default,
|
|
41
|
+
item_variacao_imagem: item_variacao_imagem_1.default,
|
|
42
|
+
entidade: entidade_1.default,
|
|
43
|
+
empresa: empresa_1.default
|
|
44
44
|
};
|
|
@@ -116,7 +116,7 @@ exports.default = {
|
|
|
116
116
|
"fathers": [],
|
|
117
117
|
"childrens": [
|
|
118
118
|
{
|
|
119
|
-
"name": "
|
|
119
|
+
"name": "entidade",
|
|
120
120
|
"value": {
|
|
121
121
|
"type": "integer",
|
|
122
122
|
"is_null": "NO",
|
|
@@ -126,6 +126,17 @@ exports.default = {
|
|
|
126
126
|
"fk_reference": "id",
|
|
127
127
|
"pk": false
|
|
128
128
|
},
|
|
129
|
+
{
|
|
130
|
+
"name": "cliente",
|
|
131
|
+
"value": {
|
|
132
|
+
"type": "integer",
|
|
133
|
+
"is_null": "YES",
|
|
134
|
+
"maxlength": null
|
|
135
|
+
},
|
|
136
|
+
"fk_table": "entidade",
|
|
137
|
+
"fk_reference": "id",
|
|
138
|
+
"pk": false
|
|
139
|
+
},
|
|
129
140
|
{
|
|
130
141
|
"name": "transportadora",
|
|
131
142
|
"value": {
|
|
@@ -31,7 +31,17 @@ declare const _default: {
|
|
|
31
31
|
fk_reference: string;
|
|
32
32
|
pk: boolean;
|
|
33
33
|
}[];
|
|
34
|
-
childrens:
|
|
34
|
+
childrens: {
|
|
35
|
+
name: string;
|
|
36
|
+
value: {
|
|
37
|
+
type: string;
|
|
38
|
+
is_null: string;
|
|
39
|
+
maxlength: null;
|
|
40
|
+
};
|
|
41
|
+
fk_table: string;
|
|
42
|
+
fk_reference: string;
|
|
43
|
+
pk: boolean;
|
|
44
|
+
}[];
|
|
35
45
|
name: string;
|
|
36
46
|
};
|
|
37
47
|
export default _default;
|
|
@@ -14,7 +14,7 @@ exports.default = {
|
|
|
14
14
|
"pk": true
|
|
15
15
|
},
|
|
16
16
|
{
|
|
17
|
-
"name": "
|
|
17
|
+
"name": "entidade",
|
|
18
18
|
"value": {
|
|
19
19
|
"type": "integer",
|
|
20
20
|
"is_null": "NO",
|
|
@@ -177,11 +177,22 @@ exports.default = {
|
|
|
177
177
|
"fk_table": null,
|
|
178
178
|
"fk_reference": null,
|
|
179
179
|
"pk": false
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
"name": "cidade",
|
|
183
|
+
"value": {
|
|
184
|
+
"type": "character varying",
|
|
185
|
+
"is_null": "YES",
|
|
186
|
+
"maxlength": null
|
|
187
|
+
},
|
|
188
|
+
"fk_table": null,
|
|
189
|
+
"fk_reference": null,
|
|
190
|
+
"pk": false
|
|
180
191
|
}
|
|
181
192
|
],
|
|
182
193
|
"fathers": [
|
|
183
194
|
{
|
|
184
|
-
"name": "
|
|
195
|
+
"name": "entidade",
|
|
185
196
|
"value": {
|
|
186
197
|
"type": "integer",
|
|
187
198
|
"is_null": "NO",
|
|
@@ -192,6 +203,18 @@ exports.default = {
|
|
|
192
203
|
"pk": false
|
|
193
204
|
}
|
|
194
205
|
],
|
|
195
|
-
"childrens": [
|
|
206
|
+
"childrens": [
|
|
207
|
+
{
|
|
208
|
+
"name": "entidade_endereco",
|
|
209
|
+
"value": {
|
|
210
|
+
"type": "integer",
|
|
211
|
+
"is_null": "YES",
|
|
212
|
+
"maxlength": null
|
|
213
|
+
},
|
|
214
|
+
"fk_table": "entidade_endereco",
|
|
215
|
+
"fk_reference": "id",
|
|
216
|
+
"pk": false
|
|
217
|
+
}
|
|
218
|
+
],
|
|
196
219
|
"name": "entidade_endereco"
|
|
197
220
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
-
|
|
2
|
+
operacao: {
|
|
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,10 +32,7 @@ declare const _default: {
|
|
|
33
32
|
fk_reference: string;
|
|
34
33
|
pk: boolean;
|
|
35
34
|
}[];
|
|
36
|
-
|
|
37
|
-
};
|
|
38
|
-
item_variacao: {
|
|
39
|
-
columns: ({
|
|
35
|
+
childrens: {
|
|
40
36
|
name: string;
|
|
41
37
|
value: {
|
|
42
38
|
type: string;
|
|
@@ -46,18 +42,11 @@ declare const _default: {
|
|
|
46
42
|
fk_table: string;
|
|
47
43
|
fk_reference: string;
|
|
48
44
|
pk: boolean;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
maxlength: null;
|
|
55
|
-
};
|
|
56
|
-
fk_table: null;
|
|
57
|
-
fk_reference: null;
|
|
58
|
-
pk: boolean;
|
|
59
|
-
})[];
|
|
60
|
-
fathers: {
|
|
45
|
+
}[];
|
|
46
|
+
name: string;
|
|
47
|
+
};
|
|
48
|
+
usuario: {
|
|
49
|
+
columns: ({
|
|
61
50
|
name: string;
|
|
62
51
|
value: {
|
|
63
52
|
type: string;
|
|
@@ -67,18 +56,19 @@ declare const _default: {
|
|
|
67
56
|
fk_table: string;
|
|
68
57
|
fk_reference: string;
|
|
69
58
|
pk: boolean;
|
|
70
|
-
}
|
|
71
|
-
childrens: {
|
|
59
|
+
} | {
|
|
72
60
|
name: string;
|
|
73
61
|
value: {
|
|
74
62
|
type: string;
|
|
75
63
|
is_null: string;
|
|
76
64
|
maxlength: null;
|
|
77
65
|
};
|
|
78
|
-
fk_table:
|
|
79
|
-
fk_reference:
|
|
66
|
+
fk_table: null;
|
|
67
|
+
fk_reference: null;
|
|
80
68
|
pk: boolean;
|
|
81
|
-
}[];
|
|
69
|
+
})[];
|
|
70
|
+
fathers: never[];
|
|
71
|
+
childrens: never[];
|
|
82
72
|
name: string;
|
|
83
73
|
};
|
|
84
74
|
operacao_pagamento: {
|
|
@@ -117,8 +107,8 @@ declare const _default: {
|
|
|
117
107
|
childrens: never[];
|
|
118
108
|
name: string;
|
|
119
109
|
};
|
|
120
|
-
|
|
121
|
-
columns:
|
|
110
|
+
item_variacao_atributo: {
|
|
111
|
+
columns: {
|
|
122
112
|
name: string;
|
|
123
113
|
value: {
|
|
124
114
|
type: string;
|
|
@@ -128,19 +118,8 @@ declare const _default: {
|
|
|
128
118
|
fk_table: string;
|
|
129
119
|
fk_reference: string;
|
|
130
120
|
pk: boolean;
|
|
131
|
-
}
|
|
132
|
-
|
|
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: {
|
|
121
|
+
}[];
|
|
122
|
+
fathers: {
|
|
144
123
|
name: string;
|
|
145
124
|
value: {
|
|
146
125
|
type: string;
|
|
@@ -151,9 +130,10 @@ declare const _default: {
|
|
|
151
130
|
fk_reference: string;
|
|
152
131
|
pk: boolean;
|
|
153
132
|
}[];
|
|
133
|
+
childrens: never[];
|
|
154
134
|
name: string;
|
|
155
135
|
};
|
|
156
|
-
|
|
136
|
+
item: {
|
|
157
137
|
columns: ({
|
|
158
138
|
name: string;
|
|
159
139
|
value: {
|
|
@@ -199,8 +179,8 @@ declare const _default: {
|
|
|
199
179
|
}[];
|
|
200
180
|
name: string;
|
|
201
181
|
};
|
|
202
|
-
|
|
203
|
-
columns: {
|
|
182
|
+
categoria: {
|
|
183
|
+
columns: ({
|
|
204
184
|
name: string;
|
|
205
185
|
value: {
|
|
206
186
|
type: string;
|
|
@@ -210,8 +190,19 @@ declare const _default: {
|
|
|
210
190
|
fk_table: string;
|
|
211
191
|
fk_reference: string;
|
|
212
192
|
pk: boolean;
|
|
213
|
-
}
|
|
214
|
-
|
|
193
|
+
} | {
|
|
194
|
+
name: string;
|
|
195
|
+
value: {
|
|
196
|
+
type: string;
|
|
197
|
+
is_null: string;
|
|
198
|
+
maxlength: null;
|
|
199
|
+
};
|
|
200
|
+
fk_table: null;
|
|
201
|
+
fk_reference: null;
|
|
202
|
+
pk: boolean;
|
|
203
|
+
})[];
|
|
204
|
+
fathers: never[];
|
|
205
|
+
childrens: {
|
|
215
206
|
name: string;
|
|
216
207
|
value: {
|
|
217
208
|
type: string;
|
|
@@ -222,7 +213,6 @@ declare const _default: {
|
|
|
222
213
|
fk_reference: string;
|
|
223
214
|
pk: boolean;
|
|
224
215
|
}[];
|
|
225
|
-
childrens: never[];
|
|
226
216
|
name: string;
|
|
227
217
|
};
|
|
228
218
|
entidade_cartao: {
|
|
@@ -271,7 +261,7 @@ declare const _default: {
|
|
|
271
261
|
}[];
|
|
272
262
|
name: string;
|
|
273
263
|
};
|
|
274
|
-
|
|
264
|
+
entidade_endereco: {
|
|
275
265
|
columns: ({
|
|
276
266
|
name: string;
|
|
277
267
|
value: {
|
|
@@ -293,7 +283,17 @@ declare const _default: {
|
|
|
293
283
|
fk_reference: null;
|
|
294
284
|
pk: boolean;
|
|
295
285
|
})[];
|
|
296
|
-
fathers:
|
|
286
|
+
fathers: {
|
|
287
|
+
name: string;
|
|
288
|
+
value: {
|
|
289
|
+
type: string;
|
|
290
|
+
is_null: string;
|
|
291
|
+
maxlength: null;
|
|
292
|
+
};
|
|
293
|
+
fk_table: string;
|
|
294
|
+
fk_reference: string;
|
|
295
|
+
pk: boolean;
|
|
296
|
+
}[];
|
|
297
297
|
childrens: {
|
|
298
298
|
name: string;
|
|
299
299
|
value: {
|
|
@@ -343,7 +343,7 @@ declare const _default: {
|
|
|
343
343
|
childrens: never[];
|
|
344
344
|
name: string;
|
|
345
345
|
};
|
|
346
|
-
|
|
346
|
+
atributo: {
|
|
347
347
|
columns: ({
|
|
348
348
|
name: string;
|
|
349
349
|
value: {
|
|
@@ -365,7 +365,8 @@ declare const _default: {
|
|
|
365
365
|
fk_reference: null;
|
|
366
366
|
pk: boolean;
|
|
367
367
|
})[];
|
|
368
|
-
fathers:
|
|
368
|
+
fathers: never[];
|
|
369
|
+
childrens: {
|
|
369
370
|
name: string;
|
|
370
371
|
value: {
|
|
371
372
|
type: string;
|
|
@@ -376,10 +377,9 @@ declare const _default: {
|
|
|
376
377
|
fk_reference: string;
|
|
377
378
|
pk: boolean;
|
|
378
379
|
}[];
|
|
379
|
-
childrens: never[];
|
|
380
380
|
name: string;
|
|
381
381
|
};
|
|
382
|
-
|
|
382
|
+
marca: {
|
|
383
383
|
columns: ({
|
|
384
384
|
name: string;
|
|
385
385
|
value: {
|
|
@@ -401,7 +401,8 @@ declare const _default: {
|
|
|
401
401
|
fk_reference: null;
|
|
402
402
|
pk: boolean;
|
|
403
403
|
})[];
|
|
404
|
-
fathers:
|
|
404
|
+
fathers: never[];
|
|
405
|
+
childrens: {
|
|
405
406
|
name: string;
|
|
406
407
|
value: {
|
|
407
408
|
type: string;
|
|
@@ -412,10 +413,9 @@ declare const _default: {
|
|
|
412
413
|
fk_reference: string;
|
|
413
414
|
pk: boolean;
|
|
414
415
|
}[];
|
|
415
|
-
childrens: never[];
|
|
416
416
|
name: string;
|
|
417
417
|
};
|
|
418
|
-
|
|
418
|
+
item_variacao: {
|
|
419
419
|
columns: ({
|
|
420
420
|
name: string;
|
|
421
421
|
value: {
|
|
@@ -437,7 +437,17 @@ declare const _default: {
|
|
|
437
437
|
fk_reference: null;
|
|
438
438
|
pk: boolean;
|
|
439
439
|
})[];
|
|
440
|
-
fathers:
|
|
440
|
+
fathers: {
|
|
441
|
+
name: string;
|
|
442
|
+
value: {
|
|
443
|
+
type: string;
|
|
444
|
+
is_null: string;
|
|
445
|
+
maxlength: null;
|
|
446
|
+
};
|
|
447
|
+
fk_table: string;
|
|
448
|
+
fk_reference: string;
|
|
449
|
+
pk: boolean;
|
|
450
|
+
}[];
|
|
441
451
|
childrens: {
|
|
442
452
|
name: string;
|
|
443
453
|
value: {
|
|
@@ -451,7 +461,7 @@ declare const _default: {
|
|
|
451
461
|
}[];
|
|
452
462
|
name: string;
|
|
453
463
|
};
|
|
454
|
-
|
|
464
|
+
item_variacao_imagem: {
|
|
455
465
|
columns: ({
|
|
456
466
|
name: string;
|
|
457
467
|
value: {
|
|
@@ -473,12 +483,7 @@ declare const _default: {
|
|
|
473
483
|
fk_reference: null;
|
|
474
484
|
pk: boolean;
|
|
475
485
|
})[];
|
|
476
|
-
fathers:
|
|
477
|
-
childrens: never[];
|
|
478
|
-
name: string;
|
|
479
|
-
};
|
|
480
|
-
usuario: {
|
|
481
|
-
columns: ({
|
|
486
|
+
fathers: {
|
|
482
487
|
name: string;
|
|
483
488
|
value: {
|
|
484
489
|
type: string;
|
|
@@ -488,22 +493,11 @@ declare const _default: {
|
|
|
488
493
|
fk_table: string;
|
|
489
494
|
fk_reference: string;
|
|
490
495
|
pk: boolean;
|
|
491
|
-
}
|
|
492
|
-
name: string;
|
|
493
|
-
value: {
|
|
494
|
-
type: string;
|
|
495
|
-
is_null: string;
|
|
496
|
-
maxlength: null;
|
|
497
|
-
};
|
|
498
|
-
fk_table: null;
|
|
499
|
-
fk_reference: null;
|
|
500
|
-
pk: boolean;
|
|
501
|
-
})[];
|
|
502
|
-
fathers: never[];
|
|
496
|
+
}[];
|
|
503
497
|
childrens: never[];
|
|
504
498
|
name: string;
|
|
505
499
|
};
|
|
506
|
-
|
|
500
|
+
entidade: {
|
|
507
501
|
columns: ({
|
|
508
502
|
name: string;
|
|
509
503
|
value: {
|
|
@@ -525,7 +519,8 @@ declare const _default: {
|
|
|
525
519
|
fk_reference: null;
|
|
526
520
|
pk: boolean;
|
|
527
521
|
})[];
|
|
528
|
-
fathers:
|
|
522
|
+
fathers: never[];
|
|
523
|
+
childrens: {
|
|
529
524
|
name: string;
|
|
530
525
|
value: {
|
|
531
526
|
type: string;
|
|
@@ -536,7 +531,10 @@ declare const _default: {
|
|
|
536
531
|
fk_reference: string;
|
|
537
532
|
pk: boolean;
|
|
538
533
|
}[];
|
|
539
|
-
|
|
534
|
+
name: string;
|
|
535
|
+
};
|
|
536
|
+
empresa: {
|
|
537
|
+
columns: ({
|
|
540
538
|
name: string;
|
|
541
539
|
value: {
|
|
542
540
|
type: string;
|
|
@@ -546,7 +544,19 @@ declare const _default: {
|
|
|
546
544
|
fk_table: string;
|
|
547
545
|
fk_reference: string;
|
|
548
546
|
pk: boolean;
|
|
549
|
-
}
|
|
547
|
+
} | {
|
|
548
|
+
name: string;
|
|
549
|
+
value: {
|
|
550
|
+
type: string;
|
|
551
|
+
is_null: string;
|
|
552
|
+
maxlength: null;
|
|
553
|
+
};
|
|
554
|
+
fk_table: null;
|
|
555
|
+
fk_reference: null;
|
|
556
|
+
pk: boolean;
|
|
557
|
+
})[];
|
|
558
|
+
fathers: never[];
|
|
559
|
+
childrens: never[];
|
|
550
560
|
name: string;
|
|
551
561
|
};
|
|
552
562
|
};
|
|
@@ -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 entidade_1 = __importDefault(require("./entidade"));
|
|
7
|
-
const item_variacao_1 = __importDefault(require("./item_variacao"));
|
|
8
|
-
const operacao_pagamento_1 = __importDefault(require("./operacao_pagamento"));
|
|
9
|
-
const categoria_1 = __importDefault(require("./categoria"));
|
|
10
6
|
const operacao_1 = __importDefault(require("./operacao"));
|
|
7
|
+
const usuario_1 = __importDefault(require("./usuario"));
|
|
8
|
+
const operacao_pagamento_1 = __importDefault(require("./operacao_pagamento"));
|
|
11
9
|
const item_variacao_atributo_1 = __importDefault(require("./item_variacao_atributo"));
|
|
10
|
+
const item_1 = __importDefault(require("./item"));
|
|
11
|
+
const categoria_1 = __importDefault(require("./categoria"));
|
|
12
12
|
const entidade_cartao_1 = __importDefault(require("./entidade_cartao"));
|
|
13
|
-
const atributo_1 = __importDefault(require("./atributo"));
|
|
14
|
-
const operacao_item_1 = __importDefault(require("./operacao_item"));
|
|
15
13
|
const entidade_endereco_1 = __importDefault(require("./entidade_endereco"));
|
|
16
|
-
const
|
|
14
|
+
const operacao_item_1 = __importDefault(require("./operacao_item"));
|
|
15
|
+
const atributo_1 = __importDefault(require("./atributo"));
|
|
17
16
|
const marca_1 = __importDefault(require("./marca"));
|
|
17
|
+
const item_variacao_1 = __importDefault(require("./item_variacao"));
|
|
18
|
+
const item_variacao_imagem_1 = __importDefault(require("./item_variacao_imagem"));
|
|
19
|
+
const entidade_1 = __importDefault(require("./entidade"));
|
|
18
20
|
const empresa_1 = __importDefault(require("./empresa"));
|
|
19
|
-
const usuario_1 = __importDefault(require("./usuario"));
|
|
20
|
-
const item_1 = __importDefault(require("./item"));
|
|
21
21
|
exports.default = {
|
|
22
|
-
entidade: entidade_1.default,
|
|
23
|
-
item_variacao: item_variacao_1.default,
|
|
24
|
-
operacao_pagamento: operacao_pagamento_1.default,
|
|
25
|
-
categoria: categoria_1.default,
|
|
26
22
|
operacao: operacao_1.default,
|
|
23
|
+
usuario: usuario_1.default,
|
|
24
|
+
operacao_pagamento: operacao_pagamento_1.default,
|
|
27
25
|
item_variacao_atributo: item_variacao_atributo_1.default,
|
|
26
|
+
item: item_1.default,
|
|
27
|
+
categoria: categoria_1.default,
|
|
28
28
|
entidade_cartao: entidade_cartao_1.default,
|
|
29
|
-
atributo: atributo_1.default,
|
|
30
|
-
operacao_item: operacao_item_1.default,
|
|
31
29
|
entidade_endereco: entidade_endereco_1.default,
|
|
32
|
-
|
|
30
|
+
operacao_item: operacao_item_1.default,
|
|
31
|
+
atributo: atributo_1.default,
|
|
33
32
|
marca: marca_1.default,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
33
|
+
item_variacao: item_variacao_1.default,
|
|
34
|
+
item_variacao_imagem: item_variacao_imagem_1.default,
|
|
35
|
+
entidade: entidade_1.default,
|
|
36
|
+
empresa: empresa_1.default
|
|
37
37
|
};
|
|
@@ -254,6 +254,17 @@ exports.default = {
|
|
|
254
254
|
"fk_table": null,
|
|
255
255
|
"fk_reference": null,
|
|
256
256
|
"pk": false
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
"name": "entidade_endereco",
|
|
260
|
+
"value": {
|
|
261
|
+
"type": "integer",
|
|
262
|
+
"is_null": "YES",
|
|
263
|
+
"maxlength": null
|
|
264
|
+
},
|
|
265
|
+
"fk_table": "entidade_endereco",
|
|
266
|
+
"fk_reference": "id",
|
|
267
|
+
"pk": false
|
|
257
268
|
}
|
|
258
269
|
],
|
|
259
270
|
"fathers": [
|
|
@@ -278,6 +289,17 @@ exports.default = {
|
|
|
278
289
|
"fk_table": "entidade",
|
|
279
290
|
"fk_reference": "id",
|
|
280
291
|
"pk": false
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
"name": "entidade_endereco",
|
|
295
|
+
"value": {
|
|
296
|
+
"type": "integer",
|
|
297
|
+
"is_null": "YES",
|
|
298
|
+
"maxlength": null
|
|
299
|
+
},
|
|
300
|
+
"fk_table": "entidade_endereco",
|
|
301
|
+
"fk_reference": "id",
|
|
302
|
+
"pk": false
|
|
281
303
|
}
|
|
282
304
|
],
|
|
283
305
|
"childrens": [
|