xml plugin initial import

This commit is contained in:
Jan Prochazka
2022-01-30 10:30:47 +01:00
parent 94351805d3
commit 09f5e3e703
15 changed files with 3915 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
const fileFormat = {
packageName: 'dbgate-plugin-xml',
// file format identifier
storageType: 'xml@dbgate-plugin-xml',
// file extension without leading dot
extension: 'xml',
// human readable file format name
name: 'XML file',
// function name from backend, which contains reader factory, postfixed by package name
readerFunc: 'reader@dbgate-plugin-xml',
// function name from backend, which contains writer factory, postfixed by package name
writerFunc: 'writer@dbgate-plugin-xml',
// optional list of format arguments, which can be edited from UI
args: [
{
type: 'text',
name: 'elementName',
label: 'Element name',
apiName: 'elementName',
},
],
};
export default {
fileFormats: [fileFormat],
};