@reekon-tools/boldr-utils 1.4.31 → 1.4.33

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.
@@ -118,6 +118,10 @@ export interface CalculatorFileData {
118
118
  columns: Record<string, any>;
119
119
  isCompleted: boolean;
120
120
  }
121
+ export interface LayoutGroupFileData {
122
+ layoutCount?: number;
123
+ thumbnailBase64?: string;
124
+ }
121
125
  interface FileUploadBase {
122
126
  id: string;
123
127
  name: string;
@@ -143,7 +147,7 @@ export type FileUpload = FileUploadBase & ({
143
147
  fileData: CalculatorFileData;
144
148
  } | {
145
149
  type: FileUploadType.LayoutGroup;
146
- fileData?: undefined;
150
+ fileData?: LayoutGroupFileData;
147
151
  } | {
148
152
  type: FileUploadType.Background;
149
153
  fileData?: undefined;
@@ -315,6 +319,7 @@ export interface Measurement extends FirestoreDoc, Timestamps, CreatedBy {
315
319
  isCompleted?: boolean;
316
320
  type?: MeasurementType;
317
321
  note?: string;
322
+ fileId?: string | null;
318
323
  }
319
324
  export interface Label extends FirestoreDoc, Timestamps {
320
325
  name: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reekon-tools/boldr-utils",
3
- "version": "1.4.31",
3
+ "version": "1.4.33",
4
4
  "description": "Shared utilities for formulas and measurement conversion used in Reekon apps",
5
5
  "author": "REEKON Tools",
6
6
  "license": "MIT",