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
@@ -23,7 +23,7 @@ import upgradeChartTabStoreInjectable from "./store.injectable";
|
||||
import updateReleaseInjectable from "../../+helm-releases/update-release/update-release.injectable";
|
||||
import releasesInjectable from "../../+helm-releases/releases.injectable";
|
||||
|
||||
interface Props {
|
||||
export interface UpgradeChartProps {
|
||||
className?: string;
|
||||
tab: DockTab;
|
||||
}
|
||||
@@ -35,12 +35,12 @@ interface Dependencies {
|
||||
}
|
||||
|
||||
@observer
|
||||
export class NonInjectedUpgradeChart extends React.Component<Props & Dependencies> {
|
||||
export class NonInjectedUpgradeChart extends React.Component<UpgradeChartProps & Dependencies> {
|
||||
@observable error: string;
|
||||
@observable versions = observable.array<IChartVersion>();
|
||||
@observable version: IChartVersion;
|
||||
|
||||
constructor(props: Props & Dependencies) {
|
||||
constructor(props: UpgradeChartProps & Dependencies) {
|
||||
super(props);
|
||||
makeObservable(this);
|
||||
}
|
||||
@@ -179,7 +179,7 @@ export class NonInjectedUpgradeChart extends React.Component<Props & Dependencie
|
||||
}
|
||||
}
|
||||
|
||||
export const UpgradeChart = withInjectables<Dependencies, Props>(NonInjectedUpgradeChart, {
|
||||
export const UpgradeChart = withInjectables<Dependencies, UpgradeChartProps>(NonInjectedUpgradeChart, {
|
||||
getProps: (di, props) => ({
|
||||
releases: di.inject(releasesInjectable),
|
||||
updateRelease: di.inject(updateReleaseInjectable),
|
||||
|
||||
Reference in new issue
Block a user