Manually approves followers (#146)

* update go-fed

* update go-fed

* manuallyapprovesfollowers

* serialize manuallyApprovesFollowers
This commit is contained in:
tobi
2021-08-23 12:46:05 +02:00
committed by GitHub
parent 4920229a3b
commit 071eca20ce
44 changed files with 931 additions and 308 deletions

View File

@ -41,6 +41,7 @@ import (
propertylikes "github.com/go-fed/activity/streams/impl/activitystreams/property_likes"
propertylocation "github.com/go-fed/activity/streams/impl/activitystreams/property_location"
propertylongitude "github.com/go-fed/activity/streams/impl/activitystreams/property_longitude"
propertymanuallyapprovesfollowers "github.com/go-fed/activity/streams/impl/activitystreams/property_manuallyapprovesfollowers"
propertymediatype "github.com/go-fed/activity/streams/impl/activitystreams/property_mediatype"
propertyname "github.com/go-fed/activity/streams/impl/activitystreams/property_name"
propertynext "github.com/go-fed/activity/streams/impl/activitystreams/property_next"
@ -1323,6 +1324,20 @@ func (this Manager) DeserializeLongitudePropertyActivityStreams() func(map[strin
}
}
// DeserializeManuallyApprovesFollowersPropertyActivityStreams returns the
// deserialization method for the
// "ActivityStreamsManuallyApprovesFollowersProperty" non-functional property
// in the vocabulary "ActivityStreams"
func (this Manager) DeserializeManuallyApprovesFollowersPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsManuallyApprovesFollowersProperty, error) {
return func(m map[string]interface{}, aliasMap map[string]string) (vocab.ActivityStreamsManuallyApprovesFollowersProperty, error) {
i, err := propertymanuallyapprovesfollowers.DeserializeManuallyApprovesFollowersProperty(m, aliasMap)
if i == nil {
return nil, err
}
return i, err
}
}
// DeserializeMediaTypePropertyActivityStreams returns the deserialization method
// for the "ActivityStreamsMediaTypeProperty" non-functional property in the
// vocabulary "ActivityStreams"