UNPKG

loopback-workspace

Version:

**⚠️ LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical security fixes will be provided. (See [Module Long Term Support Policy](#module-long-term-support-policy) below.)**

72 lines (60 loc) 1.23 kB
// Copyright IBM Corp. 2016,2019. All Rights Reserved. // Node module: loopback-workspace // This file is licensed under the MIT License. // License text available at https://opensource.org/licenses/MIT 'use strict'; /** * The notes component template. */ const g = require('strong-globalize')(); const template = module.exports; template.description = g.f( 'A project containing a basic working example, including a memory database', ); template.supportedLBVersions = ['3.x']; template.inherits = ['empty-server']; template.package = {}; template.common = {}; template.server = { facet: {}, config: [], modelConfigs: [ { name: 'User', dataSource: 'db', }, { name: 'AccessToken', dataSource: 'db', public: false, }, { name: 'ACL', dataSource: 'db', public: false, }, { name: 'RoleMapping', dataSource: 'db', options: { strictObjectIDCoercion: true, }, public: false, }, { name: 'Role', dataSource: 'db', public: false, }, { name: 'Note', dataSource: 'db', }, ], datasources: [ { name: 'db', connector: 'memory', }, ], };