From 4df2cb1abfda89292c115e02b7523e79cad3fc1c Mon Sep 17 00:00:00 2001 From: Kenny-Gin1 Date: Fri, 10 Mar 2023 00:56:12 -0500 Subject: [PATCH 1/2] fix: formatting errors for davi/src --- .../ActionsBuilder/DiffView/syntax.css | 166 +++++++++--------- .../SupportedActions/GenericCall/Override.css | 10 +- .../ProposalDescription.styled.tsx | 2 +- .../useGetAllPermissions/query.graphql | 23 ++- .../subgraph/useGetMemberList/query.graphql | 25 ++- .../query.graphql | 19 +- .../subgraph/useGuildConfig/query.graphql | 21 ++- .../useGuildProposalIds/query.graphql | 19 +- .../subgraph/useProposal/query.graphql | 63 ++++--- .../useProposalVotesOfVoter/query.graphql | 31 ++-- .../subgraph/useTotalLocked/query.graphql | 19 +- .../subgraph/useVotingPowerOf/query.graphql | 23 ++- .../useGetAllPermissions/query.graphql | 89 +++++----- .../subgraph/useGetMemberList/query.graphql | 19 +- .../query.graphql | 29 ++- .../subgraph/useGetVotes/query.graphql | 31 ++-- .../subgraph/useGuildConfig/query.graphql | 43 +++-- .../useGuildProposalIds/query.graphql | 15 +- .../subgraph/useProposal/query.graphql | 63 ++++--- .../useProposalVotesOfVoter/query.graphql | 27 ++- 20 files changed, 360 insertions(+), 377 deletions(-) diff --git a/apps/davi/src/components/ActionsBuilder/DiffView/syntax.css b/apps/davi/src/components/ActionsBuilder/DiffView/syntax.css index 4d9a9298..ed9fea39 100644 --- a/apps/davi/src/components/ActionsBuilder/DiffView/syntax.css +++ b/apps/davi/src/components/ActionsBuilder/DiffView/syntax.css @@ -1,83 +1,83 @@ -pre code.hljs { - display: block; - overflow-x: auto; - padding: 1em; -} - -code.hljs { - padding: 3px 5px; -} - -.hljs-comment, -.hljs-meta { - color: #565f89; -} -.hljs-deletion, -.hljs-doctag, -.hljs-regexp, -.hljs-selector-attr, -.hljs-selector-class, -.hljs-selector-id, -.hljs-selector-pseudo, -.hljs-tag, -.hljs-template-tag, -.hljs-variable.language_ { - color: #f7768e; -} -.hljs-link, -.hljs-literal, -.hljs-number, -.hljs-params, -.hljs-template-variable, -.hljs-type, -.hljs-variable { - color: #ff9e64; -} -.hljs-attribute, -.hljs-built_in { - color: #e0af68; -} -.hljs-keyword, -.hljs-property, -.hljs-subst, -.hljs-title, -.hljs-title.class_, -.hljs-title.class_.inherited__, -.hljs-title.function_ { - color: #7dcfff; -} -.hljs-selector-tag { - color: #73daca; -} -.hljs-addition, -.hljs-bullet, -.hljs-quote, -.hljs-string, -.hljs-symbol { - color: #00B0FF; -} -.hljs-code, -.hljs-formula, -.hljs-section { - color: #7aa2f7; -} -.hljs-attr, -.hljs-char.escape_, -.hljs-keyword, -.hljs-name, -.hljs-operator { - color: #69F0AE !important; -} -.hljs-punctuation { - color: #c0caf5; -} -.hljs { - background: #1a1b26; - color: #9aa5ce; -} -.hljs-emphasis { - font-style: italic; -} -.hljs-strong { - font-weight: 700; -} +pre code.hljs { + display: block; + overflow-x: auto; + padding: 1em; +} + +code.hljs { + padding: 3px 5px; +} + +.hljs-comment, +.hljs-meta { + color: #565f89; +} +.hljs-deletion, +.hljs-doctag, +.hljs-regexp, +.hljs-selector-attr, +.hljs-selector-class, +.hljs-selector-id, +.hljs-selector-pseudo, +.hljs-tag, +.hljs-template-tag, +.hljs-variable.language_ { + color: #f7768e; +} +.hljs-link, +.hljs-literal, +.hljs-number, +.hljs-params, +.hljs-template-variable, +.hljs-type, +.hljs-variable { + color: #ff9e64; +} +.hljs-attribute, +.hljs-built_in { + color: #e0af68; +} +.hljs-keyword, +.hljs-property, +.hljs-subst, +.hljs-title, +.hljs-title.class_, +.hljs-title.class_.inherited__, +.hljs-title.function_ { + color: #7dcfff; +} +.hljs-selector-tag { + color: #73daca; +} +.hljs-addition, +.hljs-bullet, +.hljs-quote, +.hljs-string, +.hljs-symbol { + color: #00b0ff; +} +.hljs-code, +.hljs-formula, +.hljs-section { + color: #7aa2f7; +} +.hljs-attr, +.hljs-char.escape_, +.hljs-keyword, +.hljs-name, +.hljs-operator { + color: #69f0ae !important; +} +.hljs-punctuation { + color: #c0caf5; +} +.hljs { + background: #1a1b26; + color: #9aa5ce; +} +.hljs-emphasis { + font-style: italic; +} +.hljs-strong { + font-weight: 700; +} diff --git a/apps/davi/src/components/ActionsBuilder/SupportedActions/GenericCall/Override.css b/apps/davi/src/components/ActionsBuilder/SupportedActions/GenericCall/Override.css index fb4148da..799a83cb 100644 --- a/apps/davi/src/components/ActionsBuilder/SupportedActions/GenericCall/Override.css +++ b/apps/davi/src/components/ActionsBuilder/SupportedActions/GenericCall/Override.css @@ -1,5 +1,5 @@ -.GenericCallMatcher { - display: flex; - gap: 0.5rem; - flex-wrap: wrap; -} \ No newline at end of file +.GenericCallMatcher { + display: flex; + gap: 0.5rem; + flex-wrap: wrap; +} diff --git a/apps/davi/src/components/ProposalDescription/ProposalDescription.styled.tsx b/apps/davi/src/components/ProposalDescription/ProposalDescription.styled.tsx index 64860764..90083ab8 100644 --- a/apps/davi/src/components/ProposalDescription/ProposalDescription.styled.tsx +++ b/apps/davi/src/components/ProposalDescription/ProposalDescription.styled.tsx @@ -13,7 +13,7 @@ export const ProposalDescriptionWrapper = styled.div` color: ${({ theme }) => theme.colors.active}; } a:visited { - color: ${({ theme }) => shade(0.3, theme.colors.active)}; + color: ${({ theme }) => shade(0.3, theme.colors.active)}; } `; diff --git a/apps/davi/src/stores/modules/1_5/fetchers/subgraph/useGetAllPermissions/query.graphql b/apps/davi/src/stores/modules/1_5/fetchers/subgraph/useGetAllPermissions/query.graphql index e138c7b6..3aa59fcd 100644 --- a/apps/davi/src/stores/modules/1_5/fetchers/subgraph/useGetAllPermissions/query.graphql +++ b/apps/davi/src/stores/modules/1_5/fetchers/subgraph/useGetAllPermissions/query.graphql @@ -1,12 +1,11 @@ -query getDaoPermissions($id: String!) { - permissions(where: { from: $id }) { - id - to - valueAllowed - from - fromTime - functionSignature - allowed - } -} - +query getDaoPermissions($id: String!) { + permissions(where: { from: $id }) { + id + to + valueAllowed + from + fromTime + functionSignature + allowed + } +} diff --git a/apps/davi/src/stores/modules/1_5/fetchers/subgraph/useGetMemberList/query.graphql b/apps/davi/src/stores/modules/1_5/fetchers/subgraph/useGetMemberList/query.graphql index 536808d5..d6bcbb41 100644 --- a/apps/davi/src/stores/modules/1_5/fetchers/subgraph/useGetMemberList/query.graphql +++ b/apps/davi/src/stores/modules/1_5/fetchers/subgraph/useGetMemberList/query.graphql @@ -1,13 +1,12 @@ -query getMemberList1_5($id: ID!) { - dao(id: $id) { - reputationToken { - id - members { - id - address - reputationTokenAmount - } - } - } -} - +query getMemberList1_5($id: ID!) { + dao(id: $id) { + reputationToken { + id + members { + id + address + reputationTokenAmount + } + } + } +} diff --git a/apps/davi/src/stores/modules/1_5/fetchers/subgraph/useGetNumberOfActiveProposals/query.graphql b/apps/davi/src/stores/modules/1_5/fetchers/subgraph/useGetNumberOfActiveProposals/query.graphql index 7d4e025e..a31be776 100644 --- a/apps/davi/src/stores/modules/1_5/fetchers/subgraph/useGetNumberOfActiveProposals/query.graphql +++ b/apps/davi/src/stores/modules/1_5/fetchers/subgraph/useGetNumberOfActiveProposals/query.graphql @@ -1,10 +1,9 @@ -query getDaoNumberOfActiveProposals($id: ID!) { - dao(id: $id) { - schemes { - proposals(where: { state: Submitted }) { - id - } - } - } -} - +query getDaoNumberOfActiveProposals($id: ID!) { + dao(id: $id) { + schemes { + proposals(where: { state: Submitted }) { + id + } + } + } +} diff --git a/apps/davi/src/stores/modules/1_5/fetchers/subgraph/useGuildConfig/query.graphql b/apps/davi/src/stores/modules/1_5/fetchers/subgraph/useGuildConfig/query.graphql index 61a94e2e..5b1dc7f7 100644 --- a/apps/davi/src/stores/modules/1_5/fetchers/subgraph/useGuildConfig/query.graphql +++ b/apps/davi/src/stores/modules/1_5/fetchers/subgraph/useGuildConfig/query.graphql @@ -1,11 +1,10 @@ -query getGuildConfig1_5($id: ID!) { - dao(id: $id) { - id - reputationToken { - id - address - name - } - } -} - +query getGuildConfig1_5($id: ID!) { + dao(id: $id) { + id + reputationToken { + id + address + name + } + } +} diff --git a/apps/davi/src/stores/modules/1_5/fetchers/subgraph/useGuildProposalIds/query.graphql b/apps/davi/src/stores/modules/1_5/fetchers/subgraph/useGuildProposalIds/query.graphql index 8360291e..ebead69b 100644 --- a/apps/davi/src/stores/modules/1_5/fetchers/subgraph/useGuildProposalIds/query.graphql +++ b/apps/davi/src/stores/modules/1_5/fetchers/subgraph/useGuildProposalIds/query.graphql @@ -1,10 +1,9 @@ -query getDaoProposalIds($id: ID!) { - dao(id: $id) { - schemes { - proposals { - id - } - } - } -} - +query getDaoProposalIds($id: ID!) { + dao(id: $id) { + schemes { + proposals { + id + } + } + } +} diff --git a/apps/davi/src/stores/modules/1_5/fetchers/subgraph/useProposal/query.graphql b/apps/davi/src/stores/modules/1_5/fetchers/subgraph/useProposal/query.graphql index ed6060c2..eea505fd 100644 --- a/apps/davi/src/stores/modules/1_5/fetchers/subgraph/useProposal/query.graphql +++ b/apps/davi/src/stores/modules/1_5/fetchers/subgraph/useProposal/query.graphql @@ -1,32 +1,31 @@ -query getDaoProposal($id: ID!, $proposalId: ID!) { - dao(id: $id) { - schemes { - proposals(where: { id: $proposalId }) { - boostedPhaseTime - callData - callbacks - currentBoostedVotePeriodLimit - daoBounty - id - paramsHash - descriptionHash - preBoostedPhaseTime - proposer - schemeId - secondsFromTimeOutTillExecuteBoosted - state - submittedTime - title - to - totalOptions - totalStakes - value - votingMachineExecutionState - votingMachineProposalState - winningVote - totalVotes - } - } - } -} - +query getDaoProposal($id: ID!, $proposalId: ID!) { + dao(id: $id) { + schemes { + proposals(where: { id: $proposalId }) { + boostedPhaseTime + callData + callbacks + currentBoostedVotePeriodLimit + daoBounty + id + paramsHash + descriptionHash + preBoostedPhaseTime + proposer + schemeId + secondsFromTimeOutTillExecuteBoosted + state + submittedTime + title + to + totalOptions + totalStakes + value + votingMachineExecutionState + votingMachineProposalState + winningVote + totalVotes + } + } + } +} diff --git a/apps/davi/src/stores/modules/1_5/fetchers/subgraph/useProposalVotesOfVoter/query.graphql b/apps/davi/src/stores/modules/1_5/fetchers/subgraph/useProposalVotesOfVoter/query.graphql index fa373165..876507b7 100644 --- a/apps/davi/src/stores/modules/1_5/fetchers/subgraph/useProposalVotesOfVoter/query.graphql +++ b/apps/davi/src/stores/modules/1_5/fetchers/subgraph/useProposalVotesOfVoter/query.graphql @@ -1,16 +1,15 @@ -query getDaoVotesOfVoter($id: ID!, $proposalId: ID!, $userAddress: String!) { - dao(id: $id) { - schemes { - proposals(where: { id: $proposalId }) { - id - votes(where: { voterAddress: $userAddress }) { - id - option - reputation - voterAddress - } - } - } - } -} - +query getDaoVotesOfVoter($id: ID!, $proposalId: ID!, $userAddress: String!) { + dao(id: $id) { + schemes { + proposals(where: { id: $proposalId }) { + id + votes(where: { voterAddress: $userAddress }) { + id + option + reputation + voterAddress + } + } + } + } +} diff --git a/apps/davi/src/stores/modules/1_5/fetchers/subgraph/useTotalLocked/query.graphql b/apps/davi/src/stores/modules/1_5/fetchers/subgraph/useTotalLocked/query.graphql index 91af6871..bc3a2d92 100644 --- a/apps/davi/src/stores/modules/1_5/fetchers/subgraph/useTotalLocked/query.graphql +++ b/apps/davi/src/stores/modules/1_5/fetchers/subgraph/useTotalLocked/query.graphql @@ -1,10 +1,9 @@ -query getTotalLocked($id: ID!) { - dao(id: $id) { - id - reputationToken { - id - amount - } - } -} - +query getTotalLocked($id: ID!) { + dao(id: $id) { + id + reputationToken { + id + amount + } + } +} diff --git a/apps/davi/src/stores/modules/1_5/fetchers/subgraph/useVotingPowerOf/query.graphql b/apps/davi/src/stores/modules/1_5/fetchers/subgraph/useVotingPowerOf/query.graphql index 879275df..5a05b5a8 100644 --- a/apps/davi/src/stores/modules/1_5/fetchers/subgraph/useVotingPowerOf/query.graphql +++ b/apps/davi/src/stores/modules/1_5/fetchers/subgraph/useVotingPowerOf/query.graphql @@ -1,12 +1,11 @@ -query getVotingPowerOf($id: ID!, $userAddress: String!) { - dao(id: $id) { - id - reputationToken { - id - members(where: { address: $userAddress }) { - reputationTokenAmount - } - } - } -} - +query getVotingPowerOf($id: ID!, $userAddress: String!) { + dao(id: $id) { + id + reputationToken { + id + members(where: { address: $userAddress }) { + reputationTokenAmount + } + } + } +} diff --git a/apps/davi/src/stores/modules/guilds/common/fetchers/subgraph/useGetAllPermissions/query.graphql b/apps/davi/src/stores/modules/guilds/common/fetchers/subgraph/useGetAllPermissions/query.graphql index c2792e09..2c39651a 100644 --- a/apps/davi/src/stores/modules/guilds/common/fetchers/subgraph/useGetAllPermissions/query.graphql +++ b/apps/davi/src/stores/modules/guilds/common/fetchers/subgraph/useGetAllPermissions/query.graphql @@ -1,45 +1,44 @@ -query getAllPermissions($id: ID!) { - guild(id: $id) { - permissions { - id - isToken - to - valueAllowed - from - fromTime - functionSignature - allowed - } - } -} - -query getAllTokenPermissions($id: ID!) { - guild(id: $id) { - permissions(where: { isToken: true }) { - id - isToken - to - valueAllowed - from - fromTime - functionSignature - allowed - } - } -} - -query getAllFunctionCallPermissions($id: ID!) { - guild(id: $id) { - permissions(where: { isToken: false }) { - id - isToken - to - valueAllowed - from - fromTime - functionSignature - allowed - } - } -} - +query getAllPermissions($id: ID!) { + guild(id: $id) { + permissions { + id + isToken + to + valueAllowed + from + fromTime + functionSignature + allowed + } + } +} + +query getAllTokenPermissions($id: ID!) { + guild(id: $id) { + permissions(where: { isToken: true }) { + id + isToken + to + valueAllowed + from + fromTime + functionSignature + allowed + } + } +} + +query getAllFunctionCallPermissions($id: ID!) { + guild(id: $id) { + permissions(where: { isToken: false }) { + id + isToken + to + valueAllowed + from + fromTime + functionSignature + allowed + } + } +} diff --git a/apps/davi/src/stores/modules/guilds/common/fetchers/subgraph/useGetMemberList/query.graphql b/apps/davi/src/stores/modules/guilds/common/fetchers/subgraph/useGetMemberList/query.graphql index beb6c552..2d236c27 100644 --- a/apps/davi/src/stores/modules/guilds/common/fetchers/subgraph/useGetMemberList/query.graphql +++ b/apps/davi/src/stores/modules/guilds/common/fetchers/subgraph/useGetMemberList/query.graphql @@ -1,10 +1,9 @@ -query getMemberList($id: ID!) { - guild(id: $id) { - members(where: { tokensLocked_gt: "0" }) { - id - address - tokensLocked - } - } -} - +query getMemberList($id: ID!) { + guild(id: $id) { + members(where: { tokensLocked_gt: "0" }) { + id + address + tokensLocked + } + } +} diff --git a/apps/davi/src/stores/modules/guilds/common/fetchers/subgraph/useGetNumberOfActiveProposals/query.graphql b/apps/davi/src/stores/modules/guilds/common/fetchers/subgraph/useGetNumberOfActiveProposals/query.graphql index a53825ea..8e34294e 100644 --- a/apps/davi/src/stores/modules/guilds/common/fetchers/subgraph/useGetNumberOfActiveProposals/query.graphql +++ b/apps/davi/src/stores/modules/guilds/common/fetchers/subgraph/useGetNumberOfActiveProposals/query.graphql @@ -1,15 +1,14 @@ -query getNumberOfActiveProposals($id: ID!) { - guild(id: $id) { - id - name - proposals(where: { contractState: 1 }) { - id - } - } - _meta { - block { - number - } - } -} - +query getNumberOfActiveProposals($id: ID!) { + guild(id: $id) { + id + name + proposals(where: { contractState: 1 }) { + id + } + } + _meta { + block { + number + } + } +} diff --git a/apps/davi/src/stores/modules/guilds/common/fetchers/subgraph/useGetVotes/query.graphql b/apps/davi/src/stores/modules/guilds/common/fetchers/subgraph/useGetVotes/query.graphql index df17593c..650109e8 100644 --- a/apps/davi/src/stores/modules/guilds/common/fetchers/subgraph/useGetVotes/query.graphql +++ b/apps/davi/src/stores/modules/guilds/common/fetchers/subgraph/useGetVotes/query.graphql @@ -1,16 +1,15 @@ -query getVotes($id: ID!) { - proposal(id: $id) { - votes { - voter - votingPower - optionLabel - option - } - } - _meta { - block { - number - } - } -} - +query getVotes($id: ID!) { + proposal(id: $id) { + votes { + voter + votingPower + optionLabel + option + } + } + _meta { + block { + number + } + } +} diff --git a/apps/davi/src/stores/modules/guilds/common/fetchers/subgraph/useGuildConfig/query.graphql b/apps/davi/src/stores/modules/guilds/common/fetchers/subgraph/useGuildConfig/query.graphql index 033db3d9..04dec446 100644 --- a/apps/davi/src/stores/modules/guilds/common/fetchers/subgraph/useGuildConfig/query.graphql +++ b/apps/davi/src/stores/modules/guilds/common/fetchers/subgraph/useGuildConfig/query.graphql @@ -1,22 +1,21 @@ -query getGuildConfig($id: ID!) { - guild(id: $id) { - id - name - token { - id - } - permissionRegistry - proposalTime - timeForExecution - maxActiveProposals - votingPowerForProposalCreation - votingPowerPercentageForProposalExecution - votingPowerPercentageForProposalCreation - lockTime - voteGas - maxGasPrice - minimumMembersForProposalCreation - minimumTokensLockedForProposalCreation - } -} - +query getGuildConfig($id: ID!) { + guild(id: $id) { + id + name + token { + id + } + permissionRegistry + proposalTime + timeForExecution + maxActiveProposals + votingPowerForProposalCreation + votingPowerPercentageForProposalExecution + votingPowerPercentageForProposalCreation + lockTime + voteGas + maxGasPrice + minimumMembersForProposalCreation + minimumTokensLockedForProposalCreation + } +} diff --git a/apps/davi/src/stores/modules/guilds/common/fetchers/subgraph/useGuildProposalIds/query.graphql b/apps/davi/src/stores/modules/guilds/common/fetchers/subgraph/useGuildProposalIds/query.graphql index 6e1131e9..93e8244c 100644 --- a/apps/davi/src/stores/modules/guilds/common/fetchers/subgraph/useGuildProposalIds/query.graphql +++ b/apps/davi/src/stores/modules/guilds/common/fetchers/subgraph/useGuildProposalIds/query.graphql @@ -1,8 +1,7 @@ -query getGuildProposalIds($id: ID!) { - guild(id: $id) { - proposals(orderBy: startTime, orderDirection: asc) { - id - } - } -} - +query getGuildProposalIds($id: ID!) { + guild(id: $id) { + proposals(orderBy: startTime, orderDirection: asc) { + id + } + } +} diff --git a/apps/davi/src/stores/modules/guilds/common/fetchers/subgraph/useProposal/query.graphql b/apps/davi/src/stores/modules/guilds/common/fetchers/subgraph/useProposal/query.graphql index d60edff6..73af76de 100644 --- a/apps/davi/src/stores/modules/guilds/common/fetchers/subgraph/useProposal/query.graphql +++ b/apps/davi/src/stores/modules/guilds/common/fetchers/subgraph/useProposal/query.graphql @@ -1,32 +1,31 @@ -query getProposal($id: ID!, $proposalId: ID!) { - guild(id: $id) { - proposals(where: { id: $proposalId }) { - contentHash - contractState - creator - data - description - endTime - executionTransactionHash - id - metadata - startTime - title - to - totalVotes - value - votes { - voter - votingPower - optionLabel - option - } - } - } - _meta { - block { - number - } - } -} - +query getProposal($id: ID!, $proposalId: ID!) { + guild(id: $id) { + proposals(where: { id: $proposalId }) { + contentHash + contractState + creator + data + description + endTime + executionTransactionHash + id + metadata + startTime + title + to + totalVotes + value + votes { + voter + votingPower + optionLabel + option + } + } + } + _meta { + block { + number + } + } +} diff --git a/apps/davi/src/stores/modules/guilds/common/fetchers/subgraph/useProposalVotesOfVoter/query.graphql b/apps/davi/src/stores/modules/guilds/common/fetchers/subgraph/useProposalVotesOfVoter/query.graphql index a7fda4ae..38b0f8d8 100644 --- a/apps/davi/src/stores/modules/guilds/common/fetchers/subgraph/useProposalVotesOfVoter/query.graphql +++ b/apps/davi/src/stores/modules/guilds/common/fetchers/subgraph/useProposalVotesOfVoter/query.graphql @@ -1,14 +1,13 @@ -query getProposalVotesOfVoter($proposalId: ID!, $userAddress: String!) { - proposal(id: $proposalId) { - votes(where: { voter: $userAddress }) { - option - votingPower - } - } - _meta { - block { - number - } - } -} - +query getProposalVotesOfVoter($proposalId: ID!, $userAddress: String!) { + proposal(id: $proposalId) { + votes(where: { voter: $userAddress }) { + option + votingPower + } + } + _meta { + block { + number + } + } +} From 2b464451eb7d21e23d29f5bf56fc5afa24f05c4b Mon Sep 17 00:00:00 2001 From: Kenny-Gin1 Date: Fri, 10 Mar 2023 00:57:36 -0500 Subject: [PATCH 2/2] add:graphql formatting --- apps/davi/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/davi/package.json b/apps/davi/package.json index f72d7415..d812865b 100644 --- a/apps/davi/package.json +++ b/apps/davi/package.json @@ -8,8 +8,8 @@ "build": "./scripts/build.sh", "build-analyze": "pnpm cra-bundle-analyzer", "lint": "eslint src/", - "format": "prettier --write \"src/**/*.{js,jsx,ts,tsx,json,md}\" \"scripts/*.{js,jsx,ts,tsx,json,md}\"", - "format-check": "prettier --check \"src/**/*.{js,jsx,ts,tsx,json,md}\" \"scripts/*.{js,jsx,ts,tsx,json,md}\"", + "format": "prettier --write \"src/**/*.{js,jsx,ts,tsx,json,md,graphql}\" \"scripts/*.{js,jsx,ts,tsx,json,md}\"", + "format-check": "prettier --check \"src/**/*.{js,jsx,ts,tsx,json,md,graphql}\" \"scripts/*.{js,jsx,ts,tsx,json,md}\"", "cy:run": "./scripts/integration.sh", "test:light": "react-app-rewired test --watch --detectOpenHandles", "test:e2e": "ETHERNAL_CONTRACTS=false start-server-and-test 'pnpm dev --no-browser' 3000 cy:run",