2
0

git.js 535 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. module.exports = {
  2. key: 'git',
  3. title: 'Git',
  4. props: {
  5. authType: {
  6. type: String,
  7. default: 'ssh',
  8. enum: ['basic', 'ssh']
  9. },
  10. repoUrl: String,
  11. branch: {
  12. type: String,
  13. default: 'master'
  14. },
  15. verifySSL: {
  16. type: Boolean,
  17. default: true
  18. },
  19. sshPrivateKeyPath: String,
  20. basicUsername: String,
  21. basicPassword: String
  22. },
  23. activate() {
  24. },
  25. deactivate() {
  26. },
  27. created(opts) {
  28. },
  29. updated(opts) {
  30. },
  31. deleted(opts) {
  32. },
  33. renamed(opts) {
  34. }
  35. }