From dee0530dc00fedf34cb4e84418633bee4b30d174 Mon Sep 17 00:00:00 2001 From: Max Date: Fri, 13 Nov 2020 16:58:58 +0100 Subject: [PATCH] Fix broken generated code --- src/generated/graphql.ts | 222 ++++----------------------------------- 1 file changed, 23 insertions(+), 199 deletions(-) diff --git a/src/generated/graphql.ts b/src/generated/graphql.ts index 4ed9f3c..15bd29f 100644 --- a/src/generated/graphql.ts +++ b/src/generated/graphql.ts @@ -1677,45 +1677,7 @@ export type GetCargoBikeByIdQuery = ( { __typename?: 'Query' } & { cargoBikeById?: Maybe<( { __typename?: 'CargoBike' } - & Pick - & { insuranceData: ( - { __typename?: 'InsuranceData' } - & Pick - ), dimensionsAndLoad: ( - { __typename?: 'DimensionsAndLoad' } - & Pick - ), security: ( - { __typename?: 'Security' } - & Pick - ), technicalEquipment?: Maybe<( - { __typename?: 'TechnicalEquipment' } - & Pick - )>, taxes?: Maybe<( - { __typename?: 'Taxes' } - & Pick - )>, provider?: Maybe<( - { __typename?: 'Provider' } - & Pick - & { privatePerson?: Maybe<( - { __typename?: 'ContactInformation' } - & Pick - & { person: ( - { __typename?: 'Person' } - & Pick - & { contactInformation?: Maybe - )>>> } - ) } - )> } - )>, lendingStation?: Maybe<( - { __typename?: 'LendingStation' } - & Pick - & { address: ( - { __typename?: 'Address' } - & Pick - ) } - )> } + & CargoBikeFieldsFragment )> } ); @@ -1728,45 +1690,7 @@ export type UpdateCargoBikeMutation = ( { __typename?: 'Mutation' } & { updateCargoBike: ( { __typename?: 'CargoBike' } - & Pick - & { insuranceData: ( - { __typename?: 'InsuranceData' } - & Pick - ), dimensionsAndLoad: ( - { __typename?: 'DimensionsAndLoad' } - & Pick - ), security: ( - { __typename?: 'Security' } - & Pick - ), technicalEquipment?: Maybe<( - { __typename?: 'TechnicalEquipment' } - & Pick - )>, taxes?: Maybe<( - { __typename?: 'Taxes' } - & Pick - )>, provider?: Maybe<( - { __typename?: 'Provider' } - & Pick - & { privatePerson?: Maybe<( - { __typename?: 'ContactInformation' } - & Pick - & { person: ( - { __typename?: 'Person' } - & Pick - & { contactInformation?: Maybe - )>>> } - ) } - )> } - )>, lendingStation?: Maybe<( - { __typename?: 'LendingStation' } - & Pick - & { address: ( - { __typename?: 'Address' } - & Pick - ) } - )> } + & CargoBikeFieldsFragment ) } ); @@ -1779,45 +1703,7 @@ export type LockCargoBikeMutation = ( { __typename?: 'Mutation' } & { lockCargoBike: ( { __typename?: 'CargoBike' } - & Pick - & { insuranceData: ( - { __typename?: 'InsuranceData' } - & Pick - ), dimensionsAndLoad: ( - { __typename?: 'DimensionsAndLoad' } - & Pick - ), security: ( - { __typename?: 'Security' } - & Pick - ), technicalEquipment?: Maybe<( - { __typename?: 'TechnicalEquipment' } - & Pick - )>, taxes?: Maybe<( - { __typename?: 'Taxes' } - & Pick - )>, provider?: Maybe<( - { __typename?: 'Provider' } - & Pick - & { privatePerson?: Maybe<( - { __typename?: 'ContactInformation' } - & Pick - & { person: ( - { __typename?: 'Person' } - & Pick - & { contactInformation?: Maybe - )>>> } - ) } - )> } - )>, lendingStation?: Maybe<( - { __typename?: 'LendingStation' } - & Pick - & { address: ( - { __typename?: 'Address' } - & Pick - ) } - )> } + & CargoBikeFieldsFragment ) } ); @@ -1830,45 +1716,7 @@ export type UnlockCargoBikeMutation = ( { __typename?: 'Mutation' } & { unlockCargoBike: ( { __typename?: 'CargoBike' } - & Pick - & { insuranceData: ( - { __typename?: 'InsuranceData' } - & Pick - ), dimensionsAndLoad: ( - { __typename?: 'DimensionsAndLoad' } - & Pick - ), security: ( - { __typename?: 'Security' } - & Pick - ), technicalEquipment?: Maybe<( - { __typename?: 'TechnicalEquipment' } - & Pick - )>, taxes?: Maybe<( - { __typename?: 'Taxes' } - & Pick - )>, provider?: Maybe<( - { __typename?: 'Provider' } - & Pick - & { privatePerson?: Maybe<( - { __typename?: 'ContactInformation' } - & Pick - & { person: ( - { __typename?: 'Person' } - & Pick - & { contactInformation?: Maybe - )>>> } - ) } - )> } - )>, lendingStation?: Maybe<( - { __typename?: 'LendingStation' } - & Pick - & { address: ( - { __typename?: 'Address' } - & Pick - ) } - )> } + & CargoBikeFieldsFragment ) } ); @@ -1879,48 +1727,6 @@ export type GetCargoBikesQuery = ( { __typename?: 'Query' } & { cargoBikes: Array - & { insuranceData: ( - { __typename?: 'InsuranceData' } - & Pick - ), dimensionsAndLoad: ( - { __typename?: 'DimensionsAndLoad' } - & Pick - ), security: ( - { __typename?: 'Security' } - & Pick - ), technicalEquipment?: Maybe<( - { __typename?: 'TechnicalEquipment' } - & Pick - )>, taxes?: Maybe<( - { __typename?: 'Taxes' } - & Pick - )>, provider?: Maybe<( - { __typename?: 'Provider' } - & Pick - & { privatePerson?: Maybe<( - { __typename?: 'ContactInformation' } - & Pick - & { person: ( - { __typename?: 'Person' } - & Pick - & { contactInformation?: Maybe - )>>> } - ) } - )> } - )>, lendingStation?: Maybe<( - { __typename?: 'LendingStation' } - & Pick - & { address: ( - { __typename?: 'Address' } - & Pick - ) } - )> } - )>> } -======= & CargoBikeFieldsFragment )>> } ); @@ -1995,7 +1801,6 @@ export type ProviderFieldsGeneralFragment = ( )>>> } ) } )> } ->>>>>>> master ); export const BikeEventFieldsFragmentDoc = gql` @@ -2022,10 +1827,29 @@ export const CargoBikeFieldsMutableFragmentDoc = gql` insuranceData { billing hasFixedRate + name + benefactor + noPnP + maintenanceResponsible + maintenanceBenefactor + maintenanceAgreement + fixedRate + projectAllowance + notes } dimensionsAndLoad { bikeLength bikeWeight + bikeHeight + bikeWidth + boxHeight + boxLength + boxWidth + hasCoverBox + lockable + maxWeightBox + maxWeightLuggageRack + maxWeightTotal } numberOfChildren numberOfWheels