@contrail/cli 1.0.57 → 1.0.58
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.
|
@@ -34,6 +34,11 @@ export declare function reduceData(data: DataHolder): {
|
|
|
34
34
|
reducedUsageInfo: {
|
|
35
35
|
used: any;
|
|
36
36
|
editable: any;
|
|
37
|
+
formulaFunction: any;
|
|
38
|
+
validationFunction: any;
|
|
39
|
+
numberFormat: any;
|
|
40
|
+
defaultValue: any;
|
|
41
|
+
label: any;
|
|
37
42
|
typeSlug: any;
|
|
38
43
|
typePropertySlug: any;
|
|
39
44
|
}[];
|
|
@@ -133,6 +133,11 @@ function reduceUsageInfo(data) {
|
|
|
133
133
|
return {
|
|
134
134
|
used: x.used,
|
|
135
135
|
editable: x.editable,
|
|
136
|
+
formulaFunction: x.formulaFunction,
|
|
137
|
+
validationFunction: x.validationFunction,
|
|
138
|
+
numberFormat: x.numberFormat,
|
|
139
|
+
defaultValue: x.defaultValue,
|
|
140
|
+
label: x.label,
|
|
136
141
|
typeSlug: (_a = data.types.find(y => y.id === x.typeId)) === null || _a === void 0 ? void 0 : _a.slug,
|
|
137
142
|
typePropertySlug: (_b = typeProperties.find(y => y.id === x.typePropertyId)) === null || _b === void 0 ? void 0 : _b.slug,
|
|
138
143
|
};
|
|
@@ -71,6 +71,11 @@ async function uploadUsageInfoObjects(loadedUsageInfo) {
|
|
|
71
71
|
typeId: loadedUI.typeId,
|
|
72
72
|
editable: loadedUI.editable,
|
|
73
73
|
used: loadedUI.used,
|
|
74
|
+
formulaFunction: loadedUI.formulaFunction,
|
|
75
|
+
validationFunction: loadedUI.validationFunction,
|
|
76
|
+
numberFormat: loadedUI.numberFormat,
|
|
77
|
+
defaultValue: loadedUI.defaultValue,
|
|
78
|
+
label: loadedUI.label,
|
|
74
79
|
}
|
|
75
80
|
});
|
|
76
81
|
}
|
package/package.json
CHANGED
|
@@ -156,6 +156,11 @@ function reduceUsageInfo(data: DataHolder) {
|
|
|
156
156
|
return {
|
|
157
157
|
used: x.used,
|
|
158
158
|
editable: x.editable,
|
|
159
|
+
formulaFunction: x.formulaFunction,
|
|
160
|
+
validationFunction: x.validationFunction,
|
|
161
|
+
numberFormat: x.numberFormat,
|
|
162
|
+
defaultValue: x.defaultValue,
|
|
163
|
+
label: x.label,
|
|
159
164
|
typeSlug: data.types.find(y => y.id === x.typeId)?.slug,
|
|
160
165
|
typePropertySlug: typeProperties.find(y => y.id === x.typePropertyId)?.slug,
|
|
161
166
|
};
|
|
@@ -79,6 +79,11 @@ async function uploadUsageInfoObjects(loadedUsageInfo) {
|
|
|
79
79
|
typeId: loadedUI.typeId,
|
|
80
80
|
editable: loadedUI.editable,
|
|
81
81
|
used: loadedUI.used,
|
|
82
|
+
formulaFunction: loadedUI.formulaFunction,
|
|
83
|
+
validationFunction: loadedUI.validationFunction,
|
|
84
|
+
numberFormat: loadedUI.numberFormat,
|
|
85
|
+
defaultValue: loadedUI.defaultValue,
|
|
86
|
+
label: loadedUI.label,
|
|
82
87
|
}
|
|
83
88
|
});
|
|
84
89
|
} else {
|