|
@@ -61,10 +61,10 @@ class Note extends Fractal\TransformerAbstract
|
|
'Hashtag' => 'as:Hashtag',
|
|
'Hashtag' => 'as:Hashtag',
|
|
'sensitive' => 'as:sensitive',
|
|
'sensitive' => 'as:sensitive',
|
|
'commentsEnabled' => 'sc:Boolean',
|
|
'commentsEnabled' => 'sc:Boolean',
|
|
- 'capabilities' => [
|
|
|
|
- 'announce' => ['@type' => '@id'],
|
|
|
|
- 'like' => ['@type' => '@id'],
|
|
|
|
- 'reply' => ['@type' => '@id'],
|
|
|
|
|
|
+ '@capabilities' => [
|
|
|
|
+ '@announce' => '@id',
|
|
|
|
+ '@like' => '@id',
|
|
|
|
+ '@reply' => '@id',
|
|
],
|
|
],
|
|
'toot' => 'http://joinmastodon.org/ns#',
|
|
'toot' => 'http://joinmastodon.org/ns#',
|
|
'Emoji' => 'toot:Emoji'
|
|
'Emoji' => 'toot:Emoji'
|