test-entity-library-asm 1.2.3 → 1.2.4

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.
Files changed (91) hide show
  1. package/dist/entities/Category.d.ts +1 -2
  2. package/dist/entities/Category.js +2 -19
  3. package/dist/entities/CategorySchedule.d.ts +1 -2
  4. package/dist/entities/CategorySchedule.js +2 -19
  5. package/dist/entities/City.d.ts +1 -2
  6. package/dist/entities/City.js +2 -19
  7. package/dist/entities/CodeRedemptionHistoryCompany.d.ts +1 -2
  8. package/dist/entities/CodeRedemptionHistoryCompany.js +2 -19
  9. package/dist/entities/Company.d.ts +1 -2
  10. package/dist/entities/Company.js +2 -19
  11. package/dist/entities/Configuration.d.ts +1 -2
  12. package/dist/entities/Configuration.js +2 -19
  13. package/dist/entities/Country.d.ts +1 -2
  14. package/dist/entities/Country.js +2 -19
  15. package/dist/entities/Day.d.ts +1 -2
  16. package/dist/entities/Day.js +2 -19
  17. package/dist/entities/DiscountCodeCompany.d.ts +1 -2
  18. package/dist/entities/DiscountCodeCompany.js +2 -19
  19. package/dist/entities/Local.d.ts +1 -2
  20. package/dist/entities/Local.js +2 -19
  21. package/dist/entities/LocalQualification.d.ts +1 -2
  22. package/dist/entities/LocalQualification.js +2 -19
  23. package/dist/entities/Master.d.ts +1 -2
  24. package/dist/entities/Master.js +2 -19
  25. package/dist/entities/PaymentMethod.d.ts +1 -2
  26. package/dist/entities/PaymentMethod.js +2 -19
  27. package/dist/entities/Permission.d.ts +1 -2
  28. package/dist/entities/Permission.js +2 -19
  29. package/dist/entities/Plan.d.ts +1 -2
  30. package/dist/entities/Plan.js +2 -19
  31. package/dist/entities/Product.d.ts +1 -2
  32. package/dist/entities/Product.js +2 -19
  33. package/dist/entities/ProductIngredient.d.ts +1 -2
  34. package/dist/entities/ProductIngredient.js +2 -19
  35. package/dist/entities/ProductTopping.d.ts +1 -2
  36. package/dist/entities/ProductTopping.js +2 -19
  37. package/dist/entities/Region.d.ts +1 -2
  38. package/dist/entities/Region.js +2 -19
  39. package/dist/entities/Request.d.ts +1 -2
  40. package/dist/entities/Request.js +2 -19
  41. package/dist/entities/RequestProduct.d.ts +1 -2
  42. package/dist/entities/RequestProduct.js +2 -19
  43. package/dist/entities/RequestProductGroupComplement.d.ts +1 -2
  44. package/dist/entities/RequestProductGroupComplement.js +2 -19
  45. package/dist/entities/RequestStatus.d.ts +1 -2
  46. package/dist/entities/RequestStatus.js +2 -19
  47. package/dist/entities/RoleVisibleTo.d.ts +1 -2
  48. package/dist/entities/RoleVisibleTo.js +2 -19
  49. package/dist/entities/Square.d.ts +1 -2
  50. package/dist/entities/Square.js +2 -19
  51. package/dist/entities/TerminalSession.d.ts +1 -2
  52. package/dist/entities/TerminalSession.js +2 -19
  53. package/dist/entities/TypeFood.d.ts +1 -2
  54. package/dist/entities/TypeFood.js +2 -19
  55. package/dist/entities/TypeMeasureIngredient.d.ts +1 -2
  56. package/dist/entities/TypeMeasureIngredient.js +2 -19
  57. package/dist/entities/User.d.ts +1 -2
  58. package/dist/entities/User.js +2 -19
  59. package/dist/entities/productGroupComplement.d.ts +1 -2
  60. package/dist/entities/productGroupComplement.js +2 -19
  61. package/package.json +1 -1
  62. package/src/entities/Category.ts +1 -1
  63. package/src/entities/CategorySchedule.ts +1 -1
  64. package/src/entities/City.ts +1 -1
  65. package/src/entities/CodeRedemptionHistoryCompany.ts +1 -1
  66. package/src/entities/Company.ts +1 -1
  67. package/src/entities/Configuration.ts +1 -1
  68. package/src/entities/Country.ts +1 -1
  69. package/src/entities/Day.ts +1 -1
  70. package/src/entities/DiscountCodeCompany.ts +1 -1
  71. package/src/entities/Local.ts +1 -1
  72. package/src/entities/LocalQualification.ts +1 -1
  73. package/src/entities/Master.ts +1 -1
  74. package/src/entities/PaymentMethod.ts +1 -1
  75. package/src/entities/Permission.ts +1 -1
  76. package/src/entities/Plan.ts +1 -1
  77. package/src/entities/Product.ts +1 -1
  78. package/src/entities/ProductIngredient.ts +1 -1
  79. package/src/entities/ProductTopping.ts +1 -1
  80. package/src/entities/Region.ts +1 -1
  81. package/src/entities/Request.ts +1 -1
  82. package/src/entities/RequestProduct.ts +7 -7
  83. package/src/entities/RequestProductGroupComplement.ts +1 -1
  84. package/src/entities/RequestStatus.ts +6 -6
  85. package/src/entities/RoleVisibleTo.ts +1 -1
  86. package/src/entities/Square.ts +1 -1
  87. package/src/entities/TerminalSession.ts +1 -1
  88. package/src/entities/TypeFood.ts +1 -1
  89. package/src/entities/TypeMeasureIngredient.ts +1 -1
  90. package/src/entities/User.ts +1 -1
  91. package/src/entities/productGroupComplement.ts +1 -1
