@veecode-platform/plugin-kong-service-manager
Version:
34 lines (31 loc) • 959 B
JavaScript
import { createRouteRef, createSubRouteRef } from '@backstage/core-plugin-api';
const kongServiceRouteRef = createRouteRef({
id: "kong-service-manager"
});
const routesListRouteRef = createSubRouteRef({
id: "all-routes",
parent: kongServiceRouteRef,
path: "/all-routes"
});
const pluginsListRouteRef = createSubRouteRef({
id: "all-plugins",
parent: kongServiceRouteRef,
path: "/all-plugins"
});
const removePluginRouteRef = createSubRouteRef({
id: "remove-plugin",
parent: kongServiceRouteRef,
path: "/remove-plugin"
});
const addPluginRouteRef = createSubRouteRef({
id: "add-plugin",
parent: kongServiceRouteRef,
path: "/add-plugin"
});
const sepcsListRouteRef = createSubRouteRef({
id: "all-specs",
parent: kongServiceRouteRef,
path: "/all-specs"
});
export { addPluginRouteRef, kongServiceRouteRef, pluginsListRouteRef, removePluginRouteRef, routesListRouteRef, sepcsListRouteRef };
//# sourceMappingURL=routes.esm.js.map