feat: storage module refactor + UI fixes
This commit is contained in:
20
server/modules/storage/git/definition.yml
Normal file
20
server/modules/storage/git/definition.yml
Normal file
@@ -0,0 +1,20 @@
|
||||
key: git
|
||||
title: Git
|
||||
author: requarks.io
|
||||
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
|
23
server/modules/storage/git/storage.js
Normal file
23
server/modules/storage/git/storage.js
Normal file
@@ -0,0 +1,23 @@
|
||||
module.exports = {
|
||||
async activated(opts) {
|
||||
|
||||
},
|
||||
async deactivated(opts) {
|
||||
|
||||
},
|
||||
async init(opts) {
|
||||
|
||||
},
|
||||
async created(opts) {
|
||||
|
||||
},
|
||||
async updated(opts) {
|
||||
|
||||
},
|
||||
async deleted(opts) {
|
||||
|
||||
},
|
||||
async renamed(opts) {
|
||||
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user