Unverified Commit c03c9e2d authored by Hong Minhee's avatar Hong Minhee
Browse files

Renamed linked to liked in actor classes

parent d579f961
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -17,6 +17,10 @@ To be released.

     -  Added `Federation.setInboxDispatcher()` method.  [[#71]]
     -  Added `Federation.setLikedDispatcher()` method.
     -  Added `Context.getLikedUri()` method.
     -  Added `{ type: "liked"; handle: string }` case to `ParseUriResult` type.
     -  Renamed `linked` property (which was a typo) to `liked` in
        `Application`, `Group`, `Organization`, `Person`, and `Service` classes.

 -  Frequently used JSON-LD contexts are now preloaded.  [[74]]

+80 −80

File changed.

Preview size limit exceeded, changes collapsed.

+15 −15
Original line number Diff line number Diff line
@@ -726,7 +726,7 @@ snapshot[`Deno.inspect(Application) [auto] 1`] = `
  outbox: OrderedCollection {},
  following: Collection {},
  followers: Collection {},
  linked: Collection {},
  liked: Collection {},
  streams: [ Collection {} ],
  endpoints: Endpoints {},
  discoverable: true,
@@ -775,7 +775,7 @@ snapshot[`Deno.inspect(Application) [auto] 2`] = `
  outbox: URL "https://example.com/",
  following: URL "https://example.com/",
  followers: URL "https://example.com/",
  linked: URL "https://example.com/",
  liked: URL "https://example.com/",
  streams: [ URL "https://example.com/" ],
  endpoints: Endpoints {},
  discoverable: true,
@@ -824,7 +824,7 @@ snapshot[`Deno.inspect(Application) [auto] 3`] = `
  outbox: OrderedCollection {},
  following: Collection {},
  followers: Collection {},
  linked: Collection {},
  liked: Collection {},
  streams: [ Collection {}, Collection {} ],
  endpoints: Endpoints {},
  discoverable: true,
@@ -2328,7 +2328,7 @@ snapshot[`Deno.inspect(Group) [auto] 1`] = `
  outbox: OrderedCollection {},
  following: Collection {},
  followers: Collection {},
  linked: Collection {},
  liked: Collection {},
  streams: [ Collection {} ],
  endpoints: Endpoints {},
  discoverable: true,
@@ -2377,7 +2377,7 @@ snapshot[`Deno.inspect(Group) [auto] 2`] = `
  outbox: URL "https://example.com/",
  following: URL "https://example.com/",
  followers: URL "https://example.com/",
  linked: URL "https://example.com/",
  liked: URL "https://example.com/",
  streams: [ URL "https://example.com/" ],
  endpoints: Endpoints {},
  discoverable: true,
@@ -2426,7 +2426,7 @@ snapshot[`Deno.inspect(Group) [auto] 3`] = `
  outbox: OrderedCollection {},
  following: Collection {},
  followers: Collection {},
  linked: Collection {},
  liked: Collection {},
  streams: [ Collection {}, Collection {} ],
  endpoints: Endpoints {},
  discoverable: true,
@@ -3645,7 +3645,7 @@ snapshot[`Deno.inspect(Organization) [auto] 1`] = `
  outbox: OrderedCollection {},
  following: Collection {},
  followers: Collection {},
  linked: Collection {},
  liked: Collection {},
  streams: [ Collection {} ],
  endpoints: Endpoints {},
  discoverable: true,
@@ -3694,7 +3694,7 @@ snapshot[`Deno.inspect(Organization) [auto] 2`] = `
  outbox: URL "https://example.com/",
  following: URL "https://example.com/",
  followers: URL "https://example.com/",
  linked: URL "https://example.com/",
  liked: URL "https://example.com/",
  streams: [ URL "https://example.com/" ],
  endpoints: Endpoints {},
  discoverable: true,
@@ -3743,7 +3743,7 @@ snapshot[`Deno.inspect(Organization) [auto] 3`] = `
  outbox: OrderedCollection {},
  following: Collection {},
  followers: Collection {},
  linked: Collection {},
  liked: Collection {},
  streams: [ Collection {}, Collection {} ],
  endpoints: Endpoints {},
  discoverable: true,
@@ -3900,7 +3900,7 @@ snapshot[`Deno.inspect(Person) [auto] 1`] = `
  outbox: OrderedCollection {},
  following: Collection {},
  followers: Collection {},
  linked: Collection {},
  liked: Collection {},
  streams: [ Collection {} ],
  endpoints: Endpoints {},
  discoverable: true,
@@ -3949,7 +3949,7 @@ snapshot[`Deno.inspect(Person) [auto] 2`] = `
  outbox: URL "https://example.com/",
  following: URL "https://example.com/",
  followers: URL "https://example.com/",
  linked: URL "https://example.com/",
  liked: URL "https://example.com/",
  streams: [ URL "https://example.com/" ],
  endpoints: Endpoints {},
  discoverable: true,
@@ -3998,7 +3998,7 @@ snapshot[`Deno.inspect(Person) [auto] 3`] = `
  outbox: OrderedCollection {},
  following: Collection {},
  followers: Collection {},
  linked: Collection {},
  liked: Collection {},
  streams: [ Collection {}, Collection {} ],
  endpoints: Endpoints {},
  discoverable: true,
@@ -4713,7 +4713,7 @@ snapshot[`Deno.inspect(Service) [auto] 1`] = `
  outbox: OrderedCollection {},
  following: Collection {},
  followers: Collection {},
  linked: Collection {},
  liked: Collection {},
  streams: [ Collection {} ],
  endpoints: Endpoints {},
  discoverable: true,
@@ -4762,7 +4762,7 @@ snapshot[`Deno.inspect(Service) [auto] 2`] = `
  outbox: URL "https://example.com/",
  following: URL "https://example.com/",
  followers: URL "https://example.com/",
  linked: URL "https://example.com/",
  liked: URL "https://example.com/",
  streams: [ URL "https://example.com/" ],
  endpoints: Endpoints {},
  discoverable: true,
@@ -4811,7 +4811,7 @@ snapshot[`Deno.inspect(Service) [auto] 3`] = `
  outbox: OrderedCollection {},
  following: Collection {},
  followers: Collection {},
  linked: Collection {},
  liked: Collection {},
  streams: [ Collection {}, Collection {} ],
  endpoints: Endpoints {},
  discoverable: true,
+1 −1
Original line number Diff line number Diff line
@@ -130,7 +130,7 @@ properties:
  range:
  - "https://www.w3.org/ns/activitystreams#Collection"

- singularName: linked
- singularName: liked
  functional: true
  uri: "https://www.w3.org/ns/activitystreams#liked"
  description: |
+1 −1
Original line number Diff line number Diff line
@@ -130,7 +130,7 @@ properties:
  range:
  - "https://www.w3.org/ns/activitystreams#Collection"

- singularName: linked
- singularName: liked
  functional: true
  uri: "https://www.w3.org/ns/activitystreams#liked"
  description: |
Loading