Unverified Commit 15184ca4 authored by Hong Minhee's avatar Hong Minhee
Browse files

Vocabularies for FEP-9091

parent 95c3e7d5
Loading
Loading
Loading
Loading
+42 −0
Original line number Diff line number Diff line
@@ -10,7 +10,49 @@ To be released.

 -  Added `EmojiReact` class to Activity Vocabulary API.  [[FEP-c0e0]]

 -  Added `DidService` class to Activity Vocabulary API.
    [[FEP-9091], [#146]]

 -  Added `Export` class to Activity Vocabulary API.
    [[FEP-9091], [#146]]

 -  Added `service` property to the `Actor` types in the Activity
    Vocabulary API.  [[FEP-9091], [#146]]

     -  Added `Application.getService()` method.
     -  Added `Application.getServices()` method.
     -  `new Application()` constructor now accepts `service` option.
     -  `new Application()` constructor now accepts `services` option.
     -  `Application.clone()` method now accepts `service` option.
     -  `Application.clone()` method now accepts `services` option.
     -  Added `Group.getService()` method.
     -  Added `Group.getServices()` method.
     -  `new Group()` constructor now accepts `service` option.
     -  `new Group()` constructor now accepts `services` option.
     -  `Group.clone()` method now accepts `service` option.
     -  `Group.clone()` method now accepts `services` option.
     -  Added `Organization.getService()` method.
     -  Added `Organization.getServices()` method.
     -  `new Organization()` constructor now accepts `service` option.
     -  `new Organization()` constructor now accepts `services` option.
     -  `Organization.clone()` method now accepts `service` option.
     -  `Organization.clone()` method now accepts `services` option.
     -  Added `Person.getService()` method.
     -  Added `Person.getServices()` method.
     -  `new Person()` constructor now accepts `service` option.
     -  `new Person()` constructor now accepts `services` option.
     -  `Person.clone()` method now accepts `service` option.
     -  `Person.clone()` method now accepts `services` option.
     -  Added `Service.getService()` method.
     -  Added `Service.getServices()` method.
     -  `new Service()` constructor now accepts `service` option.
     -  `new Service()` constructor now accepts `services` option.
     -  `Service.clone()` method now accepts `service` option.
     -  `Service.clone()` method now accepts `services` option.

[FEP-c0e0]: https://w3id.org/fep/c0e0
[FEP-9091]: https://w3id.org/fep/9091
[#146]: https://github.com/dahlia/fedify/issues/146


Version 1.0.2
+2007 −10

File changed.

Preview size limit exceeded, changes collapsed.

+57 −0
Original line number Diff line number Diff line
@@ -342,6 +342,27 @@ snapshot[`Deno.inspect(PropertyValue) [auto] 2`] = `'PropertyValue { id: URL "ht

snapshot[`Deno.inspect(PropertyValue) [auto] 3`] = `'PropertyValue { id: URL "https://example.com/", name: "hello", value: "hello" }'`;

snapshot[`Deno.inspect(Export) [auto] 1`] = `
'Export {
  id: URL "https://example.com/",
  endpoint: URL "https://example.com/"
}'
`;

snapshot[`Deno.inspect(Export) [auto] 2`] = `
'Export {
  id: URL "https://example.com/",
  endpoint: URL "https://example.com/"
}'
`;

snapshot[`Deno.inspect(Export) [auto] 3`] = `
'Export {
  id: URL "https://example.com/",
  endpoints: [ URL "https://example.com/", URL "https://example.com/" ]
}'
`;

snapshot[`Deno.inspect(DataIntegrityProof) [auto] 1`] = `
'DataIntegrityProof {
  id: URL "https://example.com/",
@@ -1031,6 +1052,7 @@ snapshot[`Deno.inspect(Application) [auto] 1`] = `
  memorial: true,
  indexable: true,
  aliases: [ Application {}, Group {}, Organization {}, Person {}, Service {} ],
  service: DidService {},
  cat: true
}'
`;
@@ -1085,6 +1107,7 @@ snapshot[`Deno.inspect(Application) [auto] 2`] = `
  memorial: true,
  indexable: true,
  alias: URL "https://example.com/",
  service: URL "https://example.com/",
  cat: true
}'
`;
@@ -1139,6 +1162,7 @@ snapshot[`Deno.inspect(Application) [auto] 3`] = `
  memorial: true,
  indexable: true,
  aliases: [ Application {}, Application {} ],
  services: [ DidService {}, DidService {} ],
  cat: true
}'
`;
@@ -2774,6 +2798,7 @@ snapshot[`Deno.inspect(Group) [auto] 1`] = `
  memorial: true,
  indexable: true,
  aliases: [ Application {}, Group {}, Organization {}, Person {}, Service {} ],
  service: DidService {},
  cat: true
}'
`;
@@ -2828,6 +2853,7 @@ snapshot[`Deno.inspect(Group) [auto] 2`] = `
  memorial: true,
  indexable: true,
  alias: URL "https://example.com/",
  service: URL "https://example.com/",
  cat: true
}'
`;
@@ -2882,6 +2908,7 @@ snapshot[`Deno.inspect(Group) [auto] 3`] = `
  memorial: true,
  indexable: true,
  aliases: [ Application {}, Application {} ],
  services: [ DidService {}, DidService {} ],
  cat: true
}'
`;
@@ -4799,6 +4826,7 @@ snapshot[`Deno.inspect(Organization) [auto] 1`] = `
  memorial: true,
  indexable: true,
  aliases: [ Application {}, Group {}, Organization {}, Person {}, Service {} ],
  service: DidService {},
  cat: true
}'
`;
@@ -4853,6 +4881,7 @@ snapshot[`Deno.inspect(Organization) [auto] 2`] = `
  memorial: true,
  indexable: true,
  alias: URL "https://example.com/",
  service: URL "https://example.com/",
  cat: true
}'
`;
@@ -4907,6 +4936,7 @@ snapshot[`Deno.inspect(Organization) [auto] 3`] = `
  memorial: true,
  indexable: true,
  aliases: [ Application {}, Application {} ],
  services: [ DidService {}, DidService {} ],
  cat: true
}'
`;
@@ -5072,6 +5102,7 @@ snapshot[`Deno.inspect(Person) [auto] 1`] = `
  memorial: true,
  indexable: true,
  aliases: [ Application {}, Group {}, Organization {}, Person {}, Service {} ],
  service: DidService {},
  cat: true
}'
`;
@@ -5126,6 +5157,7 @@ snapshot[`Deno.inspect(Person) [auto] 2`] = `
  memorial: true,
  indexable: true,
  alias: URL "https://example.com/",
  service: URL "https://example.com/",
  cat: true
}'
`;
@@ -5180,6 +5212,7 @@ snapshot[`Deno.inspect(Person) [auto] 3`] = `
  memorial: true,
  indexable: true,
  aliases: [ Application {}, Application {} ],
  services: [ DidService {}, DidService {} ],
  cat: true
}'
`;
@@ -6086,6 +6119,7 @@ snapshot[`Deno.inspect(Service) [auto] 1`] = `
  memorial: true,
  indexable: true,
  aliases: [ Application {}, Group {}, Organization {}, Person {}, Service {} ],
  service: DidService {},
  cat: true
}'
`;
@@ -6140,6 +6174,7 @@ snapshot[`Deno.inspect(Service) [auto] 2`] = `
  memorial: true,
  indexable: true,
  alias: URL "https://example.com/",
  service: URL "https://example.com/",
  cat: true
}'
`;
@@ -6194,6 +6229,7 @@ snapshot[`Deno.inspect(Service) [auto] 3`] = `
  memorial: true,
  indexable: true,
  aliases: [ Application {}, Application {} ],
  services: [ DidService {}, DidService {} ],
  cat: true
}'
`;
@@ -7178,3 +7214,24 @@ snapshot[`Deno.inspect(View) [auto] 3`] = `
  instruments: [ Object {}, Object {} ]
}'
`;

snapshot[`Deno.inspect(DidService) [auto] 1`] = `
'DidService {
  id: URL "https://example.com/",
  endpoint: URL "https://example.com/"
}'
`;

snapshot[`Deno.inspect(DidService) [auto] 2`] = `
'DidService {
  id: URL "https://example.com/",
  endpoint: URL "https://example.com/"
}'
`;

snapshot[`Deno.inspect(DidService) [auto] 3`] = `
'DidService {
  id: URL "https://example.com/",
  endpoints: [ URL "https://example.com/", URL "https://example.com/" ]
}'
`;
+13 −0
Original line number Diff line number Diff line
@@ -262,6 +262,19 @@ properties:
  - "https://www.w3.org/ns/activitystreams#Person"
  - "https://www.w3.org/ns/activitystreams#Service"

- pluralName: services
  singularName: service
  singularAccessor: true
  compactName: service
  uri: "https://www.w3.org/ns/did#service"
  description: |
    Means of communicating or interacting with the DID subject or associated
    entities via one or more service endpoints. Examples include discovery
    services, agent services, social networking services, file storage services,
    and verifiable credential repository services. 
  range:
  - "https://www.w3.org/ns/did#Service"

- singularName: cat
  functional: true
  compactName: isCat
+1 −1
Original line number Diff line number Diff line
$schema: ../codegen/schema.yaml
name: Arrive
compact: Arrive
compactName: Arrive
uri: "https://www.w3.org/ns/activitystreams#Arrive"
extends: "https://www.w3.org/ns/activitystreams#IntransitiveActivity"
entity: true
Loading