@housebookgroup/shared-types 1.0.4 → 1.0.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/dist/authTypes.d.ts +8 -8
- package/dist/changelogTypes.d.ts +24 -24
- package/dist/onboardingTypes.d.ts +22 -22
- package/dist/propertyTypes.d.ts +36 -36
- package/dist/userTypes.d.ts +6 -6
- package/package.json +1 -1
package/dist/authTypes.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export interface SignupData {
|
|
2
|
-
email: string;
|
|
3
|
-
password: string;
|
|
4
|
-
firstName: string;
|
|
5
|
-
lastName: string;
|
|
6
|
-
phone: string;
|
|
7
|
-
userType: "admin" | "owner";
|
|
8
|
-
}
|
|
1
|
+
export interface SignupData {
|
|
2
|
+
email: string;
|
|
3
|
+
password: string;
|
|
4
|
+
firstName: string;
|
|
5
|
+
lastName: string;
|
|
6
|
+
phone: string;
|
|
7
|
+
userType: "admin" | "owner";
|
|
8
|
+
}
|
package/dist/changelogTypes.d.ts
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
export interface ChangeLog {
|
|
2
|
-
id: string;
|
|
3
|
-
assetId: string;
|
|
4
|
-
specifications: JSON;
|
|
5
|
-
changeDescription: string;
|
|
6
|
-
changedByUserId?: string;
|
|
7
|
-
created_at: string;
|
|
8
|
-
status: ChangeLogStatus;
|
|
9
|
-
actions: ChangeLogAction;
|
|
10
|
-
deleted: boolean;
|
|
11
|
-
assetName?: string;
|
|
12
|
-
spaceName?: string;
|
|
13
|
-
propertyId?: string;
|
|
14
|
-
}
|
|
15
|
-
export declare enum ChangeLogStatus {
|
|
16
|
-
PENDING = "PENDING",
|
|
17
|
-
ACCEPTED = "ACCEPTED",
|
|
18
|
-
DECLINED = "DECLINED"
|
|
19
|
-
}
|
|
20
|
-
export declare enum ChangeLogAction {
|
|
21
|
-
CREATED = "CREATED",
|
|
22
|
-
UPDATED = "UPDATED",
|
|
23
|
-
DELETED = "DELETED"
|
|
24
|
-
}
|
|
1
|
+
export interface ChangeLog {
|
|
2
|
+
id: string;
|
|
3
|
+
assetId: string;
|
|
4
|
+
specifications: JSON;
|
|
5
|
+
changeDescription: string;
|
|
6
|
+
changedByUserId?: string;
|
|
7
|
+
created_at: string;
|
|
8
|
+
status: ChangeLogStatus;
|
|
9
|
+
actions: ChangeLogAction;
|
|
10
|
+
deleted: boolean;
|
|
11
|
+
assetName?: string;
|
|
12
|
+
spaceName?: string;
|
|
13
|
+
propertyId?: string;
|
|
14
|
+
}
|
|
15
|
+
export declare enum ChangeLogStatus {
|
|
16
|
+
PENDING = "PENDING",
|
|
17
|
+
ACCEPTED = "ACCEPTED",
|
|
18
|
+
DECLINED = "DECLINED"
|
|
19
|
+
}
|
|
20
|
+
export declare enum ChangeLogAction {
|
|
21
|
+
CREATED = "CREATED",
|
|
22
|
+
UPDATED = "UPDATED",
|
|
23
|
+
DELETED = "DELETED"
|
|
24
|
+
}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
export interface FormData {
|
|
2
|
-
propertyName: string;
|
|
3
|
-
propertyDescription: string;
|
|
4
|
-
address: string;
|
|
5
|
-
floorPlans: File[];
|
|
6
|
-
buildingPlans: File[];
|
|
7
|
-
}
|
|
8
|
-
export interface AssetFeature {
|
|
9
|
-
name: string;
|
|
10
|
-
value: string;
|
|
11
|
-
}
|
|
12
|
-
export interface AssetInt {
|
|
13
|
-
typeId: string;
|
|
14
|
-
name: string;
|
|
15
|
-
description: string;
|
|
16
|
-
features: AssetFeature[];
|
|
17
|
-
}
|
|
18
|
-
export interface SpaceInt {
|
|
19
|
-
type: string;
|
|
20
|
-
name: string;
|
|
21
|
-
assets: AssetInt[];
|
|
22
|
-
}
|
|
1
|
+
export interface FormData {
|
|
2
|
+
propertyName: string;
|
|
3
|
+
propertyDescription: string;
|
|
4
|
+
address: string;
|
|
5
|
+
floorPlans: File[];
|
|
6
|
+
buildingPlans: File[];
|
|
7
|
+
}
|
|
8
|
+
export interface AssetFeature {
|
|
9
|
+
name: string;
|
|
10
|
+
value: string;
|
|
11
|
+
}
|
|
12
|
+
export interface AssetInt {
|
|
13
|
+
typeId: string;
|
|
14
|
+
name: string;
|
|
15
|
+
description: string;
|
|
16
|
+
features: AssetFeature[];
|
|
17
|
+
}
|
|
18
|
+
export interface SpaceInt {
|
|
19
|
+
type: string;
|
|
20
|
+
name: string;
|
|
21
|
+
assets: AssetInt[];
|
|
22
|
+
}
|
package/dist/propertyTypes.d.ts
CHANGED
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
export interface AssetType {
|
|
2
|
-
id: string;
|
|
3
|
-
name: string;
|
|
4
|
-
discipline: string;
|
|
5
|
-
}
|
|
6
|
-
export interface Asset {
|
|
7
|
-
id: string;
|
|
8
|
-
description: string;
|
|
9
|
-
type?: string;
|
|
10
|
-
curretSpecifications: Record<string, any>;
|
|
11
|
-
deleted: boolean;
|
|
12
|
-
assetTypes: AssetType;
|
|
13
|
-
}
|
|
14
|
-
export interface Space {
|
|
15
|
-
id: string;
|
|
16
|
-
name: string;
|
|
17
|
-
type: string;
|
|
18
|
-
deleted: boolean;
|
|
19
|
-
assets: Asset[];
|
|
20
|
-
}
|
|
21
|
-
export interface Property {
|
|
22
|
-
propertyId: string;
|
|
23
|
-
address: string;
|
|
24
|
-
description: string;
|
|
25
|
-
pin: string;
|
|
26
|
-
name: string;
|
|
27
|
-
type: string;
|
|
28
|
-
status: string;
|
|
29
|
-
lastUpdated: string;
|
|
30
|
-
completionStatus: number;
|
|
31
|
-
totalFloorArea?: number;
|
|
32
|
-
spaces?: Space[];
|
|
33
|
-
images?: string[];
|
|
34
|
-
createdAt: string;
|
|
35
|
-
splashImage?: string;
|
|
36
|
-
}
|
|
1
|
+
export interface AssetType {
|
|
2
|
+
id: string;
|
|
3
|
+
name: string;
|
|
4
|
+
discipline: string;
|
|
5
|
+
}
|
|
6
|
+
export interface Asset {
|
|
7
|
+
id: string;
|
|
8
|
+
description: string;
|
|
9
|
+
type?: string;
|
|
10
|
+
curretSpecifications: Record<string, any>;
|
|
11
|
+
deleted: boolean;
|
|
12
|
+
assetTypes: AssetType;
|
|
13
|
+
}
|
|
14
|
+
export interface Space {
|
|
15
|
+
id: string;
|
|
16
|
+
name: string;
|
|
17
|
+
type: string;
|
|
18
|
+
deleted: boolean;
|
|
19
|
+
assets: Asset[];
|
|
20
|
+
}
|
|
21
|
+
export interface Property {
|
|
22
|
+
propertyId: string;
|
|
23
|
+
address: string;
|
|
24
|
+
description: string;
|
|
25
|
+
pin: string;
|
|
26
|
+
name: string;
|
|
27
|
+
type: string;
|
|
28
|
+
status: string;
|
|
29
|
+
lastUpdated: string;
|
|
30
|
+
completionStatus: number;
|
|
31
|
+
totalFloorArea?: number;
|
|
32
|
+
spaces?: Space[];
|
|
33
|
+
images?: string[];
|
|
34
|
+
createdAt: string;
|
|
35
|
+
splashImage?: string;
|
|
36
|
+
}
|
package/dist/userTypes.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export interface Owner {
|
|
2
|
-
ownerId: string;
|
|
3
|
-
firstName: string;
|
|
4
|
-
lastName: string;
|
|
5
|
-
email: string;
|
|
6
|
-
}
|
|
1
|
+
export interface Owner {
|
|
2
|
+
ownerId: string;
|
|
3
|
+
firstName: string;
|
|
4
|
+
lastName: string;
|
|
5
|
+
email: string;
|
|
6
|
+
}
|