refactor: infer types from zod validation
This commit is contained in:
@@ -22,6 +22,7 @@ query GetLoyaltyPage($locale: String!, $url: String!) {
|
||||
...LoyaltyPageLink
|
||||
}
|
||||
}
|
||||
totalCount
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -41,9 +42,11 @@ query GetLoyaltyPage($locale: String!, $url: String!) {
|
||||
...AccountPageLink
|
||||
}
|
||||
}
|
||||
totalCount
|
||||
}
|
||||
title
|
||||
subtitle
|
||||
open_in_new_tab
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -55,16 +58,11 @@ query GetLoyaltyPage($locale: String!, $url: String!) {
|
||||
embedded_itemsConnection {
|
||||
edges {
|
||||
node {
|
||||
... on SysAsset {
|
||||
title
|
||||
url
|
||||
dimension {
|
||||
width
|
||||
height
|
||||
}
|
||||
}
|
||||
__typename
|
||||
...Image
|
||||
}
|
||||
}
|
||||
totalCount
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -86,7 +84,6 @@ query GetLoyaltyPage($locale: String!, $url: String!) {
|
||||
}
|
||||
}
|
||||
}
|
||||
login_button_text
|
||||
}
|
||||
}
|
||||
... on LoyaltyPageSidebarContent {
|
||||
@@ -101,6 +98,7 @@ query GetLoyaltyPage($locale: String!, $url: String!) {
|
||||
...Image
|
||||
}
|
||||
}
|
||||
totalCount
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user