test-entity-library-asm 1.2.2 → 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.
- 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.js +1 -1
- package/package.json +1 -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 +1 -1
|
@@ -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.Permission = void 0;
|
|
28
13
|
var typeorm_1 = require("typeorm");
|
|
29
14
|
var Role_1 = require("./Role");
|
|
30
|
-
var Permission = /** @class */ (function (
|
|
31
|
-
__extends(Permission, _super);
|
|
15
|
+
var Permission = /** @class */ (function () {
|
|
32
16
|
function Permission() {
|
|
33
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
34
17
|
}
|
|
35
18
|
__decorate([
|
|
36
19
|
(0, typeorm_1.PrimaryGeneratedColumn)({
|
|
@@ -76,5 +59,5 @@ var Permission = /** @class */ (function (_super) {
|
|
|
76
59
|
})
|
|
77
60
|
], Permission);
|
|
78
61
|
return Permission;
|
|
79
|
-
}(
|
|
62
|
+
}());
|
|
80
63
|
exports.Permission = Permission;
|
package/dist/entities/Plan.d.ts
CHANGED
package/dist/entities/Plan.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);
|
|
@@ -28,10 +13,8 @@ exports.Plan = void 0;
|
|
|
28
13
|
var typeorm_1 = require("typeorm");
|
|
29
14
|
var User_1 = require("./User");
|
|
30
15
|
var Company_1 = require("./Company");
|
|
31
|
-
var Plan = /** @class */ (function (
|
|
32
|
-
__extends(Plan, _super);
|
|
16
|
+
var Plan = /** @class */ (function () {
|
|
33
17
|
function Plan() {
|
|
34
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
35
18
|
}
|
|
36
19
|
__decorate([
|
|
37
20
|
(0, typeorm_1.PrimaryGeneratedColumn)({
|
|
@@ -99,5 +82,5 @@ var Plan = /** @class */ (function (_super) {
|
|
|
99
82
|
})
|
|
100
83
|
], Plan);
|
|
101
84
|
return Plan;
|
|
102
|
-
}(
|
|
85
|
+
}());
|
|
103
86
|
exports.Plan = Plan;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { BaseEntity } from 'typeorm';
|
|
2
1
|
import { Local } from './Local';
|
|
3
2
|
import { ProductGroup } from './ProductGroup';
|
|
4
3
|
import { Category } from './Category';
|
|
5
4
|
import { ProductIngredient } from './ProductIngredient';
|
|
6
5
|
import { RequestProduct } from './RequestProduct';
|
|
7
|
-
export declare class Product
|
|
6
|
+
export declare class Product {
|
|
8
7
|
id: number;
|
|
9
8
|
local: Local;
|
|
10
9
|
category: Category;
|
package/dist/entities/Product.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);
|
|
@@ -31,10 +16,8 @@ var ProductGroup_1 = require("./ProductGroup");
|
|
|
31
16
|
var Category_1 = require("./Category");
|
|
32
17
|
var ProductIngredient_1 = require("./ProductIngredient");
|
|
33
18
|
var RequestProduct_1 = require("./RequestProduct");
|
|
34
|
-
var Product = /** @class */ (function (
|
|
35
|
-
__extends(Product, _super);
|
|
19
|
+
var Product = /** @class */ (function () {
|
|
36
20
|
function Product() {
|
|
37
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
38
21
|
}
|
|
39
22
|
__decorate([
|
|
40
23
|
(0, typeorm_1.PrimaryGeneratedColumn)({
|
|
@@ -133,5 +116,5 @@ var Product = /** @class */ (function (_super) {
|
|
|
133
116
|
})
|
|
134
117
|
], Product);
|
|
135
118
|
return Product;
|
|
136
|
-
}(
|
|
119
|
+
}());
|
|
137
120
|
exports.Product = Product;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { BaseEntity } from 'typeorm';
|
|
2
1
|
import { Product } from './Product';
|
|
3
2
|
import { TypeMeasureIngredient } from './TypeMeasureIngredient';
|
|
4
|
-
export declare class ProductIngredient
|
|
3
|
+
export declare class ProductIngredient {
|
|
5
4
|
id: number;
|
|
6
5
|
product: Product;
|
|
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.ProductIngredient = void 0;
|
|
|
28
13
|
var typeorm_1 = require("typeorm");
|
|
29
14
|
var Product_1 = require("./Product");
|
|
30
15
|
var TypeMeasureIngredient_1 = require("./TypeMeasureIngredient");
|
|
31
|
-
var ProductIngredient = /** @class */ (function (
|
|
32
|
-
__extends(ProductIngredient, _super);
|
|
16
|
+
var ProductIngredient = /** @class */ (function () {
|
|
33
17
|
function ProductIngredient() {
|
|
34
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
35
18
|
}
|
|
36
19
|
__decorate([
|
|
37
20
|
(0, typeorm_1.PrimaryGeneratedColumn)({
|
|
@@ -80,5 +63,5 @@ var ProductIngredient = /** @class */ (function (_super) {
|
|
|
80
63
|
})
|
|
81
64
|
], ProductIngredient);
|
|
82
65
|
return ProductIngredient;
|
|
83
|
-
}(
|
|
66
|
+
}());
|
|
84
67
|
exports.ProductIngredient = ProductIngredient;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { BaseEntity } from 'typeorm';
|
|
2
1
|
import { Company } from './Company';
|
|
3
2
|
import { ProductGroup } from './ProductGroup';
|
|
4
|
-
export declare class ProductTopping
|
|
3
|
+
export declare class ProductTopping {
|
|
5
4
|
id: number;
|
|
6
5
|
company: Company;
|
|
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.ProductTopping = void 0;
|
|
|
28
13
|
var typeorm_1 = require("typeorm");
|
|
29
14
|
var Company_1 = require("./Company");
|
|
30
15
|
var ProductGroup_1 = require("./ProductGroup");
|
|
31
|
-
var ProductTopping = /** @class */ (function (
|
|
32
|
-
__extends(ProductTopping, _super);
|
|
16
|
+
var ProductTopping = /** @class */ (function () {
|
|
33
17
|
function ProductTopping() {
|
|
34
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
35
18
|
}
|
|
36
19
|
__decorate([
|
|
37
20
|
(0, typeorm_1.PrimaryGeneratedColumn)({
|
|
@@ -72,5 +55,5 @@ var ProductTopping = /** @class */ (function (_super) {
|
|
|
72
55
|
})
|
|
73
56
|
], ProductTopping);
|
|
74
57
|
return ProductTopping;
|
|
75
|
-
}(
|
|
58
|
+
}());
|
|
76
59
|
exports.ProductTopping = ProductTopping;
|
package/dist/entities/Region.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);
|
|
@@ -28,10 +13,8 @@ exports.Region = void 0;
|
|
|
28
13
|
var typeorm_1 = require("typeorm");
|
|
29
14
|
var Country_1 = require("./Country");
|
|
30
15
|
var City_1 = require("./City");
|
|
31
|
-
var Region = /** @class */ (function (
|
|
32
|
-
__extends(Region, _super);
|
|
16
|
+
var Region = /** @class */ (function () {
|
|
33
17
|
function Region() {
|
|
34
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
35
18
|
}
|
|
36
19
|
__decorate([
|
|
37
20
|
(0, typeorm_1.PrimaryGeneratedColumn)({
|
|
@@ -71,5 +54,5 @@ var Region = /** @class */ (function (_super) {
|
|
|
71
54
|
})
|
|
72
55
|
], Region);
|
|
73
56
|
return Region;
|
|
74
|
-
}(
|
|
57
|
+
}());
|
|
75
58
|
exports.Region = Region;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { BaseEntity } from 'typeorm';
|
|
2
1
|
import { Local } from './Local';
|
|
3
2
|
import { PaymentMethod } from './PaymentMethod';
|
|
4
3
|
import { RequestStatus } from './RequestStatus';
|
|
5
4
|
import { User } from './User';
|
|
6
5
|
import { RequestProduct } from './RequestProduct';
|
|
7
6
|
import { RequestProductGroupComplement } from './RequestProductGroupComplement';
|
|
8
|
-
export declare class Request
|
|
7
|
+
export declare class Request {
|
|
9
8
|
id: number;
|
|
10
9
|
user: User;
|
|
11
10
|
local: Local;
|
package/dist/entities/Request.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);
|
|
@@ -32,10 +17,8 @@ var RequestStatus_1 = require("./RequestStatus");
|
|
|
32
17
|
var User_1 = require("./User");
|
|
33
18
|
var RequestProduct_1 = require("./RequestProduct");
|
|
34
19
|
var RequestProductGroupComplement_1 = require("./RequestProductGroupComplement");
|
|
35
|
-
var Request = /** @class */ (function (
|
|
36
|
-
__extends(Request, _super);
|
|
20
|
+
var Request = /** @class */ (function () {
|
|
37
21
|
function Request() {
|
|
38
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
39
22
|
}
|
|
40
23
|
__decorate([
|
|
41
24
|
(0, typeorm_1.PrimaryGeneratedColumn)({
|
|
@@ -133,5 +116,5 @@ var Request = /** @class */ (function (_super) {
|
|
|
133
116
|
})
|
|
134
117
|
], Request);
|
|
135
118
|
return Request;
|
|
136
|
-
}(
|
|
119
|
+
}());
|
|
137
120
|
exports.Request = Request;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { BaseEntity } from 'typeorm';
|
|
2
1
|
import { Product } from './Product';
|
|
3
2
|
import { Request } from './Request';
|
|
4
3
|
import { User } from './User';
|
|
5
|
-
export declare class RequestProduct
|
|
4
|
+
export declare class RequestProduct {
|
|
6
5
|
id: number;
|
|
7
6
|
request: Request;
|
|
8
7
|
product: Product;
|
|
@@ -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);
|
|
@@ -29,10 +14,8 @@ var typeorm_1 = require("typeorm");
|
|
|
29
14
|
var Product_1 = require("./Product");
|
|
30
15
|
var Request_1 = require("./Request");
|
|
31
16
|
var User_1 = require("./User");
|
|
32
|
-
var RequestProduct = /** @class */ (function (
|
|
33
|
-
__extends(RequestProduct, _super);
|
|
17
|
+
var RequestProduct = /** @class */ (function () {
|
|
34
18
|
function RequestProduct() {
|
|
35
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
36
19
|
}
|
|
37
20
|
__decorate([
|
|
38
21
|
(0, typeorm_1.PrimaryGeneratedColumn)({
|
|
@@ -81,5 +64,5 @@ var RequestProduct = /** @class */ (function (_super) {
|
|
|
81
64
|
})
|
|
82
65
|
], RequestProduct);
|
|
83
66
|
return RequestProduct;
|
|
84
|
-
}(
|
|
67
|
+
}());
|
|
85
68
|
exports.RequestProduct = RequestProduct;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { BaseEntity } from 'typeorm';
|
|
2
1
|
import { Request } from './Request';
|
|
3
2
|
import { User } from './User';
|
|
4
3
|
import { ProductGroupComplement } from './productGroupComplement';
|
|
5
|
-
export declare class RequestProductGroupComplement
|
|
4
|
+
export declare class RequestProductGroupComplement {
|
|
6
5
|
id: number;
|
|
7
6
|
request: Request;
|
|
8
7
|
product_group_complement: ProductGroupComplement;
|
|
@@ -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);
|
|
@@ -29,10 +14,8 @@ var typeorm_1 = require("typeorm");
|
|
|
29
14
|
var Request_1 = require("./Request");
|
|
30
15
|
var User_1 = require("./User");
|
|
31
16
|
var productGroupComplement_1 = require("./productGroupComplement");
|
|
32
|
-
var RequestProductGroupComplement = /** @class */ (function (
|
|
33
|
-
__extends(RequestProductGroupComplement, _super);
|
|
17
|
+
var RequestProductGroupComplement = /** @class */ (function () {
|
|
34
18
|
function RequestProductGroupComplement() {
|
|
35
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
36
19
|
}
|
|
37
20
|
__decorate([
|
|
38
21
|
(0, typeorm_1.PrimaryGeneratedColumn)({
|
|
@@ -76,5 +59,5 @@ var RequestProductGroupComplement = /** @class */ (function (_super) {
|
|
|
76
59
|
})
|
|
77
60
|
], RequestProductGroupComplement);
|
|
78
61
|
return RequestProductGroupComplement;
|
|
79
|
-
}(
|
|
62
|
+
}());
|
|
80
63
|
exports.RequestProductGroupComplement = RequestProductGroupComplement;
|
|
@@ -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.RequestStatus = void 0;
|
|
28
13
|
var typeorm_1 = require("typeorm");
|
|
29
14
|
var Request_1 = require("./Request");
|
|
30
|
-
var RequestStatus = /** @class */ (function (
|
|
31
|
-
__extends(RequestStatus, _super);
|
|
15
|
+
var RequestStatus = /** @class */ (function () {
|
|
32
16
|
function RequestStatus() {
|
|
33
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
34
17
|
}
|
|
35
18
|
__decorate([
|
|
36
19
|
(0, typeorm_1.PrimaryGeneratedColumn)({
|
|
@@ -81,5 +64,5 @@ var RequestStatus = /** @class */ (function (_super) {
|
|
|
81
64
|
})
|
|
82
65
|
], RequestStatus);
|
|
83
66
|
return RequestStatus;
|
|
84
|
-
}(
|
|
67
|
+
}());
|
|
85
68
|
exports.RequestStatus = RequestStatus;
|
|
@@ -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.RoleVisibleTo = void 0;
|
|
28
13
|
var typeorm_1 = require("typeorm");
|
|
29
14
|
var Role_1 = require("./Role");
|
|
30
|
-
var RoleVisibleTo = /** @class */ (function (
|
|
31
|
-
__extends(RoleVisibleTo, _super);
|
|
15
|
+
var RoleVisibleTo = /** @class */ (function () {
|
|
32
16
|
function RoleVisibleTo() {
|
|
33
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
34
17
|
}
|
|
35
18
|
__decorate([
|
|
36
19
|
(0, typeorm_1.PrimaryGeneratedColumn)({
|
|
@@ -60,5 +43,5 @@ var RoleVisibleTo = /** @class */ (function (_super) {
|
|
|
60
43
|
})
|
|
61
44
|
], RoleVisibleTo);
|
|
62
45
|
return RoleVisibleTo;
|
|
63
|
-
}(
|
|
46
|
+
}());
|
|
64
47
|
exports.RoleVisibleTo = RoleVisibleTo;
|
package/dist/entities/Square.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.Square = void 0;
|
|
28
13
|
var typeorm_1 = require("typeorm");
|
|
29
14
|
var Local_1 = require("./Local");
|
|
30
|
-
var Square = /** @class */ (function (
|
|
31
|
-
__extends(Square, _super);
|
|
15
|
+
var Square = /** @class */ (function () {
|
|
32
16
|
function Square() {
|
|
33
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
34
17
|
}
|
|
35
18
|
__decorate([
|
|
36
19
|
(0, typeorm_1.PrimaryColumn)({
|
|
@@ -93,5 +76,5 @@ var Square = /** @class */ (function (_super) {
|
|
|
93
76
|
})
|
|
94
77
|
], Square);
|
|
95
78
|
return Square;
|
|
96
|
-
}(
|
|
79
|
+
}());
|
|
97
80
|
exports.Square = Square;
|
|
@@ -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.TerminalSession = void 0;
|
|
|
28
13
|
var typeorm_1 = require("typeorm");
|
|
29
14
|
var Terminal_1 = require("./Terminal");
|
|
30
15
|
var User_1 = require("./User");
|
|
31
|
-
var TerminalSession = /** @class */ (function (
|
|
32
|
-
__extends(TerminalSession, _super);
|
|
16
|
+
var TerminalSession = /** @class */ (function () {
|
|
33
17
|
function TerminalSession() {
|
|
34
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
35
18
|
}
|
|
36
19
|
__decorate([
|
|
37
20
|
(0, typeorm_1.PrimaryGeneratedColumn)({
|
|
@@ -84,5 +67,5 @@ var TerminalSession = /** @class */ (function (_super) {
|
|
|
84
67
|
})
|
|
85
68
|
], TerminalSession);
|
|
86
69
|
return TerminalSession;
|
|
87
|
-
}(
|
|
70
|
+
}());
|
|
88
71
|
exports.TerminalSession = TerminalSession;
|