Unverified Commit 07ab313d authored by Hong Minhee's avatar Hong Minhee
Browse files

Add a context for `toot:Emoji` to `Actor` classes

parent 11e3e6ad
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -8,6 +8,15 @@ Version 1.0.18

To be released.

 -  Added the following default context to `Application`, `Group`,
    `Organization`, `Person`, and `Service` classes:

    ~~~~ json
    {
      "Emoji": "http://joinmastodon.org/ns#Emoji"
    }
    ~~~~


Version 1.0.17
--------------
+10 −10

File changed.

Preview size limit exceeded, changes collapsed.

+2 −0
Original line number Diff line number Diff line
@@ -208,6 +208,7 @@ test("handleActor()", async () => {
        value: "schema:value",
        misskey: "https://misskey-hub.net/ns#",
        isCat: "misskey:isCat",
        Emoji: "toot:Emoji",
      },
    ],
    id: "https://example.com/users/someone",
@@ -308,6 +309,7 @@ test("handleActor()", async () => {
        value: "schema:value",
        misskey: "https://misskey-hub.net/ns#",
        isCat: "misskey:isCat",
        Emoji: "toot:Emoji",
      },
    ],
    id: "https://example.com/users/someone",
+1 −0
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@ defaultContext:
    "@type": "@id"
  manuallyApprovesFollowers: "as:manuallyApprovesFollowers"
  toot: "http://joinmastodon.org/ns#"
  Emoji: "toot:Emoji"
  featured:
    "@id": "toot:featured"
    "@type": "@id"
+1 −0
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@ defaultContext:
    "@type": "@id"
  manuallyApprovesFollowers: "as:manuallyApprovesFollowers"
  toot: "http://joinmastodon.org/ns#"
  Emoji: "toot:Emoji"
  featured:
    "@id": "toot:featured"
    "@type": "@id"
Loading