|
@ -9,7 +9,7 @@ class ActivityPub::Adapter < ActiveModelSerializers::Adapter::Base |
|
|
{ |
|
|
{ |
|
|
'manuallyApprovesFollowers' => 'as:manuallyApprovesFollowers', |
|
|
'manuallyApprovesFollowers' => 'as:manuallyApprovesFollowers', |
|
|
'sensitive' => 'as:sensitive', |
|
|
'sensitive' => 'as:sensitive', |
|
|
'movedTo' => 'as:movedTo', |
|
|
|
|
|
|
|
|
'movedTo' => { '@id' => 'as:movedTo', '@type' => '@id' }, |
|
|
'Hashtag' => 'as:Hashtag', |
|
|
'Hashtag' => 'as:Hashtag', |
|
|
'ostatus' => 'http://ostatus.org#', |
|
|
'ostatus' => 'http://ostatus.org#', |
|
|
'atomUri' => 'ostatus:atomUri', |
|
|
'atomUri' => 'ostatus:atomUri', |
|
@ -18,7 +18,7 @@ class ActivityPub::Adapter < ActiveModelSerializers::Adapter::Base |
|
|
'toot' => 'http://joinmastodon.org/ns#', |
|
|
'toot' => 'http://joinmastodon.org/ns#', |
|
|
'Emoji' => 'toot:Emoji', |
|
|
'Emoji' => 'toot:Emoji', |
|
|
'focalPoint' => { '@container' => '@list', '@id' => 'toot:focalPoint' }, |
|
|
'focalPoint' => { '@container' => '@list', '@id' => 'toot:focalPoint' }, |
|
|
'featured' => 'toot:featured', |
|
|
|
|
|
|
|
|
'featured' => { '@id' => 'toot:featured', '@type' => '@id' }, |
|
|
'schema' => 'http://schema.org#', |
|
|
'schema' => 'http://schema.org#', |
|
|
'PropertyValue' => 'schema:PropertyValue', |
|
|
'PropertyValue' => 'schema:PropertyValue', |
|
|
'value' => 'schema:value', |
|
|
'value' => 'schema:value', |
|
|