pg-manipulator 1.0.42 → 1.0.43

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.
@@ -2,7 +2,7 @@ export type categoria_fields = {
2
2
  id?: number;
3
3
  nome: string;
4
4
  descricao?: string;
5
- referencia: string;
5
+ referencia?: string;
6
6
  imagem?: string;
7
7
  icone?: string;
8
8
  is_padrao?: boolean;
@@ -0,0 +1,5 @@
1
+ export type item_variacao_atributo_fields = {
2
+ id?: number;
3
+ atributo: number;
4
+ item_variacao: number;
5
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ export type item_variacao_atributo_order = {
2
+ id?: 'desc' | 'asc';
3
+ atributo?: 'desc' | 'asc';
4
+ item_variacao?: 'desc' | 'asc';
5
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ import { item_variacao_atributo_where } from './item_variacao_atributo_where';
2
+ import { item_variacao_atributo_order } from './item_variacao_atributo_order';
3
+ export type item_variacao_atributo_select = {
4
+ id?: number;
5
+ atributo?: number;
6
+ item_variacao?: number;
7
+ where: item_variacao_atributo_where;
8
+ order?: item_variacao_atributo_order;
9
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ import { item_variacao_atributo_where } from './item_variacao_atributo_where';
2
+ export type item_variacao_atributo_update = {
3
+ id?: number;
4
+ atributo?: number;
5
+ item_variacao?: number;
6
+ where: item_variacao_atributo_where;
7
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,6 @@
1
+ import { where_number } from '../';
2
+ export type item_variacao_atributo_where = {
3
+ id?: where_number | number;
4
+ atributo?: where_number | number;
5
+ item_variacao?: where_number | number;
6
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,35 +1,37 @@
1
1
  import { PoolClient } from 'pg';
2
2
  import { pool_tsx } from '../../@types';
3
+ import empresa from './empresa';
4
+ import operacao_item from './operacao_item';
3
5
  import item_variacao from './item_variacao';
4
- import usuario from './usuario';
6
+ import ecommerce from './ecommerce';
7
+ import operacao_pagamento from './operacao_pagamento';
5
8
  import item from './item';
6
9
  import categoria from './categoria';
10
+ import entidade_endereco from './entidade_endereco';
7
11
  import entidade from './entidade';
8
- import operacao_pagamento from './operacao_pagamento';
9
12
  import marca from './marca';
10
- import entidade_endereco from './entidade_endereco';
11
- import operacao_item from './operacao_item';
12
- import ecommerce_item from './ecommerce_item';
13
13
  import operacao from './operacao';
14
+ import ecommerce_item from './ecommerce_item';
14
15
  import atributo from './atributo';
15
- import ecommerce from './ecommerce';
16
- import empresa from './empresa';
16
+ import item_variacao_atributo from './item_variacao_atributo';
17
+ import usuario from './usuario';
17
18
  declare const _default: {
18
19
  query(query_string: string, query_params: Array<any>, transaction?: PoolClient | any): Promise<any>;
19
20
  transaction(callback: pool_tsx): Promise<void>;
21
+ empresa: typeof empresa;
22
+ operacao_item: typeof operacao_item;
20
23
  item_variacao: typeof item_variacao;
21
- usuario: typeof usuario;
24
+ ecommerce: typeof ecommerce;
25
+ operacao_pagamento: typeof operacao_pagamento;
22
26
  item: typeof item;
23
27
  categoria: typeof categoria;
28
+ entidade_endereco: typeof entidade_endereco;
24
29
  entidade: typeof entidade;
25
- operacao_pagamento: typeof operacao_pagamento;
26
30
  marca: typeof marca;
27
- entidade_endereco: typeof entidade_endereco;
28
- operacao_item: typeof operacao_item;
29
- ecommerce_item: typeof ecommerce_item;
30
31
  operacao: typeof operacao;
32
+ ecommerce_item: typeof ecommerce_item;
31
33
  atributo: typeof atributo;
32
- ecommerce: typeof ecommerce;
33
- empresa: typeof empresa;
34
+ item_variacao_atributo: typeof item_variacao_atributo;
35
+ usuario: typeof usuario;
34
36
  };
35
37
  export default _default;
@@ -4,20 +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 empresa_1 = __importDefault(require("./empresa"));
8
+ const operacao_item_1 = __importDefault(require("./operacao_item"));
7
9
  const item_variacao_1 = __importDefault(require("./item_variacao"));
8
- const usuario_1 = __importDefault(require("./usuario"));
10
+ const ecommerce_1 = __importDefault(require("./ecommerce"));
11
+ const operacao_pagamento_1 = __importDefault(require("./operacao_pagamento"));
9
12
  const item_1 = __importDefault(require("./item"));
10
13
  const categoria_1 = __importDefault(require("./categoria"));
14
+ const entidade_endereco_1 = __importDefault(require("./entidade_endereco"));
11
15
  const entidade_1 = __importDefault(require("./entidade"));
12
- const operacao_pagamento_1 = __importDefault(require("./operacao_pagamento"));
13
16
  const marca_1 = __importDefault(require("./marca"));
14
- const entidade_endereco_1 = __importDefault(require("./entidade_endereco"));
15
- const operacao_item_1 = __importDefault(require("./operacao_item"));
16
- const ecommerce_item_1 = __importDefault(require("./ecommerce_item"));
17
17
  const operacao_1 = __importDefault(require("./operacao"));
18
+ const ecommerce_item_1 = __importDefault(require("./ecommerce_item"));
18
19
  const atributo_1 = __importDefault(require("./atributo"));
19
- const ecommerce_1 = __importDefault(require("./ecommerce"));
20
- const empresa_1 = __importDefault(require("./empresa"));
20
+ const item_variacao_atributo_1 = __importDefault(require("./item_variacao_atributo"));
21
+ const usuario_1 = __importDefault(require("./usuario"));
21
22
  exports.default = {
22
23
  async query(query_string, query_params, transaction = undefined) {
23
24
  return await database_1.default.query('admin', query_string, query_params, transaction);
@@ -25,18 +26,19 @@ exports.default = {
25
26
  async transaction(callback) {
26
27
  return await database_1.default.transaction('admin', callback);
27
28
  },
29
+ empresa: empresa_1.default,
30
+ operacao_item: operacao_item_1.default,
28
31
  item_variacao: item_variacao_1.default,
29
- usuario: usuario_1.default,
32
+ ecommerce: ecommerce_1.default,
33
+ operacao_pagamento: operacao_pagamento_1.default,
30
34
  item: item_1.default,
31
35
  categoria: categoria_1.default,
36
+ entidade_endereco: entidade_endereco_1.default,
32
37
  entidade: entidade_1.default,
33
- operacao_pagamento: operacao_pagamento_1.default,
34
38
  marca: marca_1.default,
35
- entidade_endereco: entidade_endereco_1.default,
36
- operacao_item: operacao_item_1.default,
37
- ecommerce_item: ecommerce_item_1.default,
38
39
  operacao: operacao_1.default,
40
+ ecommerce_item: ecommerce_item_1.default,
39
41
  atributo: atributo_1.default,
40
- ecommerce: ecommerce_1.default,
41
- empresa: empresa_1.default
42
+ item_variacao_atributo: item_variacao_atributo_1.default,
43
+ usuario: usuario_1.default
42
44
  };
@@ -0,0 +1,13 @@
1
+ import base from '../../base';
2
+ import { PoolClient } from 'pg';
3
+ import { item_variacao_atributo_select } from '../../@types/admin/item_variacao_atributo_select';
4
+ import { item_variacao_atributo_where } from '../../@types/admin/item_variacao_atributo_where';
5
+ import { item_variacao_atributo_update } from '../../@types/admin/item_variacao_atributo_update';
6
+ import { item_variacao_atributo_fields } from '../../@types/admin/item_variacao_atributo_fields';
7
+ export default class item_variacao_atributo extends base {
8
+ static get(fields: item_variacao_atributo_select, transaction?: PoolClient | any): Promise<item_variacao_atributo_fields>;
9
+ static get_all(fields: item_variacao_atributo_select, transaction?: PoolClient | any): Promise<item_variacao_atributo_fields[]>;
10
+ static create(fields: item_variacao_atributo_fields, transaction?: PoolClient | any): Promise<item_variacao_atributo_fields>;
11
+ static update(fields: item_variacao_atributo_update, transaction?: PoolClient | any): Promise<any>;
12
+ static delete(fields: item_variacao_atributo_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_atributo extends base_1.default {
8
+ static async get(fields, transaction = undefined) {
9
+ return await super.b_get('admin', fields, 'item_variacao_atributo', transaction);
10
+ }
11
+ static async get_all(fields, transaction = undefined) {
12
+ return await super.b_get_all('admin', fields, 'item_variacao_atributo', transaction);
13
+ }
14
+ static async create(fields, transaction = undefined) {
15
+ return await super.b_create('admin', fields, 'item_variacao_atributo', transaction);
16
+ }
17
+ static async update(fields, transaction = undefined) {
18
+ return await super.b_update('admin', fields, 'item_variacao_atributo', transaction);
19
+ }
20
+ static async delete(fields, transaction = undefined) {
21
+ return await super.b_delete('admin', fields, 'item_variacao_atributo', transaction);
22
+ }
23
+ }
24
+ exports.default = item_variacao_atributo;
@@ -21,7 +21,17 @@ declare const _default: {
21
21
  pk: boolean;
22
22
  })[];
23
23
  fathers: never[];
24
- childrens: 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
+ }[];
25
35
  name: string;
26
36
  };
27
37
  export default _default;
@@ -70,6 +70,18 @@ exports.default = {
70
70
  }
71
71
  ],
72
72
  "fathers": [],
73
- "childrens": [],
73
+ "childrens": [
74
+ {
75
+ "name": "atributo",
76
+ "value": {
77
+ "type": "integer",
78
+ "is_null": "NO",
79
+ "maxlength": null
80
+ },
81
+ "fk_table": "atributo",
82
+ "fk_reference": "id",
83
+ "pk": false
84
+ }
85
+ ],
74
86
  "name": "atributo"
75
87
  };
@@ -39,7 +39,7 @@ exports.default = {
39
39
  "name": "referencia",
40
40
  "value": {
41
41
  "type": "character varying",
42
- "is_null": "NO",
42
+ "is_null": "YES",
43
43
  "maxlength": null
44
44
  },
45
45
  "fk_table": null,
@@ -1,5 +1,5 @@
1
1
  declare const _default: {
2
- item_variacao: {
2
+ empresa: {
3
3
  columns: ({
4
4
  name: string;
5
5
  value: {
@@ -22,10 +22,20 @@ declare const _default: {
22
22
  pk: boolean;
23
23
  })[];
24
24
  fathers: never[];
25
- childrens: never[];
25
+ childrens: {
26
+ name: string;
27
+ value: {
28
+ type: string;
29
+ is_null: string;
30
+ maxlength: null;
31
+ };
32
+ fk_table: string;
33
+ fk_reference: string;
34
+ pk: boolean;
35
+ }[];
26
36
  name: string;
27
37
  };
28
- usuario: {
38
+ operacao_item: {
29
39
  columns: ({
30
40
  name: string;
31
41
  value: {
@@ -47,11 +57,21 @@ declare const _default: {
47
57
  fk_reference: null;
48
58
  pk: boolean;
49
59
  })[];
50
- fathers: never[];
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
+ }[];
51
71
  childrens: never[];
52
72
  name: string;
53
73
  };
54
- item: {
74
+ item_variacao: {
55
75
  columns: ({
56
76
  name: string;
57
77
  value: {
@@ -73,17 +93,7 @@ declare const _default: {
73
93
  fk_reference: null;
74
94
  pk: boolean;
75
95
  })[];
76
- fathers: {
77
- name: string;
78
- value: {
79
- type: string;
80
- is_null: string;
81
- maxlength: null;
82
- };
83
- fk_table: string;
84
- fk_reference: string;
85
- pk: boolean;
86
- }[];
96
+ fathers: never[];
87
97
  childrens: {
88
98
  name: string;
89
99
  value: {
@@ -97,7 +107,7 @@ declare const _default: {
97
107
  }[];
98
108
  name: string;
99
109
  };
100
- categoria: {
110
+ ecommerce: {
101
111
  columns: ({
102
112
  name: string;
103
113
  value: {
@@ -119,7 +129,17 @@ declare const _default: {
119
129
  fk_reference: null;
120
130
  pk: boolean;
121
131
  })[];
122
- fathers: never[];
132
+ fathers: {
133
+ name: string;
134
+ value: {
135
+ type: string;
136
+ is_null: string;
137
+ maxlength: null;
138
+ };
139
+ fk_table: string;
140
+ fk_reference: string;
141
+ pk: boolean;
142
+ }[];
123
143
  childrens: {
124
144
  name: string;
125
145
  value: {
@@ -133,7 +153,7 @@ declare const _default: {
133
153
  }[];
134
154
  name: string;
135
155
  };
136
- entidade: {
156
+ operacao_pagamento: {
137
157
  columns: ({
138
158
  name: string;
139
159
  value: {
@@ -155,8 +175,7 @@ declare const _default: {
155
175
  fk_reference: null;
156
176
  pk: boolean;
157
177
  })[];
158
- fathers: never[];
159
- childrens: {
178
+ fathers: {
160
179
  name: string;
161
180
  value: {
162
181
  type: string;
@@ -167,9 +186,10 @@ declare const _default: {
167
186
  fk_reference: string;
168
187
  pk: boolean;
169
188
  }[];
189
+ childrens: never[];
170
190
  name: string;
171
191
  };
172
- operacao_pagamento: {
192
+ item: {
173
193
  columns: ({
174
194
  name: string;
175
195
  value: {
@@ -202,10 +222,20 @@ declare const _default: {
202
222
  fk_reference: string;
203
223
  pk: boolean;
204
224
  }[];
205
- childrens: never[];
225
+ childrens: {
226
+ name: string;
227
+ value: {
228
+ type: string;
229
+ is_null: string;
230
+ maxlength: null;
231
+ };
232
+ fk_table: string;
233
+ fk_reference: string;
234
+ pk: boolean;
235
+ }[];
206
236
  name: string;
207
237
  };
208
- marca: {
238
+ categoria: {
209
239
  columns: ({
210
240
  name: string;
211
241
  value: {
@@ -277,7 +307,7 @@ declare const _default: {
277
307
  childrens: never[];
278
308
  name: string;
279
309
  };
280
- operacao_item: {
310
+ entidade: {
281
311
  columns: ({
282
312
  name: string;
283
313
  value: {
@@ -299,7 +329,8 @@ declare const _default: {
299
329
  fk_reference: null;
300
330
  pk: boolean;
301
331
  })[];
302
- fathers: {
332
+ fathers: never[];
333
+ childrens: {
303
334
  name: string;
304
335
  value: {
305
336
  type: string;
@@ -310,11 +341,10 @@ declare const _default: {
310
341
  fk_reference: string;
311
342
  pk: boolean;
312
343
  }[];
313
- childrens: never[];
314
344
  name: string;
315
345
  };
316
- ecommerce_item: {
317
- columns: {
346
+ marca: {
347
+ columns: ({
318
348
  name: string;
319
349
  value: {
320
350
  type: string;
@@ -324,8 +354,19 @@ declare const _default: {
324
354
  fk_table: string;
325
355
  fk_reference: string;
326
356
  pk: boolean;
327
- }[];
328
- fathers: {
357
+ } | {
358
+ name: string;
359
+ value: {
360
+ type: string;
361
+ is_null: string;
362
+ maxlength: null;
363
+ };
364
+ fk_table: null;
365
+ fk_reference: null;
366
+ pk: boolean;
367
+ })[];
368
+ fathers: never[];
369
+ childrens: {
329
370
  name: string;
330
371
  value: {
331
372
  type: string;
@@ -336,7 +377,6 @@ declare const _default: {
336
377
  fk_reference: string;
337
378
  pk: boolean;
338
379
  }[];
339
- childrens: never[];
340
380
  name: string;
341
381
  };
342
382
  operacao: {
@@ -385,8 +425,8 @@ declare const _default: {
385
425
  }[];
386
426
  name: string;
387
427
  };
388
- atributo: {
389
- columns: ({
428
+ ecommerce_item: {
429
+ columns: {
390
430
  name: string;
391
431
  value: {
392
432
  type: string;
@@ -396,22 +436,22 @@ declare const _default: {
396
436
  fk_table: string;
397
437
  fk_reference: string;
398
438
  pk: boolean;
399
- } | {
439
+ }[];
440
+ fathers: {
400
441
  name: string;
401
442
  value: {
402
443
  type: string;
403
444
  is_null: string;
404
445
  maxlength: null;
405
446
  };
406
- fk_table: null;
407
- fk_reference: null;
447
+ fk_table: string;
448
+ fk_reference: string;
408
449
  pk: boolean;
409
- })[];
410
- fathers: never[];
450
+ }[];
411
451
  childrens: never[];
412
452
  name: string;
413
453
  };
414
- ecommerce: {
454
+ atributo: {
415
455
  columns: ({
416
456
  name: string;
417
457
  value: {
@@ -433,7 +473,8 @@ declare const _default: {
433
473
  fk_reference: null;
434
474
  pk: boolean;
435
475
  })[];
436
- fathers: {
476
+ fathers: never[];
477
+ childrens: {
437
478
  name: string;
438
479
  value: {
439
480
  type: string;
@@ -444,7 +485,21 @@ declare const _default: {
444
485
  fk_reference: string;
445
486
  pk: boolean;
446
487
  }[];
447
- childrens: {
488
+ name: string;
489
+ };
490
+ item_variacao_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
+ fathers: {
448
503
  name: string;
449
504
  value: {
450
505
  type: string;
@@ -455,9 +510,10 @@ declare const _default: {
455
510
  fk_reference: string;
456
511
  pk: boolean;
457
512
  }[];
513
+ childrens: never[];
458
514
  name: string;
459
515
  };
460
- empresa: {
516
+ usuario: {
461
517
  columns: ({
462
518
  name: string;
463
519
  value: {
@@ -480,17 +536,7 @@ declare const _default: {
480
536
  pk: boolean;
481
537
  })[];
482
538
  fathers: never[];
483
- childrens: {
484
- name: string;
485
- value: {
486
- type: string;
487
- is_null: string;
488
- maxlength: null;
489
- };
490
- fk_table: string;
491
- fk_reference: string;
492
- pk: boolean;
493
- }[];
539
+ childrens: never[];
494
540
  name: string;
495
541
  };
496
542
  };
@@ -3,33 +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 empresa_1 = __importDefault(require("./empresa"));
7
+ const operacao_item_1 = __importDefault(require("./operacao_item"));
6
8
  const item_variacao_1 = __importDefault(require("./item_variacao"));
7
- const usuario_1 = __importDefault(require("./usuario"));
9
+ const ecommerce_1 = __importDefault(require("./ecommerce"));
10
+ const operacao_pagamento_1 = __importDefault(require("./operacao_pagamento"));
8
11
  const item_1 = __importDefault(require("./item"));
9
12
  const categoria_1 = __importDefault(require("./categoria"));
13
+ const entidade_endereco_1 = __importDefault(require("./entidade_endereco"));
10
14
  const entidade_1 = __importDefault(require("./entidade"));
11
- const operacao_pagamento_1 = __importDefault(require("./operacao_pagamento"));
12
15
  const marca_1 = __importDefault(require("./marca"));
13
- const entidade_endereco_1 = __importDefault(require("./entidade_endereco"));
14
- const operacao_item_1 = __importDefault(require("./operacao_item"));
15
- const ecommerce_item_1 = __importDefault(require("./ecommerce_item"));
16
16
  const operacao_1 = __importDefault(require("./operacao"));
17
+ const ecommerce_item_1 = __importDefault(require("./ecommerce_item"));
17
18
  const atributo_1 = __importDefault(require("./atributo"));
18
- const ecommerce_1 = __importDefault(require("./ecommerce"));
19
- const empresa_1 = __importDefault(require("./empresa"));
19
+ const item_variacao_atributo_1 = __importDefault(require("./item_variacao_atributo"));
20
+ const usuario_1 = __importDefault(require("./usuario"));
20
21
  exports.default = {
22
+ empresa: empresa_1.default,
23
+ operacao_item: operacao_item_1.default,
21
24
  item_variacao: item_variacao_1.default,
22
- usuario: usuario_1.default,
25
+ ecommerce: ecommerce_1.default,
26
+ operacao_pagamento: operacao_pagamento_1.default,
23
27
  item: item_1.default,
24
28
  categoria: categoria_1.default,
29
+ entidade_endereco: entidade_endereco_1.default,
25
30
  entidade: entidade_1.default,
26
- operacao_pagamento: operacao_pagamento_1.default,
27
31
  marca: marca_1.default,
28
- entidade_endereco: entidade_endereco_1.default,
29
- operacao_item: operacao_item_1.default,
30
- ecommerce_item: ecommerce_item_1.default,
31
32
  operacao: operacao_1.default,
33
+ ecommerce_item: ecommerce_item_1.default,
32
34
  atributo: atributo_1.default,
33
- ecommerce: ecommerce_1.default,
34
- empresa: empresa_1.default
35
+ item_variacao_atributo: item_variacao_atributo_1.default,
36
+ usuario: usuario_1.default
35
37
  };
@@ -21,7 +21,17 @@ declare const _default: {
21
21
  pk: boolean;
22
22
  })[];
23
23
  fathers: never[];
24
- childrens: 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
+ }[];
25
35
  name: string;
26
36
  };
27
37
  export default _default;
@@ -103,6 +103,18 @@ exports.default = {
103
103
  }
104
104
  ],
105
105
  "fathers": [],
106
- "childrens": [],
106
+ "childrens": [
107
+ {
108
+ "name": "item_variacao",
109
+ "value": {
110
+ "type": "integer",
111
+ "is_null": "NO",
112
+ "maxlength": null
113
+ },
114
+ "fk_table": "item_variacao",
115
+ "fk_reference": "id",
116
+ "pk": false
117
+ }
118
+ ],
107
119
  "name": "item_variacao"
108
120
  };
@@ -0,0 +1,27 @@
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
+ fathers: {
14
+ name: string;
15
+ value: {
16
+ type: string;
17
+ is_null: string;
18
+ maxlength: null;
19
+ };
20
+ fk_table: string;
21
+ fk_reference: string;
22
+ pk: boolean;
23
+ }[];
24
+ childrens: never[];
25
+ name: string;
26
+ };
27
+ 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_atributo",
13
+ "fk_reference": "id",
14
+ "pk": true
15
+ },
16
+ {
17
+ "name": "atributo",
18
+ "value": {
19
+ "type": "integer",
20
+ "is_null": "NO",
21
+ "maxlength": null
22
+ },
23
+ "fk_table": "atributo",
24
+ "fk_reference": "id",
25
+ "pk": false
26
+ },
27
+ {
28
+ "name": "item_variacao",
29
+ "value": {
30
+ "type": "integer",
31
+ "is_null": "NO",
32
+ "maxlength": null
33
+ },
34
+ "fk_table": "item_variacao",
35
+ "fk_reference": "id",
36
+ "pk": false
37
+ }
38
+ ],
39
+ "fathers": [
40
+ {
41
+ "name": "atributo",
42
+ "value": {
43
+ "type": "integer",
44
+ "is_null": "NO",
45
+ "maxlength": null
46
+ },
47
+ "fk_table": "atributo",
48
+ "fk_reference": "id",
49
+ "pk": false
50
+ },
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_atributo"
65
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pg-manipulator",
3
- "version": "1.0.42",
3
+ "version": "1.0.43",
4
4
  "description": "postgresql database handler",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",