@royalinvest/dto 0.3.2 → 0.4.0
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/package.json +32 -32
- package/readMe.md +1 -1
- package/dist/address.d.ts +0 -9
- package/dist/address.js +0 -2
- package/dist/auth.d.ts +0 -5
- package/dist/auth.js +0 -2
- package/dist/country.d.ts +0 -4
- package/dist/country.js +0 -2
- package/dist/enum/index.d.ts +0 -14
- package/dist/enum/index.js +0 -20
- package/dist/expense.d.ts +0 -9
- package/dist/expense.js +0 -2
- package/dist/index.d.ts +0 -16
- package/dist/index.js +0 -32
- package/dist/lease-list-item.d.ts +0 -8
- package/dist/lease-list-item.js +0 -2
- package/dist/lease.d.ts +0 -10
- package/dist/lease.js +0 -2
- package/dist/login.d.ts +0 -4
- package/dist/login.js +0 -2
- package/dist/notification.d.ts +0 -10
- package/dist/notification.js +0 -2
- package/dist/property.d.ts +0 -9
- package/dist/property.js +0 -2
- package/dist/quebec-lease-dwelling/index.d.ts +0 -20
- package/dist/quebec-lease-dwelling/index.js +0 -2
- package/dist/quebec-lease-dwelling/sectionA.d.ts +0 -16
- package/dist/quebec-lease-dwelling/sectionA.js +0 -2
- package/dist/quebec-lease-dwelling/sectionB.d.ts +0 -38
- package/dist/quebec-lease-dwelling/sectionB.js +0 -2
- package/dist/quebec-lease-dwelling/sectionC.d.ts +0 -7
- package/dist/quebec-lease-dwelling/sectionC.js +0 -2
- package/dist/quebec-lease-dwelling/sectionD.d.ts +0 -15
- package/dist/quebec-lease-dwelling/sectionD.js +0 -2
- package/dist/quebec-lease-dwelling/sectionE.d.ts +0 -26
- package/dist/quebec-lease-dwelling/sectionE.js +0 -2
- package/dist/quebec-lease-dwelling/sectionF.d.ts +0 -6
- package/dist/quebec-lease-dwelling/sectionF.js +0 -2
- package/dist/quebec-lease-dwelling/sectionG.d.ts +0 -7
- package/dist/quebec-lease-dwelling/sectionG.js +0 -2
- package/dist/quebec-lease-dwelling/sectionH.d.ts +0 -3
- package/dist/quebec-lease-dwelling/sectionH.js +0 -2
- package/dist/quebec-lease-dwelling/sectionI.d.ts +0 -3
- package/dist/quebec-lease-dwelling/sectionI.js +0 -2
- package/dist/sign-up.d.ts +0 -8
- package/dist/sign-up.js +0 -2
- package/dist/sort.d.ts +0 -1
- package/dist/sort.js +0 -2
- package/dist/state.d.ts +0 -7
- package/dist/state.js +0 -2
- package/dist/template.d.ts +0 -7
- package/dist/template.js +0 -2
- package/dist/user.d.ts +0 -6
- package/dist/user.js +0 -2
- package/dist/yes-no.d.ts +0 -4
- package/dist/yes-no.js +0 -2
package/package.json
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@royalinvest/dto",
|
|
3
|
+
"version": "0.4.0",
|
|
4
|
+
"description": "Data Transfer Objects (DTOs) to carry data between frontend and backend processes.",
|
|
5
|
+
"main": "./src/index.ts",
|
|
6
|
+
"types": "./dist/index.d.ts",
|
|
7
|
+
"module": "./dist/index.js",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"import": "./dist/index.js"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"repository": {
|
|
15
|
+
"type": "git",
|
|
16
|
+
"url": "git@ssh.dev.azure.com:v3/royalinvest/royalinvest/royalinvestserver"
|
|
17
|
+
},
|
|
18
|
+
"files": [
|
|
19
|
+
"./dist"
|
|
20
|
+
],
|
|
21
|
+
"publishConfig": {
|
|
22
|
+
"access": "public"
|
|
23
|
+
},
|
|
24
|
+
"scripts": {
|
|
25
|
+
"build": "npx tsc",
|
|
26
|
+
"clean": "rm -rf ./dist",
|
|
27
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
|
28
|
+
},
|
|
29
|
+
"author": "Samos Technologies Inc.",
|
|
30
|
+
"license": "ISC",
|
|
31
|
+
"dependencies": {}
|
|
32
|
+
}
|
package/readMe.md
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
# This is Royal Invest DTO package to share data between frontend and backend processes.
|
|
1
|
+
# This is Royal Invest DTO package to share data between frontend and backend processes.
|
package/dist/address.d.ts
DELETED
package/dist/address.js
DELETED
package/dist/auth.d.ts
DELETED
package/dist/auth.js
DELETED
package/dist/country.d.ts
DELETED
package/dist/country.js
DELETED
package/dist/enum/index.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export declare enum PartyTypeEnum {
|
|
2
|
-
default = "",
|
|
3
|
-
lessor = "lessor",
|
|
4
|
-
lessee = "lessee"
|
|
5
|
-
}
|
|
6
|
-
export declare enum RentTypeEnum {
|
|
7
|
-
default = "",
|
|
8
|
-
fixed = "fixed",
|
|
9
|
-
indeterminate = "indeterminate"
|
|
10
|
-
}
|
|
11
|
-
export declare enum LeaseStatusEnum {
|
|
12
|
-
draft = "draft",
|
|
13
|
-
published = "published"
|
|
14
|
-
}
|
package/dist/enum/index.js
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.LeaseStatusEnum = exports.RentTypeEnum = exports.PartyTypeEnum = void 0;
|
|
4
|
-
var PartyTypeEnum;
|
|
5
|
-
(function (PartyTypeEnum) {
|
|
6
|
-
PartyTypeEnum["default"] = "";
|
|
7
|
-
PartyTypeEnum["lessor"] = "lessor";
|
|
8
|
-
PartyTypeEnum["lessee"] = "lessee";
|
|
9
|
-
})(PartyTypeEnum || (exports.PartyTypeEnum = PartyTypeEnum = {}));
|
|
10
|
-
var RentTypeEnum;
|
|
11
|
-
(function (RentTypeEnum) {
|
|
12
|
-
RentTypeEnum["default"] = "";
|
|
13
|
-
RentTypeEnum["fixed"] = "fixed";
|
|
14
|
-
RentTypeEnum["indeterminate"] = "indeterminate";
|
|
15
|
-
})(RentTypeEnum || (exports.RentTypeEnum = RentTypeEnum = {}));
|
|
16
|
-
var LeaseStatusEnum;
|
|
17
|
-
(function (LeaseStatusEnum) {
|
|
18
|
-
LeaseStatusEnum["draft"] = "draft";
|
|
19
|
-
LeaseStatusEnum["published"] = "published";
|
|
20
|
-
})(LeaseStatusEnum || (exports.LeaseStatusEnum = LeaseStatusEnum = {}));
|
package/dist/expense.d.ts
DELETED
package/dist/expense.js
DELETED
package/dist/index.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export * from "./enum";
|
|
2
|
-
export * from "./quebec-lease-dwelling";
|
|
3
|
-
export * from "./address";
|
|
4
|
-
export * from "./country";
|
|
5
|
-
export * from "./lease-list-item";
|
|
6
|
-
export * from "./lease";
|
|
7
|
-
export * from "./property";
|
|
8
|
-
export * from "./state";
|
|
9
|
-
export * from "./template";
|
|
10
|
-
export * from "./yes-no";
|
|
11
|
-
export * from "./login";
|
|
12
|
-
export * from "./sign-up";
|
|
13
|
-
export * from "./user";
|
|
14
|
-
export * from "./auth";
|
|
15
|
-
export * from "./notification";
|
|
16
|
-
export * from "./expense";
|
package/dist/index.js
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./enum"), exports);
|
|
18
|
-
__exportStar(require("./quebec-lease-dwelling"), exports);
|
|
19
|
-
__exportStar(require("./address"), exports);
|
|
20
|
-
__exportStar(require("./country"), exports);
|
|
21
|
-
__exportStar(require("./lease-list-item"), exports);
|
|
22
|
-
__exportStar(require("./lease"), exports);
|
|
23
|
-
__exportStar(require("./property"), exports);
|
|
24
|
-
__exportStar(require("./state"), exports);
|
|
25
|
-
__exportStar(require("./template"), exports);
|
|
26
|
-
__exportStar(require("./yes-no"), exports);
|
|
27
|
-
__exportStar(require("./login"), exports);
|
|
28
|
-
__exportStar(require("./sign-up"), exports);
|
|
29
|
-
__exportStar(require("./user"), exports);
|
|
30
|
-
__exportStar(require("./auth"), exports);
|
|
31
|
-
__exportStar(require("./notification"), exports);
|
|
32
|
-
__exportStar(require("./expense"), exports);
|
package/dist/lease-list-item.js
DELETED
package/dist/lease.d.ts
DELETED
package/dist/lease.js
DELETED
package/dist/login.d.ts
DELETED
package/dist/login.js
DELETED
package/dist/notification.d.ts
DELETED
package/dist/notification.js
DELETED
package/dist/property.d.ts
DELETED
package/dist/property.js
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { sectionA } from "./sectionA";
|
|
2
|
-
import { sectionB } from "./sectionB";
|
|
3
|
-
import { sectionC } from "./sectionC";
|
|
4
|
-
import { sectionD } from "./sectionD";
|
|
5
|
-
import { sectionE } from "./sectionE";
|
|
6
|
-
import { sectionF } from "./sectionF";
|
|
7
|
-
import { sectionG } from "./sectionG";
|
|
8
|
-
import { sectionH } from "./sectionH";
|
|
9
|
-
import { sectionI } from "./sectionI";
|
|
10
|
-
export interface Sections {
|
|
11
|
-
sectionA: sectionA;
|
|
12
|
-
sectionB: sectionB;
|
|
13
|
-
sectionC: sectionC;
|
|
14
|
-
sectionD: sectionD;
|
|
15
|
-
sectionE: sectionE;
|
|
16
|
-
sectionF: sectionF;
|
|
17
|
-
sectionG: sectionG;
|
|
18
|
-
sectionH: sectionH;
|
|
19
|
-
sectionI: sectionI;
|
|
20
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { PartyTypeEnum } from "../enum";
|
|
2
|
-
import { IAddress } from "../address";
|
|
3
|
-
export interface sectionA {
|
|
4
|
-
lessor: fields[];
|
|
5
|
-
lessee: fields[];
|
|
6
|
-
represented_by: string;
|
|
7
|
-
}
|
|
8
|
-
interface fields extends IAddress {
|
|
9
|
-
id?: string;
|
|
10
|
-
name: string;
|
|
11
|
-
email: string;
|
|
12
|
-
type: PartyTypeEnum;
|
|
13
|
-
telephone: string;
|
|
14
|
-
other_telephone?: string;
|
|
15
|
-
}
|
|
16
|
-
export {};
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { IAddress } from "../address";
|
|
2
|
-
export interface sectionB extends IAddress {
|
|
3
|
-
id?: string;
|
|
4
|
-
number_of_rooms: string;
|
|
5
|
-
residential_purposes: string;
|
|
6
|
-
specify_if_not_residential?: string;
|
|
7
|
-
divided_co_ownership: string;
|
|
8
|
-
outdoor_parking: boolean;
|
|
9
|
-
outdoor_parking_number_of_places?: string;
|
|
10
|
-
outdoor_parking_spaces?: string;
|
|
11
|
-
indoor_parking: boolean;
|
|
12
|
-
indoor_parking_number_of_places?: string;
|
|
13
|
-
indoor_parking_spaces?: string;
|
|
14
|
-
locker_storage_space: boolean;
|
|
15
|
-
specify_locker_storage_space?: string;
|
|
16
|
-
other_accessories_dependencies: string;
|
|
17
|
-
furniture_included: string;
|
|
18
|
-
tables_included: boolean;
|
|
19
|
-
tables_amount?: string;
|
|
20
|
-
chairs_included: boolean;
|
|
21
|
-
chairs_amount?: string;
|
|
22
|
-
drawers_included: boolean;
|
|
23
|
-
drawers_amount?: string;
|
|
24
|
-
couches_included: boolean;
|
|
25
|
-
couches_amount?: string;
|
|
26
|
-
armchairs_included: boolean;
|
|
27
|
-
armchairs_amount?: string;
|
|
28
|
-
beds_included: boolean;
|
|
29
|
-
beds_amount?: string;
|
|
30
|
-
beds_size?: string;
|
|
31
|
-
other_furniture_info?: string;
|
|
32
|
-
stove_included: boolean;
|
|
33
|
-
microwave_included: boolean;
|
|
34
|
-
dishwasher_included: boolean;
|
|
35
|
-
fridge_included: boolean;
|
|
36
|
-
washer_included: boolean;
|
|
37
|
-
dryer_included: boolean;
|
|
38
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export interface sectionD {
|
|
2
|
-
rent_amount: string;
|
|
3
|
-
service_amount: string;
|
|
4
|
-
total_rent_amount: string;
|
|
5
|
-
rent_frequency: string;
|
|
6
|
-
subsidy_program: string;
|
|
7
|
-
subsidy_program_specify: string;
|
|
8
|
-
first_payment_date: Date | null;
|
|
9
|
-
rent_paid_first_day_of: string;
|
|
10
|
-
rent_paid_specify: string;
|
|
11
|
-
rent_payment_method: string;
|
|
12
|
-
rent_payment_other_specify: string;
|
|
13
|
-
post_dated_cheques: string;
|
|
14
|
-
place_of_payment: string;
|
|
15
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export interface sectionE {
|
|
2
|
-
by_laws_immovable_given: Date | null;
|
|
3
|
-
by_laws_immovable_divided_coownership_given: Date | null;
|
|
4
|
-
work_repaire_before_lease: string;
|
|
5
|
-
work_repaire_during_lease: string;
|
|
6
|
-
janitorial_services: string;
|
|
7
|
-
janitor_name: string;
|
|
8
|
-
janitor_email: string;
|
|
9
|
-
janitor_telephone: string;
|
|
10
|
-
janitor_other_telephone: string;
|
|
11
|
-
heating: string;
|
|
12
|
-
heating_type: string[];
|
|
13
|
-
other_than_for_heating_electracity: string;
|
|
14
|
-
other_than_for_heating_gas: string;
|
|
15
|
-
hot_water_heater_rental_fee: string;
|
|
16
|
-
hot_water: string;
|
|
17
|
-
water_consuption_tax: string;
|
|
18
|
-
snow_removal_parking: string;
|
|
19
|
-
snow_removal_balcony: string;
|
|
20
|
-
snow_removal_entrance_driveway: string;
|
|
21
|
-
snow_removal_stairs: string;
|
|
22
|
-
right_access_land: string;
|
|
23
|
-
right_access_land_specify: string;
|
|
24
|
-
keep_animal: string;
|
|
25
|
-
keep_animal_specify: string;
|
|
26
|
-
}
|
package/dist/sign-up.d.ts
DELETED
package/dist/sign-up.js
DELETED
package/dist/sort.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type SortType = "asc" | "desc";
|
package/dist/sort.js
DELETED
package/dist/state.d.ts
DELETED
package/dist/state.js
DELETED
package/dist/template.d.ts
DELETED
package/dist/template.js
DELETED
package/dist/user.d.ts
DELETED
package/dist/user.js
DELETED
package/dist/yes-no.d.ts
DELETED
package/dist/yes-no.js
DELETED