Skip to content

Commit

Permalink
chore(deps): update dependency @graphql-codegen/cli to v5.0.3 (#10716)
Browse files Browse the repository at this point in the history
* chore(deps): update dependency @graphql-codegen/cli to v5.0.3

* Generate graphql types in another config

* Import from graphql schema codegen

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Henrique <[email protected]>
  • Loading branch information
renovate[bot] and hdiniz authored Dec 12, 2024
1 parent d779c54 commit c6c358f
Show file tree
Hide file tree
Showing 232 changed files with 15,254 additions and 12,013 deletions.
3 changes: 2 additions & 1 deletion components/AccountHoverCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ import { FormattedDate, FormattedMessage } from 'react-intl';

import { isIndividualAccount } from '../lib/collective';
import { API_V2_CONTEXT, gql } from '../lib/graphql/helpers';
import type { Account, AccountWithHost, UserContextualMembershipsQuery } from '../lib/graphql/types/v2/graphql';
import type { UserContextualMembershipsQuery } from '../lib/graphql/types/v2/graphql';
import type { Account, AccountWithHost } from '../lib/graphql/types/v2/schema';
import { getCollectivePageRoute } from '../lib/url-helpers';

import PrivateInfoIcon from './icons/PrivateInfoIcon';
Expand Down
4 changes: 2 additions & 2 deletions components/AccountingCategorySelect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import { Check, ChevronDown, Sparkles } from 'lucide-react';
import type { IntlShape } from 'react-intl';
import { defineMessages, FormattedMessage, useIntl } from 'react-intl';

import type { Account, AccountingCategory, Expense, ExpenseType, Host } from '../lib/graphql/types/v2/graphql';
import { AccountingCategoryAppliesTo, AccountingCategoryKind } from '../lib/graphql/types/v2/graphql';
import type { Account, AccountingCategory, Expense, ExpenseType, Host } from '../lib/graphql/types/v2/schema';
import { AccountingCategoryAppliesTo, AccountingCategoryKind } from '../lib/graphql/types/v2/schema';
import { useAsyncCall } from '../lib/hooks/useAsyncCall';
import useLoggedInUser from '../lib/hooks/useLoggedInUser';
import { fetchExpenseCategoryPredictions } from '../lib/ml-service';
Expand Down
2 changes: 1 addition & 1 deletion components/AvatarWithLink.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import styled from 'styled-components';

import type { Account } from '../lib/graphql/types/v2/graphql';
import type { Account } from '../lib/graphql/types/v2/schema';
import { getAvatarBorderRadius } from '../lib/image-utils';

import Avatar from './Avatar';
Expand Down
2 changes: 1 addition & 1 deletion components/CreateVirtualCardBtn.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { Fragment } from 'react';
import { FormattedMessage } from 'react-intl';

import type { Account } from '../lib/graphql/types/v2/graphql';
import type { Account } from '../lib/graphql/types/v2/schema';

import EditVirtualCardModal from './edit-collective/EditVirtualCardModal';
import { useToast } from './ui/useToast';
Expand Down
2 changes: 1 addition & 1 deletion components/Currency.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { useIntl } from 'react-intl';

import { ZERO_DECIMAL_CURRENCIES } from '../lib/constants/currency';
import { formatCurrency, getCurrencySymbol } from '../lib/currency-utils';
import type { Currency as CurrencyEnum } from '../lib/graphql/types/v2/graphql';
import type { Currency as CurrencyEnum } from '../lib/graphql/types/v2/schema';
import { cn } from '../lib/utils';

type CurrencyProps = {
Expand Down
8 changes: 2 additions & 6 deletions components/EditOrderModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,8 @@ import { formatCurrency } from '../lib/currency-utils';
import { getIntervalFromContributionFrequency } from '../lib/date-utils';
import { getErrorFromGraphqlException, i18nGraphqlException } from '../lib/errors';
import { API_V2_CONTEXT, gql } from '../lib/graphql/helpers';
import type {
AccountReferenceInput,
EditPaymentMethodModalQuery,
PaymentMethod,
SetupIntentInput,
} from '../lib/graphql/types/v2/graphql';
import type { EditPaymentMethodModalQuery } from '../lib/graphql/types/v2/graphql';
import type { AccountReferenceInput, PaymentMethod, SetupIntentInput } from '../lib/graphql/types/v2/schema';
import { DEFAULT_MINIMUM_AMOUNT } from '../lib/tier-utils';

import AddFundsModal from './dashboard/sections/collectives/AddFundsModal';
Expand Down
2 changes: 1 addition & 1 deletion components/EditTags.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { Search, Tags, TagsIcon } from 'lucide-react';
import { FormattedMessage, useIntl } from 'react-intl';

import { API_V2_CONTEXT } from '../lib/graphql/helpers';
import type { AccountReferenceInput, InputMaybe, Scalars } from '../lib/graphql/types/v2/graphql';
import type { AccountReferenceInput, InputMaybe, Scalars } from '../lib/graphql/types/v2/schema';
import useDebouncedSearch from '../lib/hooks/useDebouncedSearch';

import { Button } from './ui/Button';
Expand Down
2 changes: 1 addition & 1 deletion components/EditTagsModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { FormattedMessage } from 'react-intl';

import { IGNORED_TAGS } from '../lib/constants/collectives';
import { API_V2_CONTEXT, gql } from '../lib/graphql/helpers';
import type { Collective } from '../lib/graphql/types/v2/graphql';
import type { Collective } from '../lib/graphql/types/v2/schema';
import { editTagsMutation } from '../lib/graphql/v1/mutations';

import { toast } from './ui/useToast';
Expand Down
2 changes: 1 addition & 1 deletion components/ExchangeRate.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { round } from 'lodash';
import { InfoIcon } from 'lucide-react';
import { useIntl } from 'react-intl';

import type { CurrencyExchangeRate, CurrencyExchangeRateInput } from '../lib/graphql/types/v2/graphql';
import type { CurrencyExchangeRate, CurrencyExchangeRateInput } from '../lib/graphql/types/v2/schema';
import { cn } from '../lib/utils';

import { Input } from './ui/Input';
Expand Down
2 changes: 1 addition & 1 deletion components/ExportTransactionsCSVModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import {
HOST_OMITTED_FIELDS,
LEGACY_FIELD_OPTIONS as FIELD_OPTIONS,
} from '../lib/export-csv/transactions-csv';
import type { Account } from '../lib/graphql/types/v2/graphql';
import type { Account } from '../lib/graphql/types/v2/schema';
import { useAsyncCall } from '../lib/hooks/useAsyncCall';
import { getFromLocalStorage, LOCAL_STORAGE_KEYS } from '../lib/local-storage';
import { parseToBoolean } from '../lib/utils';
Expand Down
4 changes: 2 additions & 2 deletions components/FollowButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import { FormattedMessage, useIntl } from 'react-intl';
import { CollectiveType } from '../lib/constants/collectives';
import { i18nGraphqlException } from '../lib/errors';
import { API_V2_CONTEXT } from '../lib/graphql/helpers';
import type { Account } from '../lib/graphql/types/v2/graphql';
import { MemberRole } from '../lib/graphql/types/v2/graphql';
import type { Account } from '../lib/graphql/types/v2/schema';
import { MemberRole } from '../lib/graphql/types/v2/schema';
import useLoggedInUser from '../lib/hooks/useLoggedInUser';
import { cn } from '../lib/utils';

Expand Down
2 changes: 1 addition & 1 deletion components/FormattedMoneyAmount.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { FormattedMessage } from 'react-intl';
import { CurrencyPrecision } from '../lib/constants/currency-precision';
import INTERVALS from '../lib/constants/intervals';
import { getIntervalFromContributionFrequency } from '../lib/date-utils';
import type { Currency as GraphQLCurrency, TierFrequency } from '../lib/graphql/types/v2/graphql';
import type { Currency as GraphQLCurrency, TierFrequency } from '../lib/graphql/types/v2/schema';
import { cn } from '../lib/utils';

import Currency from './Currency';
Expand Down
2 changes: 1 addition & 1 deletion components/GiftCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Clock } from 'lucide-react';
import { FormattedDate, FormattedMessage } from 'react-intl';

import type { GraphQLV1Collective } from '../lib/custom_typings/GraphQLV1Collective';
import type { Currency as GraphQLCurrency } from '../lib/graphql/types/v2/graphql';
import type { Currency as GraphQLCurrency } from '../lib/graphql/types/v2/schema';

import CollectiveCard from './gift-cards/CollectiveCard';
import Currency from './Currency';
Expand Down
2 changes: 1 addition & 1 deletion components/InputTypeCountry.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import memoizeOne from 'memoize-one';
import { FormattedMessage, injectIntl } from 'react-intl';

import fetchGeoLocation from '../lib/geolocation_api';
import { CountryIso } from '../lib/graphql/types/v2/graphql';
import { CountryIso } from '../lib/graphql/types/v2/schema';
import { getIntlDisplayNames } from '../lib/i18n';

import { Flex } from './Grid';
Expand Down
7 changes: 2 additions & 5 deletions components/OCFBanner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,8 @@ import { FormattedMessage } from 'react-intl';

import { checkIfOCF } from '../lib/collective';
import { API_V2_CONTEXT } from '../lib/graphql/helpers';
import type {
Account,
OcfTransitionBannerQuery,
OcfTransitionBannerQueryVariables,
} from '../lib/graphql/types/v2/graphql';
import type { OcfTransitionBannerQuery, OcfTransitionBannerQueryVariables } from '../lib/graphql/types/v2/graphql';
import type { Account } from '../lib/graphql/types/v2/schema';
import useLoggedInUser from '../lib/hooks/useLoggedInUser';
import { getCollectivePageRoute, getDashboardRoute } from '../lib/url-helpers';
import { cn } from '../lib/utils';
Expand Down
4 changes: 2 additions & 2 deletions components/PaymentMethodLabel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import SiWise from '@icons-pack/react-simple-icons/icons/SiWise';
import clsx from 'clsx';
import { useIntl } from 'react-intl';

import type { PaymentMethodType } from '../lib/graphql/types/v2/graphql';
import { PaymentMethodService } from '../lib/graphql/types/v2/graphql';
import type { PaymentMethodType } from '../lib/graphql/types/v2/schema';
import { PaymentMethodService } from '../lib/graphql/types/v2/schema';
import { i18nPaymentMethodService } from '../lib/i18n/payment-method-service';
import { i18nPaymentMethodType } from '../lib/i18n/payment-method-type';

Expand Down
4 changes: 2 additions & 2 deletions components/PayoutMethodIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import { Paypal } from '@styled-icons/fa-brands/Paypal';
import { MoneyCheck } from '@styled-icons/fa-solid/MoneyCheck';
import { Landmark } from 'lucide-react';

import type { PayoutMethod } from '../lib/graphql/types/v2/graphql';
import { PayoutMethodType } from '../lib/graphql/types/v2/graphql';
import type { PayoutMethod } from '../lib/graphql/types/v2/schema';
import { PayoutMethodType } from '../lib/graphql/types/v2/schema';

import Image from './Image';

Expand Down
4 changes: 2 additions & 2 deletions components/PayoutMethodLabel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import React from 'react';
import { truncate } from 'lodash';
import { defineMessages, FormattedMessage } from 'react-intl';

import type { PayoutMethod } from '../lib/graphql/types/v2/graphql';
import { PayoutMethodType } from '../lib/graphql/types/v2/graphql';
import type { PayoutMethod } from '../lib/graphql/types/v2/schema';
import { PayoutMethodType } from '../lib/graphql/types/v2/schema';

import { PayoutMethodIcon } from './PayoutMethodIcon';

Expand Down
2 changes: 1 addition & 1 deletion components/StackedAvatars.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';

import type { Account } from '../lib/graphql/types/v2/graphql';
import type { Account } from '../lib/graphql/types/v2/schema';

import Avatar from './Avatar';
import LinkCollective from './LinkCollective';
Expand Down
2 changes: 1 addition & 1 deletion components/StyledAmountPicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { css } from '@styled-system/css';
import { FormattedMessage } from 'react-intl';
import styled from 'styled-components';

import type { Currency as CurrencyEnum } from '../lib/graphql/types/v2/graphql';
import type { Currency as CurrencyEnum } from '../lib/graphql/types/v2/schema';

import Currency from './Currency';
import { Flex } from './Grid';
Expand Down
2 changes: 1 addition & 1 deletion components/StyledDropzone.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { FormattedMessage, useIntl } from 'react-intl';
import styled, { css } from 'styled-components';
import { v4 as uuid } from 'uuid';

import type { OcrParsingOptionsInput, UploadedFileKind, UploadFileResult } from '../lib/graphql/types/v2/graphql';
import type { OcrParsingOptionsInput, UploadedFileKind, UploadFileResult } from '../lib/graphql/types/v2/schema';
import { useGraphQLFileUploader } from '../lib/hooks/useGraphQLFileUploader';
import { useImageUploader } from '../lib/hooks/useImageUploader';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { FormattedMessage } from 'react-intl';
import styled from 'styled-components';

import { confettiFireworks } from '../../lib/confettis';
import type { Account, Host } from '../../lib/graphql/types/v2/graphql';
import type { Account, Host } from '../../lib/graphql/types/v2/schema';

import ApplyToHostModal from '../ApplyToHostModal';
import { Box, Flex } from '../Grid';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react';
import { FormattedMessage } from 'react-intl';
import styled from 'styled-components';

import type { Account, Host } from '../../lib/graphql/types/v2/graphql';
import type { Account, Host } from '../../lib/graphql/types/v2/schema';

import { Flex, Grid } from '../Grid';
import StyledCard from '../StyledCard';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { take } from 'lodash';
import { FormattedMessage } from 'react-intl';

import { API_V2_CONTEXT, gql } from '../../lib/graphql/helpers';
import type { Account, Host } from '../../lib/graphql/types/v2/graphql';
import type { Account, Host } from '../../lib/graphql/types/v2/schema';

import { Box, Flex } from '../Grid';
import Loading from '../Loading';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react';
import { FormattedMessage } from 'react-intl';
import styled from 'styled-components';

import type { Account, Host } from '../../lib/graphql/types/v2/graphql';
import type { Account, Host } from '../../lib/graphql/types/v2/schema';

import { Box, Flex, Grid } from '../Grid';
import { P } from '../Text';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { defineMessages, FormattedMessage, useIntl } from 'react-intl';
import styled from 'styled-components';

import { Currency } from '../../lib/constants/currency';
import type { Collective } from '../../lib/graphql/types/v2/graphql';
import type { Collective } from '../../lib/graphql/types/v2/schema';
import useDebounced from '../../lib/hooks/useDebounced';

import Container from '../Container';
Expand Down
2 changes: 1 addition & 1 deletion components/agreements/Agreement.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import { FormattedMessage } from 'react-intl';

import type { Agreement as GraphQLAgreement } from '../../lib/graphql/types/v2/graphql';
import type { Agreement as GraphQLAgreement } from '../../lib/graphql/types/v2/schema';

import AttachedFiles from '../attached-files/AttachedFiles';
import Avatar from '../Avatar';
Expand Down
2 changes: 1 addition & 1 deletion components/agreements/AgreementDrawer.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';

import type { Agreement as GraphQLAgreement } from '../../lib/graphql/types/v2/graphql';
import type { Agreement as GraphQLAgreement } from '../../lib/graphql/types/v2/schema';

import { Drawer } from '../Drawer';
import FilesViewerModal from '../FilesViewerModal';
Expand Down
2 changes: 1 addition & 1 deletion components/agreements/AgreementForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { stripTime } from '../../lib/date-utils';
import { i18nGraphqlException } from '../../lib/errors';
import { requireFields } from '../../lib/form-utils';
import { API_V2_CONTEXT, gql } from '../../lib/graphql/helpers';
import type { Account, Agreement } from '../../lib/graphql/types/v2/graphql';
import type { Account, Agreement } from '../../lib/graphql/types/v2/schema';

import AttachedFilesForm from '../attached-files/AttachedFilesForm';
import CollectivePickerAsync from '../CollectivePickerAsync';
Expand Down
2 changes: 1 addition & 1 deletion components/agreements/AgreementsTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react';
import type { ColumnDef, TableMeta } from '@tanstack/react-table';
import { FormattedMessage } from 'react-intl';

import type { Agreement } from '../../lib/graphql/types/v2/graphql';
import type { Agreement } from '../../lib/graphql/types/v2/schema';

import { AccountHoverCard } from '../AccountHoverCard';
import Avatar from '../Avatar';
Expand Down
2 changes: 1 addition & 1 deletion components/attached-files/AttachedFiles.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react';
import { FormattedMessage, useIntl } from 'react-intl';

import { getDefaultFileName } from '../../lib/expenses';
import type { FileInfo } from '../../lib/graphql/types/v2/graphql';
import type { FileInfo } from '../../lib/graphql/types/v2/schema';

import { Box, Flex } from '../Grid';
import LocalFilePreview from '../LocalFilePreview';
Expand Down
2 changes: 1 addition & 1 deletion components/budget/ExpenseBudgetItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { space } from 'styled-system';

import expenseTypes from '../../lib/constants/expenseTypes';
import { getFilesFromExpense } from '../../lib/expenses';
import { ExpenseStatus } from '../../lib/graphql/types/v2/graphql';
import { ExpenseStatus } from '../../lib/graphql/types/v2/schema';
import useLoggedInUser from '../../lib/hooks/useLoggedInUser';
import { PREVIEW_FEATURE_KEYS } from '../../lib/preview-features';
import { AmountPropTypeShape } from '../../lib/prop-types';
Expand Down
2 changes: 1 addition & 1 deletion components/budget/filters/AmountFilter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import type { IntlShape } from 'react-intl';
import { defineMessages, useIntl } from 'react-intl';

import { formatCurrency } from '../../../lib/currency-utils';
import type { Currency } from '../../../lib/graphql/types/v2/graphql';
import type { Currency } from '../../../lib/graphql/types/v2/schema';

import { StyledSelectFilter } from '../../StyledSelectFilter';

Expand Down
2 changes: 1 addition & 1 deletion components/collective-page/hero/HeroSocialLinks.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';

import type { SocialLink } from '../../../lib/graphql/types/v2/graphql';
import type { SocialLink } from '../../../lib/graphql/types/v2/schema';
import { iconForSocialLinkType } from '../../../lib/social-links';

import StyledLink from '../../StyledLink';
Expand Down
2 changes: 1 addition & 1 deletion components/collective-page/sections/Updates.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { FormattedMessage } from 'react-intl';
import styled from 'styled-components';

import { API_V2_CONTEXT, gql } from '../../../lib/graphql/helpers';
import type { Account, Update } from '../../../lib/graphql/types/v2/graphql';
import type { Account, Update } from '../../../lib/graphql/types/v2/schema';
import { getCollectivePageRoute, getDashboardRoute } from '../../../lib/url-helpers';
import { formatDate } from '../../../lib/utils';

Expand Down
4 changes: 2 additions & 2 deletions components/contribution-flow/PaymentMethodList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import styled, { css } from 'styled-components';

import { getGQLV2FrequencyFromInterval } from '../../lib/constants/intervals';
import { API_V2_CONTEXT, gql } from '../../lib/graphql/helpers';
import type { Account, CaptchaInput, Host, Individual } from '../../lib/graphql/types/v2/graphql';
import { PaymentMethodLegacyType } from '../../lib/graphql/types/v2/graphql';
import type { Account, CaptchaInput, Host, Individual } from '../../lib/graphql/types/v2/schema';
import { PaymentMethodLegacyType } from '../../lib/graphql/types/v2/schema';
import useLoggedInUser from '../../lib/hooks/useLoggedInUser';
import { getStripe } from '../../lib/stripe';
import usePaymentIntent from '../../lib/stripe/usePaymentIntent';
Expand Down
2 changes: 1 addition & 1 deletion components/contribution-flow/PlatformTipContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import clsx from 'clsx';
import { defineMessages, FormattedMessage, useIntl } from 'react-intl';

import { formatCurrency } from '../../lib/currency-utils';
import type { Currency } from '../../lib/graphql/types/v2/graphql';
import type { Currency } from '../../lib/graphql/types/v2/schema';
import theme from '../../lib/theme';

import { Box, Flex } from '../Grid';
Expand Down
2 changes: 1 addition & 1 deletion components/contribution-flow/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {
} from '../../lib/constants/payment-methods';
import roles from '../../lib/constants/roles';
import { TierTypes } from '../../lib/constants/tiers-types';
import { PaymentMethodService, PaymentMethodType } from '../../lib/graphql/types/v2/graphql';
import { PaymentMethodService, PaymentMethodType } from '../../lib/graphql/types/v2/schema';
import { getPaymentMethodName } from '../../lib/payment_method_label';
import {
getPaymentMethodIcon,
Expand Down
2 changes: 1 addition & 1 deletion components/contributions/ConfirmContributionForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { FormattedMessage, useIntl } from 'react-intl';
import { getCurrentLocalDateStr } from '../../lib/date-utils';
import { i18nGraphqlException } from '../../lib/errors';
import { API_V2_CONTEXT } from '../../lib/graphql/helpers';
import type { TaxInput } from '../../lib/graphql/types/v2/graphql';
import type { TaxInput } from '../../lib/graphql/types/v2/schema';
import { i18nTaxType } from '../../lib/i18n/taxes';

import Container from '../Container';
Expand Down
2 changes: 1 addition & 1 deletion components/contributions/ContributionDrawer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { defineMessages, FormattedMessage, useIntl } from 'react-intl';
import type { GetActions } from '../../lib/actions/types';
import { API_V2_CONTEXT } from '../../lib/graphql/helpers';
import type { ContributionDrawerQuery, ContributionDrawerQueryVariables } from '../../lib/graphql/types/v2/graphql';
import { ContributionFrequency, OrderStatus } from '../../lib/graphql/types/v2/graphql';
import { ContributionFrequency, OrderStatus } from '../../lib/graphql/types/v2/schema';
import useClipboard from '../../lib/hooks/useClipboard';
import useLoggedInUser from '../../lib/hooks/useLoggedInUser';
import { i18nPaymentMethodProviderType } from '../../lib/i18n/payment-method-provider-type';
Expand Down
2 changes: 1 addition & 1 deletion components/contributions/ContributionTimeline.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import {
import { FormattedMessage, useIntl } from 'react-intl';

import type { ContributionDrawerQuery } from '../../lib/graphql/types/v2/graphql';
import { ActivityType, ContributionFrequency, OrderStatus, TransactionKind } from '../../lib/graphql/types/v2/graphql';
import { ActivityType, ContributionFrequency, OrderStatus, TransactionKind } from '../../lib/graphql/types/v2/schema';
import useLoggedInUser from '../../lib/hooks/useLoggedInUser';
import type LoggedInUser from '../../lib/LoggedInUser';
import { getDashboardRoute } from '../../lib/url-helpers';
Expand Down
2 changes: 1 addition & 1 deletion components/conversations/Comment.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import PropTypes from 'prop-types';

import { CommentType } from '../../lib/graphql/types/v2/graphql';
import { CommentType } from '../../lib/graphql/types/v2/schema';

import Container from '../Container';
import { Box, Flex } from '../Grid';
Expand Down
Loading

0 comments on commit c6c358f

Please sign in to comment.