mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 16:06:01 +00:00
xml plugin initial import
This commit is contained in:
27
plugins/dbgate-plugin-xml/src/frontend/index.js
Normal file
27
plugins/dbgate-plugin-xml/src/frontend/index.js
Normal 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],
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user