File tree Expand file tree Collapse file tree 2 files changed +10
-5
lines changed
Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ class EventsFactory extends Factory {
100100
101101 const cursor = this . getCollection ( this . TYPES . EVENTS )
102102 . find ( query )
103- . sort ( [ [ '_id' , - 1 ] ] )
103+ . sort ( [ [ '_id' , - 1 ] ] )
104104 . limit ( limit )
105105 . skip ( skip ) ;
106106
@@ -211,7 +211,7 @@ class EventsFactory extends Factory {
211211 ...Object . fromEntries (
212212 Object
213213 . entries ( filters )
214- . map ( ( [ mark , exists ] ) => [ `event.marks.${ mark } ` , { $exists : exists } ] )
214+ . map ( ( [ mark , exists ] ) => [ `event.marks.${ mark } ` , { $exists : exists } ] )
215215 ) ,
216216 } ,
217217 } ,
@@ -414,7 +414,7 @@ class EventsFactory extends Factory {
414414 const firstRepetition = {
415415 _id : eventOriginal . _id ,
416416 payload : eventOriginal . payload ,
417- groupHash : eventOriginal . groupHash ,
417+ groupHash : eventOriginal . groupHash
418418 } ;
419419
420420 repetitions . push ( firstRepetition ) ;
Original file line number Diff line number Diff line change @@ -247,7 +247,7 @@ type RepetitionPayload {
247247}
248248
249249"""
250- Event's repetitions. Make Event unique by repetition's payload
250+ Repetition of the event
251251"""
252252type Repetition {
253253 """
@@ -263,7 +263,12 @@ type Repetition {
263263 """
264264 Event's payload patch
265265 """
266- payload: RepetitionPayload!
266+ payload: RepetitionPayload
267+
268+ """
269+ Delta of the event's payload, stringified JSON
270+ """
271+ delta: String
267272}
268273
269274"""
You can’t perform that action at this time.
0 commit comments