mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Enforce some naming conventions (#4813)
This commit is contained in:
1 parent
dc6615f98f
commit
0b32775d40
197 files changed
+630
-634
No files matched your search
@@ -27,7 +27,7 @@ import portForwardStoreInjectable from "../../port-forward/port-forward-store/po
|
||||
import portForwardDialogModelInjectable from "../../port-forward/port-forward-dialog-model/port-forward-dialog-model.injectable";
|
||||
import logger from "../../../common/logger";
|
||||
|
||||
interface Props {
|
||||
export interface PodContainerPortProps {
|
||||
pod: Pod;
|
||||
port: {
|
||||
name?: string;
|
||||
@@ -42,13 +42,13 @@ interface Dependencies {
|
||||
}
|
||||
|
||||
@observer
|
||||
class NonInjectedPodContainerPort extends React.Component<Props & Dependencies> {
|
||||
class NonInjectedPodContainerPort extends React.Component<PodContainerPortProps & Dependencies> {
|
||||
@observable waiting = false;
|
||||
@observable forwardPort = 0;
|
||||
@observable isPortForwarded = false;
|
||||
@observable isActive = false;
|
||||
|
||||
constructor(props: Props & Dependencies) {
|
||||
constructor(props: PodContainerPortProps & Dependencies) {
|
||||
super(props);
|
||||
makeObservable(this);
|
||||
this.checkExistingPortForwarding();
|
||||
@@ -192,7 +192,7 @@ class NonInjectedPodContainerPort extends React.Component<Props & Dependencies>
|
||||
}
|
||||
}
|
||||
|
||||
export const PodContainerPort = withInjectables<Dependencies, Props>(
|
||||
export const PodContainerPort = withInjectables<Dependencies, PodContainerPortProps>(
|
||||
NonInjectedPodContainerPort,
|
||||
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user