mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix code style
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
This commit is contained in:
parent
4e09ebdd33
commit
00aef47d3b
@ -5,7 +5,11 @@
|
|||||||
import type { LensApiResult } from "./router";
|
import type { LensApiResult } from "./router";
|
||||||
|
|
||||||
export interface LensApiResultContentType {
|
export interface LensApiResultContentType {
|
||||||
resultMapper: (result: LensApiResult<any>) => ({ statusCode: number, content: any, headers: { [ name: string ]: string }})
|
resultMapper: (result: LensApiResult<any>) => ({
|
||||||
|
statusCode: number;
|
||||||
|
content: any;
|
||||||
|
headers: { [ name: string ]: string };
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
const resultMapperFor =
|
const resultMapperFor =
|
||||||
|
|||||||
@ -10,7 +10,7 @@ import { getInjectable } from "@ogre-tools/injectable";
|
|||||||
|
|
||||||
interface InstallChartResponse {
|
interface InstallChartResponse {
|
||||||
log: string;
|
log: string;
|
||||||
release: { name: string, namespace: string }
|
release: { name: string; namespace: string };
|
||||||
}
|
}
|
||||||
|
|
||||||
const installChartRouteInjectable = getInjectable({
|
const installChartRouteInjectable = getInjectable({
|
||||||
|
|||||||
@ -10,7 +10,7 @@ import { getInjectable } from "@ogre-tools/injectable";
|
|||||||
|
|
||||||
interface UpdateReleaseResponse {
|
interface UpdateReleaseResponse {
|
||||||
log: string;
|
log: string;
|
||||||
release: { name: string, namespace: string }
|
release: { name: string; namespace: string };
|
||||||
}
|
}
|
||||||
|
|
||||||
const updateReleaseRouteInjectable = getInjectable({
|
const updateReleaseRouteInjectable = getInjectable({
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user