mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2026-03-01 12:44:28 +00:00
* externalize gql queries in backend specs * externalize all queries & mutations where easily possible missing change * rename old queries & remove unnecessary function call * fix tests - notifications * fix tests - moderation * remove _CreatePostMutation file * remove _filterPosts & _postQuery files
22 lines
281 B
TypeScript
22 lines
281 B
TypeScript
import gql from 'graphql-tag'
|
|
|
|
export const embed = gql`
|
|
query ($url: String!) {
|
|
embed(url: $url) {
|
|
type
|
|
title
|
|
author
|
|
publisher
|
|
date
|
|
description
|
|
url
|
|
image
|
|
audio
|
|
video
|
|
lang
|
|
sources
|
|
html
|
|
}
|
|
}
|
|
`
|