pg-manipulator 1.0.46 → 1.0.47
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_variacao_imagem_fields.d.ts +6 -0
- package/dist/@types/admin/item_variacao_imagem_fields.js +2 -0
- package/dist/@types/admin/item_variacao_imagem_order.d.ts +6 -0
- package/dist/@types/admin/item_variacao_imagem_order.js +2 -0
- package/dist/@types/admin/item_variacao_imagem_select.d.ts +10 -0
- package/dist/@types/admin/item_variacao_imagem_select.js +2 -0
- package/dist/@types/admin/item_variacao_imagem_update.d.ts +8 -0
- package/dist/@types/admin/item_variacao_imagem_update.js +2 -0
- package/dist/@types/admin/item_variacao_imagem_where.d.ts +7 -0
- package/dist/@types/admin/item_variacao_imagem_where.js +2 -0
- package/dist/class/admin/index.d.ts +16 -14
- package/dist/class/admin/index.js +16 -14
- package/dist/class/admin/item_variacao_imagem.d.ts +13 -0
- package/dist/class/admin/item_variacao_imagem.js +24 -0
- package/dist/mapping/admin/index.d.ts +101 -65
- package/dist/mapping/admin/index.js +16 -14
- package/dist/mapping/admin/item_variacao_imagem.d.ts +37 -0
- package/dist/mapping/admin/item_variacao_imagem.js +65 -0
- package/package.json +1 -1
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { item_variacao_imagem_where } from './item_variacao_imagem_where';
|
|
2
|
+
import { item_variacao_imagem_order } from './item_variacao_imagem_order';
|
|
3
|
+
export type item_variacao_imagem_select = {
|
|
4
|
+
id?: number;
|
|
5
|
+
item_variacao?: number;
|
|
6
|
+
url?: string;
|
|
7
|
+
is_principal?: boolean;
|
|
8
|
+
where: item_variacao_imagem_where;
|
|
9
|
+
order?: item_variacao_imagem_order;
|
|
10
|
+
};
|
|
@@ -1,37 +1,39 @@
|
|
|
1
1
|
import { PoolClient } from 'pg';
|
|
2
2
|
import { pool_tsx } from '../../@types';
|
|
3
|
-
import atributo from './atributo';
|
|
4
|
-
import entidade_endereco from './entidade_endereco';
|
|
5
|
-
import usuario from './usuario';
|
|
6
|
-
import item_variacao_atributo from './item_variacao_atributo';
|
|
7
|
-
import empresa from './empresa';
|
|
8
3
|
import operacao_item from './operacao_item';
|
|
9
4
|
import item from './item';
|
|
5
|
+
import operacao_pagamento from './operacao_pagamento';
|
|
10
6
|
import entidade from './entidade';
|
|
7
|
+
import item_variacao_atributo from './item_variacao_atributo';
|
|
11
8
|
import categoria from './categoria';
|
|
12
|
-
import
|
|
9
|
+
import empresa from './empresa';
|
|
13
10
|
import marca from './marca';
|
|
11
|
+
import item_variacao from './item_variacao';
|
|
14
12
|
import ecommerce from './ecommerce';
|
|
13
|
+
import item_variacao_imagem from './item_variacao_imagem';
|
|
15
14
|
import ecommerce_item from './ecommerce_item';
|
|
16
15
|
import operacao from './operacao';
|
|
17
|
-
import
|
|
16
|
+
import atributo from './atributo';
|
|
17
|
+
import entidade_endereco from './entidade_endereco';
|
|
18
|
+
import usuario from './usuario';
|
|
18
19
|
declare const _default: {
|
|
19
20
|
query(query_string: string, query_params: Array<any>, transaction?: PoolClient | any): Promise<any>;
|
|
20
21
|
transaction(callback: pool_tsx): Promise<void>;
|
|
21
|
-
atributo: typeof atributo;
|
|
22
|
-
entidade_endereco: typeof entidade_endereco;
|
|
23
|
-
usuario: typeof usuario;
|
|
24
|
-
item_variacao_atributo: typeof item_variacao_atributo;
|
|
25
|
-
empresa: typeof empresa;
|
|
26
22
|
operacao_item: typeof operacao_item;
|
|
27
23
|
item: typeof item;
|
|
24
|
+
operacao_pagamento: typeof operacao_pagamento;
|
|
28
25
|
entidade: typeof entidade;
|
|
26
|
+
item_variacao_atributo: typeof item_variacao_atributo;
|
|
29
27
|
categoria: typeof categoria;
|
|
30
|
-
|
|
28
|
+
empresa: typeof empresa;
|
|
31
29
|
marca: typeof marca;
|
|
30
|
+
item_variacao: typeof item_variacao;
|
|
32
31
|
ecommerce: typeof ecommerce;
|
|
32
|
+
item_variacao_imagem: typeof item_variacao_imagem;
|
|
33
33
|
ecommerce_item: typeof ecommerce_item;
|
|
34
34
|
operacao: typeof operacao;
|
|
35
|
-
|
|
35
|
+
atributo: typeof atributo;
|
|
36
|
+
entidade_endereco: typeof entidade_endereco;
|
|
37
|
+
usuario: typeof usuario;
|
|
36
38
|
};
|
|
37
39
|
export default _default;
|
|
@@ -4,21 +4,22 @@ 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 atributo_1 = __importDefault(require("./atributo"));
|
|
8
|
-
const entidade_endereco_1 = __importDefault(require("./entidade_endereco"));
|
|
9
|
-
const usuario_1 = __importDefault(require("./usuario"));
|
|
10
|
-
const item_variacao_atributo_1 = __importDefault(require("./item_variacao_atributo"));
|
|
11
|
-
const empresa_1 = __importDefault(require("./empresa"));
|
|
12
7
|
const operacao_item_1 = __importDefault(require("./operacao_item"));
|
|
13
8
|
const item_1 = __importDefault(require("./item"));
|
|
9
|
+
const operacao_pagamento_1 = __importDefault(require("./operacao_pagamento"));
|
|
14
10
|
const entidade_1 = __importDefault(require("./entidade"));
|
|
11
|
+
const item_variacao_atributo_1 = __importDefault(require("./item_variacao_atributo"));
|
|
15
12
|
const categoria_1 = __importDefault(require("./categoria"));
|
|
16
|
-
const
|
|
13
|
+
const empresa_1 = __importDefault(require("./empresa"));
|
|
17
14
|
const marca_1 = __importDefault(require("./marca"));
|
|
15
|
+
const item_variacao_1 = __importDefault(require("./item_variacao"));
|
|
18
16
|
const ecommerce_1 = __importDefault(require("./ecommerce"));
|
|
17
|
+
const item_variacao_imagem_1 = __importDefault(require("./item_variacao_imagem"));
|
|
19
18
|
const ecommerce_item_1 = __importDefault(require("./ecommerce_item"));
|
|
20
19
|
const operacao_1 = __importDefault(require("./operacao"));
|
|
21
|
-
const
|
|
20
|
+
const atributo_1 = __importDefault(require("./atributo"));
|
|
21
|
+
const entidade_endereco_1 = __importDefault(require("./entidade_endereco"));
|
|
22
|
+
const usuario_1 = __importDefault(require("./usuario"));
|
|
22
23
|
exports.default = {
|
|
23
24
|
async query(query_string, query_params, transaction = undefined) {
|
|
24
25
|
return await database_1.default.query('admin', query_string, query_params, transaction);
|
|
@@ -26,19 +27,20 @@ exports.default = {
|
|
|
26
27
|
async transaction(callback) {
|
|
27
28
|
return await database_1.default.transaction('admin', callback);
|
|
28
29
|
},
|
|
29
|
-
atributo: atributo_1.default,
|
|
30
|
-
entidade_endereco: entidade_endereco_1.default,
|
|
31
|
-
usuario: usuario_1.default,
|
|
32
|
-
item_variacao_atributo: item_variacao_atributo_1.default,
|
|
33
|
-
empresa: empresa_1.default,
|
|
34
30
|
operacao_item: operacao_item_1.default,
|
|
35
31
|
item: item_1.default,
|
|
32
|
+
operacao_pagamento: operacao_pagamento_1.default,
|
|
36
33
|
entidade: entidade_1.default,
|
|
34
|
+
item_variacao_atributo: item_variacao_atributo_1.default,
|
|
37
35
|
categoria: categoria_1.default,
|
|
38
|
-
|
|
36
|
+
empresa: empresa_1.default,
|
|
39
37
|
marca: marca_1.default,
|
|
38
|
+
item_variacao: item_variacao_1.default,
|
|
40
39
|
ecommerce: ecommerce_1.default,
|
|
40
|
+
item_variacao_imagem: item_variacao_imagem_1.default,
|
|
41
41
|
ecommerce_item: ecommerce_item_1.default,
|
|
42
42
|
operacao: operacao_1.default,
|
|
43
|
-
|
|
43
|
+
atributo: atributo_1.default,
|
|
44
|
+
entidade_endereco: entidade_endereco_1.default,
|
|
45
|
+
usuario: usuario_1.default
|
|
44
46
|
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import base from '../../base';
|
|
2
|
+
import { PoolClient } from 'pg';
|
|
3
|
+
import { item_variacao_imagem_select } from '../../@types/admin/item_variacao_imagem_select';
|
|
4
|
+
import { item_variacao_imagem_where } from '../../@types/admin/item_variacao_imagem_where';
|
|
5
|
+
import { item_variacao_imagem_update } from '../../@types/admin/item_variacao_imagem_update';
|
|
6
|
+
import { item_variacao_imagem_fields } from '../../@types/admin/item_variacao_imagem_fields';
|
|
7
|
+
export default class item_variacao_imagem extends base {
|
|
8
|
+
static get(fields: item_variacao_imagem_select, transaction?: PoolClient | any): Promise<item_variacao_imagem_fields>;
|
|
9
|
+
static get_all(fields: item_variacao_imagem_select, transaction?: PoolClient | any): Promise<item_variacao_imagem_fields[]>;
|
|
10
|
+
static create(fields: item_variacao_imagem_fields, transaction?: PoolClient | any): Promise<item_variacao_imagem_fields>;
|
|
11
|
+
static update(fields: item_variacao_imagem_update, transaction?: PoolClient | any): Promise<any>;
|
|
12
|
+
static delete(fields: item_variacao_imagem_where, transaction?: PoolClient | any): Promise<any>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const base_1 = __importDefault(require("../../base"));
|
|
7
|
+
class item_variacao_imagem extends base_1.default {
|
|
8
|
+
static async get(fields, transaction = undefined) {
|
|
9
|
+
return await super.b_get('admin', fields, 'item_variacao_imagem', transaction);
|
|
10
|
+
}
|
|
11
|
+
static async get_all(fields, transaction = undefined) {
|
|
12
|
+
return await super.b_get_all('admin', fields, 'item_variacao_imagem', transaction);
|
|
13
|
+
}
|
|
14
|
+
static async create(fields, transaction = undefined) {
|
|
15
|
+
return await super.b_create('admin', fields, 'item_variacao_imagem', transaction);
|
|
16
|
+
}
|
|
17
|
+
static async update(fields, transaction = undefined) {
|
|
18
|
+
return await super.b_update('admin', fields, 'item_variacao_imagem', transaction);
|
|
19
|
+
}
|
|
20
|
+
static async delete(fields, transaction = undefined) {
|
|
21
|
+
return await super.b_delete('admin', fields, 'item_variacao_imagem', transaction);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
exports.default = item_variacao_imagem;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
-
|
|
2
|
+
operacao_item: {
|
|
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
|
+
item: {
|
|
39
39
|
columns: ({
|
|
40
40
|
name: string;
|
|
41
41
|
value: {
|
|
@@ -68,11 +68,7 @@ declare const _default: {
|
|
|
68
68
|
fk_reference: string;
|
|
69
69
|
pk: boolean;
|
|
70
70
|
}[];
|
|
71
|
-
childrens:
|
|
72
|
-
name: string;
|
|
73
|
-
};
|
|
74
|
-
usuario: {
|
|
75
|
-
columns: ({
|
|
71
|
+
childrens: {
|
|
76
72
|
name: string;
|
|
77
73
|
value: {
|
|
78
74
|
type: string;
|
|
@@ -82,33 +78,31 @@ declare const _default: {
|
|
|
82
78
|
fk_table: string;
|
|
83
79
|
fk_reference: string;
|
|
84
80
|
pk: boolean;
|
|
85
|
-
}
|
|
81
|
+
}[];
|
|
82
|
+
name: string;
|
|
83
|
+
};
|
|
84
|
+
operacao_pagamento: {
|
|
85
|
+
columns: ({
|
|
86
86
|
name: string;
|
|
87
87
|
value: {
|
|
88
88
|
type: string;
|
|
89
89
|
is_null: string;
|
|
90
90
|
maxlength: null;
|
|
91
91
|
};
|
|
92
|
-
fk_table:
|
|
93
|
-
fk_reference:
|
|
92
|
+
fk_table: string;
|
|
93
|
+
fk_reference: string;
|
|
94
94
|
pk: boolean;
|
|
95
|
-
}
|
|
96
|
-
fathers: never[];
|
|
97
|
-
childrens: never[];
|
|
98
|
-
name: string;
|
|
99
|
-
};
|
|
100
|
-
item_variacao_atributo: {
|
|
101
|
-
columns: {
|
|
95
|
+
} | {
|
|
102
96
|
name: string;
|
|
103
97
|
value: {
|
|
104
98
|
type: string;
|
|
105
99
|
is_null: string;
|
|
106
100
|
maxlength: null;
|
|
107
101
|
};
|
|
108
|
-
fk_table:
|
|
109
|
-
fk_reference:
|
|
102
|
+
fk_table: null;
|
|
103
|
+
fk_reference: null;
|
|
110
104
|
pk: boolean;
|
|
111
|
-
}[];
|
|
105
|
+
})[];
|
|
112
106
|
fathers: {
|
|
113
107
|
name: string;
|
|
114
108
|
value: {
|
|
@@ -123,7 +117,7 @@ declare const _default: {
|
|
|
123
117
|
childrens: never[];
|
|
124
118
|
name: string;
|
|
125
119
|
};
|
|
126
|
-
|
|
120
|
+
entidade: {
|
|
127
121
|
columns: ({
|
|
128
122
|
name: string;
|
|
129
123
|
value: {
|
|
@@ -159,8 +153,8 @@ declare const _default: {
|
|
|
159
153
|
}[];
|
|
160
154
|
name: string;
|
|
161
155
|
};
|
|
162
|
-
|
|
163
|
-
columns:
|
|
156
|
+
item_variacao_atributo: {
|
|
157
|
+
columns: {
|
|
164
158
|
name: string;
|
|
165
159
|
value: {
|
|
166
160
|
type: string;
|
|
@@ -170,17 +164,7 @@ declare const _default: {
|
|
|
170
164
|
fk_table: string;
|
|
171
165
|
fk_reference: string;
|
|
172
166
|
pk: boolean;
|
|
173
|
-
}
|
|
174
|
-
name: string;
|
|
175
|
-
value: {
|
|
176
|
-
type: string;
|
|
177
|
-
is_null: string;
|
|
178
|
-
maxlength: null;
|
|
179
|
-
};
|
|
180
|
-
fk_table: null;
|
|
181
|
-
fk_reference: null;
|
|
182
|
-
pk: boolean;
|
|
183
|
-
})[];
|
|
167
|
+
}[];
|
|
184
168
|
fathers: {
|
|
185
169
|
name: string;
|
|
186
170
|
value: {
|
|
@@ -195,7 +179,7 @@ declare const _default: {
|
|
|
195
179
|
childrens: never[];
|
|
196
180
|
name: string;
|
|
197
181
|
};
|
|
198
|
-
|
|
182
|
+
categoria: {
|
|
199
183
|
columns: ({
|
|
200
184
|
name: string;
|
|
201
185
|
value: {
|
|
@@ -217,17 +201,7 @@ declare const _default: {
|
|
|
217
201
|
fk_reference: null;
|
|
218
202
|
pk: boolean;
|
|
219
203
|
})[];
|
|
220
|
-
fathers:
|
|
221
|
-
name: string;
|
|
222
|
-
value: {
|
|
223
|
-
type: string;
|
|
224
|
-
is_null: string;
|
|
225
|
-
maxlength: null;
|
|
226
|
-
};
|
|
227
|
-
fk_table: string;
|
|
228
|
-
fk_reference: string;
|
|
229
|
-
pk: boolean;
|
|
230
|
-
}[];
|
|
204
|
+
fathers: never[];
|
|
231
205
|
childrens: {
|
|
232
206
|
name: string;
|
|
233
207
|
value: {
|
|
@@ -241,7 +215,7 @@ declare const _default: {
|
|
|
241
215
|
}[];
|
|
242
216
|
name: string;
|
|
243
217
|
};
|
|
244
|
-
|
|
218
|
+
empresa: {
|
|
245
219
|
columns: ({
|
|
246
220
|
name: string;
|
|
247
221
|
value: {
|
|
@@ -277,7 +251,7 @@ declare const _default: {
|
|
|
277
251
|
}[];
|
|
278
252
|
name: string;
|
|
279
253
|
};
|
|
280
|
-
|
|
254
|
+
marca: {
|
|
281
255
|
columns: ({
|
|
282
256
|
name: string;
|
|
283
257
|
value: {
|
|
@@ -359,7 +333,7 @@ declare const _default: {
|
|
|
359
333
|
}[];
|
|
360
334
|
name: string;
|
|
361
335
|
};
|
|
362
|
-
|
|
336
|
+
ecommerce: {
|
|
363
337
|
columns: ({
|
|
364
338
|
name: string;
|
|
365
339
|
value: {
|
|
@@ -381,7 +355,17 @@ declare const _default: {
|
|
|
381
355
|
fk_reference: null;
|
|
382
356
|
pk: boolean;
|
|
383
357
|
})[];
|
|
384
|
-
fathers:
|
|
358
|
+
fathers: {
|
|
359
|
+
name: string;
|
|
360
|
+
value: {
|
|
361
|
+
type: string;
|
|
362
|
+
is_null: string;
|
|
363
|
+
maxlength: null;
|
|
364
|
+
};
|
|
365
|
+
fk_table: string;
|
|
366
|
+
fk_reference: string;
|
|
367
|
+
pk: boolean;
|
|
368
|
+
}[];
|
|
385
369
|
childrens: {
|
|
386
370
|
name: string;
|
|
387
371
|
value: {
|
|
@@ -395,7 +379,7 @@ declare const _default: {
|
|
|
395
379
|
}[];
|
|
396
380
|
name: string;
|
|
397
381
|
};
|
|
398
|
-
|
|
382
|
+
item_variacao_imagem: {
|
|
399
383
|
columns: ({
|
|
400
384
|
name: string;
|
|
401
385
|
value: {
|
|
@@ -428,17 +412,7 @@ declare const _default: {
|
|
|
428
412
|
fk_reference: string;
|
|
429
413
|
pk: boolean;
|
|
430
414
|
}[];
|
|
431
|
-
childrens:
|
|
432
|
-
name: string;
|
|
433
|
-
value: {
|
|
434
|
-
type: string;
|
|
435
|
-
is_null: string;
|
|
436
|
-
maxlength: null;
|
|
437
|
-
};
|
|
438
|
-
fk_table: string;
|
|
439
|
-
fk_reference: string;
|
|
440
|
-
pk: boolean;
|
|
441
|
-
}[];
|
|
415
|
+
childrens: never[];
|
|
442
416
|
name: string;
|
|
443
417
|
};
|
|
444
418
|
ecommerce_item: {
|
|
@@ -513,7 +487,43 @@ declare const _default: {
|
|
|
513
487
|
}[];
|
|
514
488
|
name: string;
|
|
515
489
|
};
|
|
516
|
-
|
|
490
|
+
atributo: {
|
|
491
|
+
columns: ({
|
|
492
|
+
name: string;
|
|
493
|
+
value: {
|
|
494
|
+
type: string;
|
|
495
|
+
is_null: string;
|
|
496
|
+
maxlength: null;
|
|
497
|
+
};
|
|
498
|
+
fk_table: string;
|
|
499
|
+
fk_reference: string;
|
|
500
|
+
pk: boolean;
|
|
501
|
+
} | {
|
|
502
|
+
name: string;
|
|
503
|
+
value: {
|
|
504
|
+
type: string;
|
|
505
|
+
is_null: string;
|
|
506
|
+
maxlength: null;
|
|
507
|
+
};
|
|
508
|
+
fk_table: null;
|
|
509
|
+
fk_reference: null;
|
|
510
|
+
pk: boolean;
|
|
511
|
+
})[];
|
|
512
|
+
fathers: never[];
|
|
513
|
+
childrens: {
|
|
514
|
+
name: string;
|
|
515
|
+
value: {
|
|
516
|
+
type: string;
|
|
517
|
+
is_null: string;
|
|
518
|
+
maxlength: null;
|
|
519
|
+
};
|
|
520
|
+
fk_table: string;
|
|
521
|
+
fk_reference: string;
|
|
522
|
+
pk: boolean;
|
|
523
|
+
}[];
|
|
524
|
+
name: string;
|
|
525
|
+
};
|
|
526
|
+
entidade_endereco: {
|
|
517
527
|
columns: ({
|
|
518
528
|
name: string;
|
|
519
529
|
value: {
|
|
@@ -549,5 +559,31 @@ declare const _default: {
|
|
|
549
559
|
childrens: never[];
|
|
550
560
|
name: string;
|
|
551
561
|
};
|
|
562
|
+
usuario: {
|
|
563
|
+
columns: ({
|
|
564
|
+
name: string;
|
|
565
|
+
value: {
|
|
566
|
+
type: string;
|
|
567
|
+
is_null: string;
|
|
568
|
+
maxlength: null;
|
|
569
|
+
};
|
|
570
|
+
fk_table: string;
|
|
571
|
+
fk_reference: string;
|
|
572
|
+
pk: boolean;
|
|
573
|
+
} | {
|
|
574
|
+
name: string;
|
|
575
|
+
value: {
|
|
576
|
+
type: string;
|
|
577
|
+
is_null: string;
|
|
578
|
+
maxlength: null;
|
|
579
|
+
};
|
|
580
|
+
fk_table: null;
|
|
581
|
+
fk_reference: null;
|
|
582
|
+
pk: boolean;
|
|
583
|
+
})[];
|
|
584
|
+
fathers: never[];
|
|
585
|
+
childrens: never[];
|
|
586
|
+
name: string;
|
|
587
|
+
};
|
|
552
588
|
};
|
|
553
589
|
export default _default;
|
|
@@ -3,35 +3,37 @@ 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 atributo_1 = __importDefault(require("./atributo"));
|
|
7
|
-
const entidade_endereco_1 = __importDefault(require("./entidade_endereco"));
|
|
8
|
-
const usuario_1 = __importDefault(require("./usuario"));
|
|
9
|
-
const item_variacao_atributo_1 = __importDefault(require("./item_variacao_atributo"));
|
|
10
|
-
const empresa_1 = __importDefault(require("./empresa"));
|
|
11
6
|
const operacao_item_1 = __importDefault(require("./operacao_item"));
|
|
12
7
|
const item_1 = __importDefault(require("./item"));
|
|
8
|
+
const operacao_pagamento_1 = __importDefault(require("./operacao_pagamento"));
|
|
13
9
|
const entidade_1 = __importDefault(require("./entidade"));
|
|
10
|
+
const item_variacao_atributo_1 = __importDefault(require("./item_variacao_atributo"));
|
|
14
11
|
const categoria_1 = __importDefault(require("./categoria"));
|
|
15
|
-
const
|
|
12
|
+
const empresa_1 = __importDefault(require("./empresa"));
|
|
16
13
|
const marca_1 = __importDefault(require("./marca"));
|
|
14
|
+
const item_variacao_1 = __importDefault(require("./item_variacao"));
|
|
17
15
|
const ecommerce_1 = __importDefault(require("./ecommerce"));
|
|
16
|
+
const item_variacao_imagem_1 = __importDefault(require("./item_variacao_imagem"));
|
|
18
17
|
const ecommerce_item_1 = __importDefault(require("./ecommerce_item"));
|
|
19
18
|
const operacao_1 = __importDefault(require("./operacao"));
|
|
20
|
-
const
|
|
19
|
+
const atributo_1 = __importDefault(require("./atributo"));
|
|
20
|
+
const entidade_endereco_1 = __importDefault(require("./entidade_endereco"));
|
|
21
|
+
const usuario_1 = __importDefault(require("./usuario"));
|
|
21
22
|
exports.default = {
|
|
22
|
-
atributo: atributo_1.default,
|
|
23
|
-
entidade_endereco: entidade_endereco_1.default,
|
|
24
|
-
usuario: usuario_1.default,
|
|
25
|
-
item_variacao_atributo: item_variacao_atributo_1.default,
|
|
26
|
-
empresa: empresa_1.default,
|
|
27
23
|
operacao_item: operacao_item_1.default,
|
|
28
24
|
item: item_1.default,
|
|
25
|
+
operacao_pagamento: operacao_pagamento_1.default,
|
|
29
26
|
entidade: entidade_1.default,
|
|
27
|
+
item_variacao_atributo: item_variacao_atributo_1.default,
|
|
30
28
|
categoria: categoria_1.default,
|
|
31
|
-
|
|
29
|
+
empresa: empresa_1.default,
|
|
32
30
|
marca: marca_1.default,
|
|
31
|
+
item_variacao: item_variacao_1.default,
|
|
33
32
|
ecommerce: ecommerce_1.default,
|
|
33
|
+
item_variacao_imagem: item_variacao_imagem_1.default,
|
|
34
34
|
ecommerce_item: ecommerce_item_1.default,
|
|
35
35
|
operacao: operacao_1.default,
|
|
36
|
-
|
|
36
|
+
atributo: atributo_1.default,
|
|
37
|
+
entidade_endereco: entidade_endereco_1.default,
|
|
38
|
+
usuario: usuario_1.default
|
|
37
39
|
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
columns: ({
|
|
3
|
+
name: string;
|
|
4
|
+
value: {
|
|
5
|
+
type: string;
|
|
6
|
+
is_null: string;
|
|
7
|
+
maxlength: null;
|
|
8
|
+
};
|
|
9
|
+
fk_table: string;
|
|
10
|
+
fk_reference: string;
|
|
11
|
+
pk: boolean;
|
|
12
|
+
} | {
|
|
13
|
+
name: string;
|
|
14
|
+
value: {
|
|
15
|
+
type: string;
|
|
16
|
+
is_null: string;
|
|
17
|
+
maxlength: null;
|
|
18
|
+
};
|
|
19
|
+
fk_table: null;
|
|
20
|
+
fk_reference: null;
|
|
21
|
+
pk: boolean;
|
|
22
|
+
})[];
|
|
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
|
+
}[];
|
|
34
|
+
childrens: never[];
|
|
35
|
+
name: string;
|
|
36
|
+
};
|
|
37
|
+
export default _default;
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.default = {
|
|
4
|
+
"columns": [
|
|
5
|
+
{
|
|
6
|
+
"name": "id",
|
|
7
|
+
"value": {
|
|
8
|
+
"type": "integer",
|
|
9
|
+
"is_null": "YES",
|
|
10
|
+
"maxlength": null
|
|
11
|
+
},
|
|
12
|
+
"fk_table": "item_variacao_imagem",
|
|
13
|
+
"fk_reference": "id",
|
|
14
|
+
"pk": true
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"name": "item_variacao",
|
|
18
|
+
"value": {
|
|
19
|
+
"type": "integer",
|
|
20
|
+
"is_null": "NO",
|
|
21
|
+
"maxlength": null
|
|
22
|
+
},
|
|
23
|
+
"fk_table": "item_variacao",
|
|
24
|
+
"fk_reference": "id",
|
|
25
|
+
"pk": false
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "url",
|
|
29
|
+
"value": {
|
|
30
|
+
"type": "text",
|
|
31
|
+
"is_null": "NO",
|
|
32
|
+
"maxlength": null
|
|
33
|
+
},
|
|
34
|
+
"fk_table": null,
|
|
35
|
+
"fk_reference": null,
|
|
36
|
+
"pk": false
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"name": "is_principal",
|
|
40
|
+
"value": {
|
|
41
|
+
"type": "boolean",
|
|
42
|
+
"is_null": "YES",
|
|
43
|
+
"maxlength": null
|
|
44
|
+
},
|
|
45
|
+
"fk_table": null,
|
|
46
|
+
"fk_reference": null,
|
|
47
|
+
"pk": false
|
|
48
|
+
}
|
|
49
|
+
],
|
|
50
|
+
"fathers": [
|
|
51
|
+
{
|
|
52
|
+
"name": "item_variacao",
|
|
53
|
+
"value": {
|
|
54
|
+
"type": "integer",
|
|
55
|
+
"is_null": "NO",
|
|
56
|
+
"maxlength": null
|
|
57
|
+
},
|
|
58
|
+
"fk_table": "item_variacao",
|
|
59
|
+
"fk_reference": "id",
|
|
60
|
+
"pk": false
|
|
61
|
+
}
|
|
62
|
+
],
|
|
63
|
+
"childrens": [],
|
|
64
|
+
"name": "item_variacao_imagem"
|
|
65
|
+
};
|