impaktapps-ui-builder 1.0.77-test.2 → 1.0.77-test.3
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.
|
@@ -12418,6 +12418,20 @@ const buildSchema = (config2, tableName, isArrayType) => {
|
|
|
12418
12418
|
config2.elements.map((e, elemInd) => {
|
|
12419
12419
|
buildSchema(e, config2.name, config2.type === "Array" ? true : false);
|
|
12420
12420
|
});
|
|
12421
|
+
} else if (config2.type == "UploadArray") {
|
|
12422
|
+
if (!schema.properties[config2.name]) {
|
|
12423
|
+
schema.properties[config2.name] = {
|
|
12424
|
+
type: "array",
|
|
12425
|
+
items: {
|
|
12426
|
+
type: "object",
|
|
12427
|
+
properties: {},
|
|
12428
|
+
required: []
|
|
12429
|
+
}
|
|
12430
|
+
};
|
|
12431
|
+
}
|
|
12432
|
+
config2.elements.map((e, elemInd) => {
|
|
12433
|
+
buildSchema(e, config2.name, config2.type === "UploadArray" ? true : false);
|
|
12434
|
+
});
|
|
12421
12435
|
} else {
|
|
12422
12436
|
config2.elements.map((e, elemInd) => {
|
|
12423
12437
|
buildSchema(e);
|