test-entity-library-asm 1.2.3 → 1.2.5
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/README.md +5 -0
- package/dist/entities/Category.d.ts +1 -2
- package/dist/entities/Category.js +2 -19
- package/dist/entities/CategorySchedule.d.ts +1 -2
- package/dist/entities/CategorySchedule.js +2 -19
- package/dist/entities/City.d.ts +1 -2
- package/dist/entities/City.js +2 -19
- package/dist/entities/CodeRedemptionHistoryCompany.d.ts +1 -2
- package/dist/entities/CodeRedemptionHistoryCompany.js +2 -19
- package/dist/entities/Company.d.ts +1 -2
- package/dist/entities/Company.js +2 -19
- package/dist/entities/Configuration.d.ts +1 -2
- package/dist/entities/Configuration.js +2 -19
- package/dist/entities/Country.d.ts +1 -2
- package/dist/entities/Country.js +2 -19
- package/dist/entities/Day.d.ts +1 -2
- package/dist/entities/Day.js +2 -19
- package/dist/entities/DiscountCodeCompany.d.ts +1 -2
- package/dist/entities/DiscountCodeCompany.js +2 -19
- package/dist/entities/Local.d.ts +1 -2
- package/dist/entities/Local.js +2 -19
- package/dist/entities/LocalQualification.d.ts +1 -2
- package/dist/entities/LocalQualification.js +2 -19
- package/dist/entities/Master.d.ts +1 -2
- package/dist/entities/Master.js +2 -19
- package/dist/entities/PaymentMethod.d.ts +1 -2
- package/dist/entities/PaymentMethod.js +2 -19
- package/dist/entities/Permission.d.ts +1 -2
- package/dist/entities/Permission.js +2 -19
- package/dist/entities/Plan.d.ts +1 -2
- package/dist/entities/Plan.js +2 -19
- package/dist/entities/Product.d.ts +1 -2
- package/dist/entities/Product.js +2 -19
- package/dist/entities/ProductIngredient.d.ts +1 -2
- package/dist/entities/ProductIngredient.js +2 -19
- package/dist/entities/ProductTopping.d.ts +1 -2
- package/dist/entities/ProductTopping.js +2 -19
- package/dist/entities/Region.d.ts +1 -2
- package/dist/entities/Region.js +2 -19
- package/dist/entities/Request.d.ts +1 -2
- package/dist/entities/Request.js +2 -19
- package/dist/entities/RequestProduct.d.ts +1 -2
- package/dist/entities/RequestProduct.js +2 -19
- package/dist/entities/RequestProductGroupComplement.d.ts +1 -2
- package/dist/entities/RequestProductGroupComplement.js +2 -19
- package/dist/entities/RequestStatus.d.ts +1 -2
- package/dist/entities/RequestStatus.js +2 -19
- package/dist/entities/RoleVisibleTo.d.ts +1 -2
- package/dist/entities/RoleVisibleTo.js +2 -19
- package/dist/entities/Square.d.ts +1 -2
- package/dist/entities/Square.js +2 -19
- package/dist/entities/TerminalSession.d.ts +1 -2
- package/dist/entities/TerminalSession.js +2 -19
- package/dist/entities/TypeFood.d.ts +1 -2
- package/dist/entities/TypeFood.js +2 -19
- package/dist/entities/TypeMeasureIngredient.d.ts +1 -2
- package/dist/entities/TypeMeasureIngredient.js +2 -19
- package/dist/entities/User.d.ts +1 -2
- package/dist/entities/User.js +2 -19
- package/dist/entities/productGroupComplement.d.ts +1 -2
- package/dist/entities/productGroupComplement.js +2 -19
- package/dist/index.d.ts +2 -2
- package/dist/index.js +15 -11
- package/ormconfig.json +12 -0
- package/package.json +2 -1
- package/src/entities/Category.ts +1 -1
- package/src/entities/CategorySchedule.ts +1 -1
- package/src/entities/City.ts +1 -1
- package/src/entities/CodeRedemptionHistoryCompany.ts +1 -1
- package/src/entities/Company.ts +1 -1
- package/src/entities/Configuration.ts +1 -1
- package/src/entities/Country.ts +1 -1
- package/src/entities/Day.ts +1 -1
- package/src/entities/DiscountCodeCompany.ts +1 -1
- package/src/entities/Local.ts +1 -1
- package/src/entities/LocalQualification.ts +1 -1
- package/src/entities/Master.ts +1 -1
- package/src/entities/PaymentMethod.ts +1 -1
- package/src/entities/Permission.ts +1 -1
- package/src/entities/Plan.ts +1 -1
- package/src/entities/Product.ts +1 -1
- package/src/entities/ProductIngredient.ts +1 -1
- package/src/entities/ProductTopping.ts +1 -1
- package/src/entities/Region.ts +1 -1
- package/src/entities/Request.ts +1 -1
- package/src/entities/RequestProduct.ts +7 -7
- package/src/entities/RequestProductGroupComplement.ts +1 -1
- package/src/entities/RequestStatus.ts +6 -6
- package/src/entities/RoleVisibleTo.ts +1 -1
- package/src/entities/Square.ts +1 -1
- package/src/entities/TerminalSession.ts +1 -1
- package/src/entities/TypeFood.ts +1 -1
- package/src/entities/TypeMeasureIngredient.ts +1 -1
- package/src/entities/User.ts +1 -1
- package/src/entities/productGroupComplement.ts +1 -1
- package/src/index.ts +17 -20
package/README.md
CHANGED
|
@@ -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 (
|
|
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
|
-
}(
|
|
51
|
+
}());
|
|
69
52
|
exports.Category = Category;
|
|
@@ -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 (
|
|
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
|
-
}(
|
|
49
|
+
}());
|
|
67
50
|
exports.ScheduleCategory = ScheduleCategory;
|
package/dist/entities/City.d.ts
CHANGED
|
@@ -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
|
|
5
|
+
export declare class City {
|
|
7
6
|
id: number;
|
|
8
7
|
region: Region;
|
|
9
8
|
name: string;
|
package/dist/entities/City.js
CHANGED
|
@@ -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 (
|
|
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
|
-
}(
|
|
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
|
|
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 (
|
|
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
|
-
}(
|
|
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
|
|
9
|
+
export declare class Company {
|
|
11
10
|
id: number;
|
|
12
11
|
name: string;
|
|
13
12
|
city: City;
|
package/dist/entities/Company.js
CHANGED
|
@@ -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 (
|
|
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
|
-
}(
|
|
152
|
+
}());
|
|
170
153
|
exports.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);
|
|
@@ -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 (
|
|
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
|
-
}(
|
|
37
|
+
}());
|
|
55
38
|
exports.Configuration = Configuration;
|
package/dist/entities/Country.js
CHANGED
|
@@ -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 (
|
|
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
|
-
}(
|
|
72
|
+
}());
|
|
90
73
|
exports.Country = Country;
|
package/dist/entities/Day.d.ts
CHANGED
package/dist/entities/Day.js
CHANGED
|
@@ -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 (
|
|
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
|
-
}(
|
|
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
|
|
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 (
|
|
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
|
-
}(
|
|
89
|
+
}());
|
|
107
90
|
exports.DiscountCodeCompany = DiscountCodeCompany;
|
package/dist/entities/Local.d.ts
CHANGED
|
@@ -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
|
|
11
|
+
export declare class Local {
|
|
13
12
|
id: number;
|
|
14
13
|
company: Company;
|
|
15
14
|
name: string;
|
package/dist/entities/Local.js
CHANGED
|
@@ -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 (
|
|
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
|
-
}(
|
|
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
|
|
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 (
|
|
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
|
-
}(
|
|
58
|
+
}());
|
|
76
59
|
exports.LocalQualification = LocalQualification;
|
package/dist/entities/Master.js
CHANGED
|
@@ -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 (
|
|
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
|
-
}(
|
|
40
|
+
}());
|
|
58
41
|
exports.Master = Master;
|
|
@@ -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 (
|
|
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
|
-
}(
|
|
84
|
+
}());
|
|
102
85
|
exports.PaymentMethod = PaymentMethod;
|