mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-02 20:12:24 -06:00
[feature] Enable federation in/out of profile PropertyValue fields (#1722)
Co-authored-by: kim <grufwub@gmail.com> Co-authored-by: kim <89579420+NyaaaWhatsUpDoc@users.noreply.github.com>
This commit is contained in:
parent
cbb9e2d3f0
commit
0e29f1f5bb
180 changed files with 9278 additions and 1550 deletions
26
vendor/github.com/superseriousbusiness/activity/streams/gen_manager.go
generated
vendored
26
vendor/github.com/superseriousbusiness/activity/streams/gen_manager.go
generated
vendored
|
|
@ -160,6 +160,8 @@ import (
|
|||
typeticketdependency "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_ticketdependency"
|
||||
propertyid "github.com/superseriousbusiness/activity/streams/impl/jsonld/property_id"
|
||||
propertytype "github.com/superseriousbusiness/activity/streams/impl/jsonld/property_type"
|
||||
propertyvalue "github.com/superseriousbusiness/activity/streams/impl/schema/property_value"
|
||||
typepropertyvalue "github.com/superseriousbusiness/activity/streams/impl/schema/type_propertyvalue"
|
||||
propertyblurhash "github.com/superseriousbusiness/activity/streams/impl/toot/property_blurhash"
|
||||
propertydiscoverable "github.com/superseriousbusiness/activity/streams/impl/toot/property_discoverable"
|
||||
propertyfeatured "github.com/superseriousbusiness/activity/streams/impl/toot/property_featured"
|
||||
|
|
@ -1693,6 +1695,18 @@ func (this Manager) DeserializeProfileActivityStreams() func(map[string]interfac
|
|||
}
|
||||
}
|
||||
|
||||
// DeserializePropertyValueSchema returns the deserialization method for the
|
||||
// "SchemaPropertyValue" non-functional property in the vocabulary "Schema"
|
||||
func (this Manager) DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, error) {
|
||||
return func(m map[string]interface{}, aliasMap map[string]string) (vocab.SchemaPropertyValue, error) {
|
||||
i, err := typepropertyvalue.DeserializePropertyValue(m, aliasMap)
|
||||
if i == nil {
|
||||
return nil, err
|
||||
}
|
||||
return i, err
|
||||
}
|
||||
}
|
||||
|
||||
// DeserializePublicKeyPemPropertyW3IDSecurityV1 returns the deserialization
|
||||
// method for the "W3IDSecurityV1PublicKeyPemProperty" non-functional property
|
||||
// in the vocabulary "W3IDSecurityV1"
|
||||
|
|
@ -2311,6 +2325,18 @@ func (this Manager) DeserializeUrlPropertyActivityStreams() func(map[string]inte
|
|||
}
|
||||
}
|
||||
|
||||
// DeserializeValuePropertySchema returns the deserialization method for the
|
||||
// "SchemaValueProperty" non-functional property in the vocabulary "Schema"
|
||||
func (this Manager) DeserializeValuePropertySchema() func(map[string]interface{}, map[string]string) (vocab.SchemaValueProperty, error) {
|
||||
return func(m map[string]interface{}, aliasMap map[string]string) (vocab.SchemaValueProperty, error) {
|
||||
i, err := propertyvalue.DeserializeValueProperty(m, aliasMap)
|
||||
if i == nil {
|
||||
return nil, err
|
||||
}
|
||||
return i, err
|
||||
}
|
||||
}
|
||||
|
||||
// DeserializeVideoActivityStreams returns the deserialization method for the
|
||||
// "ActivityStreamsVideo" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue