Loading CHANGES.md +110 −0 Original line number Diff line number Diff line Loading @@ -8,6 +8,57 @@ Version 1.0.10 To be released. - Fix a bug where `Actor`'s `inbox` and `outbox` properties had not been able to be set to an `OrderedCollectionPage` object, even though it is a subtype of `OrderedCollection` according to Activity Vocabulary specification. [[#165]] - The type of `Application()` constructor's `inbox` and `outbox` options is now `OrderedCollection | OrderedCollectionPage | null | undefined` (was `OrderedCollection | null | undefined`). - The type of `Application.clone()` method's `inbox` and `outbox` options is now `OrderedCollection | OrderedCollectionPage | null | undefined` (was `OrderedCollection | null | undefined`). - The return type of `Application.getInbox()` and `Application.getOutbox()` methods is now `OrderedCollection | OrderedCollectionPage | null` (was `OrderedCollection | null`). - The type of `Group()` constructor's `inbox` and `outbox` options is now `OrderedCollection | OrderedCollectionPage | null | undefined` (was `OrderedCollection | null | undefined`). - The type of `Group.clone()` method's `inbox` and `outbox` options is now `OrderedCollection | OrderedCollectionPage | null | undefined` (was `OrderedCollection | null | undefined`). - The return type of `Group.getInbox()` and `Group.getOutbox()` methods is now `OrderedCollection | OrderedCollectionPage | null` (was `OrderedCollection | null`). - The type of `Organization()` constructor's `inbox` and `outbox` options is now `OrderedCollection | OrderedCollectionPage | null | undefined` (was `OrderedCollection | null | undefined`). - The type of `Organization.clone()` method's `inbox` and `outbox` options is now `OrderedCollection | OrderedCollectionPage | null | undefined` (was `OrderedCollection | null | undefined`). - The return type of `Organization.getInbox()` and `Organization.getOutbox()` methods is now `OrderedCollection | OrderedCollectionPage | null` (was `OrderedCollection | null`). - The type of `Person()` constructor's `inbox` and `outbox` options is now `OrderedCollection | OrderedCollectionPage | null | undefined` (was `OrderedCollection | null | undefined`). - The type of `Person.clone()` method's `inbox` and `outbox` options is now `OrderedCollection | OrderedCollectionPage | null | undefined` (was `OrderedCollection | null | undefined`). - The return type of `Person.getInbox()` and `Person.getOutbox()` methods is now `OrderedCollection | OrderedCollectionPage | null` (was `OrderedCollection | null`). - The type of `Service()` constructor's `inbox` and `outbox` options is now `OrderedCollection | OrderedCollectionPage | null | undefined` (was `OrderedCollection | null | undefined`). - The type of `Service.clone()` method's `inbox` and `outbox` options is now `OrderedCollection | OrderedCollectionPage | null | undefined` (was `OrderedCollection | null | undefined`). - The return type of `Service.getInbox()` and `Service.getOutbox()` methods is now `OrderedCollection | OrderedCollectionPage | null` (was `OrderedCollection | null`). Version 1.0.9 ------------- Loading Loading @@ -293,6 +344,65 @@ Released on September 26, 2024. [#137]: https://github.com/dahlia/fedify/issues/137 Version 0.15.8 -------------- Released on November 159, 2024. - Fix a bug where `Actor`'s `inbox` and `outbox` properties had not been able to be set to an `OrderedCollectionPage` object, even though it is a subtype of `OrderedCollection` according to Activity Vocabulary specification. [[#165]] - The type of `Application()` constructor's `inbox` and `outbox` options is now `OrderedCollection | OrderedCollectionPage | null | undefined` (was `OrderedCollection | null | undefined`). - The type of `Application.clone()` method's `inbox` and `outbox` options is now `OrderedCollection | OrderedCollectionPage | null | undefined` (was `OrderedCollection | null | undefined`). - The return type of `Application.getInbox()` and `Application.getOutbox()` methods is now `OrderedCollection | OrderedCollectionPage | null` (was `OrderedCollection | null`). - The type of `Group()` constructor's `inbox` and `outbox` options is now `OrderedCollection | OrderedCollectionPage | null | undefined` (was `OrderedCollection | null | undefined`). - The type of `Group.clone()` method's `inbox` and `outbox` options is now `OrderedCollection | OrderedCollectionPage | null | undefined` (was `OrderedCollection | null | undefined`). - The return type of `Group.getInbox()` and `Group.getOutbox()` methods is now `OrderedCollection | OrderedCollectionPage | null` (was `OrderedCollection | null`). - The type of `Organization()` constructor's `inbox` and `outbox` options is now `OrderedCollection | OrderedCollectionPage | null | undefined` (was `OrderedCollection | null | undefined`). - The type of `Organization.clone()` method's `inbox` and `outbox` options is now `OrderedCollection | OrderedCollectionPage | null | undefined` (was `OrderedCollection | null | undefined`). - The return type of `Organization.getInbox()` and `Organization.getOutbox()` methods is now `OrderedCollection | OrderedCollectionPage | null` (was `OrderedCollection | null`). - The type of `Person()` constructor's `inbox` and `outbox` options is now `OrderedCollection | OrderedCollectionPage | null | undefined` (was `OrderedCollection | null | undefined`). - The type of `Person.clone()` method's `inbox` and `outbox` options is now `OrderedCollection | OrderedCollectionPage | null | undefined` (was `OrderedCollection | null | undefined`). - The return type of `Person.getInbox()` and `Person.getOutbox()` methods is now `OrderedCollection | OrderedCollectionPage | null` (was `OrderedCollection | null`). - The type of `Service()` constructor's `inbox` and `outbox` options is now `OrderedCollection | OrderedCollectionPage | null | undefined` (was `OrderedCollection | null | undefined`). - The type of `Service.clone()` method's `inbox` and `outbox` options is now `OrderedCollection | OrderedCollectionPage | null | undefined` (was `OrderedCollection | null | undefined`). - The return type of `Service.getInbox()` and `Service.getOutbox()` methods is now `OrderedCollection | OrderedCollectionPage | null` (was `OrderedCollection | null`). [#165]: https://github.com/dahlia/fedify/issues/165 Version 0.15.7 -------------- Loading src/codegen/__snapshots__/class.test.ts.snap +360 −140 File changed.Preview size limit exceeded, changes collapsed. Show changes src/testing/fixtures/example.com/orderedcollectionpage 0 → 100644 +24 −0 Original line number Diff line number Diff line { "@context": "https://www.w3.org/ns/activitystreams", "id": "https://example.com/orderedcollectionpage", "type": "OrderedCollectionPage", "partOf": "https://example.com/orderedcollectionpage", "totalItems": 1, "orderedItems": [ { "id": "https://example.com/activities/1", "type": "Create", "published": "2024-11-19T15:24:56Z", "actor": "https://example.com/users/1", "to": "https://www.w3.org/ns/activitystreams#Public", "object": { "id": "https://example.com/notes/1", "type": "Note", "content": "This is a simple note", "attributedTo": "https://example.com/users/1", "to": "https://www.w3.org/ns/activitystreams#Public", "published": "2024-11-19T15:24:56Z" } } ] } src/vocab/application.yaml +2 −0 Original line number Diff line number Diff line Loading @@ -102,6 +102,7 @@ properties: and dropping any activities already seen. range: - "https://www.w3.org/ns/activitystreams#OrderedCollection" - "https://www.w3.org/ns/activitystreams#OrderedCollectionPage" - singularName: outbox functional: true Loading @@ -120,6 +121,7 @@ properties: implementing and deploying the server. range: - "https://www.w3.org/ns/activitystreams#OrderedCollection" - "https://www.w3.org/ns/activitystreams#OrderedCollectionPage" - singularName: following functional: true Loading src/vocab/group.yaml +2 −0 Original line number Diff line number Diff line Loading @@ -102,6 +102,7 @@ properties: and dropping any activities already seen. range: - "https://www.w3.org/ns/activitystreams#OrderedCollection" - "https://www.w3.org/ns/activitystreams#OrderedCollectionPage" - singularName: outbox functional: true Loading @@ -120,6 +121,7 @@ properties: implementing and deploying the server. range: - "https://www.w3.org/ns/activitystreams#OrderedCollection" - "https://www.w3.org/ns/activitystreams#OrderedCollectionPage" - singularName: following functional: true Loading Loading
CHANGES.md +110 −0 Original line number Diff line number Diff line Loading @@ -8,6 +8,57 @@ Version 1.0.10 To be released. - Fix a bug where `Actor`'s `inbox` and `outbox` properties had not been able to be set to an `OrderedCollectionPage` object, even though it is a subtype of `OrderedCollection` according to Activity Vocabulary specification. [[#165]] - The type of `Application()` constructor's `inbox` and `outbox` options is now `OrderedCollection | OrderedCollectionPage | null | undefined` (was `OrderedCollection | null | undefined`). - The type of `Application.clone()` method's `inbox` and `outbox` options is now `OrderedCollection | OrderedCollectionPage | null | undefined` (was `OrderedCollection | null | undefined`). - The return type of `Application.getInbox()` and `Application.getOutbox()` methods is now `OrderedCollection | OrderedCollectionPage | null` (was `OrderedCollection | null`). - The type of `Group()` constructor's `inbox` and `outbox` options is now `OrderedCollection | OrderedCollectionPage | null | undefined` (was `OrderedCollection | null | undefined`). - The type of `Group.clone()` method's `inbox` and `outbox` options is now `OrderedCollection | OrderedCollectionPage | null | undefined` (was `OrderedCollection | null | undefined`). - The return type of `Group.getInbox()` and `Group.getOutbox()` methods is now `OrderedCollection | OrderedCollectionPage | null` (was `OrderedCollection | null`). - The type of `Organization()` constructor's `inbox` and `outbox` options is now `OrderedCollection | OrderedCollectionPage | null | undefined` (was `OrderedCollection | null | undefined`). - The type of `Organization.clone()` method's `inbox` and `outbox` options is now `OrderedCollection | OrderedCollectionPage | null | undefined` (was `OrderedCollection | null | undefined`). - The return type of `Organization.getInbox()` and `Organization.getOutbox()` methods is now `OrderedCollection | OrderedCollectionPage | null` (was `OrderedCollection | null`). - The type of `Person()` constructor's `inbox` and `outbox` options is now `OrderedCollection | OrderedCollectionPage | null | undefined` (was `OrderedCollection | null | undefined`). - The type of `Person.clone()` method's `inbox` and `outbox` options is now `OrderedCollection | OrderedCollectionPage | null | undefined` (was `OrderedCollection | null | undefined`). - The return type of `Person.getInbox()` and `Person.getOutbox()` methods is now `OrderedCollection | OrderedCollectionPage | null` (was `OrderedCollection | null`). - The type of `Service()` constructor's `inbox` and `outbox` options is now `OrderedCollection | OrderedCollectionPage | null | undefined` (was `OrderedCollection | null | undefined`). - The type of `Service.clone()` method's `inbox` and `outbox` options is now `OrderedCollection | OrderedCollectionPage | null | undefined` (was `OrderedCollection | null | undefined`). - The return type of `Service.getInbox()` and `Service.getOutbox()` methods is now `OrderedCollection | OrderedCollectionPage | null` (was `OrderedCollection | null`). Version 1.0.9 ------------- Loading Loading @@ -293,6 +344,65 @@ Released on September 26, 2024. [#137]: https://github.com/dahlia/fedify/issues/137 Version 0.15.8 -------------- Released on November 159, 2024. - Fix a bug where `Actor`'s `inbox` and `outbox` properties had not been able to be set to an `OrderedCollectionPage` object, even though it is a subtype of `OrderedCollection` according to Activity Vocabulary specification. [[#165]] - The type of `Application()` constructor's `inbox` and `outbox` options is now `OrderedCollection | OrderedCollectionPage | null | undefined` (was `OrderedCollection | null | undefined`). - The type of `Application.clone()` method's `inbox` and `outbox` options is now `OrderedCollection | OrderedCollectionPage | null | undefined` (was `OrderedCollection | null | undefined`). - The return type of `Application.getInbox()` and `Application.getOutbox()` methods is now `OrderedCollection | OrderedCollectionPage | null` (was `OrderedCollection | null`). - The type of `Group()` constructor's `inbox` and `outbox` options is now `OrderedCollection | OrderedCollectionPage | null | undefined` (was `OrderedCollection | null | undefined`). - The type of `Group.clone()` method's `inbox` and `outbox` options is now `OrderedCollection | OrderedCollectionPage | null | undefined` (was `OrderedCollection | null | undefined`). - The return type of `Group.getInbox()` and `Group.getOutbox()` methods is now `OrderedCollection | OrderedCollectionPage | null` (was `OrderedCollection | null`). - The type of `Organization()` constructor's `inbox` and `outbox` options is now `OrderedCollection | OrderedCollectionPage | null | undefined` (was `OrderedCollection | null | undefined`). - The type of `Organization.clone()` method's `inbox` and `outbox` options is now `OrderedCollection | OrderedCollectionPage | null | undefined` (was `OrderedCollection | null | undefined`). - The return type of `Organization.getInbox()` and `Organization.getOutbox()` methods is now `OrderedCollection | OrderedCollectionPage | null` (was `OrderedCollection | null`). - The type of `Person()` constructor's `inbox` and `outbox` options is now `OrderedCollection | OrderedCollectionPage | null | undefined` (was `OrderedCollection | null | undefined`). - The type of `Person.clone()` method's `inbox` and `outbox` options is now `OrderedCollection | OrderedCollectionPage | null | undefined` (was `OrderedCollection | null | undefined`). - The return type of `Person.getInbox()` and `Person.getOutbox()` methods is now `OrderedCollection | OrderedCollectionPage | null` (was `OrderedCollection | null`). - The type of `Service()` constructor's `inbox` and `outbox` options is now `OrderedCollection | OrderedCollectionPage | null | undefined` (was `OrderedCollection | null | undefined`). - The type of `Service.clone()` method's `inbox` and `outbox` options is now `OrderedCollection | OrderedCollectionPage | null | undefined` (was `OrderedCollection | null | undefined`). - The return type of `Service.getInbox()` and `Service.getOutbox()` methods is now `OrderedCollection | OrderedCollectionPage | null` (was `OrderedCollection | null`). [#165]: https://github.com/dahlia/fedify/issues/165 Version 0.15.7 -------------- Loading
src/codegen/__snapshots__/class.test.ts.snap +360 −140 File changed.Preview size limit exceeded, changes collapsed. Show changes
src/testing/fixtures/example.com/orderedcollectionpage 0 → 100644 +24 −0 Original line number Diff line number Diff line { "@context": "https://www.w3.org/ns/activitystreams", "id": "https://example.com/orderedcollectionpage", "type": "OrderedCollectionPage", "partOf": "https://example.com/orderedcollectionpage", "totalItems": 1, "orderedItems": [ { "id": "https://example.com/activities/1", "type": "Create", "published": "2024-11-19T15:24:56Z", "actor": "https://example.com/users/1", "to": "https://www.w3.org/ns/activitystreams#Public", "object": { "id": "https://example.com/notes/1", "type": "Note", "content": "This is a simple note", "attributedTo": "https://example.com/users/1", "to": "https://www.w3.org/ns/activitystreams#Public", "published": "2024-11-19T15:24:56Z" } } ] }
src/vocab/application.yaml +2 −0 Original line number Diff line number Diff line Loading @@ -102,6 +102,7 @@ properties: and dropping any activities already seen. range: - "https://www.w3.org/ns/activitystreams#OrderedCollection" - "https://www.w3.org/ns/activitystreams#OrderedCollectionPage" - singularName: outbox functional: true Loading @@ -120,6 +121,7 @@ properties: implementing and deploying the server. range: - "https://www.w3.org/ns/activitystreams#OrderedCollection" - "https://www.w3.org/ns/activitystreams#OrderedCollectionPage" - singularName: following functional: true Loading
src/vocab/group.yaml +2 −0 Original line number Diff line number Diff line Loading @@ -102,6 +102,7 @@ properties: and dropping any activities already seen. range: - "https://www.w3.org/ns/activitystreams#OrderedCollection" - "https://www.w3.org/ns/activitystreams#OrderedCollectionPage" - singularName: outbox functional: true Loading @@ -120,6 +121,7 @@ properties: implementing and deploying the server. range: - "https://www.w3.org/ns/activitystreams#OrderedCollection" - "https://www.w3.org/ns/activitystreams#OrderedCollectionPage" - singularName: following functional: true Loading