mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-28 00:06:53 +01:00
d01c9d2dac
This drops usage of finn-eslint rules as they are no longer maintained.
27 lines
554 B
JavaScript
27 lines
554 B
JavaScript
'use strict';
|
|
|
|
// export module version
|
|
require('pkginfo')(module, 'version');
|
|
|
|
const { version } = module.exports;
|
|
const clientApiDef = require('./client-api/api-def.json');
|
|
const adminApiDef = require('./admin-api/api-def.json');
|
|
|
|
const apiDef = {
|
|
name: 'unleash-server',
|
|
version,
|
|
uri: '/api',
|
|
links: {
|
|
admin: {
|
|
uri: '/api/admin',
|
|
links: adminApiDef.links,
|
|
},
|
|
client: {
|
|
uri: '/api/client',
|
|
links: clientApiDef.links,
|
|
},
|
|
},
|
|
};
|
|
|
|
module.exports = apiDef;
|