1
0
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:
Janne Savolainen 2022-02-28 08:11:20 +02:00
parent 4e09ebdd33
commit 00aef47d3b
No known key found for this signature in database
GPG Key ID: 8C6CFB2FFFE8F68A
3 changed files with 7 additions and 3 deletions

View File

@ -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 =

View File

@ -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({

View File

@ -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({