mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 14:56:01 +00:00
DBF reader plugin
This commit is contained in:
25
plugins/dbgate-plugin-dbf/src/frontend/index.js
Normal file
25
plugins/dbgate-plugin-dbf/src/frontend/index.js
Normal file
@@ -0,0 +1,25 @@
|
||||
const fileFormat = {
|
||||
packageName: 'dbgate-plugin-dbf',
|
||||
// file format identifier
|
||||
storageType: 'dbf',
|
||||
// file extension without leading dot
|
||||
extension: 'dbf',
|
||||
// human readable file format name
|
||||
name: 'DBF',
|
||||
// function name from backend, which contains reader factory, postfixed by package name
|
||||
readerFunc: 'reader@dbgate-plugin-dbf',
|
||||
|
||||
args: [
|
||||
{
|
||||
type: 'text',
|
||||
name: 'encoding',
|
||||
label: 'Encoding',
|
||||
apiName: 'encoding',
|
||||
},
|
||||
],
|
||||
|
||||
};
|
||||
|
||||
export default {
|
||||
fileFormats: [fileFormat],
|
||||
};
|
||||
Reference in New Issue
Block a user