UNPKG

scriptremote

Version:

Message server providing secure remote access to scripted applications from a browser UI

15 lines (10 loc) 289 B
'use strict' var mongoose = require('mongoose'); var eidSchema = mongoose.Schema({ parentId: String // parent user of this id }); eidSchema.methods.Id = function() { return this._id.valueOf(); }; var ExternId = mongoose.model('ExternId', eidSchema); module.exports = ExternId;