summaryrefslogtreecommitdiffstats
path: root/server/lib/external-backends/backends/another-backend.js
blob: 0d60259a3fe29327d89e1792eead47f5b69b02c5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* global __appdir */
const path = require('path')
const ExternalBackends = require(path.join(__appdir, 'lib', 'external-backends'))

class AnotherBackend extends ExternalBackends {
  getCredentials () {
    return [{ type: 'text', id: 1, name: 'text 1' }, { type: 'text', id: 2, name: 'text 2' }, { type: 'password', id: 3, name: 'password 1', show: false }, { type: 'password', id: 4, name: 'password 2', show: true }, { type: 'password', id: 5, name: 'password 3', show: false }]
  }

  getSyncTypes () {
    return ['THERE', 'ARE', 'NO', 'SYNC', 'TYPES']
  }
}

module.exports = AnotherBackend