asv-hlps 1.2.10 → 1.2.13
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/lib/cjs/index.d.ts +6 -4
- package/lib/cjs/index.js +7 -5
- package/lib/cjs/models/entities/estates/Estate.d.ts +24 -0
- package/lib/cjs/models/entities/estates/Estate.js +2 -0
- package/lib/cjs/models/entities/estates/EstateAsset.d.ts +7 -0
- package/lib/cjs/models/entities/estates/EstateAsset.js +2 -0
- package/lib/cjs/models/entities/estates/EstateCat.d.ts +3 -0
- package/lib/cjs/models/entities/estates/EstateCat.js +2 -0
- package/lib/cjs/models/entities/estates/EstateElt.d.ts +3 -0
- package/lib/cjs/models/entities/estates/EstateElt.js +2 -0
- package/lib/cjs/models/entities/estates/EstateLevel.d.ts +3 -0
- package/lib/cjs/models/entities/estates/EstateLevel.js +2 -0
- package/lib/cjs/models/entities/estates/EstatePor.d.ts +3 -0
- package/lib/cjs/models/entities/estates/EstatePor.js +2 -0
- package/lib/cjs/models/entities/estates/Housing.d.ts +17 -0
- package/lib/cjs/models/entities/estates/Housing.js +2 -0
- package/lib/cjs/models/entities/estates/HousingRented.d.ts +15 -0
- package/lib/cjs/models/entities/estates/HousingRented.js +2 -0
- package/lib/cjs/models/entities/estates/index.d.ts +9 -0
- package/lib/cjs/models/entities/estates/index.js +2 -0
- package/lib/esm/index.d.ts +6 -4
- package/lib/esm/index.js +6 -4
- package/lib/esm/models/entities/estates/Estate.d.ts +24 -0
- package/lib/esm/models/entities/estates/Estate.js +1 -0
- package/lib/esm/models/entities/estates/EstateAsset.d.ts +7 -0
- package/lib/esm/models/entities/estates/EstateAsset.js +1 -0
- package/lib/esm/models/entities/estates/EstateCat.d.ts +3 -0
- package/lib/esm/models/entities/estates/EstateCat.js +1 -0
- package/lib/esm/models/entities/estates/EstateElt.d.ts +3 -0
- package/lib/esm/models/entities/estates/EstateElt.js +1 -0
- package/lib/esm/models/entities/estates/EstateLevel.d.ts +3 -0
- package/lib/esm/models/entities/estates/EstateLevel.js +1 -0
- package/lib/esm/models/entities/estates/EstatePor.d.ts +3 -0
- package/lib/esm/models/entities/estates/EstatePor.js +1 -0
- package/lib/esm/models/entities/estates/Housing.d.ts +17 -0
- package/lib/esm/models/entities/estates/Housing.js +1 -0
- package/lib/esm/models/entities/estates/HousingRented.d.ts +15 -0
- package/lib/esm/models/entities/estates/HousingRented.js +1 -0
- package/lib/esm/models/entities/estates/index.d.ts +9 -0
- package/lib/esm/models/entities/estates/index.js +1 -0
- package/package.json +1 -1
package/lib/cjs/index.d.ts
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import "./auth";
|
|
2
|
-
import "./bill";
|
|
3
|
-
import "./bootstrap";
|
|
4
1
|
import { HlpEntry } from "./helpers/hlpEntry";
|
|
5
2
|
import HlpProduct from "./helpers/hlpProduct";
|
|
6
3
|
import AmountOnBillPipe from "./helpers/pipes/amount-on-bill-pipe";
|
|
7
4
|
import AmountOnListBillPipe from "./helpers/pipes/amount-on-list-bill-pipe";
|
|
8
5
|
import StockPipe from "./helpers/pipes/stock-pipe";
|
|
9
|
-
import StorageService from "./services/storageService";
|
|
10
6
|
import { AuthService } from "./services/authService";
|
|
7
|
+
import StorageService from "./services/storageService";
|
|
8
|
+
import "./auth";
|
|
9
|
+
import "./bill";
|
|
10
|
+
import "./bootstrap";
|
|
11
|
+
import "./models/entities/estates/index";
|
|
11
12
|
import "./models/index";
|
|
12
13
|
import "./pdfs/invoices/amountInvoice";
|
|
13
14
|
import "./pdfs/invoices/infoInvoice";
|
|
@@ -32,4 +33,5 @@ export * from "./sale";
|
|
|
32
33
|
export * from "./typeorm";
|
|
33
34
|
export * from "./user";
|
|
34
35
|
export * from "./utils";
|
|
36
|
+
export * from "./models/entities/estates/index";
|
|
35
37
|
export { AuthService, StorageService, HlpProduct, HlpEntry, StockPipe, AmountOnListBillPipe, AmountOnBillPipe };
|
package/lib/cjs/index.js
CHANGED
|
@@ -18,9 +18,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
18
18
|
};
|
|
19
19
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
20
|
exports.AmountOnBillPipe = exports.AmountOnListBillPipe = exports.StockPipe = exports.HlpEntry = exports.HlpProduct = exports.StorageService = exports.AuthService = void 0;
|
|
21
|
-
require("./auth");
|
|
22
|
-
require("./bill");
|
|
23
|
-
require("./bootstrap");
|
|
24
21
|
const hlpEntry_1 = require("./helpers/hlpEntry");
|
|
25
22
|
Object.defineProperty(exports, "HlpEntry", { enumerable: true, get: function () { return hlpEntry_1.HlpEntry; } });
|
|
26
23
|
const hlpProduct_1 = __importDefault(require("./helpers/hlpProduct"));
|
|
@@ -31,10 +28,14 @@ const amount_on_list_bill_pipe_1 = __importDefault(require("./helpers/pipes/amou
|
|
|
31
28
|
exports.AmountOnListBillPipe = amount_on_list_bill_pipe_1.default;
|
|
32
29
|
const stock_pipe_1 = __importDefault(require("./helpers/pipes/stock-pipe"));
|
|
33
30
|
exports.StockPipe = stock_pipe_1.default;
|
|
34
|
-
const storageService_1 = __importDefault(require("./services/storageService"));
|
|
35
|
-
exports.StorageService = storageService_1.default;
|
|
36
31
|
const authService_1 = require("./services/authService");
|
|
37
32
|
Object.defineProperty(exports, "AuthService", { enumerable: true, get: function () { return authService_1.AuthService; } });
|
|
33
|
+
const storageService_1 = __importDefault(require("./services/storageService"));
|
|
34
|
+
exports.StorageService = storageService_1.default;
|
|
35
|
+
require("./auth");
|
|
36
|
+
require("./bill");
|
|
37
|
+
require("./bootstrap");
|
|
38
|
+
require("./models/entities/estates/index");
|
|
38
39
|
require("./models/index");
|
|
39
40
|
require("./pdfs/invoices/amountInvoice");
|
|
40
41
|
require("./pdfs/invoices/infoInvoice");
|
|
@@ -59,3 +60,4 @@ __exportStar(require("./sale"), exports);
|
|
|
59
60
|
__exportStar(require("./typeorm"), exports);
|
|
60
61
|
__exportStar(require("./user"), exports);
|
|
61
62
|
__exportStar(require("./utils"), exports);
|
|
63
|
+
__exportStar(require("./models/entities/estates/index"), exports);
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { User } from "../users/User";
|
|
2
|
+
import { City } from "../world/City";
|
|
3
|
+
import { Quarter } from "../world/Quarter";
|
|
4
|
+
import { Region } from "../world/Region";
|
|
5
|
+
import { EstateAsset } from "./EstateAsset";
|
|
6
|
+
import { EstateCat } from "./EstateCat";
|
|
7
|
+
import { EstatePor } from "./EstatePor";
|
|
8
|
+
import { Housing } from "./Housing";
|
|
9
|
+
export interface Estate {
|
|
10
|
+
id: number;
|
|
11
|
+
ref: string;
|
|
12
|
+
createdAt: Date;
|
|
13
|
+
description: string;
|
|
14
|
+
salePrice: number;
|
|
15
|
+
cat: EstateCat;
|
|
16
|
+
por: EstatePor;
|
|
17
|
+
region?: Region;
|
|
18
|
+
city?: City;
|
|
19
|
+
quarter?: Quarter;
|
|
20
|
+
prop?: User;
|
|
21
|
+
isActive?: boolean;
|
|
22
|
+
housings?: Housing[];
|
|
23
|
+
assets?: EstateAsset[];
|
|
24
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { User } from "../users/User";
|
|
2
|
+
import { Estate } from "./Estate";
|
|
3
|
+
import { HousingRented } from "./HousingRented";
|
|
4
|
+
export interface Housing {
|
|
5
|
+
id: number;
|
|
6
|
+
createdAt: Date;
|
|
7
|
+
description: string;
|
|
8
|
+
ref: string;
|
|
9
|
+
price: number;
|
|
10
|
+
deposit: number;
|
|
11
|
+
chargesPrice: number;
|
|
12
|
+
isActive: boolean;
|
|
13
|
+
estate: Estate;
|
|
14
|
+
lodger: User;
|
|
15
|
+
encoder: User;
|
|
16
|
+
rented: HousingRented;
|
|
17
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { User } from "../users/User";
|
|
2
|
+
import { Housing } from "./Housing";
|
|
3
|
+
export interface HousingRented {
|
|
4
|
+
id: number;
|
|
5
|
+
dateIn: Date;
|
|
6
|
+
dateOut: Date;
|
|
7
|
+
price: number;
|
|
8
|
+
deposit: number;
|
|
9
|
+
prepaid: number;
|
|
10
|
+
lodger?: User;
|
|
11
|
+
lodgerId?: number;
|
|
12
|
+
housingId?: number;
|
|
13
|
+
housing?: Housing;
|
|
14
|
+
encoder?: User;
|
|
15
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Estate } from "./Estate";
|
|
2
|
+
import { EstateAsset } from "./EstateAsset";
|
|
3
|
+
import { EstateCat } from "./EstateCat";
|
|
4
|
+
import { EstateElt } from "./EstateElt";
|
|
5
|
+
import { EstateLevel } from "./EstateLevel";
|
|
6
|
+
import { EstatePor } from "./EstatePor";
|
|
7
|
+
import { Housing } from "./Housing";
|
|
8
|
+
import { HousingRented } from "./HousingRented";
|
|
9
|
+
export { Estate, EstateAsset, EstateCat, EstateElt, EstateLevel, EstatePor, Housing, HousingRented };
|
package/lib/esm/index.d.ts
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import "./auth";
|
|
2
|
-
import "./bill";
|
|
3
|
-
import "./bootstrap";
|
|
4
1
|
import { HlpEntry } from "./helpers/hlpEntry";
|
|
5
2
|
import HlpProduct from "./helpers/hlpProduct";
|
|
6
3
|
import AmountOnBillPipe from "./helpers/pipes/amount-on-bill-pipe";
|
|
7
4
|
import AmountOnListBillPipe from "./helpers/pipes/amount-on-list-bill-pipe";
|
|
8
5
|
import StockPipe from "./helpers/pipes/stock-pipe";
|
|
9
|
-
import StorageService from "./services/storageService";
|
|
10
6
|
import { AuthService } from "./services/authService";
|
|
7
|
+
import StorageService from "./services/storageService";
|
|
8
|
+
import "./auth";
|
|
9
|
+
import "./bill";
|
|
10
|
+
import "./bootstrap";
|
|
11
|
+
import "./models/entities/estates/index";
|
|
11
12
|
import "./models/index";
|
|
12
13
|
import "./pdfs/invoices/amountInvoice";
|
|
13
14
|
import "./pdfs/invoices/infoInvoice";
|
|
@@ -32,4 +33,5 @@ export * from "./sale";
|
|
|
32
33
|
export * from "./typeorm";
|
|
33
34
|
export * from "./user";
|
|
34
35
|
export * from "./utils";
|
|
36
|
+
export * from "./models/entities/estates/index";
|
|
35
37
|
export { AuthService, StorageService, HlpProduct, HlpEntry, StockPipe, AmountOnListBillPipe, AmountOnBillPipe };
|
package/lib/esm/index.js
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import "./auth";
|
|
2
|
-
import "./bill";
|
|
3
|
-
import "./bootstrap";
|
|
4
1
|
import { HlpEntry } from "./helpers/hlpEntry";
|
|
5
2
|
import HlpProduct from "./helpers/hlpProduct";
|
|
6
3
|
import AmountOnBillPipe from "./helpers/pipes/amount-on-bill-pipe";
|
|
7
4
|
import AmountOnListBillPipe from "./helpers/pipes/amount-on-list-bill-pipe";
|
|
8
5
|
import StockPipe from "./helpers/pipes/stock-pipe";
|
|
9
|
-
import StorageService from "./services/storageService";
|
|
10
6
|
import { AuthService } from "./services/authService";
|
|
7
|
+
import StorageService from "./services/storageService";
|
|
8
|
+
import "./auth";
|
|
9
|
+
import "./bill";
|
|
10
|
+
import "./bootstrap";
|
|
11
|
+
import "./models/entities/estates/index";
|
|
11
12
|
import "./models/index";
|
|
12
13
|
import "./pdfs/invoices/amountInvoice";
|
|
13
14
|
import "./pdfs/invoices/infoInvoice";
|
|
@@ -32,5 +33,6 @@ export * from "./sale";
|
|
|
32
33
|
export * from "./typeorm";
|
|
33
34
|
export * from "./user";
|
|
34
35
|
export * from "./utils";
|
|
36
|
+
export * from "./models/entities/estates/index";
|
|
35
37
|
// export * from "./helpers/hlpProduct";
|
|
36
38
|
export { AuthService, StorageService, HlpProduct, HlpEntry, StockPipe, AmountOnListBillPipe, AmountOnBillPipe };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { User } from "../users/User";
|
|
2
|
+
import { City } from "../world/City";
|
|
3
|
+
import { Quarter } from "../world/Quarter";
|
|
4
|
+
import { Region } from "../world/Region";
|
|
5
|
+
import { EstateAsset } from "./EstateAsset";
|
|
6
|
+
import { EstateCat } from "./EstateCat";
|
|
7
|
+
import { EstatePor } from "./EstatePor";
|
|
8
|
+
import { Housing } from "./Housing";
|
|
9
|
+
export interface Estate {
|
|
10
|
+
id: number;
|
|
11
|
+
ref: string;
|
|
12
|
+
createdAt: Date;
|
|
13
|
+
description: string;
|
|
14
|
+
salePrice: number;
|
|
15
|
+
cat: EstateCat;
|
|
16
|
+
por: EstatePor;
|
|
17
|
+
region?: Region;
|
|
18
|
+
city?: City;
|
|
19
|
+
quarter?: Quarter;
|
|
20
|
+
prop?: User;
|
|
21
|
+
isActive?: boolean;
|
|
22
|
+
housings?: Housing[];
|
|
23
|
+
assets?: EstateAsset[];
|
|
24
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { User } from "../users/User";
|
|
2
|
+
import { Estate } from "./Estate";
|
|
3
|
+
import { HousingRented } from "./HousingRented";
|
|
4
|
+
export interface Housing {
|
|
5
|
+
id: number;
|
|
6
|
+
createdAt: Date;
|
|
7
|
+
description: string;
|
|
8
|
+
ref: string;
|
|
9
|
+
price: number;
|
|
10
|
+
deposit: number;
|
|
11
|
+
chargesPrice: number;
|
|
12
|
+
isActive: boolean;
|
|
13
|
+
estate: Estate;
|
|
14
|
+
lodger: User;
|
|
15
|
+
encoder: User;
|
|
16
|
+
rented: HousingRented;
|
|
17
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { User } from "../users/User";
|
|
2
|
+
import { Housing } from "./Housing";
|
|
3
|
+
export interface HousingRented {
|
|
4
|
+
id: number;
|
|
5
|
+
dateIn: Date;
|
|
6
|
+
dateOut: Date;
|
|
7
|
+
price: number;
|
|
8
|
+
deposit: number;
|
|
9
|
+
prepaid: number;
|
|
10
|
+
lodger?: User;
|
|
11
|
+
lodgerId?: number;
|
|
12
|
+
housingId?: number;
|
|
13
|
+
housing?: Housing;
|
|
14
|
+
encoder?: User;
|
|
15
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Estate } from "./Estate";
|
|
2
|
+
import { EstateAsset } from "./EstateAsset";
|
|
3
|
+
import { EstateCat } from "./EstateCat";
|
|
4
|
+
import { EstateElt } from "./EstateElt";
|
|
5
|
+
import { EstateLevel } from "./EstateLevel";
|
|
6
|
+
import { EstatePor } from "./EstatePor";
|
|
7
|
+
import { Housing } from "./Housing";
|
|
8
|
+
import { HousingRented } from "./HousingRented";
|
|
9
|
+
export { Estate, EstateAsset, EstateCat, EstateElt, EstateLevel, EstatePor, Housing, HousingRented };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|