Lint files with prettier

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2021-05-17 19:01:08 +02:00
parent 68e223e480
commit 0e15abfc26
18 changed files with 72 additions and 65 deletions

View File

@@ -1,7 +1,7 @@
import gql from "graphql-tag";
export const FETCH_PERSON = gql`
query($username: String!) {
query ($username: String!) {
fetchPerson(preferredUsername: $username) {
id
url
@@ -37,7 +37,7 @@ export const FETCH_PERSON = gql`
`;
export const GET_PERSON = gql`
query(
query (
$actorId: ID!
$organizedEventsPage: Int
$organizedEventsLimit: Int
@@ -433,7 +433,7 @@ export const PERSON_MEMBERSHIP_GROUP = gql`
`;
export const GROUP_MEMBERSHIP_SUBSCRIPTION_CHANGED = gql`
subscription($actorId: ID!, $group: String!) {
subscription ($actorId: ID!, $group: String!) {
groupMembershipChanged(personId: $actorId, group: $group) {
id
memberships {
@@ -522,7 +522,7 @@ export const DELETE_PERSON = gql`
* Prefer CREATE_PERSON when creating another identity
*/
export const REGISTER_PERSON = gql`
mutation(
mutation (
$preferredUsername: String!
$name: String!
$summary: String!

View File

@@ -46,7 +46,7 @@ export const COMMENT_RECURSIVE_FRAGMENT = gql`
`;
export const FETCH_THREAD_REPLIES = gql`
query($threadId: ID!) {
query ($threadId: ID!) {
thread(id: $threadId) {
...CommentRecursive
}
@@ -55,7 +55,7 @@ export const FETCH_THREAD_REPLIES = gql`
`;
export const COMMENTS_THREADS = gql`
query($eventUUID: UUID!) {
query ($eventUUID: UUID!) {
event(uuid: $eventUUID) {
id
uuid

View File

@@ -150,7 +150,7 @@ export const DELETE_DISCUSSION = gql`
`;
export const DISCUSSION_COMMENT_CHANGED = gql`
subscription($slug: String!) {
subscription ($slug: String!) {
discussionCommentChanged(slug: $slug) {
id
lastComment {

View File

@@ -177,7 +177,7 @@ export const FETCH_EVENT = gql`
`;
export const FETCH_EVENT_BASIC = gql`
query($uuid: UUID!) {
query ($uuid: UUID!) {
event(uuid: $uuid) {
id
uuid
@@ -551,7 +551,7 @@ export const PARTICIPANTS = gql`
`;
export const EVENT_PERSON_PARTICIPATION = gql`
query($actorId: ID!, $eventId: ID!) {
query ($actorId: ID!, $eventId: ID!) {
person(id: $actorId) {
id
participations(eventId: $eventId) {
@@ -572,7 +572,7 @@ export const EVENT_PERSON_PARTICIPATION = gql`
`;
export const EVENT_PERSON_PARTICIPATION_SUBSCRIPTION_CHANGED = gql`
subscription($actorId: ID!, $eventId: ID!) {
subscription ($actorId: ID!, $eventId: ID!) {
eventPersonParticipationChanged(personId: $actorId) {
id
participations(eventId: $eventId) {
@@ -593,7 +593,7 @@ export const EVENT_PERSON_PARTICIPATION_SUBSCRIPTION_CHANGED = gql`
`;
export const FETCH_GROUP_EVENTS = gql`
query(
query (
$name: String!
$afterDateTime: DateTime
$beforeDateTime: DateTime

View File

@@ -1,7 +1,7 @@
import gql from "graphql-tag";
export const GROUP_FOLLOWERS = gql`
query(
query (
$name: String!
$followersPage: Int
$followersLimit: Int

View File

@@ -188,7 +188,7 @@ export const GROUP_FIELDS_FRAGMENTS = gql`
`;
export const FETCH_GROUP = gql`
query(
query (
$name: String!
$afterDateTime: DateTime
$beforeDateTime: DateTime
@@ -206,7 +206,7 @@ export const FETCH_GROUP = gql`
`;
export const GET_GROUP = gql`
query(
query (
$id: ID!
$afterDateTime: DateTime
$beforeDateTime: DateTime

View File

@@ -55,7 +55,7 @@ export const REJECT_INVITATION = gql`
`;
export const GROUP_MEMBERS = gql`
query($name: String!, $roles: String, $page: Int, $limit: Int) {
query ($name: String!, $roles: String, $page: Int, $limit: Int) {
group(preferredUsername: $name) {
id
url