Skip to content

Commit 3f839b8

Browse files
format
1 parent 500d773 commit 3f839b8

14 files changed

Lines changed: 70 additions & 18 deletions

File tree

src/renderer/src/context/redux/http-status/thunks/http-status.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ import type { HttpStatusUpdatePayloadInterface } from "@shared/types/http-status
99

1010
export const loadHttpStatus = createAsyncThunk<
1111
void,
12-
void | { once?: boolean },
12+
void | {
13+
once?: boolean;
14+
},
1315
{
1416
dispatch: AppDispatch;
1517
state: RootState;

src/renderer/src/context/redux/request-response/thunks/auth.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,10 @@ import type { AuthorizationPayloadInterface } from "@shared/types/authorization.
2424
================================= */
2525
export const loadAuthorization = createAsyncThunk<
2626
void,
27-
{ requestOrFolderId?: string; once?: boolean } | void,
27+
{
28+
requestOrFolderId?: string;
29+
once?: boolean;
30+
} | void,
2831
{
2932
dispatch: AppDispatch;
3033
state: RootState;

src/renderer/src/context/redux/request-response/thunks/body-binary.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@ import { handleLoadBodyBinary } from "@/context/redux/request-response/request-r
77
================================= */
88
export const loadRequestBodyBinary = createAsyncThunk<
99
void,
10-
void | { requestOrFolderId?: string | null | undefined; once?: boolean },
10+
void | {
11+
requestOrFolderId?: string | null | undefined;
12+
once?: boolean;
13+
},
1114
{
1215
dispatch: AppDispatch;
1316
state: RootState;

src/renderer/src/context/redux/request-response/thunks/body-form-data.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@ import { handleLoadBodyFormData } from "@/context/redux/request-response/request
88
================================= */
99
export const loadBodyFormData = createAsyncThunk<
1010
void,
11-
void | { requestOrFolderId?: string | null | undefined; once?: boolean },
11+
void | {
12+
requestOrFolderId?: string | null | undefined;
13+
once?: boolean;
14+
},
1215
{
1316
dispatch: AppDispatch;
1417
state: RootState;

src/renderer/src/context/redux/request-response/thunks/body-raw.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@ import { handleLoadBodyRaw } from "@/context/redux/request-response/request-resp
88
================================= */
99
export const loadRequestBodyRaw = createAsyncThunk<
1010
void,
11-
void | { requestOrFolderId?: string | null | undefined; once?: boolean },
11+
void | {
12+
requestOrFolderId?: string | null | undefined;
13+
once?: boolean;
14+
},
1215
{
1316
dispatch: AppDispatch;
1417
state: RootState;

src/renderer/src/context/redux/request-response/thunks/body-x-www-form-urlencoded.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@ import { handleLoadBodyXWWWFormUrlencoded } from "@/context/redux/request-respon
88
================================= */
99
export const loadBodyXWWWFormUrlencoded = createAsyncThunk<
1010
void,
11-
void | { requestOrFolderId?: string | null | undefined; once?: boolean },
11+
void | {
12+
requestOrFolderId?: string | null | undefined;
13+
once?: boolean;
14+
},
1215
{
1316
dispatch: AppDispatch;
1417
state: RootState;

src/renderer/src/context/redux/request-response/thunks/folder.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@ import { areSamePayload } from "@/utils/helper";
1212
================================= */
1313
export const loadFolder = createAsyncThunk<
1414
void,
15-
void | { requestOrFolderId?: string | null | undefined; once?: boolean },
15+
void | {
16+
requestOrFolderId?: string | null | undefined;
17+
once?: boolean;
18+
},
1619
{
1720
dispatch: AppDispatch;
1821
state: RootState;

src/renderer/src/context/redux/request-response/thunks/headers.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,10 @@ import {
1515
================================= */
1616
export const loadHeaders = createAsyncThunk<
1717
void,
18-
void | { requestOrFolderId?: string | null | undefined; once?: boolean },
18+
void | {
19+
requestOrFolderId?: string | null | undefined;
20+
once?: boolean;
21+
},
1922
{
2023
dispatch: AppDispatch;
2124
state: RootState;
@@ -43,7 +46,10 @@ export const loadHeaders = createAsyncThunk<
4346

4447
export const loadHiddenHeaders = createAsyncThunk<
4548
void,
46-
void | { requestOrFolderId?: string | null | undefined; once?: boolean },
49+
void | {
50+
requestOrFolderId?: string | null | undefined;
51+
once?: boolean;
52+
},
4753
{
4854
dispatch: AppDispatch;
4955
state: RootState;

src/renderer/src/context/redux/request-response/thunks/meta-show-column.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@ import { handleLoadMetaShowColumn } from "@/context/redux/request-response/reque
1111
================================= */
1212
export const loadMetaShowColumn = createAsyncThunk<
1313
void,
14-
void | { requestOrFolderId?: string | null | undefined; once?: boolean },
14+
void | {
15+
requestOrFolderId?: string | null | undefined;
16+
once?: boolean;
17+
},
1518
{
1619
dispatch: AppDispatch;
1720
state: RootState;

src/renderer/src/context/redux/request-response/thunks/request-list.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,10 @@ export const expendRequestOrFolder = createAsyncThunk<
459459

460460
export const moveRequestOrFolder = createAsyncThunk<
461461
boolean,
462-
{ requestId: string; parentId?: string | null },
462+
{
463+
requestId: string;
464+
parentId?: string | null;
465+
},
463466
{
464467
dispatch: AppDispatch;
465468
state: RootState;

0 commit comments

Comments
 (0)