From 83d08ddf748b99436b57c41b87d222d877fc1f23 Mon Sep 17 00:00:00 2001 From: Ian Krieger Date: Tue, 18 Jul 2023 15:45:25 -0400 Subject: [PATCH] fix: ignore codegen --- src/graphql/ad-set.generated.tsx | 3 +-- src/graphql/advertiser.generated.tsx | 3 +-- src/graphql/analytics-overview.generated.tsx | 3 +-- src/graphql/campaign.generated.tsx | 3 +-- src/graphql/common.generated.tsx | 3 +-- src/graphql/creative.generated.tsx | 3 +-- src/graphql/types.ts | 11 ++--------- src/graphql/url.generated.tsx | 3 +-- src/graphql/user.generated.tsx | 3 ++- 9 files changed, 11 insertions(+), 24 deletions(-) diff --git a/src/graphql/ad-set.generated.tsx b/src/graphql/ad-set.generated.tsx index c3d64ee9..f555b739 100644 --- a/src/graphql/ad-set.generated.tsx +++ b/src/graphql/ad-set.generated.tsx @@ -1,9 +1,8 @@ import * as Types from "./types"; -import * as Apollo from "@apollo/client"; import { gql } from "@apollo/client"; import { CreativeFragmentDoc } from "./creative.generated"; - +import * as Apollo from "@apollo/client"; const defaultOptions = {} as const; export type AdSetFragment = { __typename?: "AdSet"; diff --git a/src/graphql/advertiser.generated.tsx b/src/graphql/advertiser.generated.tsx index ca1215a3..82cde162 100644 --- a/src/graphql/advertiser.generated.tsx +++ b/src/graphql/advertiser.generated.tsx @@ -1,9 +1,8 @@ import * as Types from "./types"; -import * as Apollo from "@apollo/client"; import { gql } from "@apollo/client"; import { CampaignSummaryFragmentDoc } from "./campaign.generated"; - +import * as Apollo from "@apollo/client"; const defaultOptions = {} as const; export type AdvertiserSummaryFragment = { __typename?: "Advertiser"; diff --git a/src/graphql/analytics-overview.generated.tsx b/src/graphql/analytics-overview.generated.tsx index 741cd541..d686482c 100644 --- a/src/graphql/analytics-overview.generated.tsx +++ b/src/graphql/analytics-overview.generated.tsx @@ -1,8 +1,7 @@ import * as Types from "./types"; -import * as Apollo from "@apollo/client"; import { gql } from "@apollo/client"; - +import * as Apollo from "@apollo/client"; const defaultOptions = {} as const; export type EngagementFragment = { __typename?: "Engagement"; diff --git a/src/graphql/campaign.generated.tsx b/src/graphql/campaign.generated.tsx index bb7443a4..0cf619a8 100644 --- a/src/graphql/campaign.generated.tsx +++ b/src/graphql/campaign.generated.tsx @@ -1,9 +1,8 @@ import * as Types from "./types"; -import * as Apollo from "@apollo/client"; import { gql } from "@apollo/client"; import { AdSetFragmentDoc } from "./ad-set.generated"; - +import * as Apollo from "@apollo/client"; const defaultOptions = {} as const; export type CampaignFragment = { __typename?: "Campaign"; diff --git a/src/graphql/common.generated.tsx b/src/graphql/common.generated.tsx index 129af17d..49be7de1 100644 --- a/src/graphql/common.generated.tsx +++ b/src/graphql/common.generated.tsx @@ -1,8 +1,7 @@ import * as Types from "./types"; -import * as Apollo from "@apollo/client"; import { gql } from "@apollo/client"; - +import * as Apollo from "@apollo/client"; const defaultOptions = {} as const; export type GeocodeFragment = { __typename?: "ActiveGeocodesEntry"; diff --git a/src/graphql/creative.generated.tsx b/src/graphql/creative.generated.tsx index 2b2975b6..8a4a8126 100644 --- a/src/graphql/creative.generated.tsx +++ b/src/graphql/creative.generated.tsx @@ -1,8 +1,7 @@ import * as Types from "./types"; -import * as Apollo from "@apollo/client"; import { gql } from "@apollo/client"; - +import * as Apollo from "@apollo/client"; const defaultOptions = {} as const; export type CreativeFragment = { __typename?: "Creative"; diff --git a/src/graphql/types.ts b/src/graphql/types.ts index bea17794..7edde713 100644 --- a/src/graphql/types.ts +++ b/src/graphql/types.ts @@ -107,9 +107,8 @@ export type CreateAdInput = { creativeSetId?: InputMaybe; id?: InputMaybe; /** The price in the owning campaign's currency for each single confirmation of the priceType specified. Note therefore that the caller is responsible for dividing cost-per-mille by 1000. */ - price?: InputMaybe; - priceType?: InputMaybe; - prices?: InputMaybe>; + price: Scalars["Numeric"]; + priceType: ConfirmationType; state?: InputMaybe; webhooks?: InputMaybe>; }; @@ -376,7 +375,6 @@ export type UpdateAdInput = { creativeId?: InputMaybe; creativeSetId?: InputMaybe; id?: InputMaybe; - prices?: InputMaybe>; state?: InputMaybe; webhooks?: InputMaybe>; }; @@ -531,11 +529,6 @@ export type WallpaperInput = { imageUrl: Scalars["String"]; }; -export type CreatePriceInput = { - amount: Scalars["Float"]; - type: Scalars["String"]; -}; - export type CreateWebhookInput = { type: Scalars["String"]; url: Scalars["String"]; diff --git a/src/graphql/url.generated.tsx b/src/graphql/url.generated.tsx index 5aea178d..52c4f0db 100644 --- a/src/graphql/url.generated.tsx +++ b/src/graphql/url.generated.tsx @@ -1,8 +1,7 @@ import * as Types from "./types"; -import * as Apollo from "@apollo/client"; import { gql } from "@apollo/client"; - +import * as Apollo from "@apollo/client"; const defaultOptions = {} as const; export type ValidateTargetUrlQueryVariables = Types.Exact<{ url: Types.Scalars["String"]; diff --git a/src/graphql/user.generated.tsx b/src/graphql/user.generated.tsx index ad6a2070..8126dd3a 100644 --- a/src/graphql/user.generated.tsx +++ b/src/graphql/user.generated.tsx @@ -1,5 +1,6 @@ -import { gql } from "@apollo/client"; +import * as Types from "./types"; +import { gql } from "@apollo/client"; export type UserFragment = { __typename?: "User"; email: string;