UNPKG

youzanyun-devtool-worker

Version:

- web - ws - proxy

54 lines (53 loc) 2 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const tslib_1 = require("tslib"); const spring4js_nodejs_1 = require("spring4js-nodejs"); let DesignPlatformService = class DesignPlatformService { async start() { } async getMenu({ projectId, workbenchId }) { let menuList = [{ title: '自定义组件管理', key: 'customComps', param: { contentType: 'webview', url: `/html/design-platform?projectId=${projectId}&workbenchId=${workbenchId}#/custom-comps`, docKey: 'dp-comp', } }, { title: 'mock数据管理', key: 'mockData', param: { contentType: 'webview', url: `/html/design-platform?projectId=${projectId}&workbenchId=${workbenchId}#/mock-data`, docKey: 'dp-mock', } }, { title: '本地模板管理', key: 'templateManage', param: { contentType: 'webview', url: `/html/design-platform?projectId=${projectId}&workbenchId=${workbenchId}#/template-manage`, docKey: 'dp-template', } }]; return menuList; } }; tslib_1.__decorate([ spring4js_nodejs_1.Resource() ], DesignPlatformService.prototype, "projectService", void 0); tslib_1.__decorate([ spring4js_nodejs_1.Resource() ], DesignPlatformService.prototype, "configService", void 0); tslib_1.__decorate([ spring4js_nodejs_1.Resource() ], DesignPlatformService.prototype, "customApiService", void 0); tslib_1.__decorate([ spring4js_nodejs_1.Resource() ], DesignPlatformService.prototype, "dpRequestService", void 0); DesignPlatformService = tslib_1.__decorate([ spring4js_nodejs_1.Service() ], DesignPlatformService); exports.default = DesignPlatformService; ;