mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Move all RouteParam's and URL builders to src/common (#2778)
- Prevents some circular dependencies - Allowed main to use them as needed Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
1 parent
540c6dac37
commit
5ee2ab5b4a
134 files changed
+462
-515
No files matched your search
@@ -27,7 +27,6 @@ import { Link } from "react-router-dom";
|
||||
import { podsStore } from "./pods.store";
|
||||
import type { RouteComponentProps } from "react-router";
|
||||
import { volumeClaimStore } from "../+storage-volume-claims/volume-claim.store";
|
||||
import type { IPodsRouteParams } from "../+workloads";
|
||||
import { eventStore } from "../+events/event.store";
|
||||
import { getDetailsUrl, KubeObjectListLayout } from "../kube-object";
|
||||
import { nodesApi, Pod } from "../../api/endpoints";
|
||||
@@ -39,6 +38,7 @@ import kebabCase from "lodash/kebabCase";
|
||||
import { lookupApiLink } from "../../api/kube-api";
|
||||
import { KubeObjectStatusIcon } from "../kube-object-status-icon";
|
||||
import { Badge } from "../badge";
|
||||
import type { PodsRouteParams } from "../../../common/routes";
|
||||
|
||||
enum columnId {
|
||||
name = "name",
|
||||
@@ -52,7 +52,7 @@ enum columnId {
|
||||
status = "status",
|
||||
}
|
||||
|
||||
interface Props extends RouteComponentProps<IPodsRouteParams> {
|
||||
interface Props extends RouteComponentProps<PodsRouteParams> {
|
||||
}
|
||||
|
||||
@observer
|
||||
|
||||
Reference in new issue
Block a user