Skip to content

Commit

Permalink
feat: add common properties
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgemasta committed Oct 20, 2021
1 parent bf5d802 commit 8d3d3e6
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 7 deletions.
2 changes: 2 additions & 0 deletions src/api/fragments/product.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ export const productInfoFragment = /* GraphQL */ `
__typename
entityId
displayName
isVariantOption
isRequired
...multipleChoiceOption
...checkboxOption
}
Expand Down
35 changes: 28 additions & 7 deletions src/schema.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2781,33 +2781,54 @@ export type ProductInfoFragment = { __typename?: 'Product' } & Pick<
node:
| ({ __typename: 'CheckboxOption' } & Pick<
CheckboxOption,
'entityId' | 'displayName'
| 'entityId'
| 'displayName'
| 'isVariantOption'
| 'isRequired'
> &
CheckboxOptionFragment)
| ({ __typename: 'DateFieldOption' } & Pick<
DateFieldOption,
'entityId' | 'displayName'
| 'entityId'
| 'displayName'
| 'isVariantOption'
| 'isRequired'
>)
| ({ __typename: 'FileUploadFieldOption' } & Pick<
FileUploadFieldOption,
'entityId' | 'displayName'
| 'entityId'
| 'displayName'
| 'isVariantOption'
| 'isRequired'
>)
| ({ __typename: 'MultiLineTextFieldOption' } & Pick<
MultiLineTextFieldOption,
'entityId' | 'displayName'
| 'entityId'
| 'displayName'
| 'isVariantOption'
| 'isRequired'
>)
| ({ __typename: 'MultipleChoiceOption' } & Pick<
MultipleChoiceOption,
'entityId' | 'displayName'
| 'entityId'
| 'displayName'
| 'isVariantOption'
| 'isRequired'
> &
MultipleChoiceOptionFragment)
| ({ __typename: 'NumberFieldOption' } & Pick<
NumberFieldOption,
'entityId' | 'displayName'
| 'entityId'
| 'displayName'
| 'isVariantOption'
| 'isRequired'
>)
| ({ __typename: 'TextFieldOption' } & Pick<
TextFieldOption,
'entityId' | 'displayName'
| 'entityId'
| 'displayName'
| 'isVariantOption'
| 'isRequired'
>)
}
>
Expand Down

0 comments on commit 8d3d3e6

Please sign in to comment.