Feat(SW-3708): refactor contentstack fetching (removing all refs) and cache invalidation * Remove all REFS * Revalidate correct language * PR fixes * PR fixes * Throw when errors from contentstack api Approved-by: Joakim Jäderberg
31 lines
420 B
TypeScript
31 lines
420 B
TypeScript
import { gql } from "graphql-tag"
|
|
|
|
export const Video = gql`
|
|
fragment Video on Video {
|
|
sourceConnection {
|
|
edges {
|
|
node {
|
|
url
|
|
content_type
|
|
}
|
|
}
|
|
}
|
|
poster_image
|
|
focal_point {
|
|
x
|
|
y
|
|
}
|
|
captions {
|
|
is_default
|
|
language
|
|
fileConnection {
|
|
edges {
|
|
node {
|
|
url
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
`
|