feat: auth + storage config improvements
This commit is contained in:
@@ -1,7 +1,11 @@
|
||||
module.exports = {
|
||||
key: 'azure',
|
||||
title: 'Azure Blob Storage',
|
||||
props: [],
|
||||
props: {
|
||||
accountName: String,
|
||||
accountKey: String,
|
||||
container: String
|
||||
},
|
||||
activate() {
|
||||
|
||||
},
|
||||
|
@@ -1,7 +1,15 @@
|
||||
module.exports = {
|
||||
key: 'digitalocean',
|
||||
title: 'DigialOcean Spaces',
|
||||
props: ['accessKeyId', 'accessSecret', 'region', 'bucket'],
|
||||
props: {
|
||||
accessKeyId: String,
|
||||
accessSecret: String,
|
||||
region: {
|
||||
type: String,
|
||||
default: 'nyc3'
|
||||
},
|
||||
bucket: String
|
||||
},
|
||||
activate() {
|
||||
|
||||
},
|
||||
|
@@ -1,7 +1,9 @@
|
||||
module.exports = {
|
||||
key: 'disk',
|
||||
title: 'Local FS',
|
||||
props: ['path'],
|
||||
props: {
|
||||
path: String
|
||||
},
|
||||
activate() {
|
||||
|
||||
},
|
||||
|
@@ -1,7 +1,10 @@
|
||||
module.exports = {
|
||||
key: 'dropbox',
|
||||
title: 'Dropbox',
|
||||
props: [],
|
||||
props: {
|
||||
appKey: String,
|
||||
appSecret: String
|
||||
},
|
||||
activate() {
|
||||
|
||||
},
|
||||
|
@@ -1,7 +1,10 @@
|
||||
module.exports = {
|
||||
key: 'gdrive',
|
||||
title: 'Google Drive',
|
||||
props: [],
|
||||
props: {
|
||||
clientId: String,
|
||||
clientSecret: String
|
||||
},
|
||||
activate() {
|
||||
|
||||
},
|
||||
|
@@ -1,7 +1,25 @@
|
||||
module.exports = {
|
||||
key: 'git',
|
||||
title: 'Git',
|
||||
props: [],
|
||||
props: {
|
||||
authType: {
|
||||
type: String,
|
||||
default: 'ssh',
|
||||
enum: ['basic', 'ssh']
|
||||
},
|
||||
repoUrl: String,
|
||||
branch: {
|
||||
type: String,
|
||||
default: 'master'
|
||||
},
|
||||
verifySSL: {
|
||||
type: Boolean,
|
||||
default: true
|
||||
},
|
||||
sshPrivateKeyPath: String,
|
||||
basicUsername: String,
|
||||
basicPassword: String
|
||||
},
|
||||
activate() {
|
||||
|
||||
},
|
||||
|
@@ -1,7 +1,10 @@
|
||||
module.exports = {
|
||||
key: 'onedrive',
|
||||
title: 'OneDrive',
|
||||
props: [],
|
||||
props: {
|
||||
clientId: String,
|
||||
clientSecret: String
|
||||
},
|
||||
activate() {
|
||||
|
||||
},
|
||||
|
@@ -1,7 +1,12 @@
|
||||
module.exports = {
|
||||
key: 's3',
|
||||
title: 'Amazon S3',
|
||||
props: [],
|
||||
props: {
|
||||
accessKeyId: String,
|
||||
accessSecret: String,
|
||||
region: String,
|
||||
bucket: String
|
||||
},
|
||||
activate() {
|
||||
|
||||
},
|
||||
|
@@ -1,7 +1,19 @@
|
||||
module.exports = {
|
||||
key: 'scp',
|
||||
title: 'SCP (SSH)',
|
||||
props: [],
|
||||
props: {
|
||||
host: String,
|
||||
port: {
|
||||
type: Number,
|
||||
default: 22
|
||||
},
|
||||
username: String,
|
||||
privateKeyPath: String,
|
||||
basePath: {
|
||||
type: String,
|
||||
default: '~'
|
||||
}
|
||||
},
|
||||
activate() {
|
||||
|
||||
},
|
||||
|
Reference in New Issue
Block a user