Chloe a1d65a54c1
feat: implement text/image-with-text/icon-with-text content block
Signed-off-by: Chloe <pinkcloudvnn@gmail.com>
2024-05-23 14:17:55 +07:00

34 lines
568 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
fields {
reference {
... on Metaobject {
id
}
}
key
value
}
}
}
}
`;