Skip to content

Commit 4219d4c

Browse files
committed
Fix lint and update GraphQL schema
1 parent b1e7da2 commit 4219d4c

File tree

8 files changed

+151
-149
lines changed

8 files changed

+151
-149
lines changed

frontend/app/src/config/constants.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import type { CheckType } from "@/shared/api/graphql/generated/graphql";
22

33
import type { RelationshipKind } from "@/entities/nodes/types";
4-
54
import { PROPOSED_CHANGE_OBJECT } from "@/entities/proposed-changes/constants";
65

76
export const DEFAULT_BRANCH_NAME = "main";

frontend/app/src/entities/diff/api/get-check-details-from-api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { gql } from "@apollo/client";
22

3-
import {
3+
import type {
44
Get_Check_DetailsQuery,
55
Get_Check_DetailsQueryVariables,
66
} from "@/shared/api/graphql/generated/graphql";

frontend/app/src/entities/diff/api/get-validators-from-api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { gql } from "@apollo/client";
22

3-
import {
3+
import type {
44
Get_Check_DetailsQueryVariables,
55
Get_Core_ValidatorsQuery,
66
} from "@/shared/api/graphql/generated/graphql";

frontend/app/src/entities/diff/api/run-check-from-api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { gql } from "@apollo/client";
22

3-
import {
3+
import type {
44
Run_CheckMutation,
55
Run_CheckMutationVariables,
66
} from "@/shared/api/graphql/generated/graphql";

frontend/app/src/entities/diff/domain/get-check-details.query.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
import { queryOptions, useQuery } from "@tanstack/react-query";
22

33
import { getCheckQueryKeys } from "@/entities/diff/domain/diff.query-keys";
4-
import { GetCheckDetailsParams, getCheckDetails } from "@/entities/diff/domain/get-check-details";
4+
import {
5+
type GetCheckDetailsParams,
6+
getCheckDetails,
7+
} from "@/entities/diff/domain/get-check-details";
58

69
export const useGetCheckDetails = (params: GetCheckDetailsParams) => {
710
return useQuery(

frontend/app/src/entities/diff/domain/get-validators.query.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { queryOptions, useQuery } from "@tanstack/react-query";
22

33
import { proposedChangeValidatorsKeys } from "@/entities/diff/domain/diff.query-keys";
4-
import { GetValidatorsParams, getValidators } from "@/entities/diff/domain/get-validators";
4+
import { type GetValidatorsParams, getValidators } from "@/entities/diff/domain/get-validators";
55

66
export const useGetValidatorsQuery = (params: GetValidatorsParams) => {
77
return useQuery(

frontend/app/src/entities/diff/domain/run-check.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { CheckType } from "@/shared/api/graphql/generated/graphql";
1+
import type { CheckType } from "@/shared/api/graphql/generated/graphql";
22

33
import { runCheckFromApi } from "@/entities/diff/api/run-check-from-api";
44

0 commit comments

Comments
 (0)