@@ -1,7 +1,6 @@
1
- import { BaseEntity } from 'typeorm';
2
1
  import { Local } from './Local';
3
2
  import { Product } from './Product';
4
- export declare class Category extends BaseEntity {
3
+ export declare class Category {
5
4
  id: number;
6
5
  local: Local;
7
6
  name: string;
@@ -1,19 +1,4 @@
1
1
  "use strict";
2
- var __extends = (this && this.__extends) || (function () {
3
- var extendStatics = function (d, b) {
4
- extendStatics = Object.setPrototypeOf ||
5
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
- return extendStatics(d, b);
8
- };
9
- return function (d, b) {
10
- if (typeof b !== "function" && b !== null)
11
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
- extendStatics(d, b);
13
- function __() { this.constructor = d; }
14
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
- };
16
- })();
17
2
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
18
3
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
19
4
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -28,10 +13,8 @@ exports.Category = void 0;
28
13
  var typeorm_1 = require("typeorm");
29
14
  var Local_1 = require("./Local");
30
15
  var Product_1 = require("./Product");
31
- var Category = /** @class */ (function (_super) {
32
- __extends(Category, _super);
16
+ var Category = /** @class */ (function () {
33
17
  function Category() {
34
- return _super !== null && _super.apply(this, arguments) || this;
35
18
  }
36
19
  __decorate([
37
20
  (0, typeorm_1.PrimaryGeneratedColumn)({
@@ -65,5 +48,5 @@ var Category = /** @class */ (function (_super) {
65
48
  })
66
49
  ], Category);
67
50
  return Category;
68
- }(typeorm_1.BaseEntity));
51
+ }());
69
52
  exports.Category = Category;
@@ -1,7 +1,6 @@
1
- import { BaseEntity } from 'typeorm';
2
1
  import { Category } from './Category';
3
2
  import { Day } from './Day';
4
- export declare class ScheduleCategory extends BaseEntity {
3
+ export declare class ScheduleCategory {
5
4
  id: number;
6
5
  category: Category;
7
6
  day: Day;
@@ -1,19 +1,4 @@
1
1
  "use strict";
2
- var __extends = (this && this.__extends) || (function () {
3
- var extendStatics = function (d, b) {
4
- extendStatics = Object.setPrototypeOf ||
5
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
- return extendStatics(d, b);
8
- };
9
- return function (d, b) {
10
- if (typeof b !== "function" && b !== null)
11
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
- extendStatics(d, b);
13
- function __() { this.constructor = d; }
14
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
- };
16
- })();
17
2
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
18
3
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
19
4
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -28,10 +13,8 @@ exports.ScheduleCategory = void 0;
28
13
  var typeorm_1 = require("typeorm");
29
14
  var Category_1 = require("./Category");
30
15
  var Day_1 = require("./Day");
31
- var ScheduleCategory = /** @class */ (function (_super) {
32
- __extends(ScheduleCategory, _super);
16
+ var ScheduleCategory = /** @class */ (function () {
33
17
  function ScheduleCategory() {
34
- return _super !== null && _super.apply(this, arguments) || this;
35
18
  }
36
19
  __decorate([
37
20
  (0, typeorm_1.PrimaryGeneratedColumn)({
@@ -63,5 +46,5 @@ var ScheduleCategory = /** @class */ (function (_super) {
63
46
  })
64
47
  ], ScheduleCategory);
65
48
  return ScheduleCategory;
66
- }(typeorm_1.BaseEntity));
49
+ }());
67
50
  exports.ScheduleCategory = ScheduleCategory;
@@ -1,9 +1,8 @@
1
- import { BaseEntity } from 'typeorm';
2
1
  import { Region } from './Region';
3
2
  import { User } from './User';
4
3
  import { Company } from './Company';
5
4
  import { Local } from './Local';
6
- export declare class City extends BaseEntity {
5
+ export declare class City {
7
6
  id: number;
8
7
  region: Region;
9
8
  name: string;
@@ -1,19 +1,4 @@
1
1
  "use strict";
2
- var __extends = (this && this.__extends) || (function () {
3
- var extendStatics = function (d, b) {
4
- extendStatics = Object.setPrototypeOf ||
5
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
- return extendStatics(d, b);
8
- };
9
- return function (d, b) {
10
- if (typeof b !== "function" && b !== null)
11
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
- extendStatics(d, b);
13
- function __() { this.constructor = d; }
14
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
- };
16
- })();
17
2
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
18
3
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
19
4
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -30,10 +15,8 @@ var Region_1 = require("./Region");
30
15
  var User_1 = require("./User");
31
16
  var Company_1 = require("./Company");
32
17
  var Local_1 = require("./Local");
33
- var City = /** @class */ (function (_super) {
34
- __extends(City, _super);
18
+ var City = /** @class */ (function () {
35
19
  function City() {
36
- return _super !== null && _super.apply(this, arguments) || this;
37
20
  }
38
21
  __decorate([
39
22
  (0, typeorm_1.PrimaryGeneratedColumn)({
@@ -76,5 +59,5 @@ var City = /** @class */ (function (_super) {
76
59
  (0, typeorm_1.Entity)({ comment: 'Ciudades donde está visible la plataforma.' })
77
60
  ], City);
78
61
  return City;
79
- }(typeorm_1.BaseEntity));
62
+ }());
80
63
  exports.City = City;
@@ -1,7 +1,6 @@
1
- import { BaseEntity } from 'typeorm';
2
1
  import { DiscountCodeCompany } from './DiscountCodeCompany';
3
2
  import { Company } from './Company';
4
- export declare class CodeRedemptionHistoryCompany extends BaseEntity {
3
+ export declare class CodeRedemptionHistoryCompany {
5
4
  id: number;
6
5
  discount_code_company: DiscountCodeCompany;
7
6
  company: Company;
@@ -1,19 +1,4 @@
1
1
  "use strict";
2
- var __extends = (this && this.__extends) || (function () {
3
- var extendStatics = function (d, b) {
4
- extendStatics = Object.setPrototypeOf ||
5
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
- return extendStatics(d, b);
8
- };
9
- return function (d, b) {
10
- if (typeof b !== "function" && b !== null)
11
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
- extendStatics(d, b);
13
- function __() { this.constructor = d; }
14
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
- };
16
- })();
17
2
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
18
3
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
19
4
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -28,10 +13,8 @@ exports.CodeRedemptionHistoryCompany = void 0;
28
13
  var typeorm_1 = require("typeorm");
29
14
  var DiscountCodeCompany_1 = require("./DiscountCodeCompany");
30
15
  var Company_1 = require("./Company");
31
- var CodeRedemptionHistoryCompany = /** @class */ (function (_super) {
32
- __extends(CodeRedemptionHistoryCompany, _super);
16
+ var CodeRedemptionHistoryCompany = /** @class */ (function () {
33
17
  function CodeRedemptionHistoryCompany() {
34
- return _super !== null && _super.apply(this, arguments) || this;
35
18
  }
36
19
  __decorate([
37
20
  (0, typeorm_1.PrimaryGeneratedColumn)({
@@ -63,5 +46,5 @@ var CodeRedemptionHistoryCompany = /** @class */ (function (_super) {
63
46
  })
64
47
  ], CodeRedemptionHistoryCompany);
65
48
  return CodeRedemptionHistoryCompany;
66
- }(typeorm_1.BaseEntity));
49
+ }());
67
50
  exports.CodeRedemptionHistoryCompany = CodeRedemptionHistoryCompany;
@@ -1,4 +1,3 @@
1
- import { BaseEntity } from 'typeorm';
2
1
  import { City } from './City';
3
2
  import { User } from './User';
4
3
  import { Plan } from './Plan';
@@ -7,7 +6,7 @@ import { Local } from './Local';
7
6
  import { CodeRedemptionHistoryCompany } from './CodeRedemptionHistoryCompany';
8
7
  import { DiscountCodeUser } from './DiscountCodeUser';
9
8
  import { ProductTopping } from './ProductTopping';
10
- export declare class Company extends BaseEntity {
9
+ export declare class Company {
11
10
  id: number;
12
11
  name: string;
13
12
  city: City;
@@ -1,19 +1,4 @@
1
1
  "use strict";
2
- var __extends = (this && this.__extends) || (function () {
3
- var extendStatics = function (d, b) {
4
- extendStatics = Object.setPrototypeOf ||
5
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
- return extendStatics(d, b);
8
- };
9
- return function (d, b) {
10
- if (typeof b !== "function" && b !== null)
11
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
- extendStatics(d, b);
13
- function __() { this.constructor = d; }
14
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
- };
16
- })();
17
2
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
18
3
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
19
4
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -34,10 +19,8 @@ var Local_1 = require("./Local");
34
19
  var CodeRedemptionHistoryCompany_1 = require("./CodeRedemptionHistoryCompany");
35
20
  var DiscountCodeUser_1 = require("./DiscountCodeUser");
36
21
  var ProductTopping_1 = require("./ProductTopping");
37
- var Company = /** @class */ (function (_super) {
38
- __extends(Company, _super);
22
+ var Company = /** @class */ (function () {
39
23
  function Company() {
40
- return _super !== null && _super.apply(this, arguments) || this;
41
24
  }
42
25
  __decorate([
43
26
  (0, typeorm_1.PrimaryGeneratedColumn)({
@@ -166,5 +149,5 @@ var Company = /** @class */ (function (_super) {
166
149
  })
167
150
  ], Company);
168
151
  return Company;
169
- }(typeorm_1.BaseEntity));
152
+ }());
170
153
  exports.Company = Company;
@@ -1,5 +1,4 @@
1
- import { BaseEntity } from 'typeorm';
2
- export declare class Configuration extends BaseEntity {
1
+ export declare class Configuration {
3
2
  profile: string;
4
3
  settings: string;
5
4
  }
@@ -1,19 +1,4 @@
1
1
  "use strict";
2
- var __extends = (this && this.__extends) || (function () {
3
- var extendStatics = function (d, b) {
4
- extendStatics = Object.setPrototypeOf ||
5
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
- return extendStatics(d, b);
8
- };
9
- return function (d, b) {
10
- if (typeof b !== "function" && b !== null)
11
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
- extendStatics(d, b);
13
- function __() { this.constructor = d; }
14
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
- };
16
- })();
17
2
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
18
3
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
19
4
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -26,10 +11,8 @@ var __metadata = (this && this.__metadata) || function (k, v) {
26
11
  Object.defineProperty(exports, "__esModule", { value: true });
27
12
  exports.Configuration = void 0;
28
13
  var typeorm_1 = require("typeorm");
29
- var Configuration = /** @class */ (function (_super) {
30
- __extends(Configuration, _super);
14
+ var Configuration = /** @class */ (function () {
31
15
  function Configuration() {
32
- return _super !== null && _super.apply(this, arguments) || this;
33
16
  }
34
17
  __decorate([
35
18
  (0, typeorm_1.PrimaryColumn)({
@@ -51,5 +34,5 @@ var Configuration = /** @class */ (function (_super) {
51
34
  })
52
35
  ], Configuration);
53
36
  return Configuration;
54
- }(typeorm_1.BaseEntity));
37
+ }());
55
38
  exports.Configuration = Configuration;
@@ -1,6 +1,5 @@
1
- import { BaseEntity } from 'typeorm';
2
1
  import { Region } from './Region';
3
- export declare class Country extends BaseEntity {
2
+ export declare class Country {
4
3
  id: number;
5
4
  code: string;
6
5
  name: string;
@@ -1,19 +1,4 @@
1
1
  "use strict";
2
- var __extends = (this && this.__extends) || (function () {
3
- var extendStatics = function (d, b) {
4
- extendStatics = Object.setPrototypeOf ||
5
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
- return extendStatics(d, b);
8
- };
9
- return function (d, b) {
10
- if (typeof b !== "function" && b !== null)
11
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
- extendStatics(d, b);
13
- function __() { this.constructor = d; }
14
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
- };
16
- })();
17
2
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
18
3
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
19
4
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -27,10 +12,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
27
12
  exports.Country = void 0;
28
13
  var typeorm_1 = require("typeorm");
29
14
  var Region_1 = require("./Region");
30
- var Country = /** @class */ (function (_super) {
31
- __extends(Country, _super);
15
+ var Country = /** @class */ (function () {
32
16
  function Country() {
33
- return _super !== null && _super.apply(this, arguments) || this;
34
17
  }
35
18
  __decorate([
36
19
  (0, typeorm_1.PrimaryGeneratedColumn)({
@@ -86,5 +69,5 @@ var Country = /** @class */ (function (_super) {
86
69
  (0, typeorm_1.Entity)({ comment: 'Países donde está disponible la plataforma.' })
87
70
  ], Country);
88
71
  return Country;
89
- }(typeorm_1.BaseEntity));
72
+ }());
90
73
  exports.Country = Country;
@@ -1,5 +1,4 @@
1
- import { BaseEntity } from 'typeorm';
2
- export declare class Day extends BaseEntity {
1
+ export declare class Day {
3
2
  id: number;
4
3
  name: string;
5
4
  status: number;
@@ -1,19 +1,4 @@
1
1
  "use strict";
2
- var __extends = (this && this.__extends) || (function () {
3
- var extendStatics = function (d, b) {
4
- extendStatics = Object.setPrototypeOf ||
5
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
- return extendStatics(d, b);
8
- };
9
- return function (d, b) {
10
- if (typeof b !== "function" && b !== null)
11
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
- extendStatics(d, b);
13
- function __() { this.constructor = d; }
14
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
- };
16
- })();
17
2
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
18
3
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
19
4
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -26,10 +11,8 @@ var __metadata = (this && this.__metadata) || function (k, v) {
26
11
  Object.defineProperty(exports, "__esModule", { value: true });
27
12
  exports.Day = void 0;
28
13
  var typeorm_1 = require("typeorm");
29
- var Day = /** @class */ (function (_super) {
30
- __extends(Day, _super);
14
+ var Day = /** @class */ (function () {
31
15
  function Day() {
32
- return _super !== null && _super.apply(this, arguments) || this;
33
16
  }
34
17
  __decorate([
35
18
  (0, typeorm_1.PrimaryGeneratedColumn)({
@@ -55,5 +38,5 @@ var Day = /** @class */ (function (_super) {
55
38
  (0, typeorm_1.Entity)({ comment: 'Días de la semana.' })
56
39
  ], Day);
57
40
  return Day;
58
- }(typeorm_1.BaseEntity));
41
+ }());
59
42
  exports.Day = Day;
@@ -1,7 +1,6 @@
1
- import { BaseEntity } from 'typeorm';
2
1
  import { User } from './User';
3
2
  import { CodeRedemptionHistoryCompany } from './CodeRedemptionHistoryCompany';
4
- export declare class DiscountCodeCompany extends BaseEntity {
3
+ export declare class DiscountCodeCompany {
5
4
  id: number;
6
5
  code: string;
7
6
  discount: string;
@@ -1,19 +1,4 @@
1
1
  "use strict";
2
- var __extends = (this && this.__extends) || (function () {
3
- var extendStatics = function (d, b) {
4
- extendStatics = Object.setPrototypeOf ||
5
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
- return extendStatics(d, b);
8
- };
9
- return function (d, b) {
10
- if (typeof b !== "function" && b !== null)
11
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
- extendStatics(d, b);
13
- function __() { this.constructor = d; }
14
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
- };
16
- })();
17
2
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
18
3
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
19
4
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -28,10 +13,8 @@ exports.DiscountCodeCompany = void 0;
28
13
  var typeorm_1 = require("typeorm");
29
14
  var User_1 = require("./User");
30
15
  var CodeRedemptionHistoryCompany_1 = require("./CodeRedemptionHistoryCompany");
31
- var DiscountCodeCompany = /** @class */ (function (_super) {
32
- __extends(DiscountCodeCompany, _super);
16
+ var DiscountCodeCompany = /** @class */ (function () {
33
17
  function DiscountCodeCompany() {
34
- return _super !== null && _super.apply(this, arguments) || this;
35
18
  }
36
19
  __decorate([
37
20
  (0, typeorm_1.PrimaryGeneratedColumn)({
@@ -103,5 +86,5 @@ var DiscountCodeCompany = /** @class */ (function (_super) {
103
86
  })
104
87
  ], DiscountCodeCompany);
105
88
  return DiscountCodeCompany;
106
- }(typeorm_1.BaseEntity));
89
+ }());
107
90
  exports.DiscountCodeCompany = DiscountCodeCompany;
@@ -1,4 +1,3 @@
1
- import { BaseEntity } from 'typeorm';
2
1
  import { Company } from './Company';
3
2
  import { City } from './City';
4
3
  import { User } from './User';
@@ -9,7 +8,7 @@ import { PaymentMethod } from './PaymentMethod';
9
8
  import { LocalQualification } from './LocalQualification';
10
9
  import { Request } from './Request';
11
10
  import { Terminal } from './Terminal';
12
- export declare class Local extends BaseEntity {
11
+ export declare class Local {
13
12
  id: number;
14
13
  company: Company;
15
14
  name: string;
@@ -1,19 +1,4 @@
1
1
  "use strict";
2
- var __extends = (this && this.__extends) || (function () {
3
- var extendStatics = function (d, b) {
4
- extendStatics = Object.setPrototypeOf ||
5
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
- return extendStatics(d, b);
8
- };
9
- return function (d, b) {
10
- if (typeof b !== "function" && b !== null)
11
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
- extendStatics(d, b);
13
- function __() { this.constructor = d; }
14
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
- };
16
- })();
17
2
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
18
3
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
19
4
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -36,10 +21,8 @@ var PaymentMethod_1 = require("./PaymentMethod");
36
21
  var LocalQualification_1 = require("./LocalQualification");
37
22
  var Request_1 = require("./Request");
38
23
  var Terminal_1 = require("./Terminal");
39
- var Local = /** @class */ (function (_super) {
40
- __extends(Local, _super);
24
+ var Local = /** @class */ (function () {
41
25
  function Local() {
42
- return _super !== null && _super.apply(this, arguments) || this;
43
26
  }
44
27
  __decorate([
45
28
  (0, typeorm_1.PrimaryGeneratedColumn)({
@@ -164,5 +147,5 @@ var Local = /** @class */ (function (_super) {
164
147
  (0, typeorm_1.Entity)({ comment: 'Locales disponibles de las empresas (company).' })
165
148
  ], Local);
166
149
  return Local;
167
- }(typeorm_1.BaseEntity));
150
+ }());
168
151
  exports.Local = Local;
@@ -1,7 +1,6 @@
1
- import { BaseEntity } from 'typeorm';
2
1
  import { User } from './User';
3
2
  import { Local } from './Local';
4
- export declare class LocalQualification extends BaseEntity {
3
+ export declare class LocalQualification {
5
4
  id: number;
6
5
  qualification: number;
7
6
  local: Local;
@@ -1,19 +1,4 @@
1
1
  "use strict";
2
- var __extends = (this && this.__extends) || (function () {
3
- var extendStatics = function (d, b) {
4
- extendStatics = Object.setPrototypeOf ||
5
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
- return extendStatics(d, b);
8
- };
9
- return function (d, b) {
10
- if (typeof b !== "function" && b !== null)
11
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
- extendStatics(d, b);
13
- function __() { this.constructor = d; }
14
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
- };
16
- })();
17
2
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
18
3
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
19
4
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -28,10 +13,8 @@ exports.LocalQualification = void 0;
28
13
  var typeorm_1 = require("typeorm");
29
14
  var User_1 = require("./User");
30
15
  var Local_1 = require("./Local");
31
- var LocalQualification = /** @class */ (function (_super) {
32
- __extends(LocalQualification, _super);
16
+ var LocalQualification = /** @class */ (function () {
33
17
  function LocalQualification() {
34
- return _super !== null && _super.apply(this, arguments) || this;
35
18
  }
36
19
  __decorate([
37
20
  (0, typeorm_1.PrimaryColumn)({
@@ -72,5 +55,5 @@ var LocalQualification = /** @class */ (function (_super) {
72
55
  })
73
56
  ], LocalQualification);
74
57
  return LocalQualification;
75
- }(typeorm_1.BaseEntity));
58
+ }());
76
59
  exports.LocalQualification = LocalQualification;
@@ -1,6 +1,5 @@
1
- import { BaseEntity } from 'typeorm';
2
1
  import { User } from './User';
3
- export declare class Master extends BaseEntity {
2
+ export declare class Master {
4
3
  id: number;
5
4
  user: User;
6
5
  status: number;
@@ -1,19 +1,4 @@
1
1
  "use strict";
2
- var __extends = (this && this.__extends) || (function () {
3
- var extendStatics = function (d, b) {
4
- extendStatics = Object.setPrototypeOf ||
5
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
- return extendStatics(d, b);
8
- };
9
- return function (d, b) {
10
- if (typeof b !== "function" && b !== null)
11
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
- extendStatics(d, b);
13
- function __() { this.constructor = d; }
14
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
- };
16
- })();
17
2
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
18
3
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
19
4
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -27,10 +12,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
27
12
  exports.Master = void 0;
28
13
  var typeorm_1 = require("typeorm");
29
14
  var User_1 = require("./User");
30
- var Master = /** @class */ (function (_super) {
31
- __extends(Master, _super);
15
+ var Master = /** @class */ (function () {
32
16
  function Master() {
33
- return _super !== null && _super.apply(this, arguments) || this;
34
17
  }
35
18
  __decorate([
36
19
  (0, typeorm_1.PrimaryColumn)({
@@ -54,5 +37,5 @@ var Master = /** @class */ (function (_super) {
54
37
  (0, typeorm_1.Entity)()
55
38
  ], Master);
56
39
  return Master;
57
- }(typeorm_1.BaseEntity));
40
+ }());
58
41
  exports.Master = Master;
@@ -1,7 +1,6 @@
1
- import { BaseEntity } from 'typeorm';
2
1
  import { Local } from './Local';
3
2
  import { Request } from './Request';
4
- export declare class PaymentMethod extends BaseEntity {
3
+ export declare class PaymentMethod {
5
4
  id: number;
6
5
  name: string;
7
6
  description: string;
@@ -1,19 +1,4 @@
1
1
  "use strict";
2
- var __extends = (this && this.__extends) || (function () {
3
- var extendStatics = function (d, b) {
4
- extendStatics = Object.setPrototypeOf ||
5
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
- return extendStatics(d, b);
8
- };
9
- return function (d, b) {
10
- if (typeof b !== "function" && b !== null)
11
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
- extendStatics(d, b);
13
- function __() { this.constructor = d; }
14
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
- };
16
- })();
17
2
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
18
3
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
19
4
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -28,10 +13,8 @@ exports.PaymentMethod = void 0;
28
13
  var typeorm_1 = require("typeorm");
29
14
  var Local_1 = require("./Local");
30
15
  var Request_1 = require("./Request");
31
- var PaymentMethod = /** @class */ (function (_super) {
32
- __extends(PaymentMethod, _super);
16
+ var PaymentMethod = /** @class */ (function () {
33
17
  function PaymentMethod() {
34
- return _super !== null && _super.apply(this, arguments) || this;
35
18
  }
36
19
  __decorate([
37
20
  (0, typeorm_1.PrimaryColumn)({
@@ -98,5 +81,5 @@ var PaymentMethod = /** @class */ (function (_super) {
98
81
  })
99
82
  ], PaymentMethod);
100
83
  return PaymentMethod;
101
- }(typeorm_1.BaseEntity));
84
+ }());
102
85
  exports.PaymentMethod = PaymentMethod;
@@ -1,6 +1,5 @@
1
- import { BaseEntity } from 'typeorm';
2
1
  import { Role } from './Role';
3
- export declare class Permission extends BaseEntity {
2
+ export declare class Permission {
4
3
  id: number;
5
4
  code: string;
6
5
  name: string;