mirror of
https://github.com/yldio/copilot.git
synced 2024-11-11 05:40:11 +02:00
44 lines
763 B
JavaScript
44 lines
763 B
JavaScript
'use strict';
|
|
|
|
const Fs = require('fs');
|
|
const Path = require('path');
|
|
|
|
|
|
const internals = {
|
|
schema: Fs.readFileSync(Path.join(__dirname, 'schema.gql')).toString()
|
|
};
|
|
|
|
|
|
exports.options = (data) => {
|
|
const getPortal = function (args, request) {
|
|
|
|
};
|
|
|
|
const getDeploymentGroups = function (args, request) {
|
|
|
|
};
|
|
|
|
const getDeploymentGroup = function (args, request) {
|
|
|
|
};
|
|
|
|
const getServiceScales = function (args, request) {
|
|
|
|
};
|
|
|
|
const getServiceScale = function (args, request) {
|
|
|
|
};
|
|
|
|
return {
|
|
schema: internals.schema,
|
|
functions: {
|
|
portal: getPortal,
|
|
deploymentGroups: getDeploymentGroups,
|
|
deploymentGroup: getDeploymentGroup,
|
|
serviceScales: getServiceScales,
|
|
serviceScale: getServiceScale
|
|
}
|
|
};
|
|
};
|