Chloe e0da620ac9
feat: implement accordion content type
Signed-off-by: Chloe <pinkcloudvnn@gmail.com>
2024-05-24 13:19:14 +07:00

35 lines
581 B
TypeScript

export const getImageQuery = /* GraphQL */ `
query getImage($id: ID!) {
node(id: $id) {
... on MediaImage {
image {
altText
width
height
url
}
}
}
}
`;
export const getMetaobjectsByIdsQuery = /* GraphQL */ `
query getMetaobjectsByIds($ids: [ID!]!) {
nodes(ids: $ids) {
... on Metaobject {
id
type
fields {
reference {
... on Metaobject {
id
}
}
key
value
}
}
}
}
`;