Created interface xml files
This commit is contained in:
		| @@ -26,6 +26,10 @@ const version = ref(''); | |||||||
| const errorOccurred = ref(false); | const errorOccurred = ref(false); | ||||||
| const successOccurred = ref(false); | const successOccurred = ref(false); | ||||||
|  |  | ||||||
|  | interface XmlFile { | ||||||
|  |     fileName: string; | ||||||
|  |     fileData: string; | ||||||
|  | } | ||||||
|  |  | ||||||
| onMounted(() => { | onMounted(() => { | ||||||
|     changeAvailableEngines(); |     changeAvailableEngines(); | ||||||
| @@ -147,8 +151,9 @@ function prepareRequestBodyMultiXml():string { | |||||||
|     return requestBody; |     return requestBody; | ||||||
| } | } | ||||||
|  |  | ||||||
|  |  | ||||||
| function convertDataArray(data: Array<TabData>) { | function convertDataArray(data: Array<TabData>) { | ||||||
|     let result = new Array<Object>; |     let result = new Array<XmlFile>; | ||||||
|     data.forEach(element => { |     data.forEach(element => { | ||||||
|         let fileName = element.name; |         let fileName = element.name; | ||||||
|         if (!fileName.endsWith(".xml")) { |         if (!fileName.endsWith(".xml")) { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user