{"size": 408, "ext": "js", "max_stars_repo_path": "modules/misc/models/links.model.js", "max_stars_repo_name": "interreg-simile/api", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "modules/misc/models/links.model.js", "max_issues_repo_name": "interreg-simile/api", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "modules/misc/models/links.model.js", "max_forks_repo_name": "interreg-simile/api", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 25.5, "max_line_length": 68, "alphanum_fraction": 0.7083333333}
'use strict'

const mongoose = require('mongoose')

const collectionName = 'Links'

const schema = new mongoose.Schema({
  link: { type: String, required: true },
  name: { type: mongoose.Schema.Types.Mixed, required: true },
  order: { type: Number, required: true },
}, { timestamps: true })

const model = mongoose.model(collectionName, schema, collectionName)

module.exports = { collectionName, model }
