// var debug = require('debug')('holodex:link-type:model')

var Model = require('base/model')

module.exports = Model.extend({
  typeName: 'LinkType',
  collectionName: 'linkTypes',

  props: {
    // id:
    relationshipType: 'link',
    source: 'string',
    target: 'string',
    label: 'string'
  }
})

// var debug = require('debug')('holodex:link-type:model')

var Model = require('base/model')

module.exports = Model.extend({
  typeName: 'LinkType',
  collectionName: 'linkTypes',

  props: {
    relationshipType: 'link',
    source: 'link',
    target: 'link',
    label: 'string'
  }
})

update LinkType model to use link data type