Refactor Core things, including Ecto handling, ActivityPub & Transmogrifier modules
* Data doesn't need anymore to be converted to ActivityStream format to be saved (this was taken from Pleroma and not at all a good idea here) * Everything saved when creating an event is inserted into PostgreSQL in a single transaction
This commit is contained in:
@@ -113,9 +113,8 @@ query LoggedUserParticipations($afterDateTime: DateTime, $beforeDateTime: DateTi
|
||||
}
|
||||
},
|
||||
participantStats {
|
||||
approved,
|
||||
unapproved,
|
||||
participants
|
||||
notApproved
|
||||
participant
|
||||
},
|
||||
options {
|
||||
maximumAttendeeCapacity
|
||||
@@ -161,8 +160,8 @@ export const LOGGED_USER_DRAFTS = gql`
|
||||
}
|
||||
},
|
||||
participantStats {
|
||||
approved,
|
||||
unapproved
|
||||
going,
|
||||
notApproved
|
||||
},
|
||||
options {
|
||||
maximumAttendeeCapacity
|
||||
|
||||
@@ -102,9 +102,9 @@ export const FETCH_EVENT = gql`
|
||||
# name,
|
||||
# },
|
||||
participantStats {
|
||||
approved,
|
||||
unapproved,
|
||||
participants
|
||||
going,
|
||||
notApproved,
|
||||
participant
|
||||
},
|
||||
tags {
|
||||
${tagsQuery}
|
||||
@@ -259,9 +259,9 @@ export const CREATE_EVENT = gql`
|
||||
id,
|
||||
},
|
||||
participantStats {
|
||||
approved,
|
||||
unapproved,
|
||||
participants
|
||||
going,
|
||||
notApproved,
|
||||
participant
|
||||
},
|
||||
tags {
|
||||
${tagsQuery}
|
||||
@@ -344,9 +344,9 @@ export const EDIT_EVENT = gql`
|
||||
id,
|
||||
},
|
||||
participantStats {
|
||||
approved,
|
||||
unapproved,
|
||||
participants
|
||||
going,
|
||||
notApproved,
|
||||
participant
|
||||
},
|
||||
tags {
|
||||
${tagsQuery}
|
||||
@@ -410,10 +410,10 @@ export const PARTICIPANTS = gql`
|
||||
${participantQuery}
|
||||
},
|
||||
participantStats {
|
||||
approved,
|
||||
unapproved,
|
||||
going,
|
||||
notApproved,
|
||||
rejected,
|
||||
participants
|
||||
participant
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user