Commit graph

21 commits

Author SHA1 Message Date
Marius Orcsik
495abe28e0 Add more support for Item be an ItemCollection at the same time 2019-12-01 19:47:31 +01:00
Marius Orcsik
8982b3f40a Add IsCollection function to all base objects 2019-12-01 19:35:08 +01:00
Marius Orcsik
f333dd1786
Allow unmarshaling of properties of Item type from json arrays 2019-11-29 19:39:38 +01:00
Marius Orcsik
f08f14bc2b
Use IRI.Equals wherever we can 2019-11-18 17:15:00 +01:00
Marius Orcsik
c9c6d2f720 Fix Contains methods on empty collections 2019-08-23 21:49:47 +02:00
Marius Orcsik
0b4e0d5e7c Added Contains(IRI) method for collection types 2019-08-23 20:39:28 +02:00
Marius Orcsik
4a1645657e Added ToX functions for Collection types 2019-08-21 22:21:32 +02:00
Marius Orcsik
c6deab0d6b
Adding a Count() method to the CollectionInterface 2019-06-02 16:45:37 +02:00
Marius Orcsik
3cde24f465
Don't increment TotalItems when appending items 2019-06-02 16:28:45 +02:00
Marius Orcsik
385e1cd273
Set the ItemTyperFunc when doing UnmarshalJSON 2019-05-18 22:45:54 +02:00
Marius Orcsik
3642d21563
Simplify type validation 2019-05-16 11:08:43 +02:00
Marius Orcsik
ed9c46fc7b
Renamed the Fold* functions to Flatten* 2019-05-11 11:53:32 +02:00
Marius Orcsik
82ef950fd2
Added helper functions to collapse Items to IRIs 2019-05-11 10:32:55 +02:00
Marius Orcsik
a516ad03a5
Rename the parent of CollectionPage object so we avoid conflict with CollectionInterface 2019-03-10 10:11:31 +01:00
Marius Orcsik
1216f87ea2
Don't omit TotalItems for (Ordered)Collections when marshalling 2019-03-03 14:22:44 +01:00
Marius Orcsik
0b102fbb67
Added Mapper interface
Pluralized NaturalLanguageValue(s) array type

Improved comments on exported types and functions
2019-02-21 17:57:12 +01:00
Marius Orcsik
ce595fadf3
Exposing the JSONGet* functions for activitystreams objects 2019-01-30 16:19:29 +01:00
Marius Orcsik
54f56b33e9
Moved everything related to activitystreams vocabulary to its own project 2019-01-22 16:44:27 +01:00
Marius Orcsik
d2d853feed
Move files to activitypub package 2017-09-12 10:31:45 +02:00
Marius Orcsik
3f1fea301c
Added collections functions and tests 2017-09-11 23:16:43 +02:00
Marius Orcsik
51853428cb
Adding basic types for activity pub 2017-09-11 22:46:29 +02:00