diff options
Diffstat (limited to 'vendor/codeberg.org/superseriousbusiness/activity/streams/gen_manager.go')
| -rw-r--r-- | vendor/codeberg.org/superseriousbusiness/activity/streams/gen_manager.go | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_manager.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_manager.go index 5de6a4f58..6c5377097 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_manager.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_manager.go @@ -135,6 +135,10 @@ import ( typeupdate "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_update" typevideo "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_video" typeview "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_view" + typealbum "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_album" + typeartist "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_artist" + typelibrary "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_library" + typetrack "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_track" propertyalways "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_always" propertyapprovalrequired "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_approvalrequired" propertyapprovedby "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_approvedby" @@ -240,6 +244,18 @@ func (this Manager) DeserializeAddActivityStreams() func(map[string]interface{}, } } +// DeserializeAlbumFunkwhale returns the deserialization method for the +// "FunkwhaleAlbum" non-functional property in the vocabulary "Funkwhale" +func (this Manager) DeserializeAlbumFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleAlbum, error) { + return func(m map[string]interface{}, aliasMap map[string]string) (vocab.FunkwhaleAlbum, error) { + i, err := typealbum.DeserializeAlbum(m, aliasMap) + if i == nil { + return nil, err + } + return i, err + } +} + // DeserializeAlsoKnownAsPropertyActivityStreams returns the deserialization // method for the "ActivityStreamsAlsoKnownAsProperty" non-functional property // in the vocabulary "ActivityStreams" @@ -383,6 +399,18 @@ func (this Manager) DeserializeArticleActivityStreams() func(map[string]interfac } } +// DeserializeArtistFunkwhale returns the deserialization method for the +// "FunkwhaleArtist" non-functional property in the vocabulary "Funkwhale" +func (this Manager) DeserializeArtistFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleArtist, error) { + return func(m map[string]interface{}, aliasMap map[string]string) (vocab.FunkwhaleArtist, error) { + i, err := typeartist.DeserializeArtist(m, aliasMap) + if i == nil { + return nil, err + } + return i, err + } +} + // DeserializeAttachmentPropertyActivityStreams returns the deserialization method // for the "ActivityStreamsAttachmentProperty" non-functional property in the // vocabulary "ActivityStreams" @@ -1219,6 +1247,18 @@ func (this Manager) DeserializeLeaveActivityStreams() func(map[string]interface{ } } +// DeserializeLibraryFunkwhale returns the deserialization method for the +// "FunkwhaleLibrary" non-functional property in the vocabulary "Funkwhale" +func (this Manager) DeserializeLibraryFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleLibrary, error) { + return func(m map[string]interface{}, aliasMap map[string]string) (vocab.FunkwhaleLibrary, error) { + i, err := typelibrary.DeserializeLibrary(m, aliasMap) + if i == nil { + return nil, err + } + return i, err + } +} + // DeserializeLikeActivityStreams returns the deserialization method for the // "ActivityStreamsLike" non-functional property in the vocabulary // "ActivityStreams" @@ -2129,6 +2169,18 @@ func (this Manager) DeserializeTotalItemsPropertyActivityStreams() func(map[stri } } +// DeserializeTrackFunkwhale returns the deserialization method for the +// "FunkwhaleTrack" non-functional property in the vocabulary "Funkwhale" +func (this Manager) DeserializeTrackFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleTrack, error) { + return func(m map[string]interface{}, aliasMap map[string]string) (vocab.FunkwhaleTrack, error) { + i, err := typetrack.DeserializeTrack(m, aliasMap) + if i == nil { + return nil, err + } + return i, err + } +} + // DeserializeTravelActivityStreams returns the deserialization method for the // "ActivityStreamsTravel" non-functional property in the vocabulary // "ActivityStreams" |
