@reekon-tools/boldr-utils 1.4.32 → 1.4.34
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/types/firestore.d.ts +2 -14
- package/dist/types/firestore.js +0 -1
- package/package.json +1 -1
|
@@ -103,7 +103,6 @@ export declare enum FileUploadType {
|
|
|
103
103
|
Template = "template",
|
|
104
104
|
Background = "background",
|
|
105
105
|
LayoutGroup = "layoutGroup",
|
|
106
|
-
Layout = "layout",
|
|
107
106
|
Calculator = "calculator"
|
|
108
107
|
}
|
|
109
108
|
export interface AnnotationFileData {
|
|
@@ -119,14 +118,6 @@ export interface CalculatorFileData {
|
|
|
119
118
|
columns: Record<string, any>;
|
|
120
119
|
isCompleted: boolean;
|
|
121
120
|
}
|
|
122
|
-
export interface LayoutFileData {
|
|
123
|
-
points: Record<string, any>;
|
|
124
|
-
edges: Record<string, any>;
|
|
125
|
-
faces: Record<string, any>;
|
|
126
|
-
floorLevel?: number;
|
|
127
|
-
labelScale?: number;
|
|
128
|
-
lastModified?: string;
|
|
129
|
-
}
|
|
130
121
|
export interface LayoutGroupFileData {
|
|
131
122
|
layoutCount?: number;
|
|
132
123
|
thumbnailBase64?: string;
|
|
@@ -147,8 +138,6 @@ interface FileUploadBase {
|
|
|
147
138
|
createdAt?: Date;
|
|
148
139
|
layoutGroupId?: string | null;
|
|
149
140
|
layoutId?: string | null;
|
|
150
|
-
measurementRefs?: string[];
|
|
151
|
-
parentLayoutGroupId?: string | null;
|
|
152
141
|
}
|
|
153
142
|
export type FileUpload = FileUploadBase & ({
|
|
154
143
|
type: FileUploadType.Annotation;
|
|
@@ -156,9 +145,6 @@ export type FileUpload = FileUploadBase & ({
|
|
|
156
145
|
} | {
|
|
157
146
|
type: FileUploadType.Calculator;
|
|
158
147
|
fileData: CalculatorFileData;
|
|
159
|
-
} | {
|
|
160
|
-
type: FileUploadType.Layout;
|
|
161
|
-
fileData: LayoutFileData;
|
|
162
148
|
} | {
|
|
163
149
|
type: FileUploadType.LayoutGroup;
|
|
164
150
|
fileData?: LayoutGroupFileData;
|
|
@@ -186,6 +172,7 @@ export interface Folder extends FirestoreDoc, Timestamps {
|
|
|
186
172
|
projectId: string | null;
|
|
187
173
|
type: FolderType;
|
|
188
174
|
isPublic?: boolean;
|
|
175
|
+
starred?: boolean;
|
|
189
176
|
}
|
|
190
177
|
export declare enum GroupType {
|
|
191
178
|
LIST = "list",
|
|
@@ -208,6 +195,7 @@ export interface Job extends FirestoreDoc, Timestamps {
|
|
|
208
195
|
areaMapFileId?: string;
|
|
209
196
|
address?: string;
|
|
210
197
|
description?: string;
|
|
198
|
+
starred?: boolean;
|
|
211
199
|
}
|
|
212
200
|
export interface Section extends Timestamps {
|
|
213
201
|
id: string;
|
package/dist/types/firestore.js
CHANGED
|
@@ -21,7 +21,6 @@ export var FileUploadType;
|
|
|
21
21
|
FileUploadType["Template"] = "template";
|
|
22
22
|
FileUploadType["Background"] = "background";
|
|
23
23
|
FileUploadType["LayoutGroup"] = "layoutGroup";
|
|
24
|
-
FileUploadType["Layout"] = "layout";
|
|
25
24
|
FileUploadType["Calculator"] = "calculator";
|
|
26
25
|
})(FileUploadType || (FileUploadType = {}));
|
|
27
26
|
export var FolderType;
|