mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2026-01-20 03:41:27 +00:00
* separate all queries into one file each * fix merge error * fix lint --------- Co-authored-by: mahula <lenzmath@posteo.de> Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
19 lines
371 B
TypeScript
19 lines
371 B
TypeScript
import gql from 'graphql-tag'
|
|
|
|
export const profilePagePosts = () => {
|
|
return gql`
|
|
query profilePagePosts(
|
|
$filter: _PostFilter
|
|
$first: Int
|
|
$offset: Int
|
|
$orderBy: [_PostOrdering]
|
|
) {
|
|
profilePagePosts(filter: $filter, first: $first, offset: $offset, orderBy: $orderBy) {
|
|
id
|
|
title
|
|
content
|
|
}
|
|
}
|
|
`
|
|
}
|