@reekon-tools/boldr-utils 1.3.0 → 1.3.1
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 +33 -1
- package/dist/types/firestore.js +2 -0
- package/package.json +1 -1
|
@@ -52,6 +52,22 @@ export interface Project extends FirestoreDoc, Timestamps {
|
|
|
52
52
|
zipCode: string;
|
|
53
53
|
state: string;
|
|
54
54
|
}
|
|
55
|
+
export interface Template {
|
|
56
|
+
id: string;
|
|
57
|
+
name: string;
|
|
58
|
+
description: string;
|
|
59
|
+
diagramFileId: string | null;
|
|
60
|
+
diagramUrl: string;
|
|
61
|
+
tableConfig: ColumnConfig[];
|
|
62
|
+
tolerances?: {
|
|
63
|
+
[key: string]: {
|
|
64
|
+
min: number;
|
|
65
|
+
max: number;
|
|
66
|
+
target: number;
|
|
67
|
+
deviation: number;
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
}
|
|
55
71
|
export declare enum FolderType {
|
|
56
72
|
Project = "project",
|
|
57
73
|
Job = "job"
|
|
@@ -85,13 +101,26 @@ export interface Group extends FirestoreDoc, Timestamps {
|
|
|
85
101
|
name: string;
|
|
86
102
|
sortIndex: number;
|
|
87
103
|
columns: Record<string, any>;
|
|
104
|
+
groupIndex: number;
|
|
105
|
+
descriptions?: Record<string, string>;
|
|
106
|
+
tolerances?: {
|
|
107
|
+
[key: string]: {
|
|
108
|
+
min: number;
|
|
109
|
+
max: number;
|
|
110
|
+
target: number;
|
|
111
|
+
deviation: number;
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
diagramFileId?: string;
|
|
88
115
|
}
|
|
89
116
|
export declare enum ColumnType {
|
|
90
117
|
Text = "text",
|
|
91
118
|
Number = "number",
|
|
92
119
|
Measurement = "measurement",
|
|
93
120
|
Boolean = "boolean",
|
|
94
|
-
Formula = "formula"
|
|
121
|
+
Formula = "formula",
|
|
122
|
+
SingleSelect = "singleSelect",
|
|
123
|
+
MultiSelect = "multiSelect"
|
|
95
124
|
}
|
|
96
125
|
export interface Formula extends FirestoreDoc, Timestamps {
|
|
97
126
|
expression: string;
|
|
@@ -104,6 +133,8 @@ export interface ColumnConfig {
|
|
|
104
133
|
type: ColumnType;
|
|
105
134
|
formulaId?: string;
|
|
106
135
|
mappings?: Record<string, string>;
|
|
136
|
+
withTolerance?: boolean;
|
|
137
|
+
options?: string[];
|
|
107
138
|
}
|
|
108
139
|
export interface Row {
|
|
109
140
|
[key: string]: any;
|
|
@@ -155,5 +186,6 @@ export interface UserDocument extends FirestoreDoc, Timestamps {
|
|
|
155
186
|
fractionalTolerance: FractionalTolerance;
|
|
156
187
|
showWizard: boolean;
|
|
157
188
|
printLabelSize: string;
|
|
189
|
+
printLogoFileId: string;
|
|
158
190
|
}
|
|
159
191
|
export {};
|
package/dist/types/firestore.js
CHANGED
|
@@ -20,6 +20,8 @@ export var ColumnType;
|
|
|
20
20
|
ColumnType["Measurement"] = "measurement";
|
|
21
21
|
ColumnType["Boolean"] = "boolean";
|
|
22
22
|
ColumnType["Formula"] = "formula";
|
|
23
|
+
ColumnType["SingleSelect"] = "singleSelect";
|
|
24
|
+
ColumnType["MultiSelect"] = "multiSelect";
|
|
23
25
|
})(ColumnType || (ColumnType = {}));
|
|
24
26
|
export var Units;
|
|
25
27
|
(function (Units) {
|