* feat(BOOK-755): Added alert block on Collection pages * feat(BOOK-755): Added alert block on Content pages * feat(BOOK-755): Added alert functionality for RTE Approved-by: Bianca Widstam
36 lines
593 B
TypeScript
36 lines
593 B
TypeScript
import { gql } from "graphql-tag"
|
|
|
|
import { Alert } from "../Alert.graphql"
|
|
|
|
export const Alert_ContentPage = gql`
|
|
fragment Alert_ContentPage on ContentPageBlocksAlert {
|
|
__typename
|
|
alert {
|
|
alertConnection {
|
|
edges {
|
|
node {
|
|
...Alert
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
${Alert}
|
|
`
|
|
|
|
export const Alert_CollectionPage = gql`
|
|
fragment Alert_CollectionPage on CollectionPageBlocksAlert {
|
|
__typename
|
|
alert {
|
|
alertConnection {
|
|
edges {
|
|
node {
|
|
...Alert
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
${Alert}
|
|
`
|