'use strict'; const assert = require('assert'); const _ = require('lodash'); const { ObjectId } = require('mongoose').Types; const { CrudService } = require('naf-framework-mongoose/lib/service'); const { LinksError, ErrorCode } = require("naf-core").Error; class LinksService extends CrudService { constructor(ctx) { super(ctx, "links"); this.model = this.ctx.model.Links; } } module.exports = LinksService